WordPress at a glance
function is not described

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() WC 5.0.0

<?php
public function __construct( Api $asset_api ) {
	$this->asset_api = $asset_api;
}