Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableRefundDataStore::read()publicWC 1.0

Read a refund object from custom tables.

Method of the class: OrdersTableRefundDataStore{}

No Hooks.

Return

null. Nothing.

Usage

$OrdersTableRefundDataStore = new OrdersTableRefundDataStore();
$OrdersTableRefundDataStore->read( $refund );
$refund(\WC_Abstract_Order) (required) (passed by reference — &)
Refund object.

OrdersTableRefundDataStore::read() code WC 7.1.0

public function read( &$refund ) {
	parent::read( $refund );
	$this->set_refund_props( $refund );
}