lib/braintree/error_codes.rb in braintree-2.80.1 vs lib/braintree/error_codes.rb in braintree-2.81.0

- old
+ new

@@ -308,10 +308,12 @@ FailedAuthAdjustmentAllowRetry = "95603" FailedAuthAdjustmentHardDecline = "95602" FinalAuthSubmitForSettlementForDifferentAmount = "95601" HasAlreadyBeenRefunded = "91512" IdealPaymentNotComplete = "815141" + TooManyLineItems = "915157" + LineItemsExpected = "915158" DiscountAmountFormatIsInvalid = "915159" DiscountAmountCannotBeNegative = "915160" DiscountAmountIsTooLarge = "915161" ShippingAmountFormatIsInvalid = "915162" ShippingAmountCannotBeNegative = "915163" @@ -414,9 +416,37 @@ DepartureDateIsInvalid = "93411" LodgingCheckInDateIsInvalid = "93412" LodgingCheckOutDateIsInvalid = "93413" end end + end + + module TransactionLineItem + CommodityCodeIsTooLong = "95801" + DescriptionIsTooLong = "95803" + DiscountAmountFormatIsInvalid = "95804" + DiscountAmountIsTooLarge = "95805" + DiscountAmountMustBeGreaterThanZero = "95806" + KindIsInvalid = "95807" + KindIsRequired = "95808" + NameIsRequired = "95822" + NameIsTooLong = "95823" + ProductCodeIsTooLong = "95809" + QuantityFormatIsInvalid = "95810" + QuantityIsRequired = "95811" + QuantityIsTooLarge = "95812" + TotalAmountFormatIsInvalid = "95813" + TotalAmountIsRequired = "95814" + TotalAmountIsTooLarge = "95815" + TotalAmountMustBeGreaterThanZero = "95816" + UnitAmountFormatIsInvalid = "95817" + UnitAmountIsRequired = "95818" + UnitAmountIsTooLarge = "95819" + UnitAmountMustBeGreaterThanZero = "95820" + UnitOfMeasureIsTooLong = "95821" + UnitTaxAmountFormatIsInvalid = "95824" + UnitTaxAmountIsTooLarge = "95825" + UnitTaxAmountMustBeGreaterThanZero = "95826" end module Merchant CountryCannotBeBlank = "83603" CountryCodeAlpha2IsInvalid = "93607"