public class

Charge

extends Record
java.lang.Object
   ↳ com.netsuite.webservices.platform.core_2013_2.Record
     ↳ com.netsuite.webservices.transactions.customers_2013_2.Charge

Class Overview

Java class for Charge complex type.

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

 <complexType name="Charge">
   <complexContent>
     <extension base="{urn:core_2013_2.platform.webservices.netsuite.com}Record">
       <sequence>
         <element name="customForm" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="salesOrder" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="billTo" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="stage" type="{urn:types.customers_2013_2.transactions.webservices.netsuite.com}ChargeStage" minOccurs="0"/>
         <element name="chargeDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="use" type="{urn:types.customers_2013_2.transactions.webservices.netsuite.com}ChargeUse" minOccurs="0"/>
         <element name="chargeType" type="{urn:types.customers_2013_2.transactions.webservices.netsuite.com}ChargeRuleType" minOccurs="0"/>
         <element name="projectTask" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="createdDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="timeRecord" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="rate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="amount" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="billingItem" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="currency" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="salesOrderLine" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="invoice" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="invoiceLine" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="runId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attribute name="internalId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="externalId" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected Double amount
protected RecordRef billTo
protected RecordRef billingItem
protected XMLGregorianCalendar chargeDate
protected ChargeRuleType chargeType
protected XMLGregorianCalendar createdDate
protected RecordRef currency
protected RecordRef customForm
protected String description
protected String externalId
protected String internalId
protected RecordRef invoice
protected RecordRef invoiceLine
protected RecordRef projectTask
protected Double quantity
protected String rate
protected String runId
protected RecordRef salesOrder
protected RecordRef salesOrderLine
protected ChargeStage stage
protected RecordRef timeRecord
protected ChargeUse use
[Expand]
Inherited Fields
From class com.netsuite.webservices.platform.core_2013_2.Record
Public Constructors
Charge()
Public Methods
Double getAmount()
Gets the value of the amount property.
RecordRef getBillTo()
Gets the value of the billTo property.
RecordRef getBillingItem()
Gets the value of the billingItem property.
XMLGregorianCalendar getChargeDate()
Gets the value of the chargeDate property.
ChargeRuleType getChargeType()
Gets the value of the chargeType property.
XMLGregorianCalendar getCreatedDate()
Gets the value of the createdDate property.
RecordRef getCurrency()
Gets the value of the currency property.
RecordRef getCustomForm()
Gets the value of the customForm property.
String getDescription()
Gets the value of the description property.
String getExternalId()
Gets the value of the externalId property.
String getInternalId()
Gets the value of the internalId property.
RecordRef getInvoice()
Gets the value of the invoice property.
RecordRef getInvoiceLine()
Gets the value of the invoiceLine property.
RecordRef getProjectTask()
Gets the value of the projectTask property.
Double getQuantity()
Gets the value of the quantity property.
String getRate()
Gets the value of the rate property.
String getRunId()
Gets the value of the runId property.
RecordRef getSalesOrder()
Gets the value of the salesOrder property.
RecordRef getSalesOrderLine()
Gets the value of the salesOrderLine property.
ChargeStage getStage()
Gets the value of the stage property.
RecordRef getTimeRecord()
Gets the value of the timeRecord property.
ChargeUse getUse()
Gets the value of the use property.
void setAmount(Double value)
Sets the value of the amount property.
void setBillTo(RecordRef value)
Sets the value of the billTo property.
void setBillingItem(RecordRef value)
Sets the value of the billingItem property.
void setChargeDate(XMLGregorianCalendar value)
Sets the value of the chargeDate property.
void setChargeType(ChargeRuleType value)
Sets the value of the chargeType property.
void setCreatedDate(XMLGregorianCalendar value)
Sets the value of the createdDate property.
void setCurrency(RecordRef value)
Sets the value of the currency property.
void setCustomForm(RecordRef value)
Sets the value of the customForm property.
void setDescription(String value)
Sets the value of the description property.
void setExternalId(String value)
Sets the value of the externalId property.
void setInternalId(String value)
Sets the value of the internalId property.
void setInvoice(RecordRef value)
Sets the value of the invoice property.
void setInvoiceLine(RecordRef value)
Sets the value of the invoiceLine property.
void setProjectTask(RecordRef value)
Sets the value of the projectTask property.
void setQuantity(Double value)
Sets the value of the quantity property.
void setRate(String value)
Sets the value of the rate property.
void setRunId(String value)
Sets the value of the runId property.
void setSalesOrder(RecordRef value)
Sets the value of the salesOrder property.
void setSalesOrderLine(RecordRef value)
Sets the value of the salesOrderLine property.
void setStage(ChargeStage value)
Sets the value of the stage property.
void setTimeRecord(RecordRef value)
Sets the value of the timeRecord property.
void setUse(ChargeUse value)
Sets the value of the use property.
[Expand]
Inherited Methods
From class com.netsuite.webservices.platform.core_2013_2.Record
From class java.lang.Object

Fields

protected Double amount

protected RecordRef billTo

protected RecordRef billingItem

protected XMLGregorianCalendar chargeDate

protected ChargeRuleType chargeType

protected XMLGregorianCalendar createdDate

protected RecordRef currency

protected RecordRef customForm

protected String description

protected String externalId

protected String internalId

protected RecordRef invoice

protected RecordRef invoiceLine

protected RecordRef projectTask

protected Double quantity

protected String rate

protected String runId

protected RecordRef salesOrder

protected RecordRef salesOrderLine

protected ChargeStage stage

protected RecordRef timeRecord

protected ChargeUse use

Public Constructors

public Charge ()

Public Methods

public Double getAmount ()

Gets the value of the amount property.

Returns
  • possible object is Double

public RecordRef getBillTo ()

Gets the value of the billTo property.

Returns

public RecordRef getBillingItem ()

Gets the value of the billingItem property.

Returns

public XMLGregorianCalendar getChargeDate ()

Gets the value of the chargeDate property.

Returns
  • possible object is XMLGregorianCalendar

public ChargeRuleType getChargeType ()

Gets the value of the chargeType property.

Returns

public XMLGregorianCalendar getCreatedDate ()

Gets the value of the createdDate property.

Returns
  • possible object is XMLGregorianCalendar

public RecordRef getCurrency ()

Gets the value of the currency property.

Returns

public RecordRef getCustomForm ()

Gets the value of the customForm property.

Returns

public String getDescription ()

Gets the value of the description property.

Returns
  • possible object is String

public String getExternalId ()

Gets the value of the externalId property.

Returns
  • possible object is String

public String getInternalId ()

Gets the value of the internalId property.

Returns
  • possible object is String

public RecordRef getInvoice ()

Gets the value of the invoice property.

Returns

public RecordRef getInvoiceLine ()

Gets the value of the invoiceLine property.

Returns

public RecordRef getProjectTask ()

Gets the value of the projectTask property.

Returns

public Double getQuantity ()

Gets the value of the quantity property.

Returns
  • possible object is Double

public String getRate ()

Gets the value of the rate property.

Returns
  • possible object is String

public String getRunId ()

Gets the value of the runId property.

Returns
  • possible object is String

public RecordRef getSalesOrder ()

Gets the value of the salesOrder property.

Returns

public RecordRef getSalesOrderLine ()

Gets the value of the salesOrderLine property.

Returns

public ChargeStage getStage ()

Gets the value of the stage property.

Returns

public RecordRef getTimeRecord ()

Gets the value of the timeRecord property.

Returns

public ChargeUse getUse ()

Gets the value of the use property.

Returns

public void setAmount (Double value)

Sets the value of the amount property.

Parameters
value Allowed object is Double

public void setBillTo (RecordRef value)

Sets the value of the billTo property.

Parameters
value Allowed object is RecordRef

public void setBillingItem (RecordRef value)

Sets the value of the billingItem property.

Parameters
value Allowed object is RecordRef

public void setChargeDate (XMLGregorianCalendar value)

Sets the value of the chargeDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setChargeType (ChargeRuleType value)

Sets the value of the chargeType property.

Parameters
value Allowed object is ChargeRuleType

public void setCreatedDate (XMLGregorianCalendar value)

Sets the value of the createdDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setCurrency (RecordRef value)

Sets the value of the currency property.

Parameters
value Allowed object is RecordRef

public void setCustomForm (RecordRef value)

Sets the value of the customForm property.

Parameters
value Allowed object is RecordRef

public void setDescription (String value)

Sets the value of the description property.

Parameters
value Allowed object is String

public void setExternalId (String value)

Sets the value of the externalId property.

Parameters
value Allowed object is String

public void setInternalId (String value)

Sets the value of the internalId property.

Parameters
value Allowed object is String

public void setInvoice (RecordRef value)

Sets the value of the invoice property.

Parameters
value Allowed object is RecordRef

public void setInvoiceLine (RecordRef value)

Sets the value of the invoiceLine property.

Parameters
value Allowed object is RecordRef

public void setProjectTask (RecordRef value)

Sets the value of the projectTask property.

Parameters
value Allowed object is RecordRef

public void setQuantity (Double value)

Sets the value of the quantity property.

Parameters
value Allowed object is Double

public void setRate (String value)

Sets the value of the rate property.

Parameters
value Allowed object is String

public void setRunId (String value)

Sets the value of the runId property.

Parameters
value Allowed object is String

public void setSalesOrder (RecordRef value)

Sets the value of the salesOrder property.

Parameters
value Allowed object is RecordRef

public void setSalesOrderLine (RecordRef value)

Sets the value of the salesOrderLine property.

Parameters
value Allowed object is RecordRef

public void setStage (ChargeStage value)

Sets the value of the stage property.

Parameters
value Allowed object is ChargeStage

public void setTimeRecord (RecordRef value)

Sets the value of the timeRecord property.

Parameters
value Allowed object is RecordRef

public void setUse (ChargeUse value)

Sets the value of the use property.

Parameters
value Allowed object is ChargeUse