APP_Order_Receipt
Order reciept class
Package
Description Description
Methods Methods
- __construct
- complete — Sets the order as completed. Causes action 'appthemes_transaction_completed'
- failed — Sets the order as failed. Causes action 'appthemes_transaction_failed'
- get_author — Returns the User ID of the creator of the order
- get_cancel_url — Returns the URL to redirect to for selecting a new gateway
- get_currency — Returns the current currency's code. See APP_Currency
- get_description — Returns the Order description
- get_id — Returns the Order ID
- get_ip_address — Returns the IP Address used to create the order
- get_recurring_period — Returns how often the order recurs (in days)
- get_recurring_period_type — Returns the order's recurring period type
- get_return_url — Returns the URL to redirect to for processing the order
- get_total — Returns the total price of the order
- is_recurring — Returns true if the current order recurrs
- pending — Sets the order as pending. Causes action 'appthemes_transaction_pending'
- retrieve — Retrieves an existing order by ID