lib/braintree/transaction.rb in braintree-2.89.0 vs lib/braintree/transaction.rb in braintree-2.90.0

- old
+ new

@@ -115,10 +115,11 @@ attr_reader :purchase_order_number attr_reader :recurring attr_reader :refund_ids attr_reader :refunded_transaction_id attr_reader :risk_data + attr_reader :samsung_pay_card_details attr_reader :service_fee_amount attr_reader :settlement_batch_id attr_reader :shipping_amount attr_reader :shipping_details attr_reader :ships_from_postal_code @@ -287,9 +288,10 @@ @three_d_secure_info = ThreeDSecureInfo.new(attributes[:three_d_secure_info]) if attributes[:three_d_secure_info] @us_bank_account_details = UsBankAccountDetails.new(attributes[:us_bank_account]) if attributes[:us_bank_account] @ideal_payment_details = IdealPaymentDetails.new(attributes[:ideal_payment]) if attributes[:ideal_payment] @visa_checkout_card_details = VisaCheckoutCardDetails.new(attributes[:visa_checkout_card]) @masterpass_card_details = MasterpassCardDetails.new(attributes[:masterpass_card]) + @samsung_pay_card_details = SamsungPayCardDetails.new(attributes[:samsung_pay_card]) authorization_adjustments.map! { |attrs| AuthorizationAdjustment._new(attrs) } if authorization_adjustments end def inspect # :nodoc: first = [:id, :type, :amount, :status]