adcenter-client 7.0.2 → 7.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/History.txt +6 -0
  2. data/Manifest.txt +5 -16
  3. data/README.txt +14 -10
  4. data/Rakefile.rb +2 -2
  5. data/VERSION +1 -0
  6. data/bin/get_adcenter_account_info.rb +45 -0
  7. data/{bin → devel}/gen_wsdl_drivers.rb +1 -1
  8. data/{bin → devel}/wsdl.yml +0 -0
  9. data/lib/AdministrationServiceDriver.rb +7 -3
  10. data/lib/AdministrationServiceMappingRegistry.rb +27 -23
  11. data/lib/CampaignManagementServiceDriver.rb +90 -86
  12. data/lib/CampaignManagementServiceMappingRegistry.rb +1213 -1209
  13. data/lib/CustomerBillingServiceDriver.rb +12 -8
  14. data/lib/CustomerBillingServiceMappingRegistry.rb +123 -119
  15. data/lib/CustomerManagementServiceDriver.rb +22 -18
  16. data/lib/CustomerManagementServiceMappingRegistry.rb +318 -314
  17. data/lib/ReportingServiceDriver.rb +7 -3
  18. data/lib/ReportingServiceMappingRegistry.rb +926 -922
  19. data/lib/SecureDataManagementServiceDriver.rb +6 -2
  20. data/lib/SecureDataManagementServiceMappingRegistry.rb +62 -58
  21. data/lib/adcenter_client.rb +6 -3
  22. data/lib/adcenter_service.rb +6 -2
  23. data/lib/adcenter_wrapper_entities.rb +8170 -0
  24. data/lib/administration_service.rb +3 -1
  25. data/lib/campaign_management_service.rb +1 -1
  26. data/lib/customer_billing_service.rb +1 -1
  27. data/lib/customer_management_service.rb +1 -1
  28. data/lib/defaultDriver.rb +5 -1
  29. data/lib/defaultMappingRegistry.rb +68 -64
  30. data/lib/notification_management.rb +1 -1
  31. data/lib/reporting_service.rb +1 -1
  32. data/lib/secure_data_management_service.rb +1 -1
  33. data/test/customer_management_service_test.rb +4 -4
  34. data/test/test_helper.rb +1 -0
  35. metadata +19 -27
  36. data/lib/AdministrationService.rb +0 -79
  37. data/lib/AdministrationServiceClient.rb +0 -40
  38. data/lib/CampaignManagementService.rb +0 -3458
  39. data/lib/CampaignManagementServiceClient.rb +0 -1370
  40. data/lib/CustomerBillingService.rb +0 -390
  41. data/lib/CustomerBillingServiceClient.rb +0 -126
  42. data/lib/CustomerManagementService.rb +0 -1284
  43. data/lib/CustomerManagementServiceClient.rb +0 -282
  44. data/lib/NotificationManagementClient.rb +0 -89
  45. data/lib/ReportingService.rb +0 -2121
  46. data/lib/ReportingServiceClient.rb +0 -42
  47. data/lib/SecureDataManagementService.rb +0 -203
  48. data/lib/SecureDataManagementServiceClient.rb +0 -26
  49. data/lib/default.rb +0 -636
@@ -1,42 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'ReportingServiceDriver.rb'
3
-
4
- endpoint_url = ARGV.shift
5
- obj = IReportingService.new(endpoint_url)
6
-
7
- # run ruby with -d to see SOAP wiredumps.
8
- obj.wiredump_dev = STDERR if $DEBUG
9
-
10
- # SYNOPSIS
11
- # SubmitGenerateReport(parameters)
12
- #
13
- # ARGS
14
- # parameters SubmitGenerateReportRequest - {https://adcenter.microsoft.com/v7}SubmitGenerateReportRequest
15
- #
16
- # RETURNS
17
- # parameters SubmitGenerateReportResponse - {https://adcenter.microsoft.com/v7}SubmitGenerateReportResponse
18
- #
19
- # RAISES
20
- # detail AdApiFaultDetail - {https://adapi.microsoft.com}AdApiFaultDetail
21
- # detail ApiFaultDetail - {https://adcenter.microsoft.com/v7}ApiFaultDetail
22
- #
23
- parameters = nil
24
- puts obj.submitGenerateReport(parameters)
25
-
26
- # SYNOPSIS
27
- # PollGenerateReport(parameters)
28
- #
29
- # ARGS
30
- # parameters PollGenerateReportRequest - {https://adcenter.microsoft.com/v7}PollGenerateReportRequest
31
- #
32
- # RETURNS
33
- # parameters PollGenerateReportResponse - {https://adcenter.microsoft.com/v7}PollGenerateReportResponse
34
- #
35
- # RAISES
36
- # detail AdApiFaultDetail - {https://adapi.microsoft.com}AdApiFaultDetail
37
- # detail ApiFaultDetail - {https://adcenter.microsoft.com/v7}ApiFaultDetail
38
- #
39
- parameters = nil
40
- puts obj.pollGenerateReport(parameters)
41
-
42
-
@@ -1,203 +0,0 @@
1
- require 'xsd/qname'
2
-
3
- # {https://adcenter.microsoft.com/api/customermanagement/Entities}PaymentMethod
4
- # address - Address
5
- # customerId - SOAP::SOAPLong
6
- # id - SOAP::SOAPLong
7
- # timeStamp - SOAP::SOAPBase64
8
- class PaymentMethod
9
- attr_accessor :address
10
- attr_accessor :customerId
11
- attr_accessor :id
12
- attr_accessor :timeStamp
13
-
14
- def initialize(address = nil, customerId = nil, id = nil, timeStamp = nil)
15
- @address = address
16
- @customerId = customerId
17
- @id = id
18
- @timeStamp = timeStamp
19
- end
20
- end
21
-
22
- # {https://adcenter.microsoft.com/api/customermanagement/Entities}CreditCardPaymentMethod
23
- # address - Address
24
- # customerId - SOAP::SOAPLong
25
- # id - SOAP::SOAPLong
26
- # timeStamp - SOAP::SOAPBase64
27
- # expirationDate - SOAP::SOAPLong
28
- # firstName - SOAP::SOAPString
29
- # lastName - SOAP::SOAPString
30
- # middleInitial - SOAP::SOAPString
31
- # number - SOAP::SOAPString
32
- # securityCode - SOAP::SOAPString
33
- # type - CreditCardType
34
- class CreditCardPaymentMethod < PaymentMethod
35
- attr_accessor :address
36
- attr_accessor :customerId
37
- attr_accessor :id
38
- attr_accessor :timeStamp
39
- attr_accessor :expirationDate
40
- attr_accessor :firstName
41
- attr_accessor :lastName
42
- attr_accessor :middleInitial
43
- attr_accessor :number
44
- attr_accessor :securityCode
45
- attr_accessor :type
46
-
47
- def initialize(address = nil, customerId = nil, id = nil, timeStamp = nil, expirationDate = nil, firstName = nil, lastName = nil, middleInitial = nil, number = nil, securityCode = nil, type = nil)
48
- @address = address
49
- @customerId = customerId
50
- @id = id
51
- @timeStamp = timeStamp
52
- @expirationDate = expirationDate
53
- @firstName = firstName
54
- @lastName = lastName
55
- @middleInitial = middleInitial
56
- @number = number
57
- @securityCode = securityCode
58
- @type = type
59
- end
60
- end
61
-
62
- # # {https://adcenter.microsoft.com/api/customermanagement/Entities}Address
63
- # # city - SOAP::SOAPString
64
- # # countryCode - SOAP::SOAPString
65
- # # id - SOAP::SOAPLong
66
- # # line1 - SOAP::SOAPString
67
- # # line2 - SOAP::SOAPString
68
- # # line3 - SOAP::SOAPString
69
- # # line4 - SOAP::SOAPString
70
- # # postalCode - SOAP::SOAPString
71
- # # stateOrProvince - SOAP::SOAPString
72
- # # timeStamp - SOAP::SOAPBase64
73
- # class Address
74
- # attr_accessor :city
75
- # attr_accessor :countryCode
76
- # attr_accessor :id
77
- # attr_accessor :line1
78
- # attr_accessor :line2
79
- # attr_accessor :line3
80
- # attr_accessor :line4
81
- # attr_accessor :postalCode
82
- # attr_accessor :stateOrProvince
83
- # attr_accessor :timeStamp
84
- #
85
- # def initialize(city = nil, countryCode = nil, id = nil, line1 = nil, line2 = nil, line3 = nil, line4 = nil, postalCode = nil, stateOrProvince = nil, timeStamp = nil)
86
- # @city = city
87
- # @countryCode = countryCode
88
- # @id = id
89
- # @line1 = line1
90
- # @line2 = line2
91
- # @line3 = line3
92
- # @line4 = line4
93
- # @postalCode = postalCode
94
- # @stateOrProvince = stateOrProvince
95
- # @timeStamp = timeStamp
96
- # end
97
- # end
98
-
99
- # # {https://adapi.microsoft.com}ApplicationFault
100
- # # trackingId - SOAP::SOAPString
101
- # class ApplicationFault
102
- # attr_accessor :trackingId
103
- #
104
- # def initialize(trackingId = nil)
105
- # @trackingId = trackingId
106
- # end
107
- # end
108
-
109
- # # {https://adapi.microsoft.com}AdApiFaultDetail
110
- # # trackingId - SOAP::SOAPString
111
- # # errors - ArrayOfAdApiError
112
- # class AdApiFaultDetail < ::StandardError
113
- # attr_accessor :trackingId
114
- # attr_accessor :errors
115
- #
116
- # def initialize(trackingId = nil, errors = nil)
117
- # @trackingId = trackingId
118
- # @errors = errors
119
- # end
120
- # end
121
-
122
- # # {https://adcenter.microsoft.com/api/customermanagement/Exception}ApiFault
123
- # # trackingId - SOAP::SOAPString
124
- # # operationErrors - ArrayOfOperationError
125
- # class ApiFault < ::StandardError
126
- # attr_accessor :trackingId
127
- # attr_accessor :operationErrors
128
- #
129
- # def initialize(trackingId = nil, operationErrors = nil)
130
- # @trackingId = trackingId
131
- # @operationErrors = operationErrors
132
- # end
133
- # end
134
-
135
- # {https://adapi.microsoft.com}ArrayOfAdApiError
136
- class ArrayOfAdApiError < ::Array
137
- end
138
-
139
- # # {https://adapi.microsoft.com}AdApiError
140
- # # code - SOAP::SOAPInt
141
- # # detail - SOAP::SOAPString
142
- # # errorCode - SOAP::SOAPString
143
- # # message - SOAP::SOAPString
144
- # class AdApiError
145
- # attr_accessor :code
146
- # attr_accessor :detail
147
- # attr_accessor :errorCode
148
- # attr_accessor :message
149
- #
150
- # def initialize(code = nil, detail = nil, errorCode = nil, message = nil)
151
- # @code = code
152
- # @detail = detail
153
- # @errorCode = errorCode
154
- # @message = message
155
- # end
156
- # end
157
-
158
- # {https://adcenter.microsoft.com/api/customermanagement/Exception}ArrayOfOperationError
159
- class ArrayOfOperationError < ::Array
160
- end
161
-
162
- # # {https://adcenter.microsoft.com/api/customermanagement/Exception}OperationError
163
- # # code - SOAP::SOAPInt
164
- # # details - SOAP::SOAPString
165
- # # message - SOAP::SOAPString
166
- # class OperationError
167
- # attr_accessor :code
168
- # attr_accessor :details
169
- # attr_accessor :message
170
- #
171
- # def initialize(code = nil, details = nil, message = nil)
172
- # @code = code
173
- # @details = details
174
- # @message = message
175
- # end
176
- # end
177
-
178
- # {https://adcenter.microsoft.com/api/customermanagement/Entities}CreditCardType
179
- class CreditCardType < ::String
180
- AmericanExpress = CreditCardType.new("AmericanExpress")
181
- Mastercard = CreditCardType.new("Mastercard")
182
- Visa = CreditCardType.new("Visa")
183
- end
184
-
185
- # {https://adcenter.microsoft.com/api/securedatamanagement}AddPaymentMethodRequest
186
- # paymentMethod - PaymentMethod
187
- class AddPaymentMethodRequest
188
- attr_accessor :paymentMethod
189
-
190
- def initialize(paymentMethod = nil)
191
- @paymentMethod = paymentMethod
192
- end
193
- end
194
-
195
- # {https://adcenter.microsoft.com/api/securedatamanagement}AddPaymentMethodResponse
196
- # paymentMethodId - SOAP::SOAPLong
197
- class AddPaymentMethodResponse
198
- attr_accessor :paymentMethodId
199
-
200
- def initialize(paymentMethodId = nil)
201
- @paymentMethodId = paymentMethodId
202
- end
203
- end
@@ -1,26 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'SecureDataManagementServiceDriver.rb'
3
-
4
- endpoint_url = ARGV.shift
5
- obj = ISecureDataManagementService.new(endpoint_url)
6
-
7
- # run ruby with -d to see SOAP wiredumps.
8
- obj.wiredump_dev = STDERR if $DEBUG
9
-
10
- # SYNOPSIS
11
- # AddPaymentMethod(parameters)
12
- #
13
- # ARGS
14
- # parameters AddPaymentMethodRequest - {https://adcenter.microsoft.com/api/securedatamanagement}AddPaymentMethodRequest
15
- #
16
- # RETURNS
17
- # parameters AddPaymentMethodResponse - {https://adcenter.microsoft.com/api/securedatamanagement}AddPaymentMethodResponse
18
- #
19
- # RAISES
20
- # detail AdApiFaultDetail - {https://adapi.microsoft.com}AdApiFaultDetail
21
- # detail ApiFault - {https://adcenter.microsoft.com/api/customermanagement/Exception}ApiFault
22
- #
23
- parameters = nil
24
- puts obj.addPaymentMethod(parameters)
25
-
26
-
data/lib/default.rb DELETED
@@ -1,636 +0,0 @@
1
- require 'xsd/qname'
2
-
3
- # {http://adcenter.microsoft.com/syncapis}ArrayOfNotification
4
- class ArrayOfNotification < ::Array
5
- end
6
-
7
- # {http://adcenter.microsoft.com/syncapis}Notification
8
- # abstract
9
- # notificationType - NotificationType
10
- # customerId - SOAP::SOAPInt
11
- # userLocale - SOAP::SOAPString
12
- # recipientEmailAddress - SOAP::SOAPString
13
- # notificationDate - SOAP::SOAPDateTime
14
- class Notification
15
- attr_accessor :notificationType
16
- attr_accessor :customerId
17
- attr_accessor :userLocale
18
- attr_accessor :recipientEmailAddress
19
- attr_accessor :notificationDate
20
-
21
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil)
22
- @notificationType = notificationType
23
- @customerId = customerId
24
- @userLocale = userLocale
25
- @recipientEmailAddress = recipientEmailAddress
26
- @notificationDate = notificationDate
27
- end
28
- end
29
-
30
- # {http://adcenter.microsoft.com/syncapis}EditorialRejectionNotification
31
- # notificationType - NotificationType
32
- # customerId - SOAP::SOAPInt
33
- # userLocale - SOAP::SOAPString
34
- # recipientEmailAddress - SOAP::SOAPString
35
- # notificationDate - SOAP::SOAPDateTime
36
- # accountId - SOAP::SOAPInt
37
- # accountNumber - SOAP::SOAPString
38
- # accountName - SOAP::SOAPString
39
- # campaignName - SOAP::SOAPString
40
- # campaignId - SOAP::SOAPInt
41
- # orderId - SOAP::SOAPInt
42
- # orderName - SOAP::SOAPString
43
- # customerName - SOAP::SOAPString
44
- # adId - SOAP::SOAPInt
45
- # adTitle - SOAP::SOAPString
46
- # adDescription - SOAP::SOAPString
47
- # displayURL - SOAP::SOAPString
48
- # destinationURL - SOAP::SOAPString
49
- # keywordsRejected - SOAP::SOAPInt
50
- # keywordsAccepted - SOAP::SOAPInt
51
- # keywordsPending - SOAP::SOAPInt
52
- # top1Keyword - SOAP::SOAPString
53
- # top1KeywordReason - SOAP::SOAPString
54
- # top2Keyword - SOAP::SOAPString
55
- # top2KeywordReason - SOAP::SOAPString
56
- # top3Keyword - SOAP::SOAPString
57
- # top3KeywordReason - SOAP::SOAPString
58
- # top4Keyword - SOAP::SOAPString
59
- # top4KeywordReason - SOAP::SOAPString
60
- # top5Keyword - SOAP::SOAPString
61
- # top5KeywordReason - SOAP::SOAPString
62
- class EditorialRejectionNotification < Notification
63
- attr_accessor :notificationType
64
- attr_accessor :customerId
65
- attr_accessor :userLocale
66
- attr_accessor :recipientEmailAddress
67
- attr_accessor :notificationDate
68
- attr_accessor :accountId
69
- attr_accessor :accountNumber
70
- attr_accessor :accountName
71
- attr_accessor :campaignName
72
- attr_accessor :campaignId
73
- attr_accessor :orderId
74
- attr_accessor :orderName
75
- attr_accessor :customerName
76
- attr_accessor :adId
77
- attr_accessor :adTitle
78
- attr_accessor :adDescription
79
- attr_accessor :displayURL
80
- attr_accessor :destinationURL
81
- attr_accessor :keywordsRejected
82
- attr_accessor :keywordsAccepted
83
- attr_accessor :keywordsPending
84
- attr_accessor :top1Keyword
85
- attr_accessor :top1KeywordReason
86
- attr_accessor :top2Keyword
87
- attr_accessor :top2KeywordReason
88
- attr_accessor :top3Keyword
89
- attr_accessor :top3KeywordReason
90
- attr_accessor :top4Keyword
91
- attr_accessor :top4KeywordReason
92
- attr_accessor :top5Keyword
93
- attr_accessor :top5KeywordReason
94
-
95
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, accountId = nil, accountNumber = nil, accountName = nil, campaignName = nil, campaignId = nil, orderId = nil, orderName = nil, customerName = nil, adId = nil, adTitle = nil, adDescription = nil, displayURL = nil, destinationURL = nil, keywordsRejected = nil, keywordsAccepted = nil, keywordsPending = nil, top1Keyword = nil, top1KeywordReason = nil, top2Keyword = nil, top2KeywordReason = nil, top3Keyword = nil, top3KeywordReason = nil, top4Keyword = nil, top4KeywordReason = nil, top5Keyword = nil, top5KeywordReason = nil)
96
- @notificationType = notificationType
97
- @customerId = customerId
98
- @userLocale = userLocale
99
- @recipientEmailAddress = recipientEmailAddress
100
- @notificationDate = notificationDate
101
- @accountId = accountId
102
- @accountNumber = accountNumber
103
- @accountName = accountName
104
- @campaignName = campaignName
105
- @campaignId = campaignId
106
- @orderId = orderId
107
- @orderName = orderName
108
- @customerName = customerName
109
- @adId = adId
110
- @adTitle = adTitle
111
- @adDescription = adDescription
112
- @displayURL = displayURL
113
- @destinationURL = destinationURL
114
- @keywordsRejected = keywordsRejected
115
- @keywordsAccepted = keywordsAccepted
116
- @keywordsPending = keywordsPending
117
- @top1Keyword = top1Keyword
118
- @top1KeywordReason = top1KeywordReason
119
- @top2Keyword = top2Keyword
120
- @top2KeywordReason = top2KeywordReason
121
- @top3Keyword = top3Keyword
122
- @top3KeywordReason = top3KeywordReason
123
- @top4Keyword = top4Keyword
124
- @top4KeywordReason = top4KeywordReason
125
- @top5Keyword = top5Keyword
126
- @top5KeywordReason = top5KeywordReason
127
- end
128
- end
129
-
130
- # {http://adcenter.microsoft.com/syncapis}AccountSignupPaymentReceiptNotification
131
- # notificationType - NotificationType
132
- # customerId - SOAP::SOAPInt
133
- # userLocale - SOAP::SOAPString
134
- # recipientEmailAddress - SOAP::SOAPString
135
- # notificationDate - SOAP::SOAPDateTime
136
- # accountId - SOAP::SOAPInt
137
- # accountNumber - SOAP::SOAPString
138
- # accountName - SOAP::SOAPString
139
- # preferredUserName - SOAP::SOAPString
140
- # creditCardName - SOAP::SOAPString
141
- # creditCardTypeName - SOAP::SOAPString
142
- # creditCardLastFour - SOAP::SOAPString
143
- # accountSetupFee - SOAP::SOAPDouble
144
- # preferredCurrencyCode - SOAP::SOAPString
145
- class AccountSignupPaymentReceiptNotification < Notification
146
- attr_accessor :notificationType
147
- attr_accessor :customerId
148
- attr_accessor :userLocale
149
- attr_accessor :recipientEmailAddress
150
- attr_accessor :notificationDate
151
- attr_accessor :accountId
152
- attr_accessor :accountNumber
153
- attr_accessor :accountName
154
- attr_accessor :preferredUserName
155
- attr_accessor :creditCardName
156
- attr_accessor :creditCardTypeName
157
- attr_accessor :creditCardLastFour
158
- attr_accessor :accountSetupFee
159
- attr_accessor :preferredCurrencyCode
160
-
161
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, accountId = nil, accountNumber = nil, accountName = nil, preferredUserName = nil, creditCardName = nil, creditCardTypeName = nil, creditCardLastFour = nil, accountSetupFee = nil, preferredCurrencyCode = nil)
162
- @notificationType = notificationType
163
- @customerId = customerId
164
- @userLocale = userLocale
165
- @recipientEmailAddress = recipientEmailAddress
166
- @notificationDate = notificationDate
167
- @accountId = accountId
168
- @accountNumber = accountNumber
169
- @accountName = accountName
170
- @preferredUserName = preferredUserName
171
- @creditCardName = creditCardName
172
- @creditCardTypeName = creditCardTypeName
173
- @creditCardLastFour = creditCardLastFour
174
- @accountSetupFee = accountSetupFee
175
- @preferredCurrencyCode = preferredCurrencyCode
176
- end
177
- end
178
-
179
- # {http://adcenter.microsoft.com/syncapis}AccountClosedNotification
180
- # notificationType - NotificationType
181
- # customerId - SOAP::SOAPInt
182
- # userLocale - SOAP::SOAPString
183
- # recipientEmailAddress - SOAP::SOAPString
184
- # notificationDate - SOAP::SOAPDateTime
185
- # accountId - SOAP::SOAPInt
186
- # accountNumber - SOAP::SOAPString
187
- # customerName - SOAP::SOAPString
188
- # statusDate - SOAP::SOAPDateTime
189
- class AccountClosedNotification < Notification
190
- attr_accessor :notificationType
191
- attr_accessor :customerId
192
- attr_accessor :userLocale
193
- attr_accessor :recipientEmailAddress
194
- attr_accessor :notificationDate
195
- attr_accessor :accountId
196
- attr_accessor :accountNumber
197
- attr_accessor :customerName
198
- attr_accessor :statusDate
199
-
200
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, accountId = nil, accountNumber = nil, customerName = nil, statusDate = nil)
201
- @notificationType = notificationType
202
- @customerId = customerId
203
- @userLocale = userLocale
204
- @recipientEmailAddress = recipientEmailAddress
205
- @notificationDate = notificationDate
206
- @accountId = accountId
207
- @accountNumber = accountNumber
208
- @customerName = customerName
209
- @statusDate = statusDate
210
- end
211
- end
212
-
213
- # {http://adcenter.microsoft.com/syncapis}UnableToChargeCreditCardNotification
214
- # notificationType - NotificationType
215
- # customerId - SOAP::SOAPInt
216
- # userLocale - SOAP::SOAPString
217
- # recipientEmailAddress - SOAP::SOAPString
218
- # notificationDate - SOAP::SOAPDateTime
219
- # accountId - SOAP::SOAPInt
220
- # accountNumber - SOAP::SOAPString
221
- # accountFinancialStatus - AccountFinancialStatusType
222
- # creditCardTypeName - SOAP::SOAPString
223
- # creditCardLastFour - SOAP::SOAPString
224
- # preferredCurrencyCode - SOAP::SOAPString
225
- # balanceAmount - SOAP::SOAPDouble
226
- class UnableToChargeCreditCardNotification < Notification
227
- attr_accessor :notificationType
228
- attr_accessor :customerId
229
- attr_accessor :userLocale
230
- attr_accessor :recipientEmailAddress
231
- attr_accessor :notificationDate
232
- attr_accessor :accountId
233
- attr_accessor :accountNumber
234
- attr_accessor :accountFinancialStatus
235
- attr_accessor :creditCardTypeName
236
- attr_accessor :creditCardLastFour
237
- attr_accessor :preferredCurrencyCode
238
- attr_accessor :balanceAmount
239
-
240
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, accountId = nil, accountNumber = nil, accountFinancialStatus = nil, creditCardTypeName = nil, creditCardLastFour = nil, preferredCurrencyCode = nil, balanceAmount = nil)
241
- @notificationType = notificationType
242
- @customerId = customerId
243
- @userLocale = userLocale
244
- @recipientEmailAddress = recipientEmailAddress
245
- @notificationDate = notificationDate
246
- @accountId = accountId
247
- @accountNumber = accountNumber
248
- @accountFinancialStatus = accountFinancialStatus
249
- @creditCardTypeName = creditCardTypeName
250
- @creditCardLastFour = creditCardLastFour
251
- @preferredCurrencyCode = preferredCurrencyCode
252
- @balanceAmount = balanceAmount
253
- end
254
- end
255
-
256
- # {http://adcenter.microsoft.com/syncapis}CreditCardNotification
257
- # abstract
258
- # notificationType - NotificationType
259
- # customerId - SOAP::SOAPInt
260
- # userLocale - SOAP::SOAPString
261
- # recipientEmailAddress - SOAP::SOAPString
262
- # notificationDate - SOAP::SOAPDateTime
263
- # accountId - SOAP::SOAPInt
264
- # accountNumber - SOAP::SOAPString
265
- # creditCardTypeName - SOAP::SOAPString
266
- # creditCardLastFour - SOAP::SOAPString
267
- # creditCardExpirationDate - SOAP::SOAPDateTime
268
- # noticeNumber - SOAP::SOAPInt
269
- class CreditCardNotification < Notification
270
- attr_accessor :notificationType
271
- attr_accessor :customerId
272
- attr_accessor :userLocale
273
- attr_accessor :recipientEmailAddress
274
- attr_accessor :notificationDate
275
- attr_accessor :accountId
276
- attr_accessor :accountNumber
277
- attr_accessor :creditCardTypeName
278
- attr_accessor :creditCardLastFour
279
- attr_accessor :creditCardExpirationDate
280
- attr_accessor :noticeNumber
281
-
282
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, accountId = nil, accountNumber = nil, creditCardTypeName = nil, creditCardLastFour = nil, creditCardExpirationDate = nil, noticeNumber = nil)
283
- @notificationType = notificationType
284
- @customerId = customerId
285
- @userLocale = userLocale
286
- @recipientEmailAddress = recipientEmailAddress
287
- @notificationDate = notificationDate
288
- @accountId = accountId
289
- @accountNumber = accountNumber
290
- @creditCardTypeName = creditCardTypeName
291
- @creditCardLastFour = creditCardLastFour
292
- @creditCardExpirationDate = creditCardExpirationDate
293
- @noticeNumber = noticeNumber
294
- end
295
- end
296
-
297
- # {http://adcenter.microsoft.com/syncapis}CreditCardExpiredNotification
298
- # notificationType - NotificationType
299
- # customerId - SOAP::SOAPInt
300
- # userLocale - SOAP::SOAPString
301
- # recipientEmailAddress - SOAP::SOAPString
302
- # notificationDate - SOAP::SOAPDateTime
303
- # accountId - SOAP::SOAPInt
304
- # accountNumber - SOAP::SOAPString
305
- # creditCardTypeName - SOAP::SOAPString
306
- # creditCardLastFour - SOAP::SOAPString
307
- # creditCardExpirationDate - SOAP::SOAPDateTime
308
- # noticeNumber - SOAP::SOAPInt
309
- class CreditCardExpiredNotification < CreditCardNotification
310
- attr_accessor :notificationType
311
- attr_accessor :customerId
312
- attr_accessor :userLocale
313
- attr_accessor :recipientEmailAddress
314
- attr_accessor :notificationDate
315
- attr_accessor :accountId
316
- attr_accessor :accountNumber
317
- attr_accessor :creditCardTypeName
318
- attr_accessor :creditCardLastFour
319
- attr_accessor :creditCardExpirationDate
320
- attr_accessor :noticeNumber
321
-
322
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, accountId = nil, accountNumber = nil, creditCardTypeName = nil, creditCardLastFour = nil, creditCardExpirationDate = nil, noticeNumber = nil)
323
- @notificationType = notificationType
324
- @customerId = customerId
325
- @userLocale = userLocale
326
- @recipientEmailAddress = recipientEmailAddress
327
- @notificationDate = notificationDate
328
- @accountId = accountId
329
- @accountNumber = accountNumber
330
- @creditCardTypeName = creditCardTypeName
331
- @creditCardLastFour = creditCardLastFour
332
- @creditCardExpirationDate = creditCardExpirationDate
333
- @noticeNumber = noticeNumber
334
- end
335
- end
336
-
337
- # {http://adcenter.microsoft.com/syncapis}ApproachingCreditCardExpirationNotification
338
- # notificationType - NotificationType
339
- # customerId - SOAP::SOAPInt
340
- # userLocale - SOAP::SOAPString
341
- # recipientEmailAddress - SOAP::SOAPString
342
- # notificationDate - SOAP::SOAPDateTime
343
- # accountId - SOAP::SOAPInt
344
- # accountNumber - SOAP::SOAPString
345
- # creditCardTypeName - SOAP::SOAPString
346
- # creditCardLastFour - SOAP::SOAPString
347
- # creditCardExpirationDate - SOAP::SOAPDateTime
348
- # noticeNumber - SOAP::SOAPInt
349
- class ApproachingCreditCardExpirationNotification < CreditCardNotification
350
- attr_accessor :notificationType
351
- attr_accessor :customerId
352
- attr_accessor :userLocale
353
- attr_accessor :recipientEmailAddress
354
- attr_accessor :notificationDate
355
- attr_accessor :accountId
356
- attr_accessor :accountNumber
357
- attr_accessor :creditCardTypeName
358
- attr_accessor :creditCardLastFour
359
- attr_accessor :creditCardExpirationDate
360
- attr_accessor :noticeNumber
361
-
362
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, accountId = nil, accountNumber = nil, creditCardTypeName = nil, creditCardLastFour = nil, creditCardExpirationDate = nil, noticeNumber = nil)
363
- @notificationType = notificationType
364
- @customerId = customerId
365
- @userLocale = userLocale
366
- @recipientEmailAddress = recipientEmailAddress
367
- @notificationDate = notificationDate
368
- @accountId = accountId
369
- @accountNumber = accountNumber
370
- @creditCardTypeName = creditCardTypeName
371
- @creditCardLastFour = creditCardLastFour
372
- @creditCardExpirationDate = creditCardExpirationDate
373
- @noticeNumber = noticeNumber
374
- end
375
- end
376
-
377
- # {http://adcenter.microsoft.com/syncapis}UserNotification
378
- # abstract
379
- # notificationType - NotificationType
380
- # customerId - SOAP::SOAPInt
381
- # userLocale - SOAP::SOAPString
382
- # recipientEmailAddress - SOAP::SOAPString
383
- # notificationDate - SOAP::SOAPDateTime
384
- # userId - SOAP::SOAPInt
385
- # userName - SOAP::SOAPString
386
- # activationCode - SOAP::SOAPString
387
- class UserNotification < Notification
388
- attr_accessor :notificationType
389
- attr_accessor :customerId
390
- attr_accessor :userLocale
391
- attr_accessor :recipientEmailAddress
392
- attr_accessor :notificationDate
393
- attr_accessor :userId
394
- attr_accessor :userName
395
- attr_accessor :activationCode
396
-
397
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, userId = nil, userName = nil, activationCode = nil)
398
- @notificationType = notificationType
399
- @customerId = customerId
400
- @userLocale = userLocale
401
- @recipientEmailAddress = recipientEmailAddress
402
- @notificationDate = notificationDate
403
- @userId = userId
404
- @userName = userName
405
- @activationCode = activationCode
406
- end
407
- end
408
-
409
- # {http://adcenter.microsoft.com/syncapis}UserNameReminderNotification
410
- # notificationType - NotificationType
411
- # customerId - SOAP::SOAPInt
412
- # userLocale - SOAP::SOAPString
413
- # recipientEmailAddress - SOAP::SOAPString
414
- # notificationDate - SOAP::SOAPDateTime
415
- # userId - SOAP::SOAPInt
416
- # userName - SOAP::SOAPString
417
- # activationCode - SOAP::SOAPString
418
- class UserNameReminderNotification < UserNotification
419
- attr_accessor :notificationType
420
- attr_accessor :customerId
421
- attr_accessor :userLocale
422
- attr_accessor :recipientEmailAddress
423
- attr_accessor :notificationDate
424
- attr_accessor :userId
425
- attr_accessor :userName
426
- attr_accessor :activationCode
427
-
428
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, userId = nil, userName = nil, activationCode = nil)
429
- @notificationType = notificationType
430
- @customerId = customerId
431
- @userLocale = userLocale
432
- @recipientEmailAddress = recipientEmailAddress
433
- @notificationDate = notificationDate
434
- @userId = userId
435
- @userName = userName
436
- @activationCode = activationCode
437
- end
438
- end
439
-
440
- # {http://adcenter.microsoft.com/syncapis}UserPasswordResetNotification
441
- # notificationType - NotificationType
442
- # customerId - SOAP::SOAPInt
443
- # userLocale - SOAP::SOAPString
444
- # recipientEmailAddress - SOAP::SOAPString
445
- # notificationDate - SOAP::SOAPDateTime
446
- # userId - SOAP::SOAPInt
447
- # userName - SOAP::SOAPString
448
- # activationCode - SOAP::SOAPString
449
- class UserPasswordResetNotification < UserNotification
450
- attr_accessor :notificationType
451
- attr_accessor :customerId
452
- attr_accessor :userLocale
453
- attr_accessor :recipientEmailAddress
454
- attr_accessor :notificationDate
455
- attr_accessor :userId
456
- attr_accessor :userName
457
- attr_accessor :activationCode
458
-
459
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, userId = nil, userName = nil, activationCode = nil)
460
- @notificationType = notificationType
461
- @customerId = customerId
462
- @userLocale = userLocale
463
- @recipientEmailAddress = recipientEmailAddress
464
- @notificationDate = notificationDate
465
- @userId = userId
466
- @userName = userName
467
- @activationCode = activationCode
468
- end
469
- end
470
-
471
- # {http://adcenter.microsoft.com/syncapis}NewUserAddedNotification
472
- # notificationType - NotificationType
473
- # customerId - SOAP::SOAPInt
474
- # userLocale - SOAP::SOAPString
475
- # recipientEmailAddress - SOAP::SOAPString
476
- # notificationDate - SOAP::SOAPDateTime
477
- # userId - SOAP::SOAPInt
478
- # userName - SOAP::SOAPString
479
- # activationCode - SOAP::SOAPString
480
- class NewUserAddedNotification < UserNotification
481
- attr_accessor :notificationType
482
- attr_accessor :customerId
483
- attr_accessor :userLocale
484
- attr_accessor :recipientEmailAddress
485
- attr_accessor :notificationDate
486
- attr_accessor :userId
487
- attr_accessor :userName
488
- attr_accessor :activationCode
489
-
490
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, userId = nil, userName = nil, activationCode = nil)
491
- @notificationType = notificationType
492
- @customerId = customerId
493
- @userLocale = userLocale
494
- @recipientEmailAddress = recipientEmailAddress
495
- @notificationDate = notificationDate
496
- @userId = userId
497
- @userName = userName
498
- @activationCode = activationCode
499
- end
500
- end
501
-
502
- # {http://adcenter.microsoft.com/syncapis}NewCustomerSignupNotification
503
- # notificationType - NotificationType
504
- # customerId - SOAP::SOAPInt
505
- # userLocale - SOAP::SOAPString
506
- # recipientEmailAddress - SOAP::SOAPString
507
- # notificationDate - SOAP::SOAPDateTime
508
- # userId - SOAP::SOAPInt
509
- # userName - SOAP::SOAPString
510
- # activationCode - SOAP::SOAPString
511
- class NewCustomerSignupNotification < UserNotification
512
- attr_accessor :notificationType
513
- attr_accessor :customerId
514
- attr_accessor :userLocale
515
- attr_accessor :recipientEmailAddress
516
- attr_accessor :notificationDate
517
- attr_accessor :userId
518
- attr_accessor :userName
519
- attr_accessor :activationCode
520
-
521
- def initialize(notificationType = nil, customerId = nil, userLocale = nil, recipientEmailAddress = nil, notificationDate = nil, userId = nil, userName = nil, activationCode = nil)
522
- @notificationType = notificationType
523
- @customerId = customerId
524
- @userLocale = userLocale
525
- @recipientEmailAddress = recipientEmailAddress
526
- @notificationDate = notificationDate
527
- @userId = userId
528
- @userName = userName
529
- @activationCode = activationCode
530
- end
531
- end
532
-
533
- # {http://adcenter.microsoft.com/syncapis}ApiUserAuthHeader
534
- # userName - SOAP::SOAPString
535
- # password - SOAP::SOAPString
536
- # userAccessKey - SOAP::SOAPString
537
- class ApiUserAuthHeader
538
- attr_accessor :userName
539
- attr_accessor :password
540
- attr_accessor :userAccessKey
541
-
542
- def initialize(userName = nil, password = nil, userAccessKey = nil)
543
- @userName = userName
544
- @password = password
545
- @userAccessKey = userAccessKey
546
- end
547
- end
548
-
549
- # {http://adcenter.microsoft.com/syncapis}NotificationType
550
- class NotificationType < ::String
551
- AccountClosed = NotificationType.new("AccountClosed")
552
- AccountSignupPaymentReceipt = NotificationType.new("AccountSignupPaymentReceipt")
553
- ApproachingCreditCardExpiration = NotificationType.new("ApproachingCreditCardExpiration")
554
- CreditCardExpired = NotificationType.new("CreditCardExpired")
555
- EditorialRejection = NotificationType.new("EditorialRejection")
556
- NewCustomerSignup = NotificationType.new("NewCustomerSignup")
557
- NewUserAdded = NotificationType.new("NewUserAdded")
558
- UnableToChargeCreditCard = NotificationType.new("UnableToChargeCreditCard")
559
- UserNameReminder = NotificationType.new("UserNameReminder")
560
- UserPasswordReset = NotificationType.new("UserPasswordReset")
561
- end
562
-
563
- # {http://adcenter.microsoft.com/syncapis}AccountFinancialStatusType
564
- class AccountFinancialStatusType < ::String
565
- CreditHold = AccountFinancialStatusType.new("CreditHold")
566
- CreditWarning = AccountFinancialStatusType.new("CreditWarning")
567
- end
568
-
569
- # {http://adcenter.microsoft.com/syncapis}GetNotifications
570
- # aPIFlags - SOAP::SOAPInt
571
- class GetNotifications
572
- attr_accessor :aPIFlags
573
-
574
- def initialize(aPIFlags = nil)
575
- @aPIFlags = aPIFlags
576
- end
577
- end
578
-
579
- # {http://adcenter.microsoft.com/syncapis}GetNotificationsResponse
580
- # getNotificationsResult - ArrayOfNotification
581
- class GetNotificationsResponse
582
- attr_accessor :getNotificationsResult
583
-
584
- def initialize(getNotificationsResult = nil)
585
- @getNotificationsResult = getNotificationsResult
586
- end
587
- end
588
-
589
- # {http://adcenter.microsoft.com/syncapis}GetNotificationsByType
590
- # aPIFlags - SOAP::SOAPInt
591
- # notificationType - NotificationType
592
- class GetNotificationsByType
593
- attr_accessor :aPIFlags
594
- attr_accessor :notificationType
595
-
596
- def initialize(aPIFlags = nil, notificationType = nil)
597
- @aPIFlags = aPIFlags
598
- @notificationType = notificationType
599
- end
600
- end
601
-
602
- # {http://adcenter.microsoft.com/syncapis}GetNotificationsByTypeResponse
603
- # getNotificationsByTypeResult - ArrayOfNotification
604
- class GetNotificationsByTypeResponse
605
- attr_accessor :getNotificationsByTypeResult
606
-
607
- def initialize(getNotificationsByTypeResult = nil)
608
- @getNotificationsByTypeResult = getNotificationsByTypeResult
609
- end
610
- end
611
-
612
- # {http://adcenter.microsoft.com/syncapis}GetArchivedNotifications
613
- # aPIFlags - SOAP::SOAPInt
614
- # startDate - SOAP::SOAPDateTime
615
- # endDate - SOAP::SOAPDateTime
616
- class GetArchivedNotifications
617
- attr_accessor :aPIFlags
618
- attr_accessor :startDate
619
- attr_accessor :endDate
620
-
621
- def initialize(aPIFlags = nil, startDate = nil, endDate = nil)
622
- @aPIFlags = aPIFlags
623
- @startDate = startDate
624
- @endDate = endDate
625
- end
626
- end
627
-
628
- # {http://adcenter.microsoft.com/syncapis}GetArchivedNotificationsResponse
629
- # getArchivedNotificationsResult - ArrayOfNotification
630
- class GetArchivedNotificationsResponse
631
- attr_accessor :getArchivedNotificationsResult
632
-
633
- def initialize(getArchivedNotificationsResult = nil)
634
- @getArchivedNotificationsResult = getArchivedNotificationsResult
635
- end
636
- end