src/AmazonPaymentBundle/AmazonDataConverter.php
private function isCountryForAddressTypeActive(TdbDataCountry $country, $targetAddressType)
    {
        if (self::ORDER_ADDRESS_TYPE_BILLING === $targetAddressType) {
            return true;
        }

        return $country->isActive();
    }
private function isCountryForAddressTypeActive(TdbDataCountry $country, $targetAddressType)
    {
        if (self::ORDER_ADDRESS_TYPE_BILLING === $targetAddressType) {
            return true;
        }

        return $country->isActive();
    }
private function isCountryForAddressTypeActive ( TdbDataCountry $ country , $ targetAddressType ) { if ( self :: ORDER_ADDRESS_TYPE_BILLING === $ targetAddressType ) { return true ; } return $ country -> isActive ( ) ; }
Check if country is active if address is not a billing address.

@param TdbDataCountry $country
@param int            $targetAddressType

@return bool
Check if country is active if address is not a billing address .