All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ebay.apis.shopping.eblbasecomponents.AmountType Maven / Gradle / Ivy

Go to download

This Java client enables you to use Java to make API calls in the eBay Shopping API, which is an XML API. This maven build is simply the Apache CXF generated client code for the Shopping API WSDL.

The newest version!

package ebay.apis.shopping.eblbasecomponents;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;


/**
 * 
 * 			Basic type for specifying monetary amounts. A double value (e.g.,
 * 			1.00 or 1.0) is meaningful as a monetary amount when accompanied by a
 * 			specification of the currency, in which case the value specifies
 * 			the amount in that currency. An AmountType expresses both the value
 * 			(a double) and the currency. Details such as prices, fees, costs,
 * 			and payments are specified as amount types.
 * 		
 * 
 * 

Java class for AmountType complex type. * *

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

 * <complexType name="AmountType">
 *   <simpleContent>
 *     <extension base="<http://www.w3.org/2001/XMLSchema>double">
 *       <attribute name="currencyID" use="required" type="{urn:ebay:apis:eBLBaseComponents}CurrencyCodeType" />
 *     </extension>
 *   </simpleContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AmountType", propOrder = { "value" }) public class AmountType { @XmlValue protected double value; @XmlAttribute(name = "currencyID", required = true) protected CurrencyCodeType currencyID; /** * Gets the value of the value property. * */ public double getValue() { return value; } /** * Sets the value of the value property. * */ public void setValue(double value) { this.value = value; } /** * Gets the value of the currencyID property. * * @return * possible object is * {@link CurrencyCodeType } * */ public CurrencyCodeType getCurrencyID() { return currencyID; } /** * Sets the value of the currencyID property. * * @param value * allowed object is * {@link CurrencyCodeType } * */ public void setCurrencyID(CurrencyCodeType value) { this.currencyID = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy