Automattic\WooCommerce\Admin\Marketing
Price::__construct()
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() Price:: construct code WC 9.8.2
public function __construct( string $value, string $currency ) { $this->value = $value; $this->currency = $currency; }