WC_Gateway_Paypal_Refund::get_request()public staticWC 1.0

Get refund request args. Proxy to WC_Gateway_Paypal_API_Handler::get_refund_request().

Method of the class: WC_Gateway_Paypal_Refund{}

No Hooks.

Return

Array.

Usage

$result = WC_Gateway_Paypal_Refund::get_request( $order, $amount, $reason );
$order(WC_Order) (required)
Order object.
$amount(float)
Refund amount.
Default: null
$reason(string)
Refund reason.
Default: ''

WC_Gateway_Paypal_Refund::get_request() code WC 8.7.0

public static function get_request( $order, $amount = null, $reason = '' ) {
	return self::get_refund_request( $order, $amount, $reason );
}