Class PartyIdentification
- java.lang.Object
-
- software.amazon.spapi.models.vendor.orders.v1.PartyIdentification
-
public class PartyIdentification extends java.lang.Object
Name, address and tax details of a party.
-
-
Constructor Summary
Constructors Constructor Description PartyIdentification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartyIdentification
address(Address address)
boolean
equals(java.lang.Object o)
Address
getAddress()
Get addressjava.lang.String
getPartyId()
Assigned identification for the party.TaxRegistrationDetails
getTaxInfo()
Get taxInfoint
hashCode()
PartyIdentification
partyId(java.lang.String partyId)
void
setAddress(Address address)
void
setPartyId(java.lang.String partyId)
void
setTaxInfo(TaxRegistrationDetails taxInfo)
PartyIdentification
taxInfo(TaxRegistrationDetails taxInfo)
java.lang.String
toString()
-
-
-
Method Detail
-
partyId
public PartyIdentification partyId(java.lang.String partyId)
-
getPartyId
public java.lang.String getPartyId()
Assigned identification for the party. For example, warehouse code or vendor code. Please refer to specific party for more details.- Returns:
- partyId
-
setPartyId
public void setPartyId(java.lang.String partyId)
-
address
public PartyIdentification address(Address address)
-
getAddress
public Address getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(Address address)
-
taxInfo
public PartyIdentification taxInfo(TaxRegistrationDetails taxInfo)
-
getTaxInfo
public TaxRegistrationDetails getTaxInfo()
Get taxInfo- Returns:
- taxInfo
-
setTaxInfo
public void setTaxInfo(TaxRegistrationDetails taxInfo)
-
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
-
-