Class: Vantiv::Api::CardTokenInfo
- Inherits:
-
Object
- Object
- Vantiv::Api::CardTokenInfo
- Defined in:
- lib/vantiv/api/account_updater_response.rb
Instance Attribute Summary collapse
-
#bin ⇒ Object
Returns the value of attribute bin.
-
#card_type ⇒ Object
Returns the value of attribute card_type.
-
#expiry_month ⇒ Object
Returns the value of attribute expiry_month.
-
#expiry_year ⇒ Object
Returns the value of attribute expiry_year.
-
#payment_account_id ⇒ Object
Returns the value of attribute payment_account_id.
Instance Method Summary collapse
Instance Attribute Details
#bin ⇒ Object
Returns the value of attribute bin.
6 7 8 |
# File 'lib/vantiv/api/account_updater_response.rb', line 6 def bin @bin end |
#card_type ⇒ Object
Returns the value of attribute card_type.
6 7 8 |
# File 'lib/vantiv/api/account_updater_response.rb', line 6 def card_type @card_type end |
#expiry_month ⇒ Object
Returns the value of attribute expiry_month.
6 7 8 |
# File 'lib/vantiv/api/account_updater_response.rb', line 6 def expiry_month @expiry_month end |
#expiry_year ⇒ Object
Returns the value of attribute expiry_year.
6 7 8 |
# File 'lib/vantiv/api/account_updater_response.rb', line 6 def expiry_year @expiry_year end |
#payment_account_id ⇒ Object
Returns the value of attribute payment_account_id.
6 7 8 |
# File 'lib/vantiv/api/account_updater_response.rb', line 6 def payment_account_id @payment_account_id end |
Instance Method Details
#expiry_date=(string) ⇒ Object
8 9 10 11 |
# File 'lib/vantiv/api/account_updater_response.rb', line 8 def expiry_date=(string) @expiry_month = string[0..1] @expiry_year = string[2..3] end |