Automattic\WooCommerce\StoreApi\Payments
PaymentResult::__construct()
Constructor.
Метод класса: PaymentResult{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$PaymentResult = new PaymentResult(); $PaymentResult->__construct( $status );
- $status(строка)
- Sets the payment status for the result.
По умолчанию: ''
Код PaymentResult::__construct() PaymentResult:: construct WC 8.7.0
public function __construct( $status = '' ) { if ( $status ) { $this->set_status( $status ); } }