Sha256: b7d9064d867803dfc572194e9e82946d2b9aa4e328e58ee9c65ff3154469f587

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 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

      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

2 entries across 2 versions & 1 rubygems

Version Path
braintree-2.46.0 lib/braintree/transaction/android_pay_details.rb
braintree-2.45.0 lib/braintree/transaction/android_pay_details.rb