@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.carts.ItemShippingDetailsDraft") public final class ItemShippingDetailsDraftDsl extends Base implements ItemShippingDetailsDraft
ItemShippingDetailsDraft
.Modifier and Type | Method and Description |
---|---|
List<ItemShippingTarget> |
getTargets() |
ItemShippingDetailsDraftBuilder |
newBuilder()
Creates a new builder with the values of this object.
|
static ItemShippingDetailsDraftDsl |
of(ItemShippingDetailsDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ItemShippingDetailsDraftDsl |
of(List<ItemShippingTarget> targets)
Creates a new object initialized with the given values.
|
ItemShippingDetailsDraftDsl |
withTargets(List<ItemShippingTarget> targets) |
public List<ItemShippingTarget> getTargets()
getTargets
in interface ItemShippingDetailsDraft
public ItemShippingDetailsDraftBuilder newBuilder()
public ItemShippingDetailsDraftDsl withTargets(List<ItemShippingTarget> targets)
public static ItemShippingDetailsDraftDsl of(List<ItemShippingTarget> targets)
targets
- initial value for the ItemShippingDetailsDraft.getTargets()
propertypublic static ItemShippingDetailsDraftDsl of(ItemShippingDetailsDraft template)
template
- the template