Class: RSpreedly::PaymentMethod::CreditCard

Inherits:
Base
  • Object
show all
Defined in:
lib/rspreedly/payment_method.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#errors

Method Summary

Methods inherited from Base

api_request, #api_request, #attributes=, do_request, #initialize, #to_xml

Constructor Details

This class inherits a constructor from RSpreedly::Base

Instance Attribute Details

#address1Object

Returns the value of attribute address1.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def address2
  @address2
end

#card_typeObject

Returns the value of attribute card_type.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def card_type
  @card_type
end

#cityObject

Returns the value of attribute city.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def city
  @city
end

#countryObject

Returns the value of attribute country.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def country
  @country
end

#first_nameObject

Returns the value of attribute first_name.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def first_name
  @first_name
end

#last_nameObject

Returns the value of attribute last_name.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def last_name
  @last_name
end

#monthObject

Returns the value of attribute month.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def month
  @month
end

#numberObject

Returns the value of attribute number.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def number
  @number
end

#phone_numberObject

Returns the value of attribute phone_number.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def phone_number
  @phone_number
end

#stateObject

Returns the value of attribute state.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def state
  @state
end

#verification_valueObject

Returns the value of attribute verification_value.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def verification_value
  @verification_value
end

#yearObject

Returns the value of attribute year.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def year
  @year
end

#zipObject

Returns the value of attribute zip.



4
5
6
# File 'lib/rspreedly/payment_method.rb', line 4

def zip
  @zip
end