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