public class

Discount

extends CdmBase
implements Serializable
java.lang.Object
   ↳ org.mule.modules.quickbooks.windows.schema.CdmObject
     ↳ org.mule.modules.quickbooks.windows.schema.CdmBase
       ↳ org.mule.modules.quickbooks.windows.schema.Discount

Class Overview

Product: QBW Description: Identifies the discount or allowance that the Customer is to receive off of the TotalAmount owed. EndPoint: services.intuit.com Business Rules: None

Java class for Discount complex type.

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

 <complexType name="Discount">
   <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="Desc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Taxable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="Active" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="Percent" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
           <element name="Amount" type="{http://www.intuit.com/sb/cdm/v2}Money" minOccurs="0"/>
         </choice>
         <group ref="{http://www.intuit.com/sb/cdm/v2}DiscountAccountReferenceGroup" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.mule.modules.quickbooks.windows.schema.CdmBase
From class org.mule.modules.quickbooks.windows.schema.CdmObject
Fields
protected Boolean active
protected Money amount
protected String desc
protected IdType discountAccountId
protected String discountAccountName
protected String name
protected BigDecimal percent
protected Boolean taxable
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.windows.schema.CdmBase
Public Constructors
Discount()
Public Methods
Boolean getActive()
Gets the value of the active property.
Money getAmount()
Gets the value of the amount property.
String getDesc()
Gets the value of the desc property.
IdType getDiscountAccountId()
Gets the value of the discountAccountId property.
String getDiscountAccountName()
Gets the value of the discountAccountName property.
String getName()
Gets the value of the name property.
BigDecimal getPercent()
Gets the value of the percent property.
Boolean getTaxable()
Gets the value of the taxable property.
void setActive(Boolean value)
Sets the value of the active property.
void setAmount(Money value)
Sets the value of the amount property.
void setDesc(String value)
Sets the value of the desc property.
void setDiscountAccountId(IdType value)
Sets the value of the discountAccountId property.
void setDiscountAccountName(String value)
Sets the value of the discountAccountName property.
void setName(String value)
Sets the value of the name property.
void setPercent(BigDecimal value)
Sets the value of the percent property.
void setTaxable(Boolean value)
Sets the value of the taxable property.
[Expand]
Inherited Methods
From class org.mule.modules.quickbooks.windows.schema.CdmBase
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected Boolean active

protected Money amount

protected String desc

protected IdType discountAccountId

protected String discountAccountName

protected String name

protected BigDecimal percent

protected Boolean taxable

Public Constructors

public Discount ()

Public Methods

public Boolean getActive ()

Gets the value of the active property.

Returns
  • possible object is Boolean

public Money getAmount ()

Gets the value of the amount property.

Returns
  • possible object is Money

public String getDesc ()

Gets the value of the desc property.

Returns
  • possible object is String

public IdType getDiscountAccountId ()

Gets the value of the discountAccountId property.

Returns

public String getDiscountAccountName ()

Gets the value of the discountAccountName property.

Returns
  • possible object is String

public String getName ()

Gets the value of the name property.

Returns
  • possible object is String

public BigDecimal getPercent ()

Gets the value of the percent property.

Returns
  • possible object is BigDecimal

public Boolean getTaxable ()

Gets the value of the taxable property.

Returns
  • possible object is Boolean

public void setActive (Boolean value)

Sets the value of the active property.

Parameters
value Allowed object is Boolean

public void setAmount (Money value)

Sets the value of the amount property.

Parameters
value Allowed object is Money

public void setDesc (String value)

Sets the value of the desc property.

Parameters
value Allowed object is String

public void setDiscountAccountId (IdType value)

Sets the value of the discountAccountId property.

Parameters
value Allowed object is IdType

public void setDiscountAccountName (String value)

Sets the value of the discountAccountName 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 setPercent (BigDecimal value)

Sets the value of the percent property.

Parameters
value Allowed object is BigDecimal

public void setTaxable (Boolean value)

Sets the value of the taxable property.

Parameters
value Allowed object is Boolean