Class: Vantiv::Api::CardTokenInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/vantiv/api/account_updater_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#binObject

Returns the value of attribute bin.



6
7
8
# File 'lib/vantiv/api/account_updater_response.rb', line 6

def bin
  @bin
end

#card_typeObject

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_monthObject

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_yearObject

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_idObject

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
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