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