Sha256: 1b447e4bbc1936c7d2d77b3b9870a4a2ef2af1e6765072521f91f2c4bc206477

Contents?: true

Size: 827 Bytes

Versions: 4

Compression:

Stored size: 827 Bytes

Contents

module Braintree
  class Transaction
    class ApplePayDetails
      include BaseModule

      attr_reader :card_type
      attr_reader :cardholder_name
      attr_reader :expiration_month
      attr_reader :expiration_year
      attr_reader :image_url
      attr_reader :last_4
      attr_reader :payment_instrument_name
      attr_reader :source_description
      attr_reader :token
      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?
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
braintree-2.99.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.98.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.97.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.96.0 lib/braintree/transaction/apple_pay_details.rb