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