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