Class: Transfirst::Customer
Constant Summary collapse
- BUSINESS_PHONE =
3- RECURRING_PAYMENT =
1- FETCH_NODE =
'custCrta'- FETCH_ID =
'id'
Constants inherited from API
API::ADD_ENTITY, API::MERCHANT_PROD_TYPE, API::MERCHANT_WEB_SERVICE, API::NO_API_ERROR, API::RECURRING, API::STATUS_ACTIVE, API::STATUS_INACTIVE, API::UPDATE_ENTITY, API::VERSION, API::XSD_PATH
Instance Attribute Summary collapse
-
#address_line1 ⇒ Object
Returns the value of attribute address_line1.
-
#address_line2 ⇒ Object
Returns the value of attribute address_line2.
-
#api ⇒ Object
Returns the value of attribute api.
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#email ⇒ Object
Returns the value of attribute email.
-
#full_name ⇒ Object
Returns the value of attribute full_name.
-
#phone_number ⇒ Object
Returns the value of attribute phone_number.
-
#state ⇒ Object
Returns the value of attribute state.
-
#status ⇒ Object
Returns the value of attribute status.
-
#tf_id ⇒ Object
Returns the value of attribute tf_id.
-
#zip_code ⇒ Object
Returns the value of attribute zip_code.
Attributes inherited from API
#client, #gateway_id, #registration_key
Instance Method Summary collapse
-
#initialize(*args) ⇒ Customer
constructor
A new instance of Customer.
Methods inherited from API
Constructor Details
#initialize(*args) ⇒ Customer
Returns a new instance of Customer.
12 13 14 15 16 |
# File 'lib/transfirst/customer.rb', line 12 def initialize(*args) api, attrs = *args @api = api @body = build_request(attrs) end |
Instance Attribute Details
#address_line1 ⇒ Object
Returns the value of attribute address_line1.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Returns the value of attribute address_line2.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def address_line2 @address_line2 end |
#api ⇒ Object
Returns the value of attribute api.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def api @api end |
#city ⇒ Object
Returns the value of attribute city.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def country @country end |
#email ⇒ Object
Returns the value of attribute email.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def email @email end |
#full_name ⇒ Object
Returns the value of attribute full_name.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def full_name @full_name end |
#phone_number ⇒ Object
Returns the value of attribute phone_number.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def phone_number @phone_number end |
#state ⇒ Object
Returns the value of attribute state.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def state @state end |
#status ⇒ Object
Returns the value of attribute status.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def status @status end |
#tf_id ⇒ Object
Returns the value of attribute tf_id.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def tf_id @tf_id end |
#zip_code ⇒ Object
Returns the value of attribute zip_code.
9 10 11 |
# File 'lib/transfirst/customer.rb', line 9 def zip_code @zip_code end |