@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.discountcodes.DiscountCode") public final class SetValidUntil extends UpdateActionImpl<DiscountCode>
validUntil property of a DiscountCode.DiscountCode.getValidUntil()| Modifier and Type | Method and Description |
|---|---|
ZonedDateTime |
getValidUntil() |
static SetValidUntil |
of(ZonedDateTime validUntil)
Creates a new object initialized with the given values.
|
static SetValidUntil |
ofUnset()
Creates a new object initialized with the given values.
|
getAction@Nullable public ZonedDateTime getValidUntil()
public static SetValidUntil of(@Nullable ZonedDateTime validUntil)
validUntil - initial value for the DiscountCode.getValidUntil() propertypublic static SetValidUntil ofUnset()