Package | Description |
---|---|
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
Modifier and Type | Method and Description |
---|---|
ParcelDraftBuilder |
ParcelDraftBuilder.custom(CustomFieldsDraft custom)
Sets the
custom property of this builder. |
ParcelDraftBuilder |
ParcelDraftBuilder.items(List<DeliveryItem> items)
Sets the
items property of this builder. |
ParcelDraftBuilder |
ParcelDraftBuilder.measurements(ParcelMeasurements measurements)
Sets the
measurements property of this builder. |
ParcelDraftBuilder |
ParcelDraftDsl.newBuilder()
Creates a new builder with the values of this object.
|
static ParcelDraftBuilder |
ParcelDraftBuilder.of()
Creates a new object initialized with the given values.
|
static ParcelDraftBuilder |
ParcelDraftBuilder.of(ParcelDraft template)
Creates a new object initialized with the fields of the template parameter.
|
ParcelDraftBuilder |
ParcelDraftBuilder.plusItems(DeliveryItem items)
Adds
items parameter to the items list property of this builder. |
ParcelDraftBuilder |
ParcelDraftBuilder.plusItems(List<DeliveryItem> items)
Concatenate
items parameter to the items list property of this builder. |
ParcelDraftBuilder |
ParcelDraftBuilder.trackingData(TrackingData trackingData)
Sets the
trackingData property of this builder. |