public class

UOM

extends CdmBase
java.lang.Object
   ↳ org.mule.modules.quickbooks.online.schema.CdmBase
     ↳ org.mule.modules.quickbooks.online.schema.UOM

Class Overview

The UOM type defines the data used to represent a set of equivalent units and the conversion rates to other related units. It allows showing what quantities, prices, rates, and costs are based on.

Java class for UOM complex type.

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

 <complexType name="UOM">
   <complexContent>
     <extension base="{http://www.intuit.com/sb/cdm/v2}CdmBase">
       <sequence>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Abbrv" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="BaseType" type="{http://www.intuit.com/sb/cdm/v2}UOMBaseTypeEnum" minOccurs="0"/>
         <element name="ConvUnit" type="{http://www.intuit.com/sb/cdm/v2}UOMConvUnit" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected String abbrv
protected UOMBaseTypeEnum baseType
protected List<UOMConvUnit> convUnit
protected String name
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.online.schema.CdmBase
Public Constructors
UOM()
Public Methods
String getAbbrv()
Gets the value of the abbrv property.
UOMBaseTypeEnum getBaseType()
Gets the value of the baseType property.
List<UOMConvUnit> getConvUnit()
Gets the value of the convUnit property.
String getName()
Gets the value of the name property.
void setAbbrv(String value)
Sets the value of the abbrv property.
void setBaseType(UOMBaseTypeEnum value)
Sets the value of the baseType property.
void setName(String value)
Sets the value of the name property.
[Expand]
Inherited Methods
From class org.mule.modules.quickbooks.online.schema.CdmBase
From class java.lang.Object

Fields

protected String abbrv

protected UOMBaseTypeEnum baseType

protected List<UOMConvUnit> convUnit

protected String name

Public Constructors

public UOM ()

Public Methods

public String getAbbrv ()

Gets the value of the abbrv property.

Returns
  • possible object is String

public UOMBaseTypeEnum getBaseType ()

Gets the value of the baseType property.

Returns

public List<UOMConvUnit> getConvUnit ()

Gets the value of the convUnit property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the convUnit property.

For example, to add a new item, do as follows:

    getConvUnit().add(newItem);
 

Objects of the following type(s) are allowed in the list UOMConvUnit

public String getName ()

Gets the value of the name property.

Returns
  • possible object is String

public void setAbbrv (String value)

Sets the value of the abbrv property.

Parameters
value Allowed object is String

public void setBaseType (UOMBaseTypeEnum value)

Sets the value of the baseType property.

Parameters
value Allowed object is UOMBaseTypeEnum

public void setName (String value)

Sets the value of the name property.

Parameters
value Allowed object is String