lib/braintree/transaction.rb in braintree-2.95.0 vs lib/braintree/transaction.rb in braintree-2.96.0

- old
+ new

@@ -24,10 +24,11 @@ AVSAndCVV = "avs_and_cvv" CVV = "cvv" Duplicate = "duplicate" Fraud = "fraud" ThreeDSecure = "three_d_secure" + TokenIssuance = "token_issuance" Unrecognized = "unrecognized" end module Status AuthorizationExpired = 'authorization_expired' @@ -106,11 +107,14 @@ attr_reader :escrow_status attr_reader :facilitated_details attr_reader :facilitator_details attr_reader :gateway_rejection_reason attr_reader :id + # NEXT_MAJOR_VERSION Remove this class as legacy Ideal has been removed/disabled in the Braintree Gateway + # DEPRECATED If you're looking to accept iDEAL as a payment method contact accounts@braintreepayments.com for a solution. attr_reader :ideal_payment_details + attr_reader :local_payment_details attr_reader :masterpass_card_details attr_reader :merchant_account_id attr_reader :network_transaction_id attr_reader :order_id attr_reader :partial_settlement_transaction_ids @@ -280,9 +284,10 @@ @disbursement_details = DisbursementDetails.new(@disbursement_details) @shipping_details = AddressDetails.new(@shipping) @status_history = attributes[:status_history] ? attributes[:status_history].map { |s| StatusDetails.new(s) } : [] @tax_amount = Util.to_big_decimal(tax_amount) @descriptor = Descriptor.new(@descriptor) + @local_payment_details = LocalPaymentDetails.new(@local_payment) @paypal_details = PayPalDetails.new(@paypal) @apple_pay_details = ApplePayDetails.new(@apple_pay) @android_pay_details = AndroidPayDetails.new(@android_pay_card) @amex_express_checkout_details = AmexExpressCheckoutDetails.new(@amex_express_checkout_card) @venmo_account_details = VenmoAccountDetails.new(@venmo_account)