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

com.connectifier.xeroclient.models.BankTransaction Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.03.08 at 08:40:56 PM PDT 
//


package com.connectifier.xeroclient.models;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
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.XmlList;
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;


/**
 * 

Java class for BankTransaction complex type. * *

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

 * <complexType name="BankTransaction">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="ValidationErrors" type="{}ArrayOfValidationError" minOccurs="0"/>
 *         <element name="Warnings" type="{}ArrayOfWarning" minOccurs="0"/>
 *         <element name="Contact" type="{}Contact"/>
 *         <element name="Date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="Status" type="{}bankTransactionStatus"/>
 *         <element name="LineAmountTypes" type="{}lineAmountType"/>
 *         <element name="LineItems" type="{}ArrayOfLineItem" minOccurs="0"/>
 *         <element name="SubTotal" type="{}itemPrice"/>
 *         <element name="TotalTax" type="{}itemPrice"/>
 *         <element name="Total" type="{}itemPrice"/>
 *         <element name="UpdatedDateUTC" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="CurrencyCode" type="{}currencyCode" minOccurs="0"/>
 *         <element name="BankTransactionID" type="{}uniqueIdentifier"/>
 *         <element name="BankAccount" type="{}Account"/>
 *         <element name="Type" type="{}bankTransactionType"/>
 *         <element name="Reference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="IsReconciled" type="{}trueOrFalse"/>
 *         <element name="CurrencyRate" type="{}currencyRate" minOccurs="0"/>
 *       </all>
 *       <attribute name="status" type="{}entityValidationStatus" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BankTransaction", propOrder = { }) public class BankTransaction { @XmlElement(name = "ValidationErrors") protected ArrayOfValidationError validationErrors; @XmlElement(name = "Warnings") protected ArrayOfWarning warnings; @XmlElement(name = "Contact", required = true) protected Contact contact; @XmlElement(name = "Date", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date date; @XmlElement(name = "Status", required = true) protected BankTransactionStatus status; @XmlList @XmlElement(name = "LineAmountTypes", required = true) protected List lineAmountTypes; @XmlElement(name = "LineItems") protected ArrayOfLineItem lineItems; @XmlElement(name = "SubTotal", required = true) protected BigDecimal subTotal; @XmlElement(name = "TotalTax", required = true) protected BigDecimal totalTax; @XmlElement(name = "Total", required = true) protected BigDecimal total; @XmlElement(name = "UpdatedDateUTC", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date updatedDateUTC; @XmlElement(name = "CurrencyCode") protected CurrencyCode currencyCode; @XmlElement(name = "BankTransactionID", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String bankTransactionID; @XmlElement(name = "BankAccount", required = true) protected Account bankAccount; @XmlElement(name = "Type", required = true) protected BankTransactionType type; @XmlElement(name = "Reference") protected String reference; @XmlElement(name = "IsReconciled", required = true) protected TrueOrFalse isReconciled; @XmlElement(name = "CurrencyRate") protected BigDecimal currencyRate; @XmlAttribute(name = "status") protected EntityValidationStatus validationStatus; /** * Sets the value of the validationErrors property. * * @param value * allowed object is * {@link ArrayOfValidationError } * */ public void setValidationErrors(ArrayOfValidationError value) { this.validationErrors = value; } /** * Sets the value of the warnings property. * * @param value * allowed object is * {@link ArrayOfWarning } * */ public void setWarnings(ArrayOfWarning value) { this.warnings = value; } /** * Gets the value of the contact property. * * @return * possible object is * {@link Contact } * */ public Contact getContact() { return contact; } /** * Sets the value of the contact property. * * @param value * allowed object is * {@link Contact } * */ public void setContact(Contact value) { this.contact = value; } /** * Gets the value of the date property. * * @return * possible object is * {@link String } * */ public Date getDate() { return date; } /** * Sets the value of the date property. * * @param value * allowed object is * {@link String } * */ public void setDate(Date value) { this.date = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link BankTransactionStatus } * */ public BankTransactionStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link BankTransactionStatus } * */ public void setStatus(BankTransactionStatus value) { this.status = value; } /** * Gets the value of the lineAmountTypes 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 lineAmountTypes property. * *

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

     *    getLineAmountTypes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getLineAmountTypes() { if (lineAmountTypes == null) { lineAmountTypes = new ArrayList(); } return this.lineAmountTypes; } /** * Sets the value of the lineItems property. * * @param value * allowed object is * {@link ArrayOfLineItem } * */ public void setLineItems(ArrayOfLineItem value) { this.lineItems = value; } /** * Gets the value of the subTotal property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getSubTotal() { return subTotal; } /** * Sets the value of the subTotal property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setSubTotal(BigDecimal value) { this.subTotal = value; } /** * Gets the value of the totalTax property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getTotalTax() { return totalTax; } /** * Sets the value of the totalTax property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setTotalTax(BigDecimal value) { this.totalTax = value; } /** * Gets the value of the total property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getTotal() { return total; } /** * Sets the value of the total property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setTotal(BigDecimal value) { this.total = value; } /** * Gets the value of the updatedDateUTC property. * * @return * possible object is * {@link String } * */ public Date getUpdatedDateUTC() { return updatedDateUTC; } /** * Sets the value of the updatedDateUTC property. * * @param value * allowed object is * {@link String } * */ public void setUpdatedDateUTC(Date value) { this.updatedDateUTC = value; } /** * Gets the value of the currencyCode property. * * @return * possible object is * {@link CurrencyCode } * */ public CurrencyCode getCurrencyCode() { return currencyCode; } /** * Sets the value of the currencyCode property. * * @param value * allowed object is * {@link CurrencyCode } * */ public void setCurrencyCode(CurrencyCode value) { this.currencyCode = value; } /** * Gets the value of the bankTransactionID property. * * @return * possible object is * {@link String } * */ public String getBankTransactionID() { return bankTransactionID; } /** * Sets the value of the bankTransactionID property. * * @param value * allowed object is * {@link String } * */ public void setBankTransactionID(String value) { this.bankTransactionID = value; } /** * Gets the value of the bankAccount property. * * @return * possible object is * {@link Account } * */ public Account getBankAccount() { return bankAccount; } /** * Sets the value of the bankAccount property. * * @param value * allowed object is * {@link Account } * */ public void setBankAccount(Account value) { this.bankAccount = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link BankTransactionType } * */ public BankTransactionType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link BankTransactionType } * */ public void setType(BankTransactionType value) { this.type = value; } /** * Gets the value of the reference property. * * @return * possible object is * {@link String } * */ public String getReference() { return reference; } /** * Sets the value of the reference property. * * @param value * allowed object is * {@link String } * */ public void setReference(String value) { this.reference = value; } /** * Gets the value of the isReconciled property. * * @return * possible object is * {@link TrueOrFalse } * */ public TrueOrFalse getIsReconciled() { return isReconciled; } /** * Sets the value of the isReconciled property. * * @param value * allowed object is * {@link TrueOrFalse } * */ public void setIsReconciled(TrueOrFalse value) { this.isReconciled = value; } /** * Gets the value of the currencyRate property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getCurrencyRate() { return currencyRate; } /** * Sets the value of the currencyRate property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setCurrencyRate(BigDecimal value) { this.currencyRate = value; } /** * Gets the value of the validationStatus property. * * @return * possible object is * {@link EntityValidationStatus } * */ public EntityValidationStatus getValidationStatus() { return validationStatus; } /** * Sets the value of the validationStatus property. * * @param value * allowed object is * {@link EntityValidationStatus } * */ public void setValidationStatus(EntityValidationStatus value) { this.validationStatus = value; } public List getValidationErrors() { return ((validationErrors == null)?new ArrayList():validationErrors.getValidationError()); } public List getWarnings() { return ((warnings == null)?new ArrayList():warnings.getWarning()); } public List getLineItems() { return ((lineItems == null)?new ArrayList():lineItems.getLineItem()); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy