Class ShipmentMeasurements
- java.lang.Object
-
- software.amazon.spapi.models.vendor.shipments.v1.ShipmentMeasurements
-
public class ShipmentMeasurements extends java.lang.Object
Shipment measurement details.
-
-
Constructor Summary
Constructors Constructor Description ShipmentMeasurements()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShipmentMeasurements
cartonCount(java.lang.Integer cartonCount)
boolean
equals(java.lang.Object o)
java.lang.Integer
getCartonCount()
Number of cartons present in the shipment.Weight
getGrossShipmentWeight()
Get grossShipmentWeightjava.lang.Integer
getPalletCount()
Number of pallets present in the shipment.Volume
getShipmentVolume()
Get shipmentVolumeShipmentMeasurements
grossShipmentWeight(Weight grossShipmentWeight)
int
hashCode()
ShipmentMeasurements
palletCount(java.lang.Integer palletCount)
void
setCartonCount(java.lang.Integer cartonCount)
void
setGrossShipmentWeight(Weight grossShipmentWeight)
void
setPalletCount(java.lang.Integer palletCount)
void
setShipmentVolume(Volume shipmentVolume)
ShipmentMeasurements
shipmentVolume(Volume shipmentVolume)
java.lang.String
toString()
-
-
-
Method Detail
-
grossShipmentWeight
public ShipmentMeasurements grossShipmentWeight(Weight grossShipmentWeight)
-
getGrossShipmentWeight
public Weight getGrossShipmentWeight()
Get grossShipmentWeight- Returns:
- grossShipmentWeight
-
setGrossShipmentWeight
public void setGrossShipmentWeight(Weight grossShipmentWeight)
-
shipmentVolume
public ShipmentMeasurements shipmentVolume(Volume shipmentVolume)
-
getShipmentVolume
public Volume getShipmentVolume()
Get shipmentVolume- Returns:
- shipmentVolume
-
setShipmentVolume
public void setShipmentVolume(Volume shipmentVolume)
-
cartonCount
public ShipmentMeasurements cartonCount(java.lang.Integer cartonCount)
-
getCartonCount
public java.lang.Integer getCartonCount()
Number of cartons present in the shipment. Provide the cartonCount only for non-palletized shipments.- Returns:
- cartonCount
-
setCartonCount
public void setCartonCount(java.lang.Integer cartonCount)
-
palletCount
public ShipmentMeasurements palletCount(java.lang.Integer palletCount)
-
getPalletCount
public java.lang.Integer getPalletCount()
Number of pallets present in the shipment. Provide the palletCount only for palletized shipments.- Returns:
- palletCount
-
setPalletCount
public void setPalletCount(java.lang.Integer palletCount)
-
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
-
-