Sha256: 0b2acc361cc764548915e30fb43e48e28d614f0dd050e9d4bc9cfff4d3dda153

Contents?: true

Size: 1010 Bytes

Versions: 13

Compression:

Stored size: 1010 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class NetworkTokenizationCreditCard < CreditCard
      # A +NetworkTokenizationCreditCard+ object represents a tokenized credit card
      # using the EMV Network Tokenization specification, http://www.emvco.com/specifications.aspx?id=263.
      #
      # It includes all fields of the +CreditCard+ class with additional fields for
      # verification data that must be given to gateways through existing fields (3DS / EMV).
      #
      # The only tested usage of this at the moment is with an Apple Pay decrypted PKPaymentToken,
      # https://developer.apple.com/library/ios/documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html

      # These are not relevant (verification) or optional (name) for Apple Pay
      self.require_verification_value = false
      self.require_name = false

      attr_accessor :payment_cryptogram, :eci, :transaction_id

      def type
        "network_tokenization"
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
activemerchant-1.56.0 lib/active_merchant/billing/network_tokenization_credit_card.rb
activemerchant-1.55.0 lib/active_merchant/billing/network_tokenization_credit_card.rb
activemerchant-1.54.0 lib/active_merchant/billing/network_tokenization_credit_card.rb
activemerchant-1.53.0 lib/active_merchant/billing/network_tokenization_credit_card.rb
start_activemerchant-1.50.0 lib/active_merchant/billing/network_tokenization_credit_card.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/activemerchant-1.48.0/lib/active_merchant/billing/network_tokenization_credit_card.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/activemerchant-1.48.0/lib/active_merchant/billing/network_tokenization_credit_card.rb
activemerchant-1.52.0 lib/active_merchant/billing/network_tokenization_credit_card.rb
activemerchant-1.51.0 lib/active_merchant/billing/network_tokenization_credit_card.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/activemerchant-1.48.0/lib/active_merchant/billing/network_tokenization_credit_card.rb
activemerchant-1.50.0 lib/active_merchant/billing/network_tokenization_credit_card.rb
activemerchant-1.49.0 lib/active_merchant/billing/network_tokenization_credit_card.rb
activemerchant-1.48.0 lib/active_merchant/billing/network_tokenization_credit_card.rb