Sha256: 871a1af80af755f1026c879e17068b3e5cc07a09a9e0854ca499101e0cd72dfb

Contents?: true

Size: 1.09 KB

Versions: 29

Compression:

Stored size: 1.09 KB

Contents

module Braintree
  class Transaction
    class GooglePayDetails
      include BaseModule

      attr_reader :bin
      attr_reader :card_type
      attr_reader :expiration_month
      attr_reader :expiration_year
      attr_reader :google_transaction_id
      attr_reader :image_url
      attr_reader :last_4
      attr_reader :source_card_last_4
      attr_reader :source_card_type
      attr_reader :source_description
      attr_reader :token
      attr_reader :virtual_card_last_4
      attr_reader :virtual_card_type
      attr_reader :prepaid
      attr_reader :healthcare
      attr_reader :debit
      attr_reader :durbin_regulated
      attr_reader :commercial
      attr_reader :payroll
      attr_reader :issuing_bank
      attr_reader :country_of_issuance
      attr_reader :product_id
      attr_reader :global_id

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

      def is_network_tokenized?
        @is_network_tokenized
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.22.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.21.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.20.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.19.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.18.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.17.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.16.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.15.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.14.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.13.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.12.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.11.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.10.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.9.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.8.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.7.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.6.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.5.0 lib/braintree/transaction/google_pay_details.rb
braintree-4.4.0 lib/braintree/transaction/google_pay_details.rb