Property | Type | Description | |
---|---|---|---|
$internal_meta_keys | array | Data stored in meta keys. |
Method | Description | |
---|---|---|
get_download_ids ( WC_Order_Item $item, WC_Order $order ) : array | Get a list of download IDs for a specific item from an order. | |
read ( WC_Order_Item &$item ) | Read/populate data properties specific to this order item. | |
save_item_data ( WC_Order_Item &$item ) | Saves an item's data to the database / item meta. |
public get_download_ids ( WC_Order_Item $item, WC_Order $order ) : array | ||
$item | WC_Order_Item | |
$order | WC_Order | |
return | array |
public read ( WC_Order_Item &$item ) | ||
$item | WC_Order_Item |
public save_item_data ( WC_Order_Item &$item ) | ||
$item | WC_Order_Item |
protected array $internal_meta_keys | ||
return | array |