
com.connectifier.xeroclient.models.BankTransfer 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for BankTransfer complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="BankTransfer">
* <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="BankTransferID" type="{}uniqueIdentifier"/>
* <element name="CreatedDateUTC" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="Date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="FromBankAccount" type="{}BankAccount"/>
* <element name="ToBankAccount" type="{}BankAccount"/>
* <element name="Amount" type="{}itemPrice"/>
* <element name="FromBankTransactionID" type="{}uniqueIdentifier"/>
* <element name="ToBankTransactionID" type="{}uniqueIdentifier"/>
* <element name="CurrencyRate" type="{}currencyRate" minOccurs="0"/>
* <element name="HasAttachments" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </all>
* <attribute name="status" type="{}entityValidationStatus" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BankTransfer", propOrder = {
})
public class BankTransfer {
@XmlElement(name = "ValidationErrors")
protected ArrayOfValidationError validationErrors;
@XmlElement(name = "Warnings")
protected ArrayOfWarning warnings;
@XmlElement(name = "BankTransferID", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String bankTransferID;
@XmlElement(name = "CreatedDateUTC", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date createdDateUTC;
@XmlElement(name = "Date", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date date;
@XmlElement(name = "FromBankAccount", required = true)
protected BankAccount fromBankAccount;
@XmlElement(name = "ToBankAccount", required = true)
protected BankAccount toBankAccount;
@XmlElement(name = "Amount", required = true)
protected BigDecimal amount;
@XmlElement(name = "FromBankTransactionID", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fromBankTransactionID;
@XmlElement(name = "ToBankTransactionID", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String toBankTransactionID;
@XmlElement(name = "CurrencyRate")
protected BigDecimal currencyRate;
@XmlElement(name = "HasAttachments")
protected Boolean hasAttachments;
@XmlAttribute(name = "status")
protected EntityValidationStatus status;
/**
* 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 bankTransferID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBankTransferID() {
return bankTransferID;
}
/**
* Sets the value of the bankTransferID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBankTransferID(String value) {
this.bankTransferID = value;
}
/**
* Gets the value of the createdDateUTC property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getCreatedDateUTC() {
return createdDateUTC;
}
/**
* Sets the value of the createdDateUTC property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatedDateUTC(Date value) {
this.createdDateUTC = 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 fromBankAccount property.
*
* @return
* possible object is
* {@link BankAccount }
*
*/
public BankAccount getFromBankAccount() {
return fromBankAccount;
}
/**
* Sets the value of the fromBankAccount property.
*
* @param value
* allowed object is
* {@link BankAccount }
*
*/
public void setFromBankAccount(BankAccount value) {
this.fromBankAccount = value;
}
/**
* Gets the value of the toBankAccount property.
*
* @return
* possible object is
* {@link BankAccount }
*
*/
public BankAccount getToBankAccount() {
return toBankAccount;
}
/**
* Sets the value of the toBankAccount property.
*
* @param value
* allowed object is
* {@link BankAccount }
*
*/
public void setToBankAccount(BankAccount value) {
this.toBankAccount = 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 fromBankTransactionID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFromBankTransactionID() {
return fromBankTransactionID;
}
/**
* Sets the value of the fromBankTransactionID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFromBankTransactionID(String value) {
this.fromBankTransactionID = value;
}
/**
* Gets the value of the toBankTransactionID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getToBankTransactionID() {
return toBankTransactionID;
}
/**
* Sets the value of the toBankTransactionID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setToBankTransactionID(String value) {
this.toBankTransactionID = 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 hasAttachments property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHasAttachments() {
return hasAttachments;
}
/**
* Sets the value of the hasAttachments property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHasAttachments(Boolean value) {
this.hasAttachments = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link EntityValidationStatus }
*
*/
public EntityValidationStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link EntityValidationStatus }
*
*/
public void setStatus(EntityValidationStatus value) {
this.status = value;
}
public List getValidationErrors() {
return ((validationErrors == null)?new ArrayList():validationErrors.getValidationError());
}
public List getWarnings() {
return ((warnings == null)?new ArrayList():warnings.getWarning());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy