Class OrderLine
An order line in a sale order.
Methods summary
public
Apptus\ESales\Connector\OrderLine
|
#
putCurrentUnitPrice( float|integer $price )
Adds information about the current price (the price displayed in the shop) for each unit
to this order line.
Adds information about the current price (the price displayed in the shop) for each unit
to this order line.
Deprecated
Parameters
- $price
- price, in units of the market currency.
Returns
|
public
Apptus\ESales\Connector\OrderLine
|
#
putUnitCost( float|integer $price )
Adds information about the cost (what it costs for the shop to acquire the product, including VAT) for each unit
to this order line.
Adds information about the cost (what it costs for the shop to acquire the product, including VAT) for each unit
to this order line.
Note: Some parts of eSales might behave strangely if cost is included in some, but not all, notified orders.
Parameters
- $price
- cost, in units of the market currency.
Returns
|
public
Apptus\ESales\Connector\OrderLine
|
#
putUnitSellingPrice( float|integer $price )
Adds information about the selling price (the actual price that the customer pays, including VAT
but excluding delivery costs) for each unit to this order line.
Adds information about the selling price (the actual price that the customer pays, including VAT
but excluding delivery costs) for each unit to this order line.
Parameters
- $price
- price, in units of the market currency.
Returns
|
public
Apptus\ESales\Connector\OrderLine
|
#
putQuantity( integer $units )
Adds information about the quantity. Default quantity is 1.
Adds information about the quantity. Default quantity is 1.
Parameters
- $units
- number of units, a positive non-zero integer.
Returns
Throws
|