Sunnysideup\Ecommerce\Model\Money\EcommerceCurrency::create_new
checks if a currency exists, creates it and returns it.
Signature
public function create_new(string
$code,
[string
$name = ''] )
Parameters
$code
— string$name
— string- OPTIONAL