@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.discountcodes.DiscountCode") public final class SetValidFrom extends UpdateActionImpl<DiscountCode>
validFrom
property of a DiscountCode
.DiscountCode.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 DiscountCode.getValidFrom()
propertypublic static SetValidFrom ofUnset()