// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-792 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2011.04.07 at 12:06:52 PM GMT+05:30 // package com.ebay.marketplace.search.v1.services; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * * This type defines money operand. * * * <p>Java class for MoneyOperand complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="MoneyOperand"> * <complexContent> * <extension base="{http://www.ebay.com/marketplace/search/v1/services}OperandBase"> * <sequence> * <element name="value" type="{http://www.w3.org/2001/XMLSchema}double"/> * <element name="currency" type="{http://www.w3.org/2001/XMLSchema}token"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MoneyOperand", propOrder = { "value", "currency" }) public class MoneyOperand extends OperandBase { protected double value; @XmlElement(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String currency; /** * 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 currency property. * * @return * possible object is * {@link String } * */ public String getCurrency() { return currency; } /** * Sets the value of the currency property. * * @param value * allowed object is * {@link String } * */ public void setCurrency(String value) { this.currency = value; } }