Automattic\WooCommerce\StoreApi\Payments

PaymentResult::get_payment_details │ public │ WC 11.2.0

Get the payment details.

Method of the class: PaymentResult{}

No Hooks.

Returns

array. Key value pairs the gateway returned, empty when none were set.

Usage

$PaymentResult = new PaymentResult();
$PaymentResult->get_payment_details(): array;

Changelog

Since 11.2.0 Introduced.

PaymentResult::get_payment_details() code WC 11.3.0

public function get_payment_details(): array {
	return $this->payment_details;
}