@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.carts.ClassificationShippingRateInputDraft") public final class ClassificationShippingRateInputDraftDsl extends Base implements ClassificationShippingRateInputDraft
ClassificationShippingRateInputDraft
.Modifier and Type | Method and Description |
---|---|
String |
getKey() |
ClassificationShippingRateInputDraftBuilder |
newBuilder()
Creates a new builder with the values of this object.
|
static ClassificationShippingRateInputDraftDsl |
of(ClassificationShippingRateInputDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ClassificationShippingRateInputDraftDsl |
of(String key)
Creates a new object initialized with the given values.
|
ClassificationShippingRateInputDraftDsl |
withKey(String key) |
public String getKey()
getKey
in interface ClassificationShippingRateInputDraft
public ClassificationShippingRateInputDraftBuilder newBuilder()
public ClassificationShippingRateInputDraftDsl withKey(String key)
public static ClassificationShippingRateInputDraftDsl of(String key)
key
- initial value for the ClassificationShippingRateInputDraft.getKey()
propertypublic static ClassificationShippingRateInputDraftDsl of(ClassificationShippingRateInputDraft template)
template
- the template