Package | Description |
---|---|
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
io.sphere.sdk.orders.commands.updateactions |
Provides the possible operations which can be performed on update commands for orders.
|
io.sphere.sdk.orders.messages |
Provides model classes and builders for orders.
|
Modifier and Type | Method and Description |
---|---|
static DeliveryItem |
DeliveryItem.of(LineItemLike lineItem) |
static DeliveryItem |
DeliveryItem.of(LineItemLike lineItem,
Long quantity) |
static DeliveryItem |
DeliveryItem.of(String id,
long quantity) |
static DeliveryItem |
DeliveryItem.of(String id,
Long quantity) |
Modifier and Type | Method and Description |
---|---|
List<DeliveryItem> |
Parcel.getItems() |
List<DeliveryItem> |
ParcelMeasurements.getItems() |
List<DeliveryItem> |
ParcelDraft.getItems() |
List<DeliveryItem> |
Delivery.getItems() |
List<DeliveryItem> |
ParcelDraftBuilder.getItems() |
List<DeliveryItem> |
ParcelDraftDsl.getItems() |
Modifier and Type | Method and Description |
---|---|
ParcelDraftBuilder |
ParcelDraftBuilder.plusItems(DeliveryItem items)
Adds
items parameter to the items list property of this builder. |
Modifier and Type | Method and Description |
---|---|
ParcelDraftBuilder |
ParcelDraftBuilder.items(List<DeliveryItem> items)
Sets the
items property of this builder. |
static ParcelMeasurements |
ParcelMeasurements.of(Integer heightInMillimeter,
List<DeliveryItem> items,
Integer lengthInMillimeter,
Integer weightInGram,
Integer widthInMillimeter) |
static Delivery |
Delivery.of(String id,
ZonedDateTime createdAt,
List<DeliveryItem> items,
List<Parcel> parcels) |
static ParcelDraft |
ParcelDraft.of(TrackingData trackingData,
List<DeliveryItem> deliveryItems) |
static ParcelDraft |
ParcelDraft.of(TrackingData trackingData,
List<DeliveryItem> deliveryItems,
CustomFieldsDraft custom) |
static Parcel |
Parcel.of(ZonedDateTime createdAt,
String id,
CustomFields custom,
List<DeliveryItem> items,
ParcelMeasurements measurements,
TrackingData trackingData) |
static Parcel |
Parcel.of(ZonedDateTime createdAt,
String id,
List<DeliveryItem> items,
ParcelMeasurements measurements,
TrackingData trackingData) |
ParcelDraftBuilder |
ParcelDraftBuilder.plusItems(List<DeliveryItem> items)
Concatenate
items parameter to the items list property of this builder. |
ParcelDraftDsl |
ParcelDraftDsl.withItems(List<DeliveryItem> items) |
Modifier and Type | Method and Description |
---|---|
List<DeliveryItem> |
AddDelivery.getItems() |
List<DeliveryItem> |
SetDeliveryItems.getItems() |
List<DeliveryItem> |
SetParcelItems.getItems() |
Modifier and Type | Method and Description |
---|---|
static AddParcelToDelivery |
AddParcelToDelivery.of(Delivery delivery,
ParcelDraft parcelDraft,
List<DeliveryItem> items) |
static AddDelivery |
AddDelivery.of(List<DeliveryItem> items) |
static AddDelivery |
AddDelivery.of(List<DeliveryItem> items,
List<ParcelDraft> parcels) |
static SetDeliveryItems |
SetDeliveryItems.of(String deliveryId,
List<DeliveryItem> items)
Creates a new object initialized with the given values.
|
static SetParcelItems |
SetParcelItems.of(String parcelId,
List<DeliveryItem> items)
Creates a new object initialized with the given values.
|
static AddParcelToDelivery |
AddParcelToDelivery.of(String deliveryId,
ParcelDraft parcelDraft,
List<DeliveryItem> items) |
SetParcelItems |
SetParcelItems.withItems(List<DeliveryItem> items)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|
Modifier and Type | Method and Description |
---|---|
List<DeliveryItem> |
DeliveryItemsUpdatedMessage.getItems() |
List<DeliveryItem> |
ParcelItemsUpdatedMessage.getItems() |