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