@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.productdiscounts.ProductDiscount") public final class SetKey extends UpdateActionImpl<ProductDiscount>
key
property of a ProductDiscount
.ProductDiscount.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.
|
getAction
public static SetKey of(@Nullable String key)
key
- initial value for the ProductDiscount.getKey()
propertypublic static SetKey ofUnset()