/*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for Price complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="Price">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="CurrencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="FormattedPrice" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Price", propOrder = { "amount", "currencyCode",
"formattedPrice" })
public class Price {
@XmlElement(name = "Amount")
protected BigInteger amount;
@XmlElement(name = "CurrencyCode")
protected String currencyCode;
@XmlElement(name = "FormattedPrice", required = true)
protected String formattedPrice;
/**
* Gets the value of the amount property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setAmount(BigInteger value) {
this.amount = value;
}
/**
* Gets the value of the currencyCode property.
*
* @return possible object is {@link String }
*
*/
public String getCurrencyCode() {
return currencyCode;
}
/**
* Sets the value of the currencyCode property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCurrencyCode(String value) {
this.currencyCode = value;
}
/**
* Gets the value of the formattedPrice property.
*
* @return possible object is {@link String }
*
*/
public String getFormattedPrice() {
return formattedPrice;
}
/**
* Sets the value of the formattedPrice property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setFormattedPrice(String value) {
this.formattedPrice = value;
}
}