public class

Item

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

Class Overview

Java class for item complex type.

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

 <complexType name="item">
   <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="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="item-number" 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="commodity" type="{}commodity-summary" minOccurs="0"/>
         <element name="receiving-form" type="{}form-summary" minOccurs="0"/>
         <element name="uom" type="{}uom-summary" 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 CommoditySummary commodity
protected XMLGregorianCalendar createdAt
protected UserSummary createdBy
protected String description
protected String itemNumber
protected String name
protected FormSummary receivingForm
protected UomSummary uom
protected XMLGregorianCalendar updatedAt
protected UserSummary updatedBy
[Expand]
Inherited Fields
From class com.coupa.resources.Resource
Public Constructors
Item()
Public Methods
CommoditySummary getCommodity()
Gets the value of the commodity property.
XMLGregorianCalendar getCreatedAt()
Gets the value of the createdAt property.
UserSummary getCreatedBy()
Gets the value of the createdBy property.
String getDescription()
Gets the value of the description property.
String getItemNumber()
Gets the value of the itemNumber property.
String getName()
Gets the value of the name property.
FormSummary getReceivingForm()
Gets the value of the receivingForm property.
UomSummary getUom()
Gets the value of the uom property.
XMLGregorianCalendar getUpdatedAt()
Gets the value of the updatedAt property.
UserSummary getUpdatedBy()
Gets the value of the updatedBy property.
void setCommodity(CommoditySummary value)
Sets the value of the commodity property.
void setCreatedAt(XMLGregorianCalendar value)
Sets the value of the createdAt property.
void setCreatedBy(UserSummary value)
Sets the value of the createdBy property.
void setDescription(String value)
Sets the value of the description property.
void setItemNumber(String value)
Sets the value of the itemNumber property.
void setName(String value)
Sets the value of the name property.
void setReceivingForm(FormSummary value)
Sets the value of the receivingForm property.
void setUom(UomSummary value)
Sets the value of the uom 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 CommoditySummary commodity

protected XMLGregorianCalendar createdAt

protected UserSummary createdBy

protected String description

protected String itemNumber

protected String name

protected FormSummary receivingForm

protected UomSummary uom

protected XMLGregorianCalendar updatedAt

protected UserSummary updatedBy

Public Constructors

public Item ()

Public Methods

public CommoditySummary getCommodity ()

Gets the value of the commodity 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 String getDescription ()

Gets the value of the description property.

Returns
  • possible object is String

public String getItemNumber ()

Gets the value of the itemNumber property.

Returns
  • possible object is String

public String getName ()

Gets the value of the name property.

Returns
  • possible object is String

public FormSummary getReceivingForm ()

Gets the value of the receivingForm property.

Returns

public UomSummary getUom ()

Gets the value of the uom property.

Returns

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 setCommodity (CommoditySummary value)

Sets the value of the commodity property.

Parameters
value Allowed object is CommoditySummary

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

Sets the value of the description property.

Parameters
value Allowed object is String

public void setItemNumber (String value)

Sets the value of the itemNumber property.

Parameters
value Allowed object is String

public void setName (String value)

Sets the value of the name property.

Parameters
value Allowed object is String

public void setReceivingForm (FormSummary value)

Sets the value of the receivingForm property.

Parameters
value Allowed object is FormSummary

public void setUom (UomSummary value)

Sets the value of the uom property.

Parameters
value Allowed object is UomSummary

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