WC_Gateway_Paypal_Refund::get_request( WC_Order $order, float $amount = null, string $reason = '' )

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


Description Description


Parameters Parameters

$order

(Required) Order object.

$amount

(Optional) Refund amount.

Default value: null

$reason

(Optional) Refund reason.

Default value: ''


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php

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

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.