public class

RequisitionHeader

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

Class Overview

Java class for requisition-header complex type.

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

 <complexType name="requisition-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="buyer-note" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="justification" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="need-by-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="reject-reason-comment" 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="exported" type="{}restBoolean" minOccurs="0"/>
         <element name="ship-to-attention" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="total" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="department" type="{}department-summary" minOccurs="0"/>
         <element name="requested-by" type="{}user-summary" minOccurs="0"/>
         <element name="ship-to-address" type="{}address-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-summary" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="requisition-lines" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="requisition-line" type="{}requisition-line-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>
         <element name="created-by" type="{}user-summary" minOccurs="0"/>
         <element name="updated-by" type="{}user-summary" minOccurs="0"/>
         <element name="custom-field-1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="custom-field-2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Nested Classes
class RequisitionHeader.Approvals

Java class for anonymous complex type. 

class RequisitionHeader.Attachments

Java class for anonymous complex type. 

class RequisitionHeader.RequisitionLines

Java class for anonymous complex type. 

Fields
protected RequisitionHeader.Approvals approvals
protected RequisitionHeader.Attachments attachments
protected String buyerNote
protected XMLGregorianCalendar createdAt
protected UserSummary createdBy
protected String customField1
protected String customField2
protected DepartmentSummary department
protected RestBoolean exported
protected String justification
protected XMLGregorianCalendar needByDate
protected String rejectReasonComment
protected UserSummary requestedBy
protected RequisitionHeader.RequisitionLines requisitionLines
protected AddressSummary shipToAddress
protected String shipToAttention
protected String status
protected XMLGregorianCalendar submittedAt
protected String total
protected XMLGregorianCalendar updatedAt
protected UserSummary updatedBy
[Expand]
Inherited Fields
From class com.coupa.resources.Resource
Public Constructors
RequisitionHeader()
Public Methods
RequisitionHeader.Approvals getApprovals()
Gets the value of the approvals property.
RequisitionHeader.Attachments getAttachments()
Gets the value of the attachments property.
String getBuyerNote()
Gets the value of the buyerNote property.
XMLGregorianCalendar getCreatedAt()
Gets the value of the createdAt property.
UserSummary getCreatedBy()
Gets the value of the createdBy property.
String getCustomField1()
Gets the value of the customField1 property.
String getCustomField2()
Gets the value of the customField2 property.
DepartmentSummary getDepartment()
Gets the value of the department property.
RestBoolean getExported()
Gets the value of the exported property.
String getJustification()
Gets the value of the justification property.
XMLGregorianCalendar getNeedByDate()
Gets the value of the needByDate property.
String getRejectReasonComment()
Gets the value of the rejectReasonComment property.
UserSummary getRequestedBy()
Gets the value of the requestedBy property.
RequisitionHeader.RequisitionLines getRequisitionLines()
Gets the value of the requisitionLines property.
AddressSummary getShipToAddress()
Gets the value of the shipToAddress property.
String getShipToAttention()
Gets the value of the shipToAttention property.
String getStatus()
Gets the value of the status property.
XMLGregorianCalendar getSubmittedAt()
Gets the value of the submittedAt property.
String 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(RequisitionHeader.Approvals value)
Sets the value of the approvals property.
void setAttachments(RequisitionHeader.Attachments value)
Sets the value of the attachments property.
void setBuyerNote(String value)
Sets the value of the buyerNote property.
void setCreatedAt(XMLGregorianCalendar value)
Sets the value of the createdAt property.
void setCreatedBy(UserSummary value)
Sets the value of the createdBy property.
void setCustomField1(String value)
Sets the value of the customField1 property.
void setCustomField2(String value)
Sets the value of the customField2 property.
void setDepartment(DepartmentSummary value)
Sets the value of the department property.
void setExported(RestBoolean value)
Sets the value of the exported property.
void setJustification(String value)
Sets the value of the justification property.
void setNeedByDate(XMLGregorianCalendar value)
Sets the value of the needByDate property.
void setRejectReasonComment(String value)
Sets the value of the rejectReasonComment property.
void setRequestedBy(UserSummary value)
Sets the value of the requestedBy property.
void setRequisitionLines(RequisitionHeader.RequisitionLines value)
Sets the value of the requisitionLines property.
void setShipToAddress(AddressSummary value)
Sets the value of the shipToAddress property.
void setShipToAttention(String value)
Sets the value of the shipToAttention property.
void setStatus(String value)
Sets the value of the status property.
void setSubmittedAt(XMLGregorianCalendar value)
Sets the value of the submittedAt property.
void setTotal(String 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 RequisitionHeader.Approvals approvals

protected RequisitionHeader.Attachments attachments

protected String buyerNote

protected XMLGregorianCalendar createdAt

protected UserSummary createdBy

protected String customField1

protected String customField2

protected DepartmentSummary department

protected RestBoolean exported

protected String justification

protected XMLGregorianCalendar needByDate

protected String rejectReasonComment

protected UserSummary requestedBy

protected RequisitionHeader.RequisitionLines requisitionLines

protected AddressSummary shipToAddress

protected String shipToAttention

protected String status

protected XMLGregorianCalendar submittedAt

protected String total

protected XMLGregorianCalendar updatedAt

protected UserSummary updatedBy

Public Constructors

public RequisitionHeader ()

Public Methods

public RequisitionHeader.Approvals getApprovals ()

Gets the value of the approvals property.

Returns

public RequisitionHeader.Attachments getAttachments ()

Gets the value of the attachments property.

Returns

public String getBuyerNote ()

Gets the value of the buyerNote 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 String getCustomField1 ()

Gets the value of the customField1 property.

Returns
  • possible object is String

public String getCustomField2 ()

Gets the value of the customField2 property.

Returns
  • possible object is String

public DepartmentSummary getDepartment ()

Gets the value of the department property.

Returns

public RestBoolean getExported ()

Gets the value of the exported property.

Returns

public String getJustification ()

Gets the value of the justification property.

Returns
  • possible object is String

public XMLGregorianCalendar getNeedByDate ()

Gets the value of the needByDate property.

Returns
  • possible object is XMLGregorianCalendar

public String getRejectReasonComment ()

Gets the value of the rejectReasonComment property.

Returns
  • possible object is String

public UserSummary getRequestedBy ()

Gets the value of the requestedBy property.

Returns

public RequisitionHeader.RequisitionLines getRequisitionLines ()

Gets the value of the requisitionLines property.

Returns

public AddressSummary getShipToAddress ()

Gets the value of the shipToAddress property.

Returns

public String getShipToAttention ()

Gets the value of the shipToAttention 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 getTotal ()

Gets the value of the total property.

Returns
  • possible object is String

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 (RequisitionHeader.Approvals value)

Sets the value of the approvals property.

Parameters
value Allowed object is RequisitionHeader.Approvals

public void setAttachments (RequisitionHeader.Attachments value)

Sets the value of the attachments property.

Parameters
value Allowed object is RequisitionHeader.Attachments

public void setBuyerNote (String value)

Sets the value of the buyerNote 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 setCustomField1 (String value)

Sets the value of the customField1 property.

Parameters
value Allowed object is String

public void setCustomField2 (String value)

Sets the value of the customField2 property.

Parameters
value Allowed object is String

public void setDepartment (DepartmentSummary value)

Sets the value of the department property.

Parameters
value Allowed object is DepartmentSummary

public void setExported (RestBoolean value)

Sets the value of the exported property.

Parameters
value Allowed object is RestBoolean

public void setJustification (String value)

Sets the value of the justification property.

Parameters
value Allowed object is String

public void setNeedByDate (XMLGregorianCalendar value)

Sets the value of the needByDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setRejectReasonComment (String value)

Sets the value of the rejectReasonComment property.

Parameters
value Allowed object is String

public void setRequestedBy (UserSummary value)

Sets the value of the requestedBy property.

Parameters
value Allowed object is UserSummary

public void setRequisitionLines (RequisitionHeader.RequisitionLines value)

Sets the value of the requisitionLines property.

Parameters
value Allowed object is RequisitionHeader.RequisitionLines

public void setShipToAddress (AddressSummary value)

Sets the value of the shipToAddress property.

Parameters
value Allowed object is AddressSummary

public void setShipToAttention (String value)

Sets the value of the shipToAttention 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 setTotal (String value)

Sets the value of the total property.

Parameters
value Allowed object is String

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