Class Box
- java.lang.Object
-
- software.amazon.spapi.models.fulfillment.inbound.v2024_03_20.Box
-
public class Box extends java.lang.Object
Contains information about a box that is used in the inbound plan. The box is a container that holds multiple items.
-
-
Constructor Summary
Constructors Constructor Description Box()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Box
addItemsItem(Item itemsItem)
Box
boxId(java.lang.String boxId)
Box
contentInformationSource(BoxContentInformationSource contentInformationSource)
Box
destinationRegion(Region destinationRegion)
Box
dimensions(Dimensions dimensions)
boolean
equals(java.lang.Object o)
Box
externalContainerIdentifier(java.lang.String externalContainerIdentifier)
Box
externalContainerIdentifierType(java.lang.String externalContainerIdentifierType)
java.lang.String
getBoxId()
The ID provided by Amazon that identifies a given box.BoxContentInformationSource
getContentInformationSource()
Get contentInformationSourceRegion
getDestinationRegion()
Get destinationRegionDimensions
getDimensions()
Get dimensionsjava.lang.String
getExternalContainerIdentifier()
The external identifier for this container / box.java.lang.String
getExternalContainerIdentifierType()
Type of the external identifier used.java.util.List<Item>
getItems()
Items contained within the box.java.lang.String
getPackageId()
Primary key to uniquely identify a Package (Box or Pallet).java.lang.Integer
getQuantity()
The number of containers where all other properties like weight or dimensions are identical.java.lang.String
getTemplateName()
Template name of the box.Weight
getWeight()
Get weightint
hashCode()
Box
items(java.util.List<Item> items)
Box
packageId(java.lang.String packageId)
Box
quantity(java.lang.Integer quantity)
void
setBoxId(java.lang.String boxId)
void
setContentInformationSource(BoxContentInformationSource contentInformationSource)
void
setDestinationRegion(Region destinationRegion)
void
setDimensions(Dimensions dimensions)
void
setExternalContainerIdentifier(java.lang.String externalContainerIdentifier)
void
setExternalContainerIdentifierType(java.lang.String externalContainerIdentifierType)
void
setItems(java.util.List<Item> items)
void
setPackageId(java.lang.String packageId)
void
setQuantity(java.lang.Integer quantity)
void
setTemplateName(java.lang.String templateName)
void
setWeight(Weight weight)
Box
templateName(java.lang.String templateName)
java.lang.String
toString()
Box
weight(Weight weight)
-
-
-
Method Detail
-
boxId
public Box boxId(java.lang.String boxId)
-
getBoxId
public java.lang.String getBoxId()
The ID provided by Amazon that identifies a given box. This ID is comprised of the external shipment ID (which is generated after transportation has been confirmed) and the index of the box.- Returns:
- boxId
-
setBoxId
public void setBoxId(java.lang.String boxId)
-
contentInformationSource
public Box contentInformationSource(BoxContentInformationSource contentInformationSource)
-
getContentInformationSource
public BoxContentInformationSource getContentInformationSource()
Get contentInformationSource- Returns:
- contentInformationSource
-
setContentInformationSource
public void setContentInformationSource(BoxContentInformationSource contentInformationSource)
-
getDestinationRegion
public Region getDestinationRegion()
Get destinationRegion- Returns:
- destinationRegion
-
setDestinationRegion
public void setDestinationRegion(Region destinationRegion)
-
dimensions
public Box dimensions(Dimensions dimensions)
-
getDimensions
public Dimensions getDimensions()
Get dimensions- Returns:
- dimensions
-
setDimensions
public void setDimensions(Dimensions dimensions)
-
externalContainerIdentifier
public Box externalContainerIdentifier(java.lang.String externalContainerIdentifier)
-
getExternalContainerIdentifier
public java.lang.String getExternalContainerIdentifier()
The external identifier for this container / box.- Returns:
- externalContainerIdentifier
-
setExternalContainerIdentifier
public void setExternalContainerIdentifier(java.lang.String externalContainerIdentifier)
-
externalContainerIdentifierType
public Box externalContainerIdentifierType(java.lang.String externalContainerIdentifierType)
-
getExternalContainerIdentifierType
public java.lang.String getExternalContainerIdentifierType()
Type of the external identifier used. Can be: `AMAZON`, `SSCC`.- Returns:
- externalContainerIdentifierType
-
setExternalContainerIdentifierType
public void setExternalContainerIdentifierType(java.lang.String externalContainerIdentifierType)
-
getItems
public java.util.List<Item> getItems()
Items contained within the box.- Returns:
- items
-
setItems
public void setItems(java.util.List<Item> items)
-
packageId
public Box packageId(java.lang.String packageId)
-
getPackageId
public java.lang.String getPackageId()
Primary key to uniquely identify a Package (Box or Pallet).- Returns:
- packageId
-
setPackageId
public void setPackageId(java.lang.String packageId)
-
quantity
public Box 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)
-
templateName
public Box templateName(java.lang.String templateName)
-
getTemplateName
public java.lang.String getTemplateName()
Template name of the box.- Returns:
- templateName
-
setTemplateName
public void setTemplateName(java.lang.String templateName)
-
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
-
-