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