Class BoxInput
- java.lang.Object
-
- software.amazon.spapi.models.fulfillment.inbound.v2024_03_20.BoxInput
-
public class BoxInput extends java.lang.Object
Input information for a given box.
-
-
Constructor Summary
Constructors Constructor Description BoxInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoxInput
addItemsItem(ItemInput itemsItem)
BoxInput
contentInformationSource(BoxContentInformationSource contentInformationSource)
BoxInput
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.Integer
getQuantity()
The number of containers where all other properties like weight or dimensions are identical.Weight
getWeight()
Get weightint
hashCode()
BoxInput
items(java.util.List<ItemInput> items)
BoxInput
quantity(java.lang.Integer quantity)
void
setContentInformationSource(BoxContentInformationSource contentInformationSource)
void
setDimensions(Dimensions dimensions)
void
setItems(java.util.List<ItemInput> items)
void
setQuantity(java.lang.Integer quantity)
void
setWeight(Weight weight)
java.lang.String
toString()
BoxInput
weight(Weight weight)
-
-
-
Method Detail
-
contentInformationSource
public BoxInput contentInformationSource(BoxContentInformationSource contentInformationSource)
-
getContentInformationSource
public BoxContentInformationSource getContentInformationSource()
Get contentInformationSource- Returns:
- contentInformationSource
-
setContentInformationSource
public void setContentInformationSource(BoxContentInformationSource contentInformationSource)
-
dimensions
public BoxInput dimensions(Dimensions dimensions)
-
getDimensions
public Dimensions getDimensions()
Get dimensions- Returns:
- dimensions
-
setDimensions
public void setDimensions(Dimensions dimensions)
-
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)
-
quantity
public BoxInput 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)
-
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
-
-