Class TaxCollection
- java.lang.Object
-
- software.amazon.spapi.models.orders.v0.TaxCollection
-
public class TaxCollection extends java.lang.Object
Information about withheld taxes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaxCollection.ModelEnum
The tax collection model applied to the item.static class
TaxCollection.ResponsiblePartyEnum
The party responsible for withholding the taxes and remitting them to the taxing authority.
-
Constructor Summary
Constructors Constructor Description TaxCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
TaxCollection.ModelEnum
getModel()
The tax collection model applied to the item.TaxCollection.ResponsiblePartyEnum
getResponsibleParty()
The party responsible for withholding the taxes and remitting them to the taxing authority.int
hashCode()
TaxCollection
model(TaxCollection.ModelEnum model)
TaxCollection
responsibleParty(TaxCollection.ResponsiblePartyEnum responsibleParty)
void
setModel(TaxCollection.ModelEnum model)
void
setResponsibleParty(TaxCollection.ResponsiblePartyEnum responsibleParty)
java.lang.String
toString()
-
-
-
Method Detail
-
model
public TaxCollection model(TaxCollection.ModelEnum model)
-
getModel
public TaxCollection.ModelEnum getModel()
The tax collection model applied to the item.- Returns:
- model
-
setModel
public void setModel(TaxCollection.ModelEnum model)
-
responsibleParty
public TaxCollection responsibleParty(TaxCollection.ResponsiblePartyEnum responsibleParty)
-
getResponsibleParty
public TaxCollection.ResponsiblePartyEnum getResponsibleParty()
The party responsible for withholding the taxes and remitting them to the taxing authority.- Returns:
- responsibleParty
-
setResponsibleParty
public void setResponsibleParty(TaxCollection.ResponsiblePartyEnum responsibleParty)
-
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
-
-