Automattic\WooCommerce\Admin\API\Reports\Products
DataStore::add_full_refund_type_meta
Add a full refund type meta to the order.
Method of the class: DataStore{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = DataStore::add_full_refund_type_meta( $order_id, $refund_id );
- $order_id(int) (required)
- Order ID.
- $refund_id(int) (required)
- Refund ID.
DataStore::add_full_refund_type_meta() DataStore::add full refund type meta code WC 10.3.6
public static function add_full_refund_type_meta( $order_id, $refund_id ) {
self::add_refund_type_meta( $refund_id, 'full' );
}