@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.orders.Parcel") public final class SetParcelItems extends UpdateActionImpl<Order>
items
property of a Order
.Parcel.getItems()
Modifier and Type | Method and Description |
---|---|
List<DeliveryItem> |
getItems() |
String |
getParcelId() |
static SetParcelItems |
of(String parcelId,
List<DeliveryItem> items)
Creates a new object initialized with the given values.
|
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.
|
getAction
public String getParcelId()
@Nullable public List<DeliveryItem> getItems()
public static SetParcelItems of(String parcelId, @Nullable List<DeliveryItem> items)
parcelId
- initial value for the propertyitems
- initial value for the propertypublic SetParcelItems withItems(List<DeliveryItem> items)