WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks\Payments

PaymentResult::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

Null. Nothing.

Usage

$PaymentResult = new PaymentResult();
$PaymentResult->__construct( $status );
$status(string)
Sets the payment status for the result.

Code of PaymentResult::__construct() WC 5.0.0

<?php
public function __construct( $status = '' ) {
	if ( $status ) {
		$this->set_status( $status );
	}
}