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