@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.cartdiscounts.CartDiscount") public final class SetValidUntil extends UpdateActionImpl<CartDiscount>
validUntil
property of a CartDiscount
.CartDiscount.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 CartDiscount.getValidUntil()
propertypublic static SetValidUntil ofUnset()