Class: ActiveMerchant::Billing::NetworkTokenizationCreditCard

Inherits:
CreditCard
  • Object
show all
Defined in:
lib/active_merchant/billing/network_tokenization_credit_card.rb

Constant Summary

Constants included from CreditCardMethods

CreditCardMethods::CARD_COMPANIES

Instance Attribute Summary collapse

Attributes inherited from CreditCard

#first_name, #issue_number, #last_name, #month, #number, #start_month, #start_year, #track_data, #verification_value, #year

Method Summary

Methods inherited from CreditCard

#brand, #brand=, #display_number, #expired?, #expiry_date, #first_digits, #first_name?, #last_digits, #last_name?, #name, #name=, #name?, requires_verification_value?, #type, #type=, #validate, #verification_value?

Methods included from CreditCardMethods

#card_verification_value_length, included, #valid_card_verification_value?, #valid_expiry_year?, #valid_issue_number?, #valid_month?, #valid_start_year?

Methods inherited from Model

#initialize, #validate

Methods included from Compatibility::Model

#errors, #valid?

Constructor Details

This class inherits a constructor from ActiveMerchant::Billing::Model

Instance Attribute Details

#eciObject

A NetworkTokenizationCreditCard object represents a tokenized credit card using the EMV Network Tokenization specification, 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, developer.apple.com/library/ios/documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html



13
14
15
# File 'lib/active_merchant/billing/network_tokenization_credit_card.rb', line 13

def eci
  @eci
end

#payment_cryptogramObject

A NetworkTokenizationCreditCard object represents a tokenized credit card using the EMV Network Tokenization specification, 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, developer.apple.com/library/ios/documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html



13
14
15
# File 'lib/active_merchant/billing/network_tokenization_credit_card.rb', line 13

def payment_cryptogram
  @payment_cryptogram
end

#transaction_idObject

A NetworkTokenizationCreditCard object represents a tokenized credit card using the EMV Network Tokenization specification, 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, developer.apple.com/library/ios/documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html



13
14
15
# File 'lib/active_merchant/billing/network_tokenization_credit_card.rb', line 13

def transaction_id
  @transaction_id
end