public class

ExpenseReport

extends Resource
java.lang.Object
   ↳ com.coupa.resources.Resource
     ↳ com.coupa.resources.ExpenseReport

Class Overview

Java class for expense-report complex type.

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

 <complexType name="expense-report">
   <complexContent>
     <extension base="{}resource">
       <sequence>
         <element name="created-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="updated-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="submitted-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="auditor-note" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="reject-reason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="paid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="total" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="exported" type="{}restBoolean" minOccurs="0"/>
         <element name="payment" type="{}payment-summary" minOccurs="0"/>
         <element name="currency" type="{}currency-summary" minOccurs="0"/>
         <element name="expensed-by" type="{}user-summary" minOccurs="0"/>
         <element name="created-by" type="{}user-summary" minOccurs="0"/>
         <element name="updated-by" type="{}user-summary" minOccurs="0"/>
         <element name="expense-lines" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="expense-line" type="{}expense-line-summary" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="events" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="event" type="{}expense-report-event-history-summary" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="expense-policy-violations" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="expense-policy-violation" type="{}expense-policy-violation-summary" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="approvals" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="approval" type="{}approval-summary" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Nested Classes
class ExpenseReport.Approvals

Java class for anonymous complex type. 

class ExpenseReport.Events

Java class for anonymous complex type. 

class ExpenseReport.ExpenseLines

Java class for anonymous complex type. 

class ExpenseReport.ExpensePolicyViolations

Java class for anonymous complex type. 

Fields
protected ExpenseReport.Approvals approvals
protected String auditorNote
protected XMLGregorianCalendar createdAt
protected UserSummary createdBy
protected CurrencySummary currency
protected ExpenseReport.Events events
protected ExpenseReport.ExpenseLines expenseLines
protected ExpenseReport.ExpensePolicyViolations expensePolicyViolations
protected UserSummary expensedBy
protected RestBoolean exported
protected String paid
protected PaymentSummary payment
protected String rejectReason
protected String status
protected XMLGregorianCalendar submittedAt
protected String title
protected BigDecimal total
protected XMLGregorianCalendar updatedAt
protected UserSummary updatedBy
[Expand]
Inherited Fields
From class com.coupa.resources.Resource
Public Constructors
ExpenseReport()
Public Methods
ExpenseReport.Approvals getApprovals()
Gets the value of the approvals property.
String getAuditorNote()
Gets the value of the auditorNote property.
XMLGregorianCalendar getCreatedAt()
Gets the value of the createdAt property.
UserSummary getCreatedBy()
Gets the value of the createdBy property.
CurrencySummary getCurrency()
Gets the value of the currency property.
ExpenseReport.Events getEvents()
Gets the value of the events property.
ExpenseReport.ExpenseLines getExpenseLines()
Gets the value of the expenseLines property.
ExpenseReport.ExpensePolicyViolations getExpensePolicyViolations()
Gets the value of the expensePolicyViolations property.
UserSummary getExpensedBy()
Gets the value of the expensedBy property.
RestBoolean getExported()
Gets the value of the exported property.
String getPaid()
Gets the value of the paid property.
PaymentSummary getPayment()
Gets the value of the payment property.
String getRejectReason()
Gets the value of the rejectReason property.
String getStatus()
Gets the value of the status property.
XMLGregorianCalendar getSubmittedAt()
Gets the value of the submittedAt property.
String getTitle()
Gets the value of the title property.
BigDecimal getTotal()
Gets the value of the total property.
XMLGregorianCalendar getUpdatedAt()
Gets the value of the updatedAt property.
UserSummary getUpdatedBy()
Gets the value of the updatedBy property.
void setApprovals(ExpenseReport.Approvals value)
Sets the value of the approvals property.
void setAuditorNote(String value)
Sets the value of the auditorNote property.
void setCreatedAt(XMLGregorianCalendar value)
Sets the value of the createdAt property.
void setCreatedBy(UserSummary value)
Sets the value of the createdBy property.
void setCurrency(CurrencySummary value)
Sets the value of the currency property.
void setEvents(ExpenseReport.Events value)
Sets the value of the events property.
void setExpenseLines(ExpenseReport.ExpenseLines value)
Sets the value of the expenseLines property.
void setExpensePolicyViolations(ExpenseReport.ExpensePolicyViolations value)
Sets the value of the expensePolicyViolations property.
void setExpensedBy(UserSummary value)
Sets the value of the expensedBy property.
void setExported(RestBoolean value)
Sets the value of the exported property.
void setPaid(String value)
Sets the value of the paid property.
void setPayment(PaymentSummary value)
Sets the value of the payment property.
void setRejectReason(String value)
Sets the value of the rejectReason property.
void setStatus(String value)
Sets the value of the status property.
void setSubmittedAt(XMLGregorianCalendar value)
Sets the value of the submittedAt property.
void setTitle(String value)
Sets the value of the title property.
void setTotal(BigDecimal value)
Sets the value of the total property.
void setUpdatedAt(XMLGregorianCalendar value)
Sets the value of the updatedAt property.
void setUpdatedBy(UserSummary value)
Sets the value of the updatedBy property.
[Expand]
Inherited Methods
From class com.coupa.resources.Resource
From class java.lang.Object
From interface com.coupa.api.Identifiable

Fields

protected ExpenseReport.Approvals approvals

protected String auditorNote

protected XMLGregorianCalendar createdAt

protected UserSummary createdBy

protected CurrencySummary currency

protected ExpenseReport.Events events

protected ExpenseReport.ExpenseLines expenseLines

protected ExpenseReport.ExpensePolicyViolations expensePolicyViolations

protected UserSummary expensedBy

protected RestBoolean exported

protected String paid

protected PaymentSummary payment

protected String rejectReason

protected String status

protected XMLGregorianCalendar submittedAt

protected String title

protected BigDecimal total

protected XMLGregorianCalendar updatedAt

protected UserSummary updatedBy

Public Constructors

public ExpenseReport ()

Public Methods

public ExpenseReport.Approvals getApprovals ()

Gets the value of the approvals property.

Returns

public String getAuditorNote ()

Gets the value of the auditorNote property.

Returns
  • possible object is String

public XMLGregorianCalendar getCreatedAt ()

Gets the value of the createdAt property.

Returns
  • possible object is XMLGregorianCalendar

public UserSummary getCreatedBy ()

Gets the value of the createdBy property.

Returns

public CurrencySummary getCurrency ()

Gets the value of the currency property.

Returns

public ExpenseReport.Events getEvents ()

Gets the value of the events property.

Returns

public ExpenseReport.ExpenseLines getExpenseLines ()

Gets the value of the expenseLines property.

Returns

public ExpenseReport.ExpensePolicyViolations getExpensePolicyViolations ()

Gets the value of the expensePolicyViolations property.

Returns

public UserSummary getExpensedBy ()

Gets the value of the expensedBy property.

Returns

public RestBoolean getExported ()

Gets the value of the exported property.

Returns

public String getPaid ()

Gets the value of the paid property.

Returns
  • possible object is String

public PaymentSummary getPayment ()

Gets the value of the payment property.

Returns

public String getRejectReason ()

Gets the value of the rejectReason property.

Returns
  • possible object is String

public String getStatus ()

Gets the value of the status property.

Returns
  • possible object is String

public XMLGregorianCalendar getSubmittedAt ()

Gets the value of the submittedAt property.

Returns
  • possible object is XMLGregorianCalendar

public String getTitle ()

Gets the value of the title property.

Returns
  • possible object is String

public BigDecimal getTotal ()

Gets the value of the total property.

Returns
  • possible object is BigDecimal

public XMLGregorianCalendar getUpdatedAt ()

Gets the value of the updatedAt property.

Returns
  • possible object is XMLGregorianCalendar

public UserSummary getUpdatedBy ()

Gets the value of the updatedBy property.

Returns

public void setApprovals (ExpenseReport.Approvals value)

Sets the value of the approvals property.

Parameters
value Allowed object is ExpenseReport.Approvals

public void setAuditorNote (String value)

Sets the value of the auditorNote property.

Parameters
value Allowed object is String

public void setCreatedAt (XMLGregorianCalendar value)

Sets the value of the createdAt property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setCreatedBy (UserSummary value)

Sets the value of the createdBy property.

Parameters
value Allowed object is UserSummary

public void setCurrency (CurrencySummary value)

Sets the value of the currency property.

Parameters
value Allowed object is CurrencySummary

public void setEvents (ExpenseReport.Events value)

Sets the value of the events property.

Parameters
value Allowed object is ExpenseReport.Events

public void setExpenseLines (ExpenseReport.ExpenseLines value)

Sets the value of the expenseLines property.

Parameters
value Allowed object is ExpenseReport.ExpenseLines

public void setExpensePolicyViolations (ExpenseReport.ExpensePolicyViolations value)

Sets the value of the expensePolicyViolations property.

Parameters
value Allowed object is ExpenseReport.ExpensePolicyViolations

public void setExpensedBy (UserSummary value)

Sets the value of the expensedBy property.

Parameters
value Allowed object is UserSummary

public void setExported (RestBoolean value)

Sets the value of the exported property.

Parameters
value Allowed object is RestBoolean

public void setPaid (String value)

Sets the value of the paid property.

Parameters
value Allowed object is String

public void setPayment (PaymentSummary value)

Sets the value of the payment property.

Parameters
value Allowed object is PaymentSummary

public void setRejectReason (String value)

Sets the value of the rejectReason property.

Parameters
value Allowed object is String

public void setStatus (String value)

Sets the value of the status property.

Parameters
value Allowed object is String

public void setSubmittedAt (XMLGregorianCalendar value)

Sets the value of the submittedAt property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setTitle (String value)

Sets the value of the title property.

Parameters
value Allowed object is String

public void setTotal (BigDecimal value)

Sets the value of the total property.

Parameters
value Allowed object is BigDecimal

public void setUpdatedAt (XMLGregorianCalendar value)

Sets the value of the updatedAt property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setUpdatedBy (UserSummary value)

Sets the value of the updatedBy property.

Parameters
value Allowed object is UserSummary