lib/braintree/error_codes.rb in braintree-2.3.1 vs lib/braintree/error_codes.rb in braintree-2.4.0
- old
+ new
@@ -5,12 +5,16 @@
module ErrorCodes
module Address
CannotBeBlank = "81801"
CompanyIsTooLong = "81802"
CountryNameIsNotAccepted = "91803"
+ CountryCodeAlpha2IsNotAccepted = "91814"
+ CountryCodeAlpha3IsNotAccepted = "91816"
+ CountryCodeNumericIsNotAccepted = "91817"
ExtendedAddressIsTooLong = "81804"
FirstNameIsTooLong = "81805"
+ InconsistentCountry = "91815"
LastNameIsTooLong = "81806"
LocalityIsTooLong = "81807"
PostalCodeInvalidCharacters = "81813"
PostalCodeIsRequired = "81808"
PostalCodeIsTooLong = "81809"
@@ -53,21 +57,22 @@
module Customer
CompanyIsTooLong = "81601"
CustomFieldIsInvalid = "91602"
CustomFieldIsTooLong = "81603"
EmailIsInvalid = "81604"
- EmailIsTooLong = "81605"
EmailIsRequired = "81606"
+ EmailIsTooLong = "81605"
FaxIsTooLong = "81607"
FirstNameIsTooLong = "81608"
IdIsInUse = "91609"
IdIsInvaild = "91610"
IdIsNotAllowed = "91611"
+ IdIsRequired = "91613"
IdIsTooLong = "91612"
LastNameIsTooLong = "81613"
PhoneIsTooLong = "81614"
- WebsiteIsTooLong = "81615"
WebsiteIsInvalid = "81616"
+ WebsiteIsTooLong = "81615"
end
module Subscription
CannotEditCanceledSubscription = "81901"
IdIsInUse = "81902"