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