public class

Contract

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

Class Overview

Java class for contract complex type.

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

 <complexType name="contract">
   <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="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="number" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="version" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="start-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="end-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="minimum-value" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
         <element name="maximum-value" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
         <element name="terms" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="preferred" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="savings-pct" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="supplier" type="{}supplier-summary" minOccurs="0"/>
         <element name="currency" type="{}currency-summary" minOccurs="0"/>
         <element name="business-groups" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="business-group" type="{}business-group-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 Contract.BusinessGroups

Java class for anonymous complex type. 

Fields
protected Contract.BusinessGroups businessGroups
protected XMLGregorianCalendar createdAt
protected UserSummary createdBy
protected CurrencySummary currency
protected XMLGregorianCalendar endDate
protected Float maximumValue
protected Float minimumValue
protected String name
protected String number
protected String preferred
protected BigDecimal savingsPct
protected XMLGregorianCalendar startDate
protected String status
protected SupplierSummary supplier
protected String terms
protected XMLGregorianCalendar updatedAt
protected UserSummary updatedBy
protected BigInteger version
[Expand]
Inherited Fields
From class com.coupa.resources.Resource
Public Constructors
Contract()
Public Methods
Contract.BusinessGroups getBusinessGroups()
Gets the value of the businessGroups 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.
XMLGregorianCalendar getEndDate()
Gets the value of the endDate property.
Float getMaximumValue()
Gets the value of the maximumValue property.
Float getMinimumValue()
Gets the value of the minimumValue property.
String getName()
Gets the value of the name property.
String getNumber()
Gets the value of the number property.
String getPreferred()
Gets the value of the preferred property.
BigDecimal getSavingsPct()
Gets the value of the savingsPct property.
XMLGregorianCalendar getStartDate()
Gets the value of the startDate property.
String getStatus()
Gets the value of the status property.
SupplierSummary getSupplier()
Gets the value of the supplier property.
String getTerms()
Gets the value of the terms property.
XMLGregorianCalendar getUpdatedAt()
Gets the value of the updatedAt property.
UserSummary getUpdatedBy()
Gets the value of the updatedBy property.
BigInteger getVersion()
Gets the value of the version property.
void setBusinessGroups(Contract.BusinessGroups value)
Sets the value of the businessGroups 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 setEndDate(XMLGregorianCalendar value)
Sets the value of the endDate property.
void setMaximumValue(Float value)
Sets the value of the maximumValue property.
void setMinimumValue(Float value)
Sets the value of the minimumValue property.
void setName(String value)
Sets the value of the name property.
void setNumber(String value)
Sets the value of the number property.
void setPreferred(String value)
Sets the value of the preferred property.
void setSavingsPct(BigDecimal value)
Sets the value of the savingsPct property.
void setStartDate(XMLGregorianCalendar value)
Sets the value of the startDate property.
void setStatus(String value)
Sets the value of the status property.
void setSupplier(SupplierSummary value)
Sets the value of the supplier property.
void setTerms(String value)
Sets the value of the terms property.
void setUpdatedAt(XMLGregorianCalendar value)
Sets the value of the updatedAt property.
void setUpdatedBy(UserSummary value)
Sets the value of the updatedBy property.
void setVersion(BigInteger value)
Sets the value of the version property.
[Expand]
Inherited Methods
From class com.coupa.resources.Resource
From class java.lang.Object
From interface com.coupa.api.Identifiable

Fields

protected Contract.BusinessGroups businessGroups

protected XMLGregorianCalendar createdAt

protected UserSummary createdBy

protected CurrencySummary currency

protected XMLGregorianCalendar endDate

protected Float maximumValue

protected Float minimumValue

protected String name

protected String number

protected String preferred

protected BigDecimal savingsPct

protected XMLGregorianCalendar startDate

protected String status

protected SupplierSummary supplier

protected String terms

protected XMLGregorianCalendar updatedAt

protected UserSummary updatedBy

protected BigInteger version

Public Constructors

public Contract ()

Public Methods

public Contract.BusinessGroups getBusinessGroups ()

Gets the value of the businessGroups property.

Returns

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 XMLGregorianCalendar getEndDate ()

Gets the value of the endDate property.

Returns
  • possible object is XMLGregorianCalendar

public Float getMaximumValue ()

Gets the value of the maximumValue property.

Returns
  • possible object is Float

public Float getMinimumValue ()

Gets the value of the minimumValue property.

Returns
  • possible object is Float

public String getName ()

Gets the value of the name property.

Returns
  • possible object is String

public String getNumber ()

Gets the value of the number property.

Returns
  • possible object is String

public String getPreferred ()

Gets the value of the preferred property.

Returns
  • possible object is String

public BigDecimal getSavingsPct ()

Gets the value of the savingsPct property.

Returns
  • possible object is BigDecimal

public XMLGregorianCalendar getStartDate ()

Gets the value of the startDate property.

Returns
  • possible object is XMLGregorianCalendar

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 getTerms ()

Gets the value of the terms 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 BigInteger getVersion ()

Gets the value of the version property.

Returns
  • possible object is BigInteger

public void setBusinessGroups (Contract.BusinessGroups value)

Sets the value of the businessGroups property.

Parameters
value Allowed object is Contract.BusinessGroups

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 setEndDate (XMLGregorianCalendar value)

Sets the value of the endDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setMaximumValue (Float value)

Sets the value of the maximumValue property.

Parameters
value Allowed object is Float

public void setMinimumValue (Float value)

Sets the value of the minimumValue property.

Parameters
value Allowed object is Float

public void setName (String value)

Sets the value of the name property.

Parameters
value Allowed object is String

public void setNumber (String value)

Sets the value of the number property.

Parameters
value Allowed object is String

public void setPreferred (String value)

Sets the value of the preferred property.

Parameters
value Allowed object is String

public void setSavingsPct (BigDecimal value)

Sets the value of the savingsPct property.

Parameters
value Allowed object is BigDecimal

public void setStartDate (XMLGregorianCalendar value)

Sets the value of the startDate property.

Parameters
value Allowed object is XMLGregorianCalendar

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 setTerms (String value)

Sets the value of the terms 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

public void setVersion (BigInteger value)

Sets the value of the version property.

Parameters
value Allowed object is BigInteger