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

#contactless, #encrypted_pin_cryptogram, #encrypted_pin_ksn, #fallback_reason, #first_name, #icc_data, #issue_number, #last_name, #manual_entry, #month, #number, #start_month, #start_year, #track_data, #verification_value, #year

Instance Method Summary collapse

Methods inherited from CreditCard

#brand, #brand=, #display_number, #emv?, #expired?, #expiry_date, #first_digits, #first_name?, #last_digits, #last_name?, #name, #name=, #name?, requires_name?, requires_verification_value?, #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

Returns the value of attribute eci.



17
18
19
# File 'lib/active_merchant/billing/network_tokenization_credit_card.rb', line 17

def eci
  @eci
end

#payment_cryptogramObject

Returns the value of attribute payment_cryptogram.



17
18
19
# File 'lib/active_merchant/billing/network_tokenization_credit_card.rb', line 17

def payment_cryptogram
  @payment_cryptogram
end

#transaction_idObject

Returns the value of attribute transaction_id.



17
18
19
# File 'lib/active_merchant/billing/network_tokenization_credit_card.rb', line 17

def transaction_id
  @transaction_id
end

Instance Method Details

#typeObject



19
20
21
# File 'lib/active_merchant/billing/network_tokenization_credit_card.rb', line 19

def type
  "network_tokenization"
end