lib/braintree/error_codes.rb in braintree-2.9.1 vs lib/braintree/error_codes.rb in braintree-2.10.0
- old
+ new
@@ -5,14 +5,14 @@
module ErrorCodes
# See http://www.braintreepaymentsolutions.com/docs/ruby/addresses/validations
module Address
CannotBeBlank = "81801"
CompanyIsTooLong = "81802"
- CountryNameIsNotAccepted = "91803"
CountryCodeAlpha2IsNotAccepted = "91814"
CountryCodeAlpha3IsNotAccepted = "91816"
CountryCodeNumericIsNotAccepted = "91817"
+ CountryNameIsNotAccepted = "91803"
ExtendedAddressIsTooLong = "81804"
FirstNameIsTooLong = "81805"
InconsistentCountry = "91815"
LastNameIsTooLong = "81806"
LocalityIsTooLong = "81807"
@@ -20,9 +20,10 @@
PostalCodeIsRequired = "81808"
PostalCodeIsTooLong = "81809"
RegionIsTooLong = "81810"
StreetAddressIsRequired = "81811"
StreetAddressIsTooLong = "81812"
+ TooManyAddressesPerCustomer = "91818"
end
# See http://www.braintreepaymentsolutions.com/docs/ruby/credit_cards/validations
module CreditCard
BillingAddressConflict = "91701"