WC_Gateway_Paypal_Helper::update_addresses_in_orderpublic staticWC 1.0

Deprecated since 0.5.0. It is no longer supported and may be removed in future releases. Use Automattic\WooCommerce\Gateways\PayPal\Helper::update_addresses_in_order() instead.

Update the addresses in the order.

Method of the class: WC_Gateway_Paypal_Helper{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = WC_Gateway_Paypal_Helper::update_addresses_in_order( ?WC_Order $order, $paypal_order_details ): void;
?WC_Order $order(required)
.
$paypal_order_details(array) (required)
The PayPal order details.

Changelog

Deprecated since 10.5.0 Use Automattic\WooCommerce\Gateways\PayPal\Helper::update_addresses_in_order() instead.

WC_Gateway_Paypal_Helper::update_addresses_in_order() code WC 10.8.1

public static function update_addresses_in_order( ?WC_Order $order, array $paypal_order_details ): void {
	wc_deprecated_function( __METHOD__, '10.5.0', 'Automattic\WooCommerce\Gateways\PayPal\Helper::update_addresses_in_order()' );
	PayPalHelper::update_addresses_in_order( $order, $paypal_order_details );
}