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

net.sourceforge.ota_tools.jaxb.ota2010a.ping.PaymentDetailType Maven / Gradle / Ivy

//
// 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 java.util.ArrayList;
import java.util.List;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * Details of payment.
 * 
 * 

Java class for PaymentDetailType complex type. * *

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

 * <complexType name="PaymentDetailType">
 *   <complexContent>
 *     <extension base="{http://www.opentravel.org/OTA/2003/05}PaymentFormType">
 *       <sequence>
 *         <element name="PaymentAmount" maxOccurs="2" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attGroup ref="{http://www.opentravel.org/OTA/2003/05}CurrencyAmountGroup"/>
 *                 <attribute name="ApprovalCode" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to16" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="Commission" type="{http://www.opentravel.org/OTA/2003/05}CommissionType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="PaymentType" type="{http://www.opentravel.org/OTA/2003/05}OTA_CodeType" />
 *       <attribute name="SplitPaymentInd" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="AuthorizedDays" type="{http://www.opentravel.org/OTA/2003/05}Numeric1to999" />
 *       <attribute name="PrimaryPaymentInd" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PaymentDetailType", propOrder = { "paymentAmount", "commission" }) public class PaymentDetailType extends PaymentFormType { @XmlElement(name = "PaymentAmount") protected List paymentAmount; @XmlElement(name = "Commission") protected CommissionType commission; @XmlAttribute(name = "PaymentType") protected String paymentType; @XmlAttribute(name = "SplitPaymentInd") protected Boolean splitPaymentInd; @XmlAttribute(name = "AuthorizedDays") protected Integer authorizedDays; @XmlAttribute(name = "PrimaryPaymentInd") protected Boolean primaryPaymentInd; /** * Gets the value of the paymentAmount property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the paymentAmount property. * *

* For example, to add a new item, do as follows: *

     *    getPaymentAmount().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PaymentDetailType.PaymentAmount } * * */ public List getPaymentAmount() { if (paymentAmount == null) { paymentAmount = new ArrayList(); } return this.paymentAmount; } /** * Gets the value of the commission property. * * @return * possible object is * {@link CommissionType } * */ public CommissionType getCommission() { return commission; } /** * Sets the value of the commission property. * * @param value * allowed object is * {@link CommissionType } * */ public void setCommission(CommissionType value) { this.commission = 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 splitPaymentInd property. * * @return * possible object is * {@link Boolean } * */ public Boolean getSplitPaymentInd() { return splitPaymentInd; } /** * Sets the value of the splitPaymentInd property. * * @param value * allowed object is * {@link Boolean } * */ public void setSplitPaymentInd(Boolean value) { this.splitPaymentInd = value; } /** * Gets the value of the authorizedDays property. * * @return * possible object is * {@link Integer } * */ public Integer getAuthorizedDays() { return authorizedDays; } /** * Sets the value of the authorizedDays property. * * @param value * allowed object is * {@link Integer } * */ public void setAuthorizedDays(Integer value) { this.authorizedDays = value; } /** * Gets the value of the primaryPaymentInd property. * * @return * possible object is * {@link Boolean } * */ public Boolean getPrimaryPaymentInd() { return primaryPaymentInd; } /** * Sets the value of the primaryPaymentInd property. * * @param value * allowed object is * {@link Boolean } * */ public void setPrimaryPaymentInd(Boolean value) { this.primaryPaymentInd = value; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <attGroup ref="{http://www.opentravel.org/OTA/2003/05}CurrencyAmountGroup"/>
     *       <attribute name="ApprovalCode" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to16" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class PaymentAmount { @XmlAttribute(name = "ApprovalCode") protected String approvalCode; @XmlAttribute(name = "Amount") protected BigDecimal amount; @XmlAttribute(name = "CurrencyCode") protected String currencyCode; @XmlAttribute(name = "DecimalPlaces") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger decimalPlaces; /** * Gets the value of the approvalCode property. * * @return * possible object is * {@link String } * */ public String getApprovalCode() { return approvalCode; } /** * Sets the value of the approvalCode property. * * @param value * allowed object is * {@link String } * */ public void setApprovalCode(String value) { this.approvalCode = 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; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy