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

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


package com.connectifier.xeroclient.models;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/** 
 * Schema fragment(s) for this class:
 * 
 * <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ExpenseClaim">
 *   <xs:all>
 *     <xs:element type="ArrayOfValidationError" name="ValidationErrors" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="ArrayOfWarning" name="Warnings" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="ExpenseClaimID" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="expenseClaimStatus" name="Status" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:dateTime" name="Date" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:dateTime" name="UpdatedDateUTC" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="User" name="User" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="ArrayOfReceipt" name="Receipts" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:decimal" name="Total" minOccurs="0" maxOccurs="1"/>
 *   </xs:all>
 *   <xs:attribute type="entityValidationStatus" use="optional" name="status"/>
 * </xs:complexType>
 * 
*/ public class ExpenseClaim { private ArrayOfValidationError validationErrors; private ArrayOfWarning warnings; private String expenseClaimID; private ExpenseClaimStatus status; private Date date; private Date updatedDateUTC; private User user; private ArrayOfReceipt receipts; private BigDecimal total; private EntityValidationStatus status1; /** * Get the 'ValidationErrors' element value. * * @return value */ public ArrayOfValidationError getValidationErrors() { return validationErrors; } /** * Set the 'ValidationErrors' element value. * * @param validationErrors */ public void setValidationErrors(ArrayOfValidationError validationErrors) { this.validationErrors = validationErrors; } public List getValidationErrorsAsList() { if (validationErrors == null) validationErrors = new ArrayOfValidationError(); return validationErrors.getValidationErrorList(); } /** * Get the 'Warnings' element value. * * @return value */ public ArrayOfWarning getWarnings() { return warnings; } /** * Set the 'Warnings' element value. * * @param warnings */ public void setWarnings(ArrayOfWarning warnings) { this.warnings = warnings; } public List getWarningsAsList() { if (warnings == null) warnings = new ArrayOfWarning(); return warnings.getWarningList(); } /** * Get the 'ExpenseClaimID' element value. * * @return value */ public String getExpenseClaimID() { return expenseClaimID; } /** * Set the 'ExpenseClaimID' element value. * * @param expenseClaimID */ public void setExpenseClaimID(String expenseClaimID) { this.expenseClaimID = expenseClaimID; } /** * Get the 'Status' element value. * * @return value */ public ExpenseClaimStatus getStatus() { return status; } /** * Set the 'Status' element value. * * @param status */ public void setStatus(ExpenseClaimStatus status) { this.status = status; } /** * Get the 'Date' element value. * * @return value */ public Date getDate() { return date; } /** * Set the 'Date' element value. * * @param date */ public void setDate(Date date) { this.date = date; } /** * Get the 'UpdatedDateUTC' element value. * * @return value */ public Date getUpdatedDateUTC() { return updatedDateUTC; } /** * Set the 'UpdatedDateUTC' element value. * * @param updatedDateUTC */ public void setUpdatedDateUTC(Date updatedDateUTC) { this.updatedDateUTC = updatedDateUTC; } /** * Get the 'User' element value. * * @return value */ public User getUser() { return user; } /** * Set the 'User' element value. * * @param user */ public void setUser(User user) { this.user = user; } /** * Get the 'Receipts' element value. * * @return value */ public ArrayOfReceipt getReceipts() { return receipts; } /** * Set the 'Receipts' element value. * * @param receipts */ public void setReceipts(ArrayOfReceipt receipts) { this.receipts = receipts; } public List getReceiptsAsList() { if (receipts == null) receipts = new ArrayOfReceipt(); return receipts.getReceiptList(); } /** * Get the 'Total' element value. * * @return value */ public BigDecimal getTotal() { return total; } /** * Set the 'Total' element value. * * @param total */ public void setTotal(BigDecimal total) { this.total = total; } /** * Get the 'status' attribute value. * * @return value */ public EntityValidationStatus getStatus1() { return status1; } /** * Set the 'status' attribute value. * * @param status1 */ public void setStatus1(EntityValidationStatus status1) { this.status1 = status1; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy