Class ShipmentInformation
- java.lang.Object
-
- software.amazon.spapi.models.vendor.shipments.v1.ShipmentInformation
-
public class ShipmentInformation extends java.lang.Object
Shipment Information details for Label request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShipmentInformation.ShipModeEnum
Type of shipment whether it is Small Parcel
-
Constructor Summary
Constructors Constructor Description ShipmentInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShipmentInformation
buyerReferenceNumber(java.lang.String buyerReferenceNumber)
boolean
equals(java.lang.Object o)
java.lang.String
getBuyerReferenceNumber()
The buyer reference number is a unique identifier generated by the buyer for all Collect and WePay shipments.java.lang.String
getMasterTrackingId()
Unique Id with which the shipment can be tracked for Small Parcels.PartyIdentification
getShipFromParty()
Get shipFromPartyShipmentInformation.ShipModeEnum
getShipMode()
Type of shipment whether it is Small ParcelPartyIdentification
getShipToParty()
Get shipToPartyjava.lang.Integer
getTotalLabelCount()
Number of Labels that are created as part of this shipment.VendorDetails
getVendorDetails()
Get vendorDetailsjava.lang.String
getWarehouseId()
Vendor Warehouse ID from where the shipment is scheduled to be picked up by buyer / Carrier.int
hashCode()
ShipmentInformation
masterTrackingId(java.lang.String masterTrackingId)
void
setBuyerReferenceNumber(java.lang.String buyerReferenceNumber)
void
setMasterTrackingId(java.lang.String masterTrackingId)
void
setShipFromParty(PartyIdentification shipFromParty)
void
setShipMode(ShipmentInformation.ShipModeEnum shipMode)
void
setShipToParty(PartyIdentification shipToParty)
void
setTotalLabelCount(java.lang.Integer totalLabelCount)
void
setVendorDetails(VendorDetails vendorDetails)
void
setWarehouseId(java.lang.String warehouseId)
ShipmentInformation
shipFromParty(PartyIdentification shipFromParty)
ShipmentInformation
shipMode(ShipmentInformation.ShipModeEnum shipMode)
ShipmentInformation
shipToParty(PartyIdentification shipToParty)
java.lang.String
toString()
ShipmentInformation
totalLabelCount(java.lang.Integer totalLabelCount)
ShipmentInformation
vendorDetails(VendorDetails vendorDetails)
ShipmentInformation
warehouseId(java.lang.String warehouseId)
-
-
-
Method Detail
-
vendorDetails
public ShipmentInformation vendorDetails(VendorDetails vendorDetails)
-
getVendorDetails
public VendorDetails getVendorDetails()
Get vendorDetails- Returns:
- vendorDetails
-
setVendorDetails
public void setVendorDetails(VendorDetails vendorDetails)
-
buyerReferenceNumber
public ShipmentInformation buyerReferenceNumber(java.lang.String buyerReferenceNumber)
-
getBuyerReferenceNumber
public java.lang.String getBuyerReferenceNumber()
The buyer reference number is a unique identifier generated by the buyer for all Collect and WePay shipments.- Returns:
- buyerReferenceNumber
-
setBuyerReferenceNumber
public void setBuyerReferenceNumber(java.lang.String buyerReferenceNumber)
-
shipToParty
public ShipmentInformation shipToParty(PartyIdentification shipToParty)
-
getShipToParty
public PartyIdentification getShipToParty()
Get shipToParty- Returns:
- shipToParty
-
setShipToParty
public void setShipToParty(PartyIdentification shipToParty)
-
shipFromParty
public ShipmentInformation shipFromParty(PartyIdentification shipFromParty)
-
getShipFromParty
public PartyIdentification getShipFromParty()
Get shipFromParty- Returns:
- shipFromParty
-
setShipFromParty
public void setShipFromParty(PartyIdentification shipFromParty)
-
warehouseId
public ShipmentInformation warehouseId(java.lang.String warehouseId)
-
getWarehouseId
public java.lang.String getWarehouseId()
Vendor Warehouse ID from where the shipment is scheduled to be picked up by buyer / Carrier.- Returns:
- warehouseId
-
setWarehouseId
public void setWarehouseId(java.lang.String warehouseId)
-
masterTrackingId
public ShipmentInformation masterTrackingId(java.lang.String masterTrackingId)
-
getMasterTrackingId
public java.lang.String getMasterTrackingId()
Unique Id with which the shipment can be tracked for Small Parcels.- Returns:
- masterTrackingId
-
setMasterTrackingId
public void setMasterTrackingId(java.lang.String masterTrackingId)
-
totalLabelCount
public ShipmentInformation totalLabelCount(java.lang.Integer totalLabelCount)
-
getTotalLabelCount
public java.lang.Integer getTotalLabelCount()
Number of Labels that are created as part of this shipment.- Returns:
- totalLabelCount
-
setTotalLabelCount
public void setTotalLabelCount(java.lang.Integer totalLabelCount)
-
shipMode
public ShipmentInformation shipMode(ShipmentInformation.ShipModeEnum shipMode)
-
getShipMode
public ShipmentInformation.ShipModeEnum getShipMode()
Type of shipment whether it is Small Parcel- Returns:
- shipMode
-
setShipMode
public void setShipMode(ShipmentInformation.ShipModeEnum shipMode)
-
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
-
-