Automattic\WooCommerce\Admin\Features\Blueprint\Steps
SetWCTaxRates::__construct()
Constructor.
Method of the class: SetWCTaxRates{}
No Hooks.
Return
null
. Nothing (null).
Usage
$SetWCTaxRates = new SetWCTaxRates(); $SetWCTaxRates->__construct( $rates, $locations );
- $rates(array) (required)
- Tax rates.
- $locations(array) (required)
- Tax rate locations.
SetWCTaxRates::__construct() SetWCTaxRates:: construct code WC 9.7.1
public function __construct( array $rates, array $locations ) { $this->rates = $rates; $this->locations = $locations; }