public class

BuyerType

extends TaxpayerType
java.lang.Object
   ↳ vertexinc.o_series.tps._6._0.PartyType
     ↳ vertexinc.o_series.tps._6._0.TaxpayerType
       ↳ vertexinc.o_series.tps._6._0.BuyerType

Class Overview

The buyer for the transaction or line item. The buyer is described by the child elements and attributes.

Java class for BuyerType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="BuyerType">
   <complexContent>
     <extension base="{urn:vertexinc:o-series:tps:6:0}TaxpayerType">
       <sequence>
         <element ref="{urn:vertexinc:o-series:tps:6:0}Recipient" minOccurs="0"/>
         <element ref="{urn:vertexinc:o-series:tps:6:0}Destination" minOccurs="0"/>
         <element ref="{urn:vertexinc:o-series:tps:6:0}AdministrativeDestination" minOccurs="0"/>
         <element ref="{urn:vertexinc:o-series:tps:6:0}ExemptionCertificate" minOccurs="0"/>
         <element ref="{urn:vertexinc:o-series:tps:6:0}TaxRegistration" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{urn:vertexinc:o-series:tps:6:0}BuyerGroup"/>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected LocationType administrativeDestination
protected LocationType destination
protected ExemptionCertificate exemptionCertificate
protected String exemptionReasonCode
protected Boolean isTaxExempt
protected Recipient recipient
protected List<TaxRegistrationType> taxRegistration
[Expand]
Inherited Fields
From class vertexinc.o_series.tps._6._0.TaxpayerType
Public Constructors
BuyerType()
Public Methods
LocationType getAdministrativeDestination()
Gets the value of the administrativeDestination property.
LocationType getDestination()
Gets the value of the destination property.
ExemptionCertificate getExemptionCertificate()
Gets the value of the exemptionCertificate property.
String getExemptionReasonCode()
Gets the value of the exemptionReasonCode property.
Recipient getRecipient()
Gets the value of the recipient property.
List<TaxRegistrationType> getTaxRegistration()
Gets the value of the taxRegistration property.
boolean isIsTaxExempt()
Gets the value of the isTaxExempt property.
void setAdministrativeDestination(LocationType value)
Sets the value of the administrativeDestination property.
void setDestination(LocationType value)
Sets the value of the destination property.
void setExemptionCertificate(ExemptionCertificate value)
Sets the value of the exemptionCertificate property.
void setExemptionReasonCode(String value)
Sets the value of the exemptionReasonCode property.
void setIsTaxExempt(Boolean value)
Sets the value of the isTaxExempt property.
void setRecipient(Recipient value)
Sets the value of the recipient property.
[Expand]
Inherited Methods
From class vertexinc.o_series.tps._6._0.TaxpayerType
From class java.lang.Object

Fields

protected LocationType administrativeDestination

protected LocationType destination

protected ExemptionCertificate exemptionCertificate

protected String exemptionReasonCode

protected Boolean isTaxExempt

protected Recipient recipient

protected List<TaxRegistrationType> taxRegistration

Public Constructors

public BuyerType ()

Public Methods

public LocationType getAdministrativeDestination ()

Gets the value of the administrativeDestination property.

Returns

public LocationType getDestination ()

Gets the value of the destination property.

Returns

public ExemptionCertificate getExemptionCertificate ()

Gets the value of the exemptionCertificate property.

Returns

public String getExemptionReasonCode ()

Gets the value of the exemptionReasonCode property.

Returns
  • possible object is String

public Recipient getRecipient ()

Gets the value of the recipient property.

Returns

public List<TaxRegistrationType> getTaxRegistration ()

Gets the value of the taxRegistration property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the taxRegistration property.

For example, to add a new item, do as follows:

    getTaxRegistration().add(newItem);
 

Objects of the following type(s) are allowed in the list TaxRegistrationType

public boolean isIsTaxExempt ()

Gets the value of the isTaxExempt property.

Returns
  • possible object is Boolean

public void setAdministrativeDestination (LocationType value)

Sets the value of the administrativeDestination property.

Parameters
value Allowed object is LocationType

public void setDestination (LocationType value)

Sets the value of the destination property.

Parameters
value Allowed object is LocationType

public void setExemptionCertificate (ExemptionCertificate value)

Sets the value of the exemptionCertificate property.

Parameters
value Allowed object is ExemptionCertificate

public void setExemptionReasonCode (String value)

Sets the value of the exemptionReasonCode property.

Parameters
value Allowed object is String

public void setIsTaxExempt (Boolean value)

Sets the value of the isTaxExempt property.

Parameters
value Allowed object is Boolean

public void setRecipient (Recipient value)

Sets the value of the recipient property.

Parameters
value Allowed object is Recipient