Class: Vantiv::Api::AccountUpdaterResponse
- Inherits:
-
Object
- Object
- Vantiv::Api::AccountUpdaterResponse
- Extended by:
- Forwardable
- Defined in:
- lib/vantiv/api/account_updater_response.rb
Instance Attribute Summary collapse
-
#extended_card_response ⇒ Object
Returns the value of attribute extended_card_response.
-
#new_card_token_info ⇒ Object
Returns the value of attribute new_card_token_info.
-
#original_card_token_info ⇒ Object
Returns the value of attribute original_card_token_info.
Instance Method Summary collapse
- #extended_card_response? ⇒ Boolean
- #extended_card_response_code ⇒ Object
- #extended_card_response_message ⇒ Object
-
#initialize ⇒ AccountUpdaterResponse
constructor
A new instance of AccountUpdaterResponse.
- #new_card_token? ⇒ Boolean
Constructor Details
#initialize ⇒ AccountUpdaterResponse
Returns a new instance of AccountUpdaterResponse.
23 24 25 26 |
# File 'lib/vantiv/api/account_updater_response.rb', line 23 def initialize @new_card_token_info = CardTokenInfo.new @extended_card_response = ExtendedCardResponse.new end |
Instance Attribute Details
#extended_card_response ⇒ Object
Returns the value of attribute extended_card_response.
21 22 23 |
# File 'lib/vantiv/api/account_updater_response.rb', line 21 def extended_card_response @extended_card_response end |
#new_card_token_info ⇒ Object
Returns the value of attribute new_card_token_info.
21 22 23 |
# File 'lib/vantiv/api/account_updater_response.rb', line 21 def new_card_token_info @new_card_token_info end |
#original_card_token_info ⇒ Object
Returns the value of attribute original_card_token_info.
21 22 23 |
# File 'lib/vantiv/api/account_updater_response.rb', line 21 def original_card_token_info @original_card_token_info end |
Instance Method Details
#extended_card_response? ⇒ Boolean
42 43 44 |
# File 'lib/vantiv/api/account_updater_response.rb', line 42 def extended_card_response? !!extended_card_response_code || !! end |
#extended_card_response_code ⇒ Object
30 31 32 |
# File 'lib/vantiv/api/account_updater_response.rb', line 30 def extended_card_response_code extended_card_response.code end |
#extended_card_response_message ⇒ Object
34 35 36 |
# File 'lib/vantiv/api/account_updater_response.rb', line 34 def extended_card_response. end |
#new_card_token? ⇒ Boolean
38 39 40 |
# File 'lib/vantiv/api/account_updater_response.rb', line 38 def new_card_token? !!payment_account_id end |