@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.producttypes.ProductType") public final class ChangeAttributeConstraint extends UpdateActionImpl<ProductType>
attribute
property of a ProductType
.ProductType#getAttribute()
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName() |
AttributeConstraint |
getNewValue() |
static ChangeAttributeConstraint |
of(String attributeName,
AttributeConstraint newValue)
Creates a new object initialized with the given values.
|
getAction
public String getAttributeName()
public AttributeConstraint getNewValue()
public static ChangeAttributeConstraint of(String attributeName, AttributeConstraint newValue)
attributeName
- initial value for the propertynewValue
- initial value for the property