lib/braintree/transaction.rb in braintree-4.22.0 vs lib/braintree/transaction.rb in braintree-4.23.0

- old
+ new

@@ -309,10 +309,11 @@ def self.void!(*args) Configuration.gateway.transaction.void!(*args) end + # NEXT_MAJOR_VERSION remove SamsungPayCardDetails def initialize(gateway, attributes) @gateway = gateway set_instance_variables_from_hash(attributes) @amount = Util.to_big_decimal(amount) @@ -330,10 +331,10 @@ @meta_checkout_token_details = MetaCheckoutTokenDetails.new(attributes[:meta_checkout_token]) @payment_instrument_type = attributes[:payment_instrument_type] @payment_receipt = PaymentReceipt.new(attributes[:payment_receipt]) if attributes[:payment_receipt] @paypal_details = PayPalDetails.new(@paypal) @paypal_here_details = PayPalHereDetails.new(@paypal_here) - @samsung_pay_card_details = SamsungPayCardDetails.new(attributes[:samsung_pay_card]) + @samsung_pay_card_details = SamsungPayCardDetails.new(attributes[:samsung_pay_card]) #Deprecated @sca_exemption_requested = attributes[:sca_exemption_requested] @sepa_direct_debit_account_details = SepaDirectDebitAccountDetails.new(@sepa_debit_account_detail) @service_fee_amount = Util.to_big_decimal(service_fee_amount) @packages = attributes[:shipments] ? attributes[:shipments].map { |pd| PackageDetails.new(pd) } : [] @shipping_details = AddressDetails.new(@shipping)