Class: ActiveMerchant::Billing::EncryptedNexioCard
- Inherits:
-
CreditCard
- Object
- CreditCard
- ActiveMerchant::Billing::EncryptedNexioCard
- Defined in:
- lib/active_merchant/billing/encrypted_nexio_card.rb
Constant Summary collapse
- ALLOWED_CARD_BRANDS =
%w[amex discover jcb mastercard visa].freeze
Instance Attribute Summary collapse
-
#brand ⇒ Object
readonly
Returns the value of attribute brand.
-
#encrypted_number ⇒ Object
Returns the value of attribute encrypted_number.
-
#one_time_token ⇒ Object
Returns the value of attribute one_time_token.
-
#own_form ⇒ Object
Returns the value of attribute own_form.
Instance Method Summary collapse
Instance Attribute Details
#brand ⇒ Object (readonly)
Returns the value of attribute brand.
10 11 12 |
# File 'lib/active_merchant/billing/encrypted_nexio_card.rb', line 10 def brand @brand end |
#encrypted_number ⇒ Object
Returns the value of attribute encrypted_number.
8 9 10 |
# File 'lib/active_merchant/billing/encrypted_nexio_card.rb', line 8 def encrypted_number @encrypted_number end |
#one_time_token ⇒ Object
Returns the value of attribute one_time_token.
8 9 10 |
# File 'lib/active_merchant/billing/encrypted_nexio_card.rb', line 8 def one_time_token @one_time_token end |
#own_form ⇒ Object
Returns the value of attribute own_form.
8 9 10 |
# File 'lib/active_merchant/billing/encrypted_nexio_card.rb', line 8 def own_form @own_form end |
Instance Method Details
#short_year ⇒ Object
12 13 14 |
# File 'lib/active_merchant/billing/encrypted_nexio_card.rb', line 12 def short_year year % 100 if year end |