Sha256: 6cf5cc799f3b066e9aef1b77cdfaf0b7e87b36f5affbebe52c6dd3964d82186b

Contents?: true

Size: 662 Bytes

Versions: 7

Compression:

Stored size: 662 Bytes

Contents

module Braintree
  class Transaction
    class AndroidPayDetails
      include BaseModule

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

      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

7 entries across 7 versions & 1 rubygems

Version Path
braintree-2.87.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.86.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.85.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.84.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.83.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.82.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.81.0 lib/braintree/transaction/android_pay_details.rb