includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::has_free_item()
|
Returns true if the order contains a free product.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_subtotal_to_display()
|
Gets subtotal – subtotal is shown before discounts, but with localised taxes.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::update_taxes()
|
Update tax lines for the order based on the line item taxes themselves.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::calculate_totals()
|
Calculate totals by looking at the contents of the order. Stores the totals and returns the orders final total.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_items_tax_classes()
|
Get all tax classes for items in the order.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::calculate_taxes()
|
Calculate taxes for all line items and shipping, and store the totals and tax rows.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::remove_coupon()
|
Remove a coupon from the order and recalculate totals.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::recalculate_coupons()
|
Apply all coupons in this order again to all line items.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::set_coupon_discount_amounts()
|
After applying coupons via the WC_Discounts class, update or create coupon items.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::add_item()
|
Adds an order item to this order. The order item will not persist until save.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::apply_coupon()
|
Apply a coupon to the order and recalculate totals.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_coupon_codes()
|
Get used coupon codes only.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_item_count()
|
Gets the count of order items of a certain type.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_item()
|
Get an order item object, based on its type.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_values_for_total()
|
Return array of values for calculations.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_coupons()
|
Return an array of coupons within this order.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_fees()
|
Return an array of fees within this order.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_taxes()
|
Return an array of taxes within this order.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_shipping_methods()
|
Return an array of shipping costs within this order.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_tax_totals()
|
Get taxes, merged by code, formatted ready for output.
|
includes/abstracts/abstract-wc-order.php:
WC_Abstract_Order::get_data()
|
Get all class data in array format.
|