Class Order
A sale order from a customer session. Use Session.notifyPayment to notify eSales
that an order has been paid by a customer in a session.
Methods summary
public
Apptus\ESales\Connector\OrderLine
|
#
addProduct( string $productKey )
Adds an order line for the specified product and return the new order line.
Adds an order line for the specified product and return the new order line.
Parameters
- $productKey
- key of the purchased product.
Returns
Throws
|
public
Apptus\ESales\Connector\OrderLine
|
#
addVariant( )
Adds an order line for the specified variant and return the new order line.
If the product key is omitted, the variant will be coupled to a product by
looking it up in the product catalog currently loaded in eSales.
Adds an order line for the specified variant and return the new order line.
If the product key is omitted, the variant will be coupled to a product by
looking it up in the product catalog currently loaded in eSales.
Returns
Throws
|
public
Apptus\ESales\Connector\OrderLine
|
#
addTicket( string $ticket )
Adds an order line for the variant or product specified by a ticket.
Adds an order line for the variant or product specified by a ticket.
Parameters
- $ticket
- ticket as retrieved from an earlier panel request.
Returns
|