Line::__construct |
( |
|
$no = 1 , |
|
|
|
$qty = 1 , |
|
|
|
$amount = 100.00 |
|
) |
| |
Line::getBusinessIdentificationNo |
( |
| ) |
|
Gets BusinessIdentificationNo .
- Returns
- string
Line::getCustomerUsageType |
( |
| ) |
|
Line::getDestinationAddress |
( |
| ) |
|
#+ Accessor public
- Returns
- string
Line::getOriginAddress |
( |
| ) |
|
Line::getTaxIncluded |
( |
|
$value | ) |
|
True if tax is included in the line.
- Returns
- boolean
Line::postFetchWithAddresses |
( |
|
$addresses | ) |
|
Line::registerAddressesIn |
( |
& |
$getTaxRequest | ) |
|
Line::setAmount |
( |
|
$value | ) |
|
The total amount for this line item (Qty * UnitPrice).
- Parameters
-
Line::setBatchCode |
( |
|
$value | ) |
|
Enter description here...
- Parameters
-
Line::setBusinessIdentificationNo |
( |
|
$value | ) |
|
Sets BusinessIdentificationNo in the line.
- Parameters
-
Line::setCustomerUsageType |
( |
|
$value | ) |
|
The client application customer or usage type.
This is used to determine the exempt status of the transaction based on the exemption tax rules for the jurisdictions involved. This may also be set at the line level.
The standard values for the CustomerUsageType (A-L).
A – Federal Government
B – State/Local Govt.
C – Tribal Government
D – Foreign Diplomat
E – Charitable Organization
F – Religious/Education
G – Resale
H – Agricultural Production
I – Industrial Prod/Mfg.
J – Direct Pay Permit
K – Direct Mail
L - Other
- Parameters
-
Line::setDescription |
( |
|
$value | ) |
|
Sets the description which defines the description for the product or item.
- Parameters
-
Line::setDestinationAddress |
( |
& |
$value | ) |
|
Sets the Address used as the "Ship To" location for a specific line item.
- Parameters
-
Line::setDiscounted |
( |
|
$value | ) |
|
True if the document discount should be applied to this line
- Parameters
-
Line::setExemptionNo |
( |
|
$value | ) |
|
Exemption number for this line
- Parameters
-
Line::setItemCode |
( |
|
$value | ) |
|
Item Code (SKU)
- Parameters
-
Line::setOriginAddress |
( |
& |
$value | ) |
|
Sets the Address used as the "Ship From" location for a specific line item.
- Parameters
-
The quantity represented by this line.
- Parameters
-
Client specific reference field.
- Parameters
-
Client specific reference field.
- Parameters
-
Line::setRevAcct |
( |
|
$value | ) |
|
Revenue Account.
- Parameters
-
Line::setTaxCode |
( |
|
$value | ) |
|
System or Custom Tax Code.
- Parameters
-
Line::setTaxIncluded |
( |
|
$value | ) |
|
True if tax is included in the line.
- Parameters
-
Line::setTaxOverride |
( |
|
$value | ) |
|
Line::$BusinessIdentificationNo |
|
private |
Line::$DestinationAddress |
|
private |
The documentation for this class was generated from the following file: