public function setCurrencyCode($currencyCode): self
    {
        if ($currencyCode instanceof RowColumn) {
            $this->currency_column = $currencyCode->getColumnName();
        } elseif (!is_string($currencyCode) || trim($currencyCode) === '') {
            throw new Exception\InvalidArgumentException(__METHOD__ . ' Currency code must be an non empty string (or a RowColumn object)');
        }
        $this->params['currency_code'] = $currencyCode;

        return $this;
    }
public function setCurrencyCode($currencyCode): self
    {
        if ($currencyCode instanceof RowColumn) {
            $this->currency_column = $currencyCode->getColumnName();
        } elseif (!is_string($currencyCode) || trim($currencyCode) === '') {
            throw new Exception\InvalidArgumentException(__METHOD__ . ' Currency code must be an non empty string (or a RowColumn object)');
        }
        $this->params['currency_code'] = $currencyCode;

        return $this;
    }
public function setCurrencyCode ( $ currencyCode ) : self { if ( $ currencyCode instanceof RowColumn ) { $ this -> currency_column = $ currencyCode -> getColumnName ( ) ; } elseif ( ! is_string ( $ currencyCode ) || trim ( $ currencyCode ) === '' ) { throw new Exception \ InvalidArgumentException ( __METHOD__ . ' Currency code must be an non empty string (or a RowColumn object)' ) ; } $ this -> params [ 'currency_code' ] = $ currencyCode ; return $ this ; }
The 3-letter ISO 4217 currency code indicating the currency to use.

@throws Exception\InvalidArgumentException

@param string|RowColumn $currencyCode
The 3 - letter ISO 4217 currency code indicating the currency to use .