Sha256: 7def7f7b3fee74e9b098b68ed9178d951381b60f0baf738c5a9731f92ff8bb46

Contents?: true

Size: 525 Bytes

Versions: 37

Compression:

Stored size: 525 Bytes

Contents

module Braintree
  class Transaction
    class AndroidPayDetails
      include BaseModule

      attr_reader :card_type, :last_4, :expiration_month, :expiration_year,
        :google_transaction_id, :virtual_card_type, :virtual_card_last_4,
        :source_card_type, :source_card_last_4, :source_description

      def initialize(attributes)
        set_instance_variables_from_hash attributes unless attributes.nil?
        @card_type = @virtual_card_type
        @last_4 = @virtual_card_last_4
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
braintree-2.80.1 lib/braintree/transaction/android_pay_details.rb
braintree-2.80.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.79.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.78.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.77.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.76.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.75.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.74.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.73.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.72.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.71.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.70.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.69.1 lib/braintree/transaction/android_pay_details.rb
braintree-2.69.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.68.2 lib/braintree/transaction/android_pay_details.rb
braintree-2.68.1 lib/braintree/transaction/android_pay_details.rb
braintree-2.68.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.67.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.66.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.65.0 lib/braintree/transaction/android_pay_details.rb