Class: Softlayer::User::Customer::Prospect::ServiceProvider::EnrollRequest

Inherits:
Entity
  • Object
show all
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

Class Method Summary collapse

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_idObject

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
end

#address1Object

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

#address2Object

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_numberObject

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
end

#card_expiration_monthObject

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_yearObject

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_typeObject

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_numberObject

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

#cityObject

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_nameObject

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_typeObject

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_idObject

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_urlObject

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_emailObject

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_nameObject

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_nameObject

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_phoneObject

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

#countryObject

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_idObject

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_idObject

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

#emailObject

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_flagObject

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_nameObject

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_idObject

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_flagObject

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_nameObject

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_flagObject

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_phoneObject

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_codeObject

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_flagObject

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

#stateObject

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_responsesObject

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_idObject

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(message)
  request(:enroll, Softlayer::User::Customer::Prospect::ServiceProvider::EnrollRequest, message)
end

Instance Method Details

#get_company_typeObject



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_objectObject



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