Class TotalWeight
- java.lang.Object
-
- software.amazon.spapi.models.vendor.shipments.v1.TotalWeight
-
public class TotalWeight extends java.lang.Object
The total weight of units that are sold by weight in a shipment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TotalWeight.UnitOfMeasureEnum
The unit of measure for the weight of items that are ordered by cases and support pricing by weight.
-
Constructor Summary
Constructors Constructor Description TotalWeight()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TotalWeight
amount(java.lang.String amount)
boolean
equals(java.lang.Object o)
java.lang.String
getAmount()
Get amountTotalWeight.UnitOfMeasureEnum
getUnitOfMeasure()
The unit of measure for the weight of items that are ordered by cases and support pricing by weight.int
hashCode()
void
setAmount(java.lang.String amount)
void
setUnitOfMeasure(TotalWeight.UnitOfMeasureEnum unitOfMeasure)
java.lang.String
toString()
TotalWeight
unitOfMeasure(TotalWeight.UnitOfMeasureEnum unitOfMeasure)
-
-
-
Method Detail
-
unitOfMeasure
public TotalWeight unitOfMeasure(TotalWeight.UnitOfMeasureEnum unitOfMeasure)
-
getUnitOfMeasure
public TotalWeight.UnitOfMeasureEnum getUnitOfMeasure()
The unit of measure for the weight of items that are ordered by cases and support pricing by weight.- Returns:
- unitOfMeasure
-
setUnitOfMeasure
public void setUnitOfMeasure(TotalWeight.UnitOfMeasureEnum unitOfMeasure)
-
amount
public TotalWeight amount(java.lang.String amount)
-
getAmount
public java.lang.String getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(java.lang.String amount)
-
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
-
-