public function getCurrencyNumeric()
    {
        if (! $this->getCurrency()) {
            return null;
        }

        $currency = new Currency($this->getCurrency());

        if ($this->getCurrencies()->contains($currency)) {
            return (string) $this->getCurrencies()->numericCodeFor($currency);
        }
    }
public function getCurrencyNumeric()
    {
        if (! $this->getCurrency()) {
            return null;
        }

        $currency = new Currency($this->getCurrency());

        if ($this->getCurrencies()->contains($currency)) {
            return (string) $this->getCurrencies()->numericCodeFor($currency);
        }
    }
public function getCurrencyNumeric ( ) { if ( ! $ this -> getCurrency ( ) ) { return null ; } $ currency = new Currency ( $ this -> getCurrency ( ) ) ; if ( $ this -> getCurrencies ( ) -> contains ( $ currency ) ) { return ( string ) $ this -> getCurrencies ( ) -> numericCodeFor ( $ currency ) ; } }
Get the payment currency number.

@return string|null
Get the payment currency number .