lib/AktiveMerchant/Common/Address.php
public function getMappedFields()
    {
        $mapped = array();

        foreach ($this->fields as $key => $value) {
            if (array_key_exists($key, $this->mappings)) {
                $map = $this->mappings[$key];
                $mapped[$map] = $value;
            }
        }

        return $mapped;
    }
public function getMappedFields()
    {
        $mapped = array();

        foreach ($this->fields as $key => $value) {
            if (array_key_exists($key, $this->mappings)) {
                $map = $this->mappings[$key];
                $mapped[$map] = $value;
            }
        }

        return $mapped;
    }
public function getMappedFields ( ) { $ mapped = array ( ) ; foreach ( $ this -> fields as $ key => $ value ) { if ( array_key_exists ( $ key , $ this -> mappings ) ) { $ map = $ this -> mappings [ $ key ] ; $ mapped [ $ map ] = $ value ; } } return $ mapped ; }
Gets an array with mapped address fields.

@access public

@return array
Gets an array with mapped address fields .