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