/** * Push a transaction currency the data array * * @since 1.0.0 * * @param string $code ISO 4217 format currency code e.g. EUR * * @return void */ public static function pushTransactionCurrency($code) { self::$currency = $code; self::$data['ecommerce']['currencyCode'] = $code; }