/**
* Mule Coupa Cloud Connector
*
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*
* Coupa Connector com.coupa package contains portions of code based on Coupa4j
* http://code.google.com/p/coupa4j/, under a MIT license:
* http://www.opensource.org/licenses/mit-license.php.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// 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: 2012.01.11 at 10:56:25 AM ART
//
package com.coupa.transaction;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
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;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{}TaxableAmount"/>
* <element ref="{}TaxAmount"/>
* <element ref="{}TaxLocation"/>
* </sequence>
* <attribute name="category" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
* <attribute name="percentageRate" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
* <attribute name="purpose" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
* <attribute name="taxPointDate" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"taxableAmount",
"taxAmount",
"taxLocation"
})
@XmlRootElement(name = "TaxDetail")
public class TaxDetail {
@XmlElement(name = "TaxableAmount", required = true)
protected MoneyType taxableAmount;
@XmlElement(name = "TaxAmount", required = true)
protected MoneyType taxAmount;
@XmlElement(name = "TaxLocation", required = true)
protected TaxLocation taxLocation;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String category;
@XmlAttribute(required = true)
protected BigDecimal percentageRate;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String purpose;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String taxPointDate;
/**
* Gets the value of the taxableAmount property.
*
* @return
* possible object is
* {@link MoneyType }
*
*/
public MoneyType getTaxableAmount() {
return taxableAmount;
}
/**
* Sets the value of the taxableAmount property.
*
* @param value
* allowed object is
* {@link MoneyType }
*
*/
public void setTaxableAmount(MoneyType value) {
this.taxableAmount = value;
}
/**
* Gets the value of the taxAmount property.
*
* @return
* possible object is
* {@link MoneyType }
*
*/
public MoneyType getTaxAmount() {
return taxAmount;
}
/**
* Sets the value of the taxAmount property.
*
* @param value
* allowed object is
* {@link MoneyType }
*
*/
public void setTaxAmount(MoneyType value) {
this.taxAmount = value;
}
/**
* Gets the value of the taxLocation property.
*
* @return
* possible object is
* {@link TaxLocation }
*
*/
public TaxLocation getTaxLocation() {
return taxLocation;
}
/**
* Sets the value of the taxLocation property.
*
* @param value
* allowed object is
* {@link TaxLocation }
*
*/
public void setTaxLocation(TaxLocation value) {
this.taxLocation = value;
}
/**
* Gets the value of the category property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCategory() {
return category;
}
/**
* Sets the value of the category property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCategory(String value) {
this.category = value;
}
/**
* Gets the value of the percentageRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPercentageRate() {
return percentageRate;
}
/**
* Sets the value of the percentageRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setPercentageRate(BigDecimal value) {
this.percentageRate = value;
}
/**
* Gets the value of the purpose property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPurpose() {
return purpose;
}
/**
* Sets the value of the purpose property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPurpose(String value) {
this.purpose = value;
}
/**
* Gets the value of the taxPointDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTaxPointDate() {
return taxPointDate;
}
/**
* Sets the value of the taxPointDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTaxPointDate(String value) {
this.taxPointDate = value;
}
}