public class

Commodity

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

Class Overview

Java class for commodity complex type.

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

 <complexType name="commodity">
   <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="active" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="name" 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 XMLGregorianCalendar createdAt
protected UserSummary createdBy
protected String name
protected XMLGregorianCalendar updatedAt
protected UserSummary updatedBy
[Expand]
Inherited Fields
From class com.coupa.resources.Resource
Public Constructors
Commodity()
Public Methods
String getActive()
Gets the value of the active property.
XMLGregorianCalendar getCreatedAt()
Gets the value of the createdAt property.
UserSummary getCreatedBy()
Gets the value of the createdBy property.
String getName()
Gets the value of the name 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 setCreatedAt(XMLGregorianCalendar value)
Sets the value of the createdAt property.
void setCreatedBy(UserSummary value)
Sets the value of the createdBy property.
void setName(String value)
Sets the value of the name 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 XMLGregorianCalendar createdAt

protected UserSummary createdBy

protected String name

protected XMLGregorianCalendar updatedAt

protected UserSummary updatedBy

Public Constructors

public Commodity ()

Public Methods

public String getActive ()

Gets the value of the active 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 getName ()

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

Sets the value of the active 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 setName (String value)

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