Automattic\WooCommerce\Admin\API\Reports\Products

DataStore::add_partial_refund_type_metapublic staticWC 1.0

Add a partial refund type meta to the order.

Method of the class: DataStore{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = DataStore::add_partial_refund_type_meta( $order_id, $refund_id );
$order_id(int) (required)
Order ID.
$refund_id(int) (required)
Refund ID.

DataStore::add_partial_refund_type_meta() code WC 10.3.6

public static function add_partial_refund_type_meta( $order_id, $refund_id ) {
	self::add_refund_type_meta( $refund_id, 'partial' );
}