WooCommerce Code Reference

WC_Abstract_Order_Data_Store_Interface

WC Order Data Store Interface

Functions that must be defined by order store classes.

Tags
version
3.0.0

Table of Contents

delete_items()  : mixed
Remove all line items (products, coupons, shipping, taxes) from the order.
get_payment_token_ids()  : array<string|int, mixed>
Get token ids for an order.
read_items()  : array<string|int, mixed>
Read order items of a specific type from the database for this order.
update_payment_token_ids()  : mixed
Update token ids for an order.

Methods