public class

PaymentTerm

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

Class Overview

Java class for payment-term complex type.

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

 <complexType name="payment-term">
   <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="code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="days-for-net-payment" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="days-for-discount-payment" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="discount-rate" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
         <element name="active" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="created-by" type="{}user-summary" minOccurs="0"/>
         <element name="updated-by" type="{}user-summary" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected String active
protected String code
protected XMLGregorianCalendar createdAt
protected UserSummary createdBy
protected BigInteger daysForDiscountPayment
protected BigInteger daysForNetPayment
protected Float discountRate
protected XMLGregorianCalendar updatedAt
protected UserSummary updatedBy
[Expand]
Inherited Fields
From class com.coupa.resources.Resource
Public Constructors
PaymentTerm()
Public Methods
String getActive()
Gets the value of the active property.
String getCode()
Gets the value of the code property.
XMLGregorianCalendar getCreatedAt()
Gets the value of the createdAt property.
UserSummary getCreatedBy()
Gets the value of the createdBy property.
BigInteger getDaysForDiscountPayment()
Gets the value of the daysForDiscountPayment property.
BigInteger getDaysForNetPayment()
Gets the value of the daysForNetPayment property.
Float getDiscountRate()
Gets the value of the discountRate property.
XMLGregorianCalendar getUpdatedAt()
Gets the value of the updatedAt property.
UserSummary getUpdatedBy()
Gets the value of the updatedBy property.
void setActive(String value)
Sets the value of the active property.
void setCode(String value)
Sets the value of the code property.
void setCreatedAt(XMLGregorianCalendar value)
Sets the value of the createdAt property.
void setCreatedBy(UserSummary value)
Sets the value of the createdBy property.
void setDaysForDiscountPayment(BigInteger value)
Sets the value of the daysForDiscountPayment property.
void setDaysForNetPayment(BigInteger value)
Sets the value of the daysForNetPayment property.
void setDiscountRate(Float value)
Sets the value of the discountRate 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 String active

protected String code

protected XMLGregorianCalendar createdAt

protected UserSummary createdBy

protected BigInteger daysForDiscountPayment

protected BigInteger daysForNetPayment

protected Float discountRate

protected XMLGregorianCalendar updatedAt

protected UserSummary updatedBy

Public Constructors

public PaymentTerm ()

Public Methods

public String getActive ()

Gets the value of the active property.

Returns
  • possible object is String

public String getCode ()

Gets the value of the code 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 BigInteger getDaysForDiscountPayment ()

Gets the value of the daysForDiscountPayment property.

Returns
  • possible object is BigInteger

public BigInteger getDaysForNetPayment ()

Gets the value of the daysForNetPayment property.

Returns
  • possible object is BigInteger

public Float getDiscountRate ()

Gets the value of the discountRate 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 setActive (String value)

Sets the value of the active property.

Parameters
value Allowed object is String

public void setCode (String value)

Sets the value of the code 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 setDaysForDiscountPayment (BigInteger value)

Sets the value of the daysForDiscountPayment property.

Parameters
value Allowed object is BigInteger

public void setDaysForNetPayment (BigInteger value)

Sets the value of the daysForNetPayment property.

Parameters
value Allowed object is BigInteger

public void setDiscountRate (Float value)

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