lib/braintree/transaction.rb in braintree-2.97.0 vs lib/braintree/transaction.rb in braintree-2.98.0
- old
+ new
@@ -124,15 +124,18 @@
# 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_response_code # Response code from the card network
+ attr_reader :network_response_text # Response text from the card network
attr_reader :network_transaction_id
attr_reader :order_id
attr_reader :partial_settlement_transaction_ids
attr_reader :payment_instrument_type
attr_reader :paypal_details
+ attr_reader :paypal_here_details
attr_reader :plan_id
attr_reader :processor_authorization_code # Authorization code from the processor.
attr_reader :processor_response_code # Response code from the processor.
attr_reader :processor_response_text # Response text from the processor.
attr_reader :processor_response_type # Response type from the processor.
@@ -297,9 +300,10 @@
@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)
+ @paypal_here_details = PayPalHereDetails.new(@paypal_here)
@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)
@coinbase_details = CoinbaseDetails.new(@coinbase_account)