public class

AdditionalAccountType

extends Object
java.lang.Object
   ↳ ebay.apis.eblbasecomponents.AdditionalAccountType

Class Overview

The AdditionalAccount component represents historical data related to accounts that the user held with a country of residency other than the current one. eBay users can have one active account at a time. For users who change their country of residency and modify their eBay registration to reflect this change, the new country of residence becomes the currently active account. Any account associated with a previous country is treated as an additional account. Because the currency for these additional accounts are different than the active account, each additional account includes an indicator of the currency for that account. Users who never change their country of residence will not have any additional accounts.

Java class for AdditionalAccountType complex type.

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

 <complexType name="AdditionalAccountType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:ebay:apis:eBLBaseComponents}Balance"/>
         <element ref="{urn:ebay:apis:eBLBaseComponents}Currency"/>
         <element ref="{urn:ebay:apis:eBLBaseComponents}AccountCode"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected String accountCode
protected AmountType balance
protected CurrencyCodeType currency
Public Constructors
AdditionalAccountType()
Public Methods
String getAccountCode()
Gets the value of the accountCode property.
AmountType getBalance()
Gets the value of the balance property.
CurrencyCodeType getCurrency()
Gets the value of the currency property.
void setAccountCode(String value)
Sets the value of the accountCode property.
void setBalance(AmountType value)
Sets the value of the balance property.
void setCurrency(CurrencyCodeType value)
Sets the value of the currency property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String accountCode

protected AmountType balance

protected CurrencyCodeType currency

Public Constructors

public AdditionalAccountType ()

Public Methods

public String getAccountCode ()

Gets the value of the accountCode property.

Returns
  • possible object is String

public AmountType getBalance ()

Gets the value of the balance property.

Returns

public CurrencyCodeType getCurrency ()

Gets the value of the currency property.

Returns

public void setAccountCode (String value)

Sets the value of the accountCode property.

Parameters
value Allowed object is String

public void setBalance (AmountType value)

Sets the value of the balance property.

Parameters
value Allowed object is AmountType

public void setCurrency (CurrencyCodeType value)

Sets the value of the currency property.

Parameters
value Allowed object is CurrencyCodeType