Sha256: e2dc51a6cb18d4b98b680cc3813d9fa6b4386ca4a33294a50bba7579c51e734f

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

module Braintree
  class Transaction
    class AndroidPayDetails
      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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
braintree-2.100.0 lib/braintree/transaction/android_pay_details.rb