public class

InvoiceHeader

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

Class Overview

Java class for invoice-header complex type.

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

 <complexType name="invoice-header">
   <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="comments" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="handling-amount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="internal-note" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="invoice-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="invoice-number" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="line-level-taxation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="misc-amount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="shipping-amount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="supplier-note" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="tax-amount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="tax-rate" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
         <element name="paid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="payment-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="payment-notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="exported" type="{}restBoolean" minOccurs="0"/>
         <element name="payments" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="payment" type="{}payment-summary" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="account-type" type="{}account-type-summary" minOccurs="0"/>
         <element name="currency" type="{}currency-summary" minOccurs="0"/>
         <element name="payment-term" type="{}payment-term-summary" minOccurs="0"/>
         <element name="shipping-term" type="{}shipping-term-summary" minOccurs="0"/>
         <element name="remit-to-address" type="{}address-summary" minOccurs="0"/>
         <element name="supplier" type="{}supplier-summary" minOccurs="0"/>
         <element name="tax-code" type="{}tax-code-summary" minOccurs="0"/>
         <element name="attachments" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="attachment" type="{}attachment-link-summary" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="invoice-lines" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="invoice-line" type="{}invoice-line-summary" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="created-by" type="{}user-summary" minOccurs="0"/>
         <element name="updated-by" type="{}user-summary" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Nested Classes
class InvoiceHeader.Attachments

Java class for anonymous complex type. 

class InvoiceHeader.InvoiceLines

Java class for anonymous complex type. 

class InvoiceHeader.Payments

Java class for anonymous complex type. 

Fields
protected AccountTypeSummary accountType
protected InvoiceHeader.Attachments attachments
protected String comments
protected XMLGregorianCalendar createdAt
protected UserSummary createdBy
protected CurrencySummary currency
protected RestBoolean exported
protected BigDecimal handlingAmount
protected String internalNote
protected XMLGregorianCalendar invoiceDate
protected InvoiceHeader.InvoiceLines invoiceLines
protected String invoiceNumber
protected String lineLevelTaxation
protected BigDecimal miscAmount
protected String paid
protected XMLGregorianCalendar paymentDate
protected String paymentNotes
protected PaymentTermSummary paymentTerm
protected InvoiceHeader.Payments payments
protected AddressSummary remitToAddress
protected BigDecimal shippingAmount
protected ShippingTermSummary shippingTerm
protected String status
protected SupplierSummary supplier
protected String supplierNote
protected BigDecimal taxAmount
protected TaxCodeSummary taxCode
protected Float taxRate
protected XMLGregorianCalendar updatedAt
protected UserSummary updatedBy
[Expand]
Inherited Fields
From class com.coupa.resources.Resource
Public Constructors
InvoiceHeader()
Public Methods
AccountTypeSummary getAccountType()
Gets the value of the accountType property.
InvoiceHeader.Attachments getAttachments()
Gets the value of the attachments property.
String getComments()
Gets the value of the comments 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.
RestBoolean getExported()
Gets the value of the exported property.
BigDecimal getHandlingAmount()
Gets the value of the handlingAmount property.
String getInternalNote()
Gets the value of the internalNote property.
XMLGregorianCalendar getInvoiceDate()
Gets the value of the invoiceDate property.
InvoiceHeader.InvoiceLines getInvoiceLines()
Gets the value of the invoiceLines property.
String getInvoiceNumber()
Gets the value of the invoiceNumber property.
String getLineLevelTaxation()
Gets the value of the lineLevelTaxation property.
BigDecimal getMiscAmount()
Gets the value of the miscAmount property.
String getPaid()
Gets the value of the paid property.
XMLGregorianCalendar getPaymentDate()
Gets the value of the paymentDate property.
String getPaymentNotes()
Gets the value of the paymentNotes property.
PaymentTermSummary getPaymentTerm()
Gets the value of the paymentTerm property.
InvoiceHeader.Payments getPayments()
Gets the value of the payments property.
AddressSummary getRemitToAddress()
Gets the value of the remitToAddress property.
BigDecimal getShippingAmount()
Gets the value of the shippingAmount property.
ShippingTermSummary getShippingTerm()
Gets the value of the shippingTerm property.
String getStatus()
Gets the value of the status property.
SupplierSummary getSupplier()
Gets the value of the supplier property.
String getSupplierNote()
Gets the value of the supplierNote property.
BigDecimal getTaxAmount()
Gets the value of the taxAmount property.
TaxCodeSummary getTaxCode()
Gets the value of the taxCode property.
Float getTaxRate()
Gets the value of the taxRate property.
XMLGregorianCalendar getUpdatedAt()
Gets the value of the updatedAt property.
UserSummary getUpdatedBy()
Gets the value of the updatedBy property.
void setAccountType(AccountTypeSummary value)
Sets the value of the accountType property.
void setAttachments(InvoiceHeader.Attachments value)
Sets the value of the attachments property.
void setComments(String value)
Sets the value of the comments 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 setExported(RestBoolean value)
Sets the value of the exported property.
void setHandlingAmount(BigDecimal value)
Sets the value of the handlingAmount property.
void setInternalNote(String value)
Sets the value of the internalNote property.
void setInvoiceDate(XMLGregorianCalendar value)
Sets the value of the invoiceDate property.
void setInvoiceLines(InvoiceHeader.InvoiceLines value)
Sets the value of the invoiceLines property.
void setInvoiceNumber(String value)
Sets the value of the invoiceNumber property.
void setLineLevelTaxation(String value)
Sets the value of the lineLevelTaxation property.
void setMiscAmount(BigDecimal value)
Sets the value of the miscAmount property.
void setPaid(String value)
Sets the value of the paid property.
void setPaymentDate(XMLGregorianCalendar value)
Sets the value of the paymentDate property.
void setPaymentNotes(String value)
Sets the value of the paymentNotes property.
void setPaymentTerm(PaymentTermSummary value)
Sets the value of the paymentTerm property.
void setPayments(InvoiceHeader.Payments value)
Sets the value of the payments property.
void setRemitToAddress(AddressSummary value)
Sets the value of the remitToAddress property.
void setShippingAmount(BigDecimal value)
Sets the value of the shippingAmount property.
void setShippingTerm(ShippingTermSummary value)
Sets the value of the shippingTerm property.
void setStatus(String value)
Sets the value of the status property.
void setSupplier(SupplierSummary value)
Sets the value of the supplier property.
void setSupplierNote(String value)
Sets the value of the supplierNote property.
void setTaxAmount(BigDecimal value)
Sets the value of the taxAmount property.
void setTaxCode(TaxCodeSummary value)
Sets the value of the taxCode property.
void setTaxRate(Float value)
Sets the value of the taxRate 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 AccountTypeSummary accountType

protected InvoiceHeader.Attachments attachments

protected String comments

protected XMLGregorianCalendar createdAt

protected UserSummary createdBy

protected CurrencySummary currency

protected RestBoolean exported

protected BigDecimal handlingAmount

protected String internalNote

protected XMLGregorianCalendar invoiceDate

protected InvoiceHeader.InvoiceLines invoiceLines

protected String invoiceNumber

protected String lineLevelTaxation

protected BigDecimal miscAmount

protected String paid

protected XMLGregorianCalendar paymentDate

protected String paymentNotes

protected PaymentTermSummary paymentTerm

protected InvoiceHeader.Payments payments

protected AddressSummary remitToAddress

protected BigDecimal shippingAmount

protected ShippingTermSummary shippingTerm

protected String status

protected SupplierSummary supplier

protected String supplierNote

protected BigDecimal taxAmount

protected TaxCodeSummary taxCode

protected Float taxRate

protected XMLGregorianCalendar updatedAt

protected UserSummary updatedBy

Public Constructors

public InvoiceHeader ()

Public Methods

public AccountTypeSummary getAccountType ()

Gets the value of the accountType property.

Returns

public InvoiceHeader.Attachments getAttachments ()

Gets the value of the attachments property.

Returns

public String getComments ()

Gets the value of the comments 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 RestBoolean getExported ()

Gets the value of the exported property.

Returns

public BigDecimal getHandlingAmount ()

Gets the value of the handlingAmount property.

Returns
  • possible object is BigDecimal

public String getInternalNote ()

Gets the value of the internalNote property.

Returns
  • possible object is String

public XMLGregorianCalendar getInvoiceDate ()

Gets the value of the invoiceDate property.

Returns
  • possible object is XMLGregorianCalendar

public InvoiceHeader.InvoiceLines getInvoiceLines ()

Gets the value of the invoiceLines property.

Returns

public String getInvoiceNumber ()

Gets the value of the invoiceNumber property.

Returns
  • possible object is String

public String getLineLevelTaxation ()

Gets the value of the lineLevelTaxation property.

Returns
  • possible object is String

public BigDecimal getMiscAmount ()

Gets the value of the miscAmount property.

Returns
  • possible object is BigDecimal

public String getPaid ()

Gets the value of the paid property.

Returns
  • possible object is String

public XMLGregorianCalendar getPaymentDate ()

Gets the value of the paymentDate property.

Returns
  • possible object is XMLGregorianCalendar

public String getPaymentNotes ()

Gets the value of the paymentNotes property.

Returns
  • possible object is String

public PaymentTermSummary getPaymentTerm ()

Gets the value of the paymentTerm property.

Returns

public InvoiceHeader.Payments getPayments ()

Gets the value of the payments property.

Returns

public AddressSummary getRemitToAddress ()

Gets the value of the remitToAddress property.

Returns

public BigDecimal getShippingAmount ()

Gets the value of the shippingAmount property.

Returns
  • possible object is BigDecimal

public ShippingTermSummary getShippingTerm ()

Gets the value of the shippingTerm property.

Returns

public String getStatus ()

Gets the value of the status property.

Returns
  • possible object is String

public SupplierSummary getSupplier ()

Gets the value of the supplier property.

Returns

public String getSupplierNote ()

Gets the value of the supplierNote property.

Returns
  • possible object is String

public BigDecimal getTaxAmount ()

Gets the value of the taxAmount property.

Returns
  • possible object is BigDecimal

public TaxCodeSummary getTaxCode ()

Gets the value of the taxCode property.

Returns

public Float getTaxRate ()

Gets the value of the taxRate property.

Returns
  • possible object is Float

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 setAccountType (AccountTypeSummary value)

Sets the value of the accountType property.

Parameters
value Allowed object is AccountTypeSummary

public void setAttachments (InvoiceHeader.Attachments value)

Sets the value of the attachments property.

Parameters
value Allowed object is InvoiceHeader.Attachments

public void setComments (String value)

Sets the value of the comments 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 setExported (RestBoolean value)

Sets the value of the exported property.

Parameters
value Allowed object is RestBoolean

public void setHandlingAmount (BigDecimal value)

Sets the value of the handlingAmount property.

Parameters
value Allowed object is BigDecimal

public void setInternalNote (String value)

Sets the value of the internalNote property.

Parameters
value Allowed object is String

public void setInvoiceDate (XMLGregorianCalendar value)

Sets the value of the invoiceDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setInvoiceLines (InvoiceHeader.InvoiceLines value)

Sets the value of the invoiceLines property.

Parameters
value Allowed object is InvoiceHeader.InvoiceLines

public void setInvoiceNumber (String value)

Sets the value of the invoiceNumber property.

Parameters
value Allowed object is String

public void setLineLevelTaxation (String value)

Sets the value of the lineLevelTaxation property.

Parameters
value Allowed object is String

public void setMiscAmount (BigDecimal value)

Sets the value of the miscAmount property.

Parameters
value Allowed object is BigDecimal

public void setPaid (String value)

Sets the value of the paid property.

Parameters
value Allowed object is String

public void setPaymentDate (XMLGregorianCalendar value)

Sets the value of the paymentDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setPaymentNotes (String value)

Sets the value of the paymentNotes property.

Parameters
value Allowed object is String

public void setPaymentTerm (PaymentTermSummary value)

Sets the value of the paymentTerm property.

Parameters
value Allowed object is PaymentTermSummary

public void setPayments (InvoiceHeader.Payments value)

Sets the value of the payments property.

Parameters
value Allowed object is InvoiceHeader.Payments

public void setRemitToAddress (AddressSummary value)

Sets the value of the remitToAddress property.

Parameters
value Allowed object is AddressSummary

public void setShippingAmount (BigDecimal value)

Sets the value of the shippingAmount property.

Parameters
value Allowed object is BigDecimal

public void setShippingTerm (ShippingTermSummary value)

Sets the value of the shippingTerm property.

Parameters
value Allowed object is ShippingTermSummary

public void setStatus (String value)

Sets the value of the status property.

Parameters
value Allowed object is String

public void setSupplier (SupplierSummary value)

Sets the value of the supplier property.

Parameters
value Allowed object is SupplierSummary

public void setSupplierNote (String value)

Sets the value of the supplierNote property.

Parameters
value Allowed object is String

public void setTaxAmount (BigDecimal value)

Sets the value of the taxAmount property.

Parameters
value Allowed object is BigDecimal

public void setTaxCode (TaxCodeSummary value)

Sets the value of the taxCode property.

Parameters
value Allowed object is TaxCodeSummary

public void setTaxRate (Float value)

Sets the value of the taxRate property.

Parameters
value Allowed object is Float

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