Class: Softlayer::User::Customer::Prospect::ServiceProvider::EnrollRequest
- Defined in:
- lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_User_Customer_Prospect_ServiceProvider_EnrollRequest'
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#address1 ⇒ Object
Returns the value of attribute address1.
-
#address2 ⇒ Object
Returns the value of attribute address2.
-
#card_account_number ⇒ Object
Returns the value of attribute card_account_number.
-
#card_expiration_month ⇒ Object
Returns the value of attribute card_expiration_month.
-
#card_expiration_year ⇒ Object
Returns the value of attribute card_expiration_year.
-
#card_type ⇒ Object
Returns the value of attribute card_type.
-
#card_verification_number ⇒ Object
Returns the value of attribute card_verification_number.
-
#city ⇒ Object
Returns the value of attribute city.
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#company_type ⇒ Object
Returns the value of attribute company_type.
-
#company_type_id ⇒ Object
Returns the value of attribute company_type_id.
-
#company_url ⇒ Object
Returns the value of attribute company_url.
-
#contact_email ⇒ Object
Returns the value of attribute contact_email.
-
#contact_first_name ⇒ Object
Returns the value of attribute contact_first_name.
-
#contact_last_name ⇒ Object
Returns the value of attribute contact_last_name.
-
#contact_phone ⇒ Object
Returns the value of attribute contact_phone.
-
#country ⇒ Object
Returns the value of attribute country.
-
#customer_prospect_id ⇒ Object
Returns the value of attribute customer_prospect_id.
-
#device_fingerprint_id ⇒ Object
Returns the value of attribute device_fingerprint_id.
-
#email ⇒ Object
Returns the value of attribute email.
-
#existing_customer_flag ⇒ Object
Returns the value of attribute existing_customer_flag.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#ibm_partner_world_id ⇒ Object
Returns the value of attribute ibm_partner_world_id.
-
#ibm_partner_world_member_flag ⇒ Object
Returns the value of attribute ibm_partner_world_member_flag.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#master_agreement_complete_flag ⇒ Object
Returns the value of attribute master_agreement_complete_flag.
-
#office_phone ⇒ Object
Returns the value of attribute office_phone.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#service_provider_addendum_flag ⇒ Object
Returns the value of attribute service_provider_addendum_flag.
-
#state ⇒ Object
Returns the value of attribute state.
-
#survey_responses ⇒ Object
Returns the value of attribute survey_responses.
-
#vat_id ⇒ Object
Returns the value of attribute vat_id.
Class Method Summary collapse
-
.enroll(message) ⇒ Object
template_object.
Instance Method Summary collapse
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
8 9 10 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 8 def account_id @account_id end |
#address1 ⇒ Object
Returns the value of attribute address1.
9 10 11 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 9 def address1 @address1 end |
#address2 ⇒ Object
Returns the value of attribute address2.
10 11 12 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 10 def address2 @address2 end |
#card_account_number ⇒ Object
Returns the value of attribute card_account_number.
11 12 13 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 11 def card_account_number @card_account_number end |
#card_expiration_month ⇒ Object
Returns the value of attribute card_expiration_month.
12 13 14 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 12 def card_expiration_month @card_expiration_month end |
#card_expiration_year ⇒ Object
Returns the value of attribute card_expiration_year.
13 14 15 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 13 def card_expiration_year @card_expiration_year end |
#card_type ⇒ Object
Returns the value of attribute card_type.
14 15 16 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 14 def card_type @card_type end |
#card_verification_number ⇒ Object
Returns the value of attribute card_verification_number.
15 16 17 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 15 def card_verification_number @card_verification_number end |
#city ⇒ Object
Returns the value of attribute city.
16 17 18 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 16 def city @city end |
#company_name ⇒ Object
Returns the value of attribute company_name.
17 18 19 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 17 def company_name @company_name end |
#company_type ⇒ Object
Returns the value of attribute company_type.
40 41 42 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 40 def company_type @company_type end |
#company_type_id ⇒ Object
Returns the value of attribute company_type_id.
18 19 20 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 18 def company_type_id @company_type_id end |
#company_url ⇒ Object
Returns the value of attribute company_url.
19 20 21 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 19 def company_url @company_url end |
#contact_email ⇒ Object
Returns the value of attribute contact_email.
20 21 22 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 20 def contact_email @contact_email end |
#contact_first_name ⇒ Object
Returns the value of attribute contact_first_name.
21 22 23 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 21 def contact_first_name @contact_first_name end |
#contact_last_name ⇒ Object
Returns the value of attribute contact_last_name.
22 23 24 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 22 def contact_last_name @contact_last_name end |
#contact_phone ⇒ Object
Returns the value of attribute contact_phone.
23 24 25 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 23 def contact_phone @contact_phone end |
#country ⇒ Object
Returns the value of attribute country.
24 25 26 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 24 def country @country end |
#customer_prospect_id ⇒ Object
Returns the value of attribute customer_prospect_id.
25 26 27 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 25 def customer_prospect_id @customer_prospect_id end |
#device_fingerprint_id ⇒ Object
Returns the value of attribute device_fingerprint_id.
26 27 28 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 26 def device_fingerprint_id @device_fingerprint_id end |
#email ⇒ Object
Returns the value of attribute email.
27 28 29 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 27 def email @email end |
#existing_customer_flag ⇒ Object
Returns the value of attribute existing_customer_flag.
28 29 30 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 28 def existing_customer_flag @existing_customer_flag end |
#first_name ⇒ Object
Returns the value of attribute first_name.
29 30 31 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 29 def first_name @first_name end |
#ibm_partner_world_id ⇒ Object
Returns the value of attribute ibm_partner_world_id.
30 31 32 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 30 def ibm_partner_world_id @ibm_partner_world_id end |
#ibm_partner_world_member_flag ⇒ Object
Returns the value of attribute ibm_partner_world_member_flag.
31 32 33 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 31 def ibm_partner_world_member_flag @ibm_partner_world_member_flag end |
#last_name ⇒ Object
Returns the value of attribute last_name.
32 33 34 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 32 def last_name @last_name end |
#master_agreement_complete_flag ⇒ Object
Returns the value of attribute master_agreement_complete_flag.
33 34 35 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 33 def master_agreement_complete_flag @master_agreement_complete_flag end |
#office_phone ⇒ Object
Returns the value of attribute office_phone.
34 35 36 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 34 def office_phone @office_phone end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
35 36 37 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 35 def postal_code @postal_code end |
#service_provider_addendum_flag ⇒ Object
Returns the value of attribute service_provider_addendum_flag.
36 37 38 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 36 def service_provider_addendum_flag @service_provider_addendum_flag end |
#state ⇒ Object
Returns the value of attribute state.
37 38 39 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 37 def state @state end |
#survey_responses ⇒ Object
Returns the value of attribute survey_responses.
38 39 40 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 38 def survey_responses @survey_responses end |
#vat_id ⇒ Object
Returns the value of attribute vat_id.
39 40 41 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 39 def vat_id @vat_id end |
Class Method Details
.enroll(message) ⇒ Object
template_object
43 44 45 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 43 def self.enroll() request(:enroll, Softlayer::User::Customer::Prospect::ServiceProvider::EnrollRequest, ) end |
Instance Method Details
#get_company_type ⇒ Object
47 48 49 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 47 def get_company_type request(:get_company_type, Softlayer::Catalyst::Company::Type) end |
#get_object ⇒ Object
51 52 53 |
# File 'lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb', line 51 def get_object request(:get_object, Softlayer::User::Customer::Prospect::ServiceProvider::EnrollRequest) end |