Automattic\WooCommerce\Blocks\Payments\Integrations
CashOnDelivery::__construct() public WC 1.0
Constructor
{} It's a method of the class: CashOnDelivery{}
No Hooks.
Return
Null. Nothing.
Usage
$CashOnDelivery = new CashOnDelivery(); $CashOnDelivery->__construct( $asset_api );
- $asset_api(Api) (required)
- An instance of Api.
Code of CashOnDelivery::__construct() CashOnDelivery:: construct WC 5.0.0
public function __construct( Api $asset_api ) {
$this->asset_api = $asset_api;
}