Class ImportDetails
- java.lang.Object
-
- software.amazon.spapi.models.vendor.shipments.v1.ImportDetails
-
public class ImportDetails extends java.lang.Object
Provide these fields only if this shipment is a direct import.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImportDetails.HandlingInstructionsEnum
Identification of the instructions on how specified item/carton/pallet should be handled.static class
ImportDetails.MethodOfPaymentEnum
This is used for import purchase orders only.
-
Constructor Summary
Constructors Constructor Description ImportDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportDetails
billableWeight(Weight billableWeight)
boolean
equals(java.lang.Object o)
ImportDetails
estimatedShipByDate(org.threeten.bp.OffsetDateTime estimatedShipByDate)
Weight
getBillableWeight()
Get billableWeightorg.threeten.bp.OffsetDateTime
getEstimatedShipByDate()
Date on which the shipment is expected to be shipped.ImportDetails.HandlingInstructionsEnum
getHandlingInstructions()
Identification of the instructions on how specified item/carton/pallet should be handled.java.lang.String
getImportContainers()
Types and numbers of container(s) for import purchase orders.ImportDetails.MethodOfPaymentEnum
getMethodOfPayment()
This is used for import purchase orders only.Route
getRoute()
Get routejava.lang.String
getSealNumber()
The container's seal number.ImportDetails
handlingInstructions(ImportDetails.HandlingInstructionsEnum handlingInstructions)
int
hashCode()
ImportDetails
importContainers(java.lang.String importContainers)
ImportDetails
methodOfPayment(ImportDetails.MethodOfPaymentEnum methodOfPayment)
ImportDetails
route(Route route)
ImportDetails
sealNumber(java.lang.String sealNumber)
void
setBillableWeight(Weight billableWeight)
void
setEstimatedShipByDate(org.threeten.bp.OffsetDateTime estimatedShipByDate)
void
setHandlingInstructions(ImportDetails.HandlingInstructionsEnum handlingInstructions)
void
setImportContainers(java.lang.String importContainers)
void
setMethodOfPayment(ImportDetails.MethodOfPaymentEnum methodOfPayment)
void
setRoute(Route route)
void
setSealNumber(java.lang.String sealNumber)
java.lang.String
toString()
-
-
-
Method Detail
-
methodOfPayment
public ImportDetails methodOfPayment(ImportDetails.MethodOfPaymentEnum methodOfPayment)
-
getMethodOfPayment
public ImportDetails.MethodOfPaymentEnum getMethodOfPayment()
This is used for import purchase orders only. If the recipient requests, this field will contain the shipment method of payment.- Returns:
- methodOfPayment
-
setMethodOfPayment
public void setMethodOfPayment(ImportDetails.MethodOfPaymentEnum methodOfPayment)
-
sealNumber
public ImportDetails sealNumber(java.lang.String sealNumber)
-
getSealNumber
public java.lang.String getSealNumber()
The container's seal number.- Returns:
- sealNumber
-
setSealNumber
public void setSealNumber(java.lang.String sealNumber)
-
route
public ImportDetails route(Route route)
-
getRoute
public Route getRoute()
Get route- Returns:
- route
-
setRoute
public void setRoute(Route route)
-
importContainers
public ImportDetails importContainers(java.lang.String importContainers)
-
getImportContainers
public java.lang.String getImportContainers()
Types and numbers of container(s) for import purchase orders. Can be a comma-separated list if shipment has multiple containers.- Returns:
- importContainers
-
setImportContainers
public void setImportContainers(java.lang.String importContainers)
-
billableWeight
public ImportDetails billableWeight(Weight billableWeight)
-
getBillableWeight
public Weight getBillableWeight()
Get billableWeight- Returns:
- billableWeight
-
setBillableWeight
public void setBillableWeight(Weight billableWeight)
-
estimatedShipByDate
public ImportDetails estimatedShipByDate(org.threeten.bp.OffsetDateTime estimatedShipByDate)
-
getEstimatedShipByDate
public org.threeten.bp.OffsetDateTime getEstimatedShipByDate()
Date on which the shipment is expected to be shipped. This value should not be in the past and not more than 60 days out in the future.- Returns:
- estimatedShipByDate
-
setEstimatedShipByDate
public void setEstimatedShipByDate(org.threeten.bp.OffsetDateTime estimatedShipByDate)
-
handlingInstructions
public ImportDetails handlingInstructions(ImportDetails.HandlingInstructionsEnum handlingInstructions)
-
getHandlingInstructions
public ImportDetails.HandlingInstructionsEnum getHandlingInstructions()
Identification of the instructions on how specified item/carton/pallet should be handled.- Returns:
- handlingInstructions
-
setHandlingInstructions
public void setHandlingInstructions(ImportDetails.HandlingInstructionsEnum handlingInstructions)
-
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
-
-