Automattic\WooCommerce\Blocks\Payments\Integrations

CashOnDelivery::initialize()publicWC 1.0

Initializes the payment method type.

Method of the class: CashOnDelivery{}

No Hooks.

Return

null. Nothing (null).

Usage

$CashOnDelivery = new CashOnDelivery();
$CashOnDelivery->initialize();

CashOnDelivery::initialize() code WC 9.1.2

public function initialize() {
	$this->settings = get_option( 'woocommerce_cod_settings', [] );
}