@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.carts.commands.CartReplicationDraft") public final class CartReplicationDraftDsl extends Base implements CartReplicationDraft
CartReplicationDraft
.Modifier and Type | Method and Description |
---|---|
String |
getKey() |
Reference<? extends CartLike> |
getReference() |
CartReplicationDraftBuilder |
newBuilder()
Creates a new builder with the values of this object.
|
static CartReplicationDraftDsl |
of(CartReplicationDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static CartReplicationDraftDsl |
of(Reference<? extends CartLike> reference)
Creates a new object initialized with the given values.
|
CartReplicationDraftDsl |
withKey(String key) |
CartReplicationDraftDsl |
withReference(Referenceable<? extends CartLike> reference) |
@Nullable public String getKey()
getKey
in interface CartReplicationDraft
public Reference<? extends CartLike> getReference()
getReference
in interface CartReplicationDraft
public CartReplicationDraftBuilder newBuilder()
public CartReplicationDraftDsl withKey(@Nullable String key)
public CartReplicationDraftDsl withReference(Referenceable<? extends CartLike> reference)
public static CartReplicationDraftDsl of(Reference<? extends CartLike> reference)
reference
- initial value for the CartReplicationDraft.getReference()
propertypublic static CartReplicationDraftDsl of(CartReplicationDraft template)
template
- the template