Class: AdcenterApi::V8::CustomerManagementService::CustomerManagementService

Inherits:
AdsCommonForAdcenter::SavonService show all
Defined in:
lib/adcenter_api/v8/customer_management_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ CustomerManagementService

Returns a new instance of CustomerManagementService.



15
16
17
18
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 15

def initialize(config, endpoint)
  namespace = 'https://adcenter.microsoft.com/api/customermanagement'
  super(config, endpoint, namespace, :v8)
end

Instance Method Details

#accept_request_to_manage_accounts(*args, &block) ⇒ Object



116
117
118
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 116

def accept_request_to_manage_accounts(*args, &block)
  return execute_action('accept_request_to_manage_accounts', args, &block)
end

#add_account(*args, &block) ⇒ Object



28
29
30
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 28

def (*args, &block)
  return execute_action('add_account', args, &block)
end

#add_prepay_account(*args, &block) ⇒ Object



140
141
142
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 140

def (*args, &block)
  return execute_action('add_prepay_account', args, &block)
end

#add_user(*args, &block) ⇒ Object



56
57
58
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 56

def add_user(*args, &block)
  return execute_action('add_user', args, &block)
end

#cancel_request_to_manage_accounts(*args, &block) ⇒ Object



120
121
122
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 120

def cancel_request_to_manage_accounts(*args, &block)
  return execute_action('cancel_request_to_manage_accounts', args, &block)
end

#decline_request_to_manage_accounts(*args, &block) ⇒ Object



136
137
138
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 136

def decline_request_to_manage_accounts(*args, &block)
  return execute_action('decline_request_to_manage_accounts', args, &block)
end

#delete_account(*args, &block) ⇒ Object



60
61
62
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 60

def (*args, &block)
  return execute_action('delete_account', args, &block)
end

#delete_customer(*args, &block) ⇒ Object



64
65
66
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 64

def delete_customer(*args, &block)
  return execute_action('delete_customer', args, &block)
end

#delete_user(*args, &block) ⇒ Object



84
85
86
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 84

def delete_user(*args, &block)
  return execute_action('delete_user', args, &block)
end

#find_accounts(*args, &block) ⇒ Object



24
25
26
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 24

def find_accounts(*args, &block)
  return execute_action('find_accounts', args, &block)
end

#find_accounts_or_customers_info(*args, &block) ⇒ Object



104
105
106
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 104

def find_accounts_or_customers_info(*args, &block)
  return execute_action('find_accounts_or_customers_info', args, &block)
end

#get_accessible_customer(*args, &block) ⇒ Object



100
101
102
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 100

def get_accessible_customer(*args, &block)
  return execute_action('get_accessible_customer', args, &block)
end

#get_account(*args, &block) ⇒ Object



48
49
50
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 48

def (*args, &block)
  return execute_action('get_account', args, &block)
end

#get_accounts_info(*args, &block) ⇒ Object



20
21
22
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 20

def get_accounts_info(*args, &block)
  return execute_action('get_accounts_info', args, &block)
end

#get_current_user(*args, &block) ⇒ Object



80
81
82
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 80

def get_current_user(*args, &block)
  return execute_action('get_current_user', args, &block)
end

#get_customer(*args, &block) ⇒ Object



36
37
38
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 36

def get_customer(*args, &block)
  return execute_action('get_customer', args, &block)
end

#get_customer_pilot_feature(*args, &block) ⇒ Object



92
93
94
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 92

def get_customer_pilot_feature(*args, &block)
  return execute_action('get_customer_pilot_feature', args, &block)
end

#get_customers_info(*args, &block) ⇒ Object



52
53
54
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 52

def get_customers_info(*args, &block)
  return execute_action('get_customers_info', args, &block)
end

#get_pilot_features_countries(*args, &block) ⇒ Object



96
97
98
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 96

def get_pilot_features_countries(*args, &block)
  return execute_action('get_pilot_features_countries', args, &block)
end

#get_request_to_manage_accounts(*args, &block) ⇒ Object



128
129
130
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 128

def get_request_to_manage_accounts(*args, &block)
  return execute_action('get_request_to_manage_accounts', args, &block)
end

#get_request_to_manage_accounts_infos(*args, &block) ⇒ Object



132
133
134
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 132

def get_request_to_manage_accounts_infos(*args, &block)
  return execute_action('get_request_to_manage_accounts_infos', args, &block)
end

#get_user(*args, &block) ⇒ Object



76
77
78
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 76

def get_user(*args, &block)
  return execute_action('get_user', args, &block)
end

#get_users_info(*args, &block) ⇒ Object



88
89
90
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 88

def get_users_info(*args, &block)
  return execute_action('get_users_info', args, &block)
end

#map_account_id_to_external_account_ids(*args, &block) ⇒ Object



148
149
150
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 148

def (*args, &block)
  return execute_action('map_account_id_to_external_account_ids', args, &block)
end

#map_customer_id_to_external_customer_id(*args, &block) ⇒ Object



144
145
146
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 144

def map_customer_id_to_external_customer_id(*args, &block)
  return execute_action('map_customer_id_to_external_customer_id', args, &block)
end

#send_request_to_manage_accounts(*args, &block) ⇒ Object



112
113
114
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 112

def send_request_to_manage_accounts(*args, &block)
  return execute_action('send_request_to_manage_accounts', args, &block)
end

#send_request_to_stop_managing_accounts(*args, &block) ⇒ Object



124
125
126
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 124

def send_request_to_stop_managing_accounts(*args, &block)
  return execute_action('send_request_to_stop_managing_accounts', args, &block)
end

#signup_customer(*args, &block) ⇒ Object



44
45
46
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 44

def (*args, &block)
  return execute_action('signup_customer', args, &block)
end

#update_account(*args, &block) ⇒ Object



32
33
34
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 32

def (*args, &block)
  return execute_action('update_account', args, &block)
end

#update_customer(*args, &block) ⇒ Object



40
41
42
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 40

def update_customer(*args, &block)
  return execute_action('update_customer', args, &block)
end

#update_user(*args, &block) ⇒ Object



68
69
70
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 68

def update_user(*args, &block)
  return execute_action('update_user', args, &block)
end

#update_user_roles(*args, &block) ⇒ Object



72
73
74
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 72

def update_user_roles(*args, &block)
  return execute_action('update_user_roles', args, &block)
end

#upgrade_customer_to_agency(*args, &block) ⇒ Object



108
109
110
# File 'lib/adcenter_api/v8/customer_management_service.rb', line 108

def upgrade_customer_to_agency(*args, &block)
  return execute_action('upgrade_customer_to_agency', args, &block)
end