public class

BasicAmountType

extends Object
java.lang.Object
   ↳ ebay.apis.corecomponenttypes.BasicAmountType

Class Overview

On requests, you must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies.

 <?xml version="1.0" encoding="UTF-8"?><br xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:apis:CoreComponentTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
 
 <?xml version="1.0" encoding="UTF-8"?><br xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:apis:CoreComponentTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
 
Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).

Java class for BasicAmountType complex type.

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

 <complexType name="BasicAmountType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="currencyID" use="required" type="{urn:ebay:apis:eBLBaseComponents}CurrencyCodeType" />
     </extension>
   </simpleContent>
 </complexType>
 

Summary

Fields
protected CurrencyCodeType currencyID
protected String value
Public Constructors
BasicAmountType()
Public Methods
CurrencyCodeType getCurrencyID()
Gets the value of the currencyID property.
String getValue()
Gets the value of the value property.
void setCurrencyID(CurrencyCodeType value)
Sets the value of the currencyID property.
void setValue(String value)
Sets the value of the value property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected CurrencyCodeType currencyID

protected String value

Public Constructors

public BasicAmountType ()

Public Methods

public CurrencyCodeType getCurrencyID ()

Gets the value of the currencyID property.

Returns

public String getValue ()

Gets the value of the value property.

Returns
  • possible object is String

public void setCurrencyID (CurrencyCodeType value)

Sets the value of the currencyID property.

Parameters
value Allowed object is CurrencyCodeType

public void setValue (String value)

Sets the value of the value property.

Parameters
value Allowed object is String