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() PaymentResult:: construct WC 5.0.0
public function __construct( $status = '' ) {
if ( $status ) {
$this->set_status( $status );
}
}