class Vantiv::Api::AccountUpdaterResponse

Attributes

extended_card_response[RW]
new_card_token_info[RW]
original_card_token_info[RW]

Public Class Methods

new() click to toggle source
# File lib/vantiv/api/account_updater_response.rb, line 23
def initialize
  @new_card_token_info = CardTokenInfo.new
  @extended_card_response = ExtendedCardResponse.new
end

Public Instance Methods

extended_card_response?() click to toggle source
# File lib/vantiv/api/account_updater_response.rb, line 42
def extended_card_response?
  !!extended_card_response_code || !!extended_card_response_message
end
extended_card_response_code() click to toggle source
# File lib/vantiv/api/account_updater_response.rb, line 30
def extended_card_response_code
  extended_card_response.code
end
extended_card_response_message() click to toggle source
# File lib/vantiv/api/account_updater_response.rb, line 34
def extended_card_response_message
  extended_card_response.message
end
new_card_token?() click to toggle source
# File lib/vantiv/api/account_updater_response.rb, line 38
def new_card_token?
  !!payment_account_id
end