Automattic\WooCommerce\Admin\Marketing

Price::__construct()publicWC 1.0

Price constructor.

Method of the class: Price{}

No Hooks.

Return

null. Nothing (null).

Usage

$Price = new Price();
$Price->__construct( $value, $currency );
$value(string) (required)
The value of the price.
$currency(string) (required)
The currency of the price.

Price::__construct() code WC 9.1.2

public function __construct( string $value, string $currency ) {
	$this->value    = $value;
	$this->currency = $currency;
}