Class BoxUpdateInput
- java.lang.Object
-
- software.amazon.spapi.models.fulfillment.inbound.v2024_03_20.BoxUpdateInput
-
public class BoxUpdateInput extends java.lang.Object
Input information for updating a box
-
-
Constructor Summary
Constructors Constructor Description BoxUpdateInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoxUpdateInput
addItemsItem(ItemInput itemsItem)
BoxUpdateInput
contentInformationSource(BoxContentInformationSource contentInformationSource)
BoxUpdateInput
dimensions(Dimensions dimensions)
boolean
equals(java.lang.Object o)
BoxContentInformationSource
getContentInformationSource()
Get contentInformationSourceDimensions
getDimensions()
Get dimensionsjava.util.List<ItemInput>
getItems()
The items and their quantity in the box.java.lang.String
getPackageId()
Primary key to uniquely identify a Box Package.java.lang.Integer
getQuantity()
The number of containers where all other properties like weight or dimensions are identical.Weight
getWeight()
Get weightint
hashCode()
BoxUpdateInput
items(java.util.List<ItemInput> items)
BoxUpdateInput
packageId(java.lang.String packageId)
BoxUpdateInput
quantity(java.lang.Integer quantity)
void
setContentInformationSource(BoxContentInformationSource contentInformationSource)
void
setDimensions(Dimensions dimensions)
void
setItems(java.util.List<ItemInput> items)
void
setPackageId(java.lang.String packageId)
void
setQuantity(java.lang.Integer quantity)
void
setWeight(Weight weight)
java.lang.String
toString()
BoxUpdateInput
weight(Weight weight)
-
-
-
Method Detail
-
contentInformationSource
public BoxUpdateInput contentInformationSource(BoxContentInformationSource contentInformationSource)
-
getContentInformationSource
public BoxContentInformationSource getContentInformationSource()
Get contentInformationSource- Returns:
- contentInformationSource
-
setContentInformationSource
public void setContentInformationSource(BoxContentInformationSource contentInformationSource)
-
dimensions
public BoxUpdateInput dimensions(Dimensions dimensions)
-
getDimensions
public Dimensions getDimensions()
Get dimensions- Returns:
- dimensions
-
setDimensions
public void setDimensions(Dimensions dimensions)
-
items
public BoxUpdateInput items(java.util.List<ItemInput> items)
-
addItemsItem
public BoxUpdateInput addItemsItem(ItemInput itemsItem)
-
getItems
public java.util.List<ItemInput> getItems()
The items and their quantity in the box. This must be empty if the box `contentInformationSource` is `BARCODE_2D` or `MANUAL_PROCESS`.- Returns:
- items
-
setItems
public void setItems(java.util.List<ItemInput> items)
-
packageId
public BoxUpdateInput packageId(java.lang.String packageId)
-
getPackageId
public java.lang.String getPackageId()
Primary key to uniquely identify a Box Package. PackageId must be provided if the intent is to update an existing box. Adding a new box will not require providing this value. Any existing PackageIds not provided will be treated as to-be-removed- Returns:
- packageId
-
setPackageId
public void setPackageId(java.lang.String packageId)
-
quantity
public BoxUpdateInput quantity(java.lang.Integer quantity)
-
getQuantity
public java.lang.Integer getQuantity()
The number of containers where all other properties like weight or dimensions are identical. minimum: 1 maximum: 10000- Returns:
- quantity
-
setQuantity
public void setQuantity(java.lang.Integer quantity)
-
weight
public BoxUpdateInput weight(Weight weight)
-
getWeight
public Weight getWeight()
Get weight- Returns:
- weight
-
setWeight
public void setWeight(Weight weight)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-