WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks\Payments

PaymentResult::__get() public WC 1.0

Magic getter for protected properties.

{} It's a method of the class: PaymentResult{}

No Hooks.

Return

Null. Nothing.

Usage

$PaymentResult = new PaymentResult();
$PaymentResult->__get( $name );
$name(string) (required)
Property name.

Code of PaymentResult::__get() WC 5.0.0

<?php
public function __get( $name ) {
	if ( in_array( $name, [ 'status', 'payment_details', 'redirect_url' ], true ) ) {
		return $this->$name;
	}
	return null;
}