net.sourceforge.ota_tools.jaxb.ota2010a.ping.MonetaryRuleType Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.12.31 at 04:22:27 PM PST
//
package net.sourceforge.ota_tools.jaxb.ota2010a.ping;
import java.math.BigDecimal;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* This defines the information pertaining to rules and amounts associated with these rules.
*
* Java class for MonetaryRuleType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MonetaryRuleType">
* <simpleContent>
* <extension base="<http://www.opentravel.org/OTA/2003/05>StringLength0to255">
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}CurrencyAmountGroup"/>
* <attribute name="RuleType" use="required" type="{http://www.opentravel.org/OTA/2003/05}OTA_CodeType" />
* <attribute name="Percent" type="{http://www.opentravel.org/OTA/2003/05}Percentage" />
* <attribute name="DateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="PaymentType" type="{http://www.opentravel.org/OTA/2003/05}OTA_CodeType" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MonetaryRuleType", propOrder = {
"value"
})
public class MonetaryRuleType {
@XmlValue
protected String value;
@XmlAttribute(name = "RuleType", required = true)
protected String ruleType;
@XmlAttribute(name = "Percent")
protected BigDecimal percent;
@XmlAttribute(name = "DateTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateTime;
@XmlAttribute(name = "PaymentType")
protected String paymentType;
@XmlAttribute(name = "Amount")
protected BigDecimal amount;
@XmlAttribute(name = "CurrencyCode")
protected String currencyCode;
@XmlAttribute(name = "DecimalPlaces")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger decimalPlaces;
/**
* Used for Character Strings, length 0 to 255.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the ruleType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRuleType() {
return ruleType;
}
/**
* Sets the value of the ruleType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRuleType(String value) {
this.ruleType = value;
}
/**
* Gets the value of the percent property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPercent() {
return percent;
}
/**
* Sets the value of the percent property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setPercent(BigDecimal value) {
this.percent = value;
}
/**
* Gets the value of the dateTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDateTime() {
return dateTime;
}
/**
* Sets the value of the dateTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDateTime(XMLGregorianCalendar value) {
this.dateTime = value;
}
/**
* Gets the value of the paymentType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPaymentType() {
return paymentType;
}
/**
* Sets the value of the paymentType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPaymentType(String value) {
this.paymentType = value;
}
/**
* Gets the value of the amount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAmount(BigDecimal 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 decimalPlaces property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getDecimalPlaces() {
return decimalPlaces;
}
/**
* Sets the value of the decimalPlaces property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setDecimalPlaces(BigInteger value) {
this.decimalPlaces = value;
}
}