|
1
|
|
|
#require 'xsd/qname' |
|
2
|
|
|
require 'roxml' |
|
3
|
|
|
|
|
4
|
|
|
module AuthorizeNet::API |
|
5
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfLong |
|
6
|
|
|
class ArrayOfLong < ::Array |
|
7
|
|
|
end |
|
8
|
|
|
|
|
9
|
|
|
|
|
10
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfNumericString |
|
11
|
|
|
class NumericStringsType |
|
12
|
|
|
include ROXML |
|
13
|
|
|
xml_reader :numericString, :as => [] |
|
14
|
|
|
def initialize(numericString = []) |
|
15
|
|
|
@numericString = numericString |
|
16
|
|
|
end |
|
17
|
|
|
end |
|
18
|
|
|
|
|
19
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfString |
|
20
|
|
|
class ArrayOfString < ::Array |
|
21
|
|
|
end |
|
22
|
|
|
|
|
23
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfBatchStatisticType |
|
24
|
|
|
class ArrayOfBatchStatisticType < ::Array |
|
25
|
|
|
end |
|
26
|
|
|
|
|
27
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSetting |
|
28
|
|
|
class ArrayOfSetting < ::Array |
|
29
|
|
|
end |
|
30
|
|
|
|
|
31
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emailSettingsType |
|
32
|
|
|
# setting - SettingType |
|
33
|
|
|
# xmlattr_version - SOAP::SOAPInteger |
|
34
|
|
|
class EmailSettingsType |
|
35
|
|
|
include ROXML |
|
36
|
|
|
#AttrVersion = XSD::QName.new(nil, "version") |
|
37
|
|
|
|
|
38
|
|
|
xml_accessor :setting |
|
39
|
|
|
|
|
40
|
|
|
def __xmlattr |
|
41
|
|
|
@__xmlattr ||= {} |
|
42
|
|
|
end |
|
43
|
|
|
|
|
44
|
|
|
def xmlattr_version |
|
45
|
|
|
__xmlattr[AttrVersion] |
|
46
|
|
|
end |
|
47
|
|
|
|
|
48
|
|
|
def xmlattr_version=(value) |
|
49
|
|
|
__xmlattr[AttrVersion] = value |
|
50
|
|
|
end |
|
51
|
|
|
|
|
52
|
|
|
def initialize(setting = []) |
|
53
|
|
|
@setting = setting |
|
54
|
|
|
@__xmlattr = {} |
|
55
|
|
|
end |
|
56
|
|
|
end |
|
57
|
|
|
|
|
58
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfFDSFilter |
|
59
|
|
|
class ArrayOfFDSFilter < ::Array |
|
60
|
|
|
end |
|
61
|
|
|
|
|
62
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfPermissionType |
|
63
|
|
|
class ArrayOfPermissionType < ::Array |
|
64
|
|
|
end |
|
65
|
|
|
|
|
66
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}driversLicenseType |
|
67
|
|
|
# number - SOAP::SOAPString |
|
68
|
|
|
# state - SOAP::SOAPString |
|
69
|
|
|
# dateOfBirth - SOAP::SOAPString |
|
70
|
|
View Code Duplication |
class DriversLicenseType |
|
|
|
|
|
|
71
|
|
|
include ROXML |
|
72
|
|
|
xml_accessor :number |
|
73
|
|
|
xml_accessor :state |
|
74
|
|
|
xml_accessor :dateOfBirth |
|
75
|
|
|
|
|
76
|
|
|
def initialize(number = nil, state = nil, dateOfBirth = nil) |
|
77
|
|
|
@number = number |
|
78
|
|
|
@state = state |
|
79
|
|
|
@dateOfBirth = dateOfBirth |
|
80
|
|
|
end |
|
81
|
|
|
end |
|
82
|
|
|
|
|
83
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}driversLicenseMaskedType |
|
84
|
|
|
# number - SOAP::SOAPString |
|
85
|
|
|
# state - SOAP::SOAPString |
|
86
|
|
|
# dateOfBirth - SOAP::SOAPString |
|
87
|
|
View Code Duplication |
class DriversLicenseMaskedType |
|
|
|
|
|
|
88
|
|
|
include ROXML |
|
89
|
|
|
xml_accessor :number |
|
90
|
|
|
xml_accessor :state |
|
91
|
|
|
xml_accessor :dateOfBirth |
|
92
|
|
|
|
|
93
|
|
|
def initialize(number = nil, state = nil, dateOfBirth = nil) |
|
94
|
|
|
@number = number |
|
95
|
|
|
@state = state |
|
96
|
|
|
@dateOfBirth = dateOfBirth |
|
97
|
|
|
end |
|
98
|
|
|
end |
|
99
|
|
|
|
|
100
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}nameAndAddressType |
|
101
|
|
|
# firstName - SOAP::SOAPString |
|
102
|
|
|
# lastName - SOAP::SOAPString |
|
103
|
|
|
# company - SOAP::SOAPString |
|
104
|
|
|
# address - SOAP::SOAPString |
|
105
|
|
|
# city - SOAP::SOAPString |
|
106
|
|
|
# state - SOAP::SOAPString |
|
107
|
|
|
# zip - SOAP::SOAPString |
|
108
|
|
|
# country - SOAP::SOAPString |
|
109
|
|
|
class NameAndAddressType |
|
110
|
|
|
include ROXML |
|
111
|
|
|
xml_accessor :firstName |
|
112
|
|
|
xml_accessor :lastName |
|
113
|
|
|
xml_accessor :company |
|
114
|
|
|
xml_accessor :address |
|
115
|
|
|
xml_accessor :city |
|
116
|
|
|
xml_accessor :state |
|
117
|
|
|
xml_accessor :zip |
|
118
|
|
|
xml_accessor :country |
|
119
|
|
|
|
|
120
|
|
|
def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil) |
|
121
|
|
|
@firstName = firstName |
|
122
|
|
|
@lastName = lastName |
|
123
|
|
|
@company = company |
|
124
|
|
|
@address = address |
|
125
|
|
|
@city = city |
|
126
|
|
|
@state = state |
|
127
|
|
|
@zip = zip |
|
128
|
|
|
@country = country |
|
129
|
|
|
end |
|
130
|
|
|
end |
|
131
|
|
|
|
|
132
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerAddressType |
|
133
|
|
|
# firstName - SOAP::SOAPString |
|
134
|
|
|
# lastName - SOAP::SOAPString |
|
135
|
|
|
# company - SOAP::SOAPString |
|
136
|
|
|
# address - SOAP::SOAPString |
|
137
|
|
|
# city - SOAP::SOAPString |
|
138
|
|
|
# state - SOAP::SOAPString |
|
139
|
|
|
# zip - SOAP::SOAPString |
|
140
|
|
|
# country - SOAP::SOAPString |
|
141
|
|
|
# phoneNumber - SOAP::SOAPString |
|
142
|
|
|
# faxNumber - SOAP::SOAPString |
|
143
|
|
|
class CustomerAddressType |
|
144
|
|
|
include ROXML |
|
145
|
|
|
xml_accessor :firstName |
|
146
|
|
|
xml_accessor :lastName |
|
147
|
|
|
xml_accessor :company |
|
148
|
|
|
xml_accessor :address |
|
149
|
|
|
xml_accessor :city |
|
150
|
|
|
xml_accessor :state |
|
151
|
|
|
xml_accessor :zip |
|
152
|
|
|
xml_accessor :country |
|
153
|
|
|
xml_accessor :phoneNumber |
|
154
|
|
|
xml_accessor :faxNumber |
|
155
|
|
|
|
|
156
|
|
|
def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil, phoneNumber = nil, faxNumber = nil) |
|
157
|
|
|
@firstName = firstName |
|
158
|
|
|
@lastName = lastName |
|
159
|
|
|
@company = company |
|
160
|
|
|
@address = address |
|
161
|
|
|
@city = city |
|
162
|
|
|
@state = state |
|
163
|
|
|
@zip = zip |
|
164
|
|
|
@country = country |
|
165
|
|
|
@phoneNumber = phoneNumber |
|
166
|
|
|
@faxNumber = faxNumber |
|
167
|
|
|
end |
|
168
|
|
|
end |
|
169
|
|
|
|
|
170
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerAddressExType |
|
171
|
|
|
# firstName - SOAP::SOAPString |
|
172
|
|
|
# lastName - SOAP::SOAPString |
|
173
|
|
|
# company - SOAP::SOAPString |
|
174
|
|
|
# address - SOAP::SOAPString |
|
175
|
|
|
# city - SOAP::SOAPString |
|
176
|
|
|
# state - SOAP::SOAPString |
|
177
|
|
|
# zip - SOAP::SOAPString |
|
178
|
|
|
# country - SOAP::SOAPString |
|
179
|
|
|
# phoneNumber - SOAP::SOAPString |
|
180
|
|
|
# faxNumber - SOAP::SOAPString |
|
181
|
|
|
# email - SOAP::SOAPString |
|
182
|
|
|
# customerAddressId - (any) |
|
183
|
|
|
class CustomerAddressExType |
|
184
|
|
|
include ROXML |
|
185
|
|
|
xml_accessor :firstName |
|
186
|
|
|
xml_accessor :lastName |
|
187
|
|
|
xml_accessor :company |
|
188
|
|
|
xml_accessor :address |
|
189
|
|
|
xml_accessor :city |
|
190
|
|
|
xml_accessor :state |
|
191
|
|
|
xml_accessor :zip |
|
192
|
|
|
xml_accessor :country |
|
193
|
|
|
xml_accessor :phoneNumber |
|
194
|
|
|
xml_accessor :faxNumber |
|
195
|
|
|
xml_accessor :email |
|
196
|
|
|
xml_accessor :customerAddressId |
|
197
|
|
|
|
|
198
|
|
|
def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil, phoneNumber = nil, faxNumber = nil, email = nil, customerAddressId = nil) |
|
199
|
|
|
@firstName = firstName |
|
200
|
|
|
@lastName = lastName |
|
201
|
|
|
@company = company |
|
202
|
|
|
@address = address |
|
203
|
|
|
@city = city |
|
204
|
|
|
@state = state |
|
205
|
|
|
@zip = zip |
|
206
|
|
|
@country = country |
|
207
|
|
|
@phoneNumber = phoneNumber |
|
208
|
|
|
@faxNumber = faxNumber |
|
209
|
|
|
@email = email |
|
210
|
|
|
@customerAddressId = customerAddressId |
|
211
|
|
|
end |
|
212
|
|
|
end |
|
213
|
|
|
|
|
214
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}merchantContactType |
|
215
|
|
|
# merchantName - SOAP::SOAPString |
|
216
|
|
|
# merchantAddress - SOAP::SOAPString |
|
217
|
|
|
# merchantCity - SOAP::SOAPString |
|
218
|
|
|
# merchantState - SOAP::SOAPString |
|
219
|
|
|
# merchantZip - SOAP::SOAPString |
|
220
|
|
|
# merchantPhone - SOAP::SOAPString |
|
221
|
|
|
class MerchantContactType |
|
222
|
|
|
include ROXML |
|
223
|
|
|
xml_accessor :merchantName |
|
224
|
|
|
xml_accessor :merchantAddress |
|
225
|
|
|
xml_accessor :merchantCity |
|
226
|
|
|
xml_accessor :merchantState |
|
227
|
|
|
xml_accessor :merchantZip |
|
228
|
|
|
xml_accessor :merchantPhone |
|
229
|
|
|
|
|
230
|
|
|
def initialize(merchantName = nil, merchantAddress = nil, merchantCity = nil, merchantState = nil, merchantZip = nil, merchantPhone = nil) |
|
231
|
|
|
@merchantName = merchantName |
|
232
|
|
|
@merchantAddress = merchantAddress |
|
233
|
|
|
@merchantCity = merchantCity |
|
234
|
|
|
@merchantState = merchantState |
|
235
|
|
|
@merchantZip = merchantZip |
|
236
|
|
|
@merchantPhone = merchantPhone |
|
237
|
|
|
end |
|
238
|
|
|
end |
|
239
|
|
|
|
|
240
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transRetailInfoType |
|
241
|
|
|
# marketType - SOAP::SOAPString |
|
242
|
|
|
# deviceType - SOAP::SOAPString |
|
243
|
|
|
class TransRetailInfoType |
|
244
|
|
|
include ROXML |
|
245
|
|
|
xml_accessor :marketType |
|
246
|
|
|
xml_accessor :deviceType |
|
247
|
|
|
|
|
248
|
|
|
def initialize(marketType = nil, deviceType = nil) |
|
249
|
|
|
@marketType = marketType |
|
250
|
|
|
@deviceType = deviceType |
|
251
|
|
|
end |
|
252
|
|
|
end |
|
253
|
|
|
|
|
254
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardSimpleType |
|
255
|
|
|
# cardNumber - SOAP::SOAPString |
|
256
|
|
|
# expirationDate - SOAP::SOAPString |
|
257
|
|
|
class CreditCardSimpleType |
|
258
|
|
|
include ROXML |
|
259
|
|
|
xml_accessor :cardNumber |
|
260
|
|
|
xml_accessor :expirationDate |
|
261
|
|
|
|
|
262
|
|
|
def initialize(cardNumber = nil, expirationDate = nil) |
|
263
|
|
|
@cardNumber = cardNumber |
|
264
|
|
|
@expirationDate = expirationDate |
|
265
|
|
|
end |
|
266
|
|
|
end |
|
267
|
|
|
|
|
268
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardType |
|
269
|
|
|
# cardNumber - SOAP::SOAPString |
|
270
|
|
|
# expirationDate - SOAP::SOAPString |
|
271
|
|
|
# cardCode - (any) |
|
272
|
|
|
# isPaymentToken - SOAP::SOAPBoolean |
|
273
|
|
|
# cryptogram - SOAP::SOAPString |
|
274
|
|
|
class CreditCardType |
|
275
|
|
|
include ROXML |
|
276
|
|
|
xml_accessor :cardNumber |
|
277
|
|
|
xml_accessor :expirationDate |
|
278
|
|
|
xml_accessor :cardCode |
|
279
|
|
|
xml_accessor :isPaymentToken |
|
280
|
|
|
xml_accessor :cryptogram |
|
281
|
|
|
|
|
282
|
|
|
def initialize(cardNumber = nil, expirationDate = nil, cardCode = nil, isPaymentToken = nil, cryptogram = nil) |
|
283
|
|
|
@cardNumber = cardNumber |
|
284
|
|
|
@expirationDate = expirationDate |
|
285
|
|
|
@cardCode = cardCode |
|
286
|
|
|
@isPaymentToken = isPaymentToken |
|
287
|
|
|
@cryptogram = cryptogram |
|
288
|
|
|
end |
|
289
|
|
|
end |
|
290
|
|
|
|
|
291
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardTrackType |
|
292
|
|
|
# track1 - SOAP::SOAPString |
|
293
|
|
|
# track2 - SOAP::SOAPString |
|
294
|
|
|
class CreditCardTrackType |
|
295
|
|
|
include ROXML |
|
296
|
|
|
xml_accessor :track1 |
|
297
|
|
|
xml_accessor :track2 |
|
298
|
|
|
|
|
299
|
|
|
def initialize(track1 = nil, track2 = nil) |
|
300
|
|
|
@track1 = track1 |
|
301
|
|
|
@track2 = track2 |
|
302
|
|
|
end |
|
303
|
|
|
end |
|
304
|
|
|
|
|
305
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardMaskedType |
|
306
|
|
|
# cardNumber - SOAP::SOAPString |
|
307
|
|
|
# expirationDate - SOAP::SOAPString |
|
308
|
|
|
# cardType - SOAP::SOAPString |
|
309
|
|
|
# cardArt - CardArt |
|
310
|
|
|
class CreditCardMaskedType |
|
311
|
|
|
include ROXML |
|
312
|
|
|
xml_accessor :cardNumber |
|
313
|
|
|
xml_accessor :expirationDate |
|
314
|
|
|
xml_accessor :cardType |
|
315
|
|
|
xml_accessor :cardArt |
|
316
|
|
|
|
|
317
|
|
|
def initialize(cardNumber = nil, expirationDate = nil, cardType = nil) |
|
318
|
|
|
@cardNumber = cardNumber |
|
319
|
|
|
@expirationDate = expirationDate |
|
320
|
|
|
@cardType = cardType |
|
321
|
|
|
@cardArt = cardArt |
|
322
|
|
|
end |
|
323
|
|
|
end |
|
324
|
|
|
|
|
325
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ccAuthenticationType |
|
326
|
|
|
# authenticationIndicator - SOAP::SOAPString |
|
327
|
|
|
# cardholderAuthenticationValue - SOAP::SOAPString |
|
328
|
|
|
class CcAuthenticationType |
|
329
|
|
|
include ROXML |
|
330
|
|
|
xml_accessor :authenticationIndicator |
|
331
|
|
|
xml_accessor :cardholderAuthenticationValue |
|
332
|
|
|
|
|
333
|
|
|
def initialize(authenticationIndicator = nil, cardholderAuthenticationValue = nil) |
|
334
|
|
|
@authenticationIndicator = authenticationIndicator |
|
335
|
|
|
@cardholderAuthenticationValue = cardholderAuthenticationValue |
|
336
|
|
|
end |
|
337
|
|
|
end |
|
338
|
|
|
|
|
339
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountType |
|
340
|
|
|
# accountType - BankAccountTypeEnum |
|
341
|
|
|
# routingNumber - SOAP::SOAPString |
|
342
|
|
|
# accountNumber - SOAP::SOAPString |
|
343
|
|
|
# nameOnAccount - SOAP::SOAPString |
|
344
|
|
|
# echeckType - EcheckTypeEnum |
|
345
|
|
|
# bankName - SOAP::SOAPString |
|
346
|
|
|
# checkNumber - SOAP::SOAPString |
|
347
|
|
View Code Duplication |
class BankAccountType |
|
|
|
|
|
|
348
|
|
|
include ROXML |
|
349
|
|
|
xml_accessor :accountType |
|
350
|
|
|
xml_accessor :routingNumber |
|
351
|
|
|
xml_accessor :accountNumber |
|
352
|
|
|
xml_accessor :nameOnAccount |
|
353
|
|
|
xml_accessor :echeckType |
|
354
|
|
|
xml_accessor :bankName |
|
355
|
|
|
xml_accessor :checkNumber |
|
356
|
|
|
|
|
357
|
|
|
def initialize(accountType = nil, routingNumber = nil, accountNumber = nil, nameOnAccount = nil, echeckType = nil, bankName = nil, checkNumber = nil) |
|
358
|
|
|
@accountType = accountType |
|
359
|
|
|
@routingNumber = routingNumber |
|
360
|
|
|
@accountNumber = accountNumber |
|
361
|
|
|
@nameOnAccount = nameOnAccount |
|
362
|
|
|
@echeckType = echeckType |
|
363
|
|
|
@bankName = bankName |
|
364
|
|
|
@checkNumber = checkNumber |
|
365
|
|
|
end |
|
366
|
|
|
end |
|
367
|
|
|
|
|
368
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountMaskedType |
|
369
|
|
|
# accountType - BankAccountTypeEnum |
|
370
|
|
|
# routingNumber - SOAP::SOAPString |
|
371
|
|
|
# accountNumber - SOAP::SOAPString |
|
372
|
|
|
# nameOnAccount - SOAP::SOAPString |
|
373
|
|
|
# echeckType - EcheckTypeEnum |
|
374
|
|
|
# bankName - SOAP::SOAPString |
|
375
|
|
View Code Duplication |
class BankAccountMaskedType |
|
|
|
|
|
|
376
|
|
|
include ROXML |
|
377
|
|
|
xml_accessor :accountType |
|
378
|
|
|
xml_accessor :routingNumber |
|
379
|
|
|
xml_accessor :accountNumber |
|
380
|
|
|
xml_accessor :nameOnAccount |
|
381
|
|
|
xml_accessor :echeckType |
|
382
|
|
|
xml_accessor :bankName |
|
383
|
|
|
|
|
384
|
|
|
def initialize(accountType = nil, routingNumber = nil, accountNumber = nil, nameOnAccount = nil, echeckType = nil, bankName = nil) |
|
385
|
|
|
@accountType = accountType |
|
386
|
|
|
@routingNumber = routingNumber |
|
387
|
|
|
@accountNumber = accountNumber |
|
388
|
|
|
@nameOnAccount = nameOnAccount |
|
389
|
|
|
@echeckType = echeckType |
|
390
|
|
|
@bankName = bankName |
|
391
|
|
|
end |
|
392
|
|
|
end |
|
393
|
|
|
|
|
394
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}opaqueDataType |
|
395
|
|
|
# dataDescriptor - SOAP::SOAPString |
|
396
|
|
|
# dataValue - SOAP::SOAPString |
|
397
|
|
|
# dataKey - SOAP::SOAPString |
|
398
|
|
|
class OpaqueDataType |
|
399
|
|
|
include ROXML |
|
400
|
|
|
xml_accessor :dataDescriptor |
|
401
|
|
|
xml_accessor :dataValue |
|
402
|
|
|
xml_accessor :dataKey |
|
403
|
|
|
|
|
404
|
|
|
def initialize(dataDescriptor = nil, dataValue = nil, dataKey = nil) |
|
405
|
|
|
@dataDescriptor = dataDescriptor |
|
406
|
|
|
@dataValue = dataValue |
|
407
|
|
|
@dataKey = dataKey |
|
408
|
|
|
end |
|
409
|
|
|
end |
|
410
|
|
|
|
|
411
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentEmvType |
|
412
|
|
|
# emvData - SOAP::SOAPString |
|
413
|
|
|
# emvDescriptor - SOAP::SOAPString |
|
414
|
|
|
# emvVersion - SOAP::SOAPString |
|
415
|
|
|
class PaymentEmvType |
|
416
|
|
|
include ROXML |
|
417
|
|
|
xml_accessor :emvData |
|
418
|
|
|
xml_accessor :emvDescriptor |
|
419
|
|
|
xml_accessor :emvVersion |
|
420
|
|
|
|
|
421
|
|
|
def initialize(emvData = nil, emvDescriptor = nil, emvVersion = nil) |
|
422
|
|
|
@emvData = emvData |
|
423
|
|
|
@emvDescriptor = emvDescriptor |
|
424
|
|
|
@emvVersion = emvVersion |
|
425
|
|
|
end |
|
426
|
|
|
end |
|
427
|
|
|
|
|
428
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentSimpleType |
|
429
|
|
|
# creditCard - CreditCardSimpleType |
|
430
|
|
|
# bankAccount - BankAccountType |
|
431
|
|
|
class PaymentSimpleType |
|
432
|
|
|
include ROXML |
|
433
|
|
|
xml_accessor :creditCard |
|
434
|
|
|
xml_accessor :bankAccount |
|
435
|
|
|
|
|
436
|
|
|
def initialize(creditCard = nil, bankAccount = nil) |
|
437
|
|
|
@creditCard = creditCard |
|
438
|
|
|
@bankAccount = bankAccount |
|
439
|
|
|
end |
|
440
|
|
|
end |
|
441
|
|
|
|
|
442
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}OperationType |
|
443
|
|
|
class OperationType < ::String |
|
444
|
|
|
DECRYPT = OperationType.new("DECRYPT") |
|
445
|
|
|
end |
|
446
|
|
|
|
|
447
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}KeyManagementScheme |
|
448
|
|
|
# dUKPT - KeyManagementScheme::DUKPT |
|
449
|
|
|
class KeyManagementScheme |
|
450
|
|
|
include ROXML |
|
451
|
|
|
# inner class for member: DUKPT |
|
452
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}DUKPT |
|
453
|
|
|
# operation - OperationType |
|
454
|
|
|
# mode - KeyManagementScheme::DUKPT::Mode |
|
455
|
|
|
# deviceInfo - KeyManagementScheme::DUKPT::DeviceInfo |
|
456
|
|
|
# encryptedData - KeyManagementScheme::DUKPT::EncryptedData |
|
457
|
|
|
class DUKPT |
|
458
|
|
|
include ROXML |
|
459
|
|
|
# inner class for member: Mode |
|
460
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}Mode |
|
461
|
|
|
# pIN - SOAP::SOAPString |
|
462
|
|
|
# data - SOAP::SOAPString |
|
463
|
|
|
class Mode |
|
464
|
|
|
include ROXML |
|
465
|
|
|
xml_accessor :PIN |
|
466
|
|
|
xml_accessor :Data |
|
467
|
|
|
|
|
468
|
|
|
def initialize(pIN = nil, data = nil) |
|
469
|
|
|
@pIN = pIN |
|
470
|
|
|
@data = data |
|
471
|
|
|
end |
|
472
|
|
|
end |
|
473
|
|
|
|
|
474
|
|
|
# inner class for member: DeviceInfo |
|
475
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}DeviceInfo |
|
476
|
|
|
# description - SOAP::SOAPString |
|
477
|
|
|
class DeviceInfo |
|
478
|
|
|
include ROXML |
|
479
|
|
|
xml_accessor :Description |
|
480
|
|
|
|
|
481
|
|
|
def initialize(description = nil) |
|
482
|
|
|
@description = description |
|
483
|
|
|
end |
|
484
|
|
|
end |
|
485
|
|
|
|
|
486
|
|
|
# inner class for member: EncryptedData |
|
487
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EncryptedData |
|
488
|
|
|
# value - SOAP::SOAPString |
|
489
|
|
|
class EncryptedData |
|
490
|
|
|
include ROXML |
|
491
|
|
|
xml_accessor :Value |
|
492
|
|
|
|
|
493
|
|
|
def initialize(value = nil) |
|
494
|
|
|
@value = value |
|
495
|
|
|
end |
|
496
|
|
|
end |
|
497
|
|
|
|
|
498
|
|
|
xml_accessor :Operation |
|
499
|
|
|
xml_accessor :Mode, :as => Mode |
|
500
|
|
|
xml_accessor :DeviceInfo, :as => DeviceInfo |
|
501
|
|
|
xml_accessor :EncryptedData, :as => EncryptedData |
|
502
|
|
|
|
|
503
|
|
|
def initialize(operation = nil, mode = nil, deviceInfo = nil, encryptedData = nil) |
|
504
|
|
|
@operation = operation |
|
505
|
|
|
@mode = mode |
|
506
|
|
|
@deviceInfo = deviceInfo |
|
507
|
|
|
@encryptedData = encryptedData |
|
508
|
|
|
end |
|
509
|
|
|
end |
|
510
|
|
|
|
|
511
|
|
|
xml_accessor :DUKPT, :as => DUKPT |
|
512
|
|
|
|
|
513
|
|
|
def initialize(dUKPT = nil) |
|
514
|
|
|
@dUKPT = dUKPT |
|
515
|
|
|
end |
|
516
|
|
|
end |
|
517
|
|
|
|
|
518
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EncryptionAlgorithmType |
|
519
|
|
|
class EncryptionAlgorithmType < ::String |
|
520
|
|
|
AES = EncryptionAlgorithmType.new("AES") |
|
521
|
|
|
RSA = EncryptionAlgorithmType.new("RSA") |
|
522
|
|
|
TDES = EncryptionAlgorithmType.new("TDES") |
|
523
|
|
|
end |
|
524
|
|
|
|
|
525
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EncodingType |
|
526
|
|
|
class EncodingType < ::String |
|
527
|
|
|
Base64 = EncodingType.new("Base64") |
|
528
|
|
|
Hex = EncodingType.new("Hex") |
|
529
|
|
|
end |
|
530
|
|
|
|
|
531
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}KeyValue |
|
532
|
|
|
# encoding - EncodingType |
|
533
|
|
|
# encryptionAlgorithm - EncryptionAlgorithmType |
|
534
|
|
|
# scheme - KeyManagementScheme |
|
535
|
|
View Code Duplication |
class KeyValue |
|
|
|
|
|
|
536
|
|
|
include ROXML |
|
537
|
|
|
xml_accessor :Encoding |
|
538
|
|
|
xml_accessor :EncryptionAlgorithm |
|
539
|
|
|
xml_accessor :Scheme, :as => KeyManagementScheme |
|
540
|
|
|
|
|
541
|
|
|
def initialize(encoding = nil, encryptionAlgorithm = nil, scheme = nil) |
|
542
|
|
|
@encoding = encoding |
|
543
|
|
|
@encryptionAlgorithm = encryptionAlgorithm |
|
544
|
|
|
@scheme = scheme |
|
545
|
|
|
end |
|
546
|
|
|
end |
|
547
|
|
|
|
|
548
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}KeyBlock |
|
549
|
|
|
# value - KeyValue |
|
550
|
|
|
class KeyBlock |
|
551
|
|
|
include ROXML |
|
552
|
|
|
xml_accessor :Value, :as => KeyValue |
|
553
|
|
|
|
|
554
|
|
|
def initialize(value = nil) |
|
555
|
|
|
@value = value |
|
556
|
|
|
end |
|
557
|
|
|
end |
|
558
|
|
|
|
|
559
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}encryptedTrackDataType |
|
560
|
|
|
# formOfPayment - KeyBlock |
|
561
|
|
|
class EncryptedTrackDataType |
|
562
|
|
|
include ROXML |
|
563
|
|
|
xml_accessor :FormOfPayment, :as => KeyBlock |
|
564
|
|
|
|
|
565
|
|
|
def initialize(formOfPayment = nil) |
|
566
|
|
|
@formOfPayment = formOfPayment |
|
567
|
|
|
end |
|
568
|
|
|
end |
|
569
|
|
|
|
|
570
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}payPalType |
|
571
|
|
|
# successUrl - SOAP::SOAPString |
|
572
|
|
|
# cancelUrl - SOAP::SOAPString |
|
573
|
|
|
# paypalLc - SOAP::SOAPString |
|
574
|
|
|
# paypalHdrImg - SOAP::SOAPString |
|
575
|
|
|
# paypalPayflowcolor - SOAP::SOAPString |
|
576
|
|
|
# payerID - SOAP::SOAPString |
|
577
|
|
|
class PayPalType |
|
578
|
|
|
include ROXML |
|
579
|
|
|
xml_accessor :successUrl |
|
580
|
|
|
xml_accessor :cancelUrl |
|
581
|
|
|
xml_accessor :paypalLc |
|
582
|
|
|
xml_accessor :paypalHdrImg |
|
583
|
|
|
xml_accessor :paypalPayflowcolor |
|
584
|
|
|
xml_accessor :payerID |
|
585
|
|
|
|
|
586
|
|
|
def initialize(successUrl = nil, cancelUrl = nil, paypalLc = nil, paypalHdrImg = nil, paypalPayflowcolor = nil, payerID = nil) |
|
587
|
|
|
@successUrl = successUrl |
|
588
|
|
|
@cancelUrl = cancelUrl |
|
589
|
|
|
@paypalLc = paypalLc |
|
590
|
|
|
@paypalHdrImg = paypalHdrImg |
|
591
|
|
|
@paypalPayflowcolor = paypalPayflowcolor |
|
592
|
|
|
@payerID = payerID |
|
593
|
|
|
end |
|
594
|
|
|
end |
|
595
|
|
|
|
|
596
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentType |
|
597
|
|
|
# creditCard - CreditCardType |
|
598
|
|
|
# bankAccount - BankAccountType |
|
599
|
|
|
# trackData - CreditCardTrackType |
|
600
|
|
|
# encryptedTrackData - EncryptedTrackDataType |
|
601
|
|
|
# payPal - PayPalType |
|
602
|
|
|
# opaqueData - OpaqueDataType |
|
603
|
|
|
# emv - PaymentEmvType |
|
604
|
|
|
class PaymentType |
|
605
|
|
|
include ROXML |
|
606
|
|
|
xml_accessor :creditCard, :as => CreditCardType |
|
607
|
|
|
xml_accessor :bankAccount, :as => BankAccountType |
|
608
|
|
|
xml_accessor :trackData, :as => CreditCardTrackType |
|
609
|
|
|
xml_accessor :encryptedTrackData, :as => EncryptedTrackDataType |
|
610
|
|
|
xml_accessor :payPal, :as => PayPalType |
|
611
|
|
|
xml_accessor :opaqueData, :as => OpaqueDataType |
|
612
|
|
|
xml_accessor :emv, :as => PaymentEmvType |
|
613
|
|
|
|
|
614
|
|
|
def initialize(creditCard = nil, bankAccount = nil, trackData = nil, encryptedTrackData = nil, payPal = nil, opaqueData = nil, emv = nil) |
|
615
|
|
|
@creditCard = creditCard |
|
616
|
|
|
@bankAccount = bankAccount |
|
617
|
|
|
@trackData = trackData |
|
618
|
|
|
@encryptedTrackData = encryptedTrackData |
|
619
|
|
|
@payPal = payPal |
|
620
|
|
|
@opaqueData = opaqueData |
|
621
|
|
|
@emv = emv |
|
622
|
|
|
end |
|
623
|
|
|
end |
|
624
|
|
|
|
|
625
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentMaskedType |
|
626
|
|
|
# creditCard - CreditCardMaskedType |
|
627
|
|
|
# bankAccount - BankAccountMaskedType |
|
628
|
|
|
# tokenInformation - TokenMaskedType |
|
629
|
|
View Code Duplication |
class PaymentMaskedType |
|
|
|
|
|
|
630
|
|
|
include ROXML |
|
631
|
|
|
xml_accessor :creditCard, :as => CreditCardMaskedType |
|
632
|
|
|
xml_accessor :bankAccount, :as => BankAccountMaskedType |
|
633
|
|
|
xml_accessor :tokenInformation |
|
634
|
|
|
|
|
635
|
|
|
def initialize(creditCard = nil, bankAccount = nil, tokenInformation = nil) |
|
636
|
|
|
@creditCard = creditCard |
|
637
|
|
|
@bankAccount = bankAccount |
|
638
|
|
|
@tokenInformation = tokenInformation |
|
639
|
|
|
end |
|
640
|
|
|
end |
|
641
|
|
|
|
|
642
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}tokenMaskedType |
|
643
|
|
|
# tokenSource - SOAP::SOAPString |
|
644
|
|
|
# tokenNumber - SOAP::SOAPString |
|
645
|
|
|
# expirationDate - SOAP::SOAPString |
|
646
|
|
|
class TokenMaskedType |
|
647
|
|
|
include ROXML |
|
648
|
|
|
xml_accessor :tokenSource |
|
649
|
|
|
xml_accessor :tokenNumber |
|
650
|
|
|
xml_accessor :expirationDate |
|
651
|
|
|
|
|
652
|
|
|
def initialize(tokenSource = nil, tokenNumber = nil, expirationDate = nil) |
|
653
|
|
|
@tokenSource = tokenSource |
|
654
|
|
|
@tokenNumber = tokenNumber |
|
655
|
|
|
@expirationDate = expirationDate |
|
656
|
|
|
end |
|
657
|
|
|
end |
|
658
|
|
|
|
|
659
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}orderType |
|
660
|
|
|
# invoiceNumber - SOAP::SOAPString |
|
661
|
|
|
# description - SOAP::SOAPString |
|
662
|
|
View Code Duplication |
class OrderType |
|
|
|
|
|
|
663
|
|
|
include ROXML |
|
664
|
|
|
xml_accessor :invoiceNumber |
|
665
|
|
|
xml_accessor :description |
|
666
|
|
|
|
|
667
|
|
|
def initialize(invoiceNumber = nil, description = nil) |
|
668
|
|
|
@invoiceNumber = invoiceNumber |
|
669
|
|
|
@description = description |
|
670
|
|
|
end |
|
671
|
|
|
end |
|
672
|
|
|
|
|
673
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}orderExType |
|
674
|
|
|
# invoiceNumber - SOAP::SOAPString |
|
675
|
|
|
# description - SOAP::SOAPString |
|
676
|
|
|
# purchaseOrderNumber - SOAP::SOAPString |
|
677
|
|
View Code Duplication |
class OrderExType |
|
|
|
|
|
|
678
|
|
|
include ROXML |
|
679
|
|
|
xml_accessor :invoiceNumber |
|
680
|
|
|
xml_accessor :description |
|
681
|
|
|
xml_accessor :purchaseOrderNumber |
|
682
|
|
|
|
|
683
|
|
|
def initialize(invoiceNumber = nil, description = nil, purchaseOrderNumber = nil) |
|
684
|
|
|
@invoiceNumber = invoiceNumber |
|
685
|
|
|
@description = description |
|
686
|
|
|
@purchaseOrderNumber = purchaseOrderNumber |
|
687
|
|
|
end |
|
688
|
|
|
end |
|
689
|
|
|
|
|
690
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerType |
|
691
|
|
|
# type - CustomerTypeEnum |
|
692
|
|
|
# id - SOAP::SOAPString |
|
693
|
|
|
# email - SOAP::SOAPString |
|
694
|
|
|
# phoneNumber - SOAP::SOAPString |
|
695
|
|
|
# faxNumber - SOAP::SOAPString |
|
696
|
|
|
# driversLicense - DriversLicenseType |
|
697
|
|
|
# taxId - SOAP::SOAPString |
|
698
|
|
|
class CustomerType |
|
699
|
|
|
include ROXML |
|
700
|
|
|
xml_accessor :type |
|
701
|
|
|
xml_accessor :id |
|
702
|
|
|
xml_accessor :email |
|
703
|
|
|
xml_accessor :phoneNumber |
|
704
|
|
|
xml_accessor :faxNumber |
|
705
|
|
|
xml_accessor :driversLicense |
|
706
|
|
|
xml_accessor :taxId |
|
707
|
|
|
|
|
708
|
|
|
def initialize(type = nil, id = nil, email = nil, phoneNumber = nil, faxNumber = nil, driversLicense = nil, taxId = nil) |
|
709
|
|
|
@type = type |
|
710
|
|
|
@id = id |
|
711
|
|
|
@email = email |
|
712
|
|
|
@phoneNumber = phoneNumber |
|
713
|
|
|
@faxNumber = faxNumber |
|
714
|
|
|
@driversLicense = driversLicense |
|
715
|
|
|
@taxId = taxId |
|
716
|
|
|
end |
|
717
|
|
|
end |
|
718
|
|
|
|
|
719
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerDataType |
|
720
|
|
|
# type - CustomerTypeEnum |
|
721
|
|
|
# id - SOAP::SOAPString |
|
722
|
|
|
# email - SOAP::SOAPString |
|
723
|
|
|
# driversLicense - DriversLicenseType |
|
724
|
|
|
# taxId - SOAP::SOAPString |
|
725
|
|
|
class CustomerDataType |
|
726
|
|
|
include ROXML |
|
727
|
|
|
xml_accessor :type |
|
728
|
|
|
xml_accessor :id |
|
729
|
|
|
xml_accessor :email |
|
730
|
|
|
xml_accessor :driversLicense, :as => DriversLicenseType |
|
731
|
|
|
xml_accessor :taxId |
|
732
|
|
|
|
|
733
|
|
|
def initialize(type = nil, id = nil, email = nil, driversLicense = nil, taxId = nil) |
|
734
|
|
|
@type = type |
|
735
|
|
|
@id = id |
|
736
|
|
|
@email = email |
|
737
|
|
|
@driversLicense = driversLicense |
|
738
|
|
|
@taxId = taxId |
|
739
|
|
|
end |
|
740
|
|
|
end |
|
741
|
|
|
|
|
742
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}impersonationAuthenticationType |
|
743
|
|
|
# partnerLoginId - SOAP::SOAPString |
|
744
|
|
|
# partnerTransactionKey - SOAP::SOAPString |
|
745
|
|
|
class ImpersonationAuthenticationType |
|
746
|
|
|
include ROXML |
|
747
|
|
|
xml_accessor :partnerLoginId |
|
748
|
|
|
xml_accessor :partnerTransactionKey |
|
749
|
|
|
|
|
750
|
|
|
def initialize(partnerLoginId = nil, partnerTransactionKey = nil) |
|
751
|
|
|
@partnerLoginId = partnerLoginId |
|
752
|
|
|
@partnerTransactionKey = partnerTransactionKey |
|
753
|
|
|
end |
|
754
|
|
|
end |
|
755
|
|
|
|
|
756
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}fingerPrintType |
|
757
|
|
|
# hashValue - SOAP::SOAPString |
|
758
|
|
|
# sequence - SOAP::SOAPString |
|
759
|
|
|
# timestamp - SOAP::SOAPString |
|
760
|
|
|
# currencyCode - SOAP::SOAPString |
|
761
|
|
|
# amount - SOAP::SOAPString |
|
762
|
|
View Code Duplication |
class FingerPrintType |
|
|
|
|
|
|
763
|
|
|
include ROXML |
|
764
|
|
|
xml_accessor :hashValue |
|
765
|
|
|
xml_accessor :sequence |
|
766
|
|
|
xml_accessor :timestamp |
|
767
|
|
|
xml_accessor :currencyCode |
|
768
|
|
|
xml_accessor :amount |
|
769
|
|
|
|
|
770
|
|
|
def initialize(hashValue = nil, sequence = nil, timestamp = nil, currencyCode = nil, amount = nil) |
|
771
|
|
|
@hashValue = hashValue |
|
772
|
|
|
@sequence = sequence |
|
773
|
|
|
@timestamp = timestamp |
|
774
|
|
|
@currencyCode = currencyCode |
|
775
|
|
|
@amount = amount |
|
776
|
|
|
end |
|
777
|
|
|
end |
|
778
|
|
|
|
|
779
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}merchantAuthenticationType |
|
780
|
|
|
# name - SOAP::SOAPString |
|
781
|
|
|
# transactionKey - SOAP::SOAPString |
|
782
|
|
|
# sessionToken - SOAP::SOAPString |
|
783
|
|
|
# password - SOAP::SOAPString |
|
784
|
|
|
# impersonationAuthentication - ImpersonationAuthenticationType |
|
785
|
|
|
# fingerPrint - FingerPrintType |
|
786
|
|
|
# mobileDeviceId - SOAP::SOAPString |
|
787
|
|
|
class MerchantAuthenticationType |
|
788
|
|
|
include ROXML |
|
789
|
|
|
xml_accessor :name |
|
790
|
|
|
xml_accessor :transactionKey |
|
791
|
|
|
xml_accessor :sessionToken |
|
792
|
|
|
xml_accessor :password |
|
793
|
|
|
xml_accessor :impersonationAuthentication, :as => ImpersonationAuthenticationType |
|
794
|
|
|
xml_accessor :fingerPrint, :as => FingerPrintType |
|
795
|
|
|
xml_accessor :mobileDeviceId |
|
796
|
|
|
|
|
797
|
|
|
def initialize(name = nil, transactionKey = nil, sessionToken = nil, password = nil, impersonationAuthentication = nil, fingerPrint = nil, mobileDeviceId = nil) |
|
798
|
|
|
@name = name |
|
799
|
|
|
@transactionKey = transactionKey |
|
800
|
|
|
@sessionToken = sessionToken |
|
801
|
|
|
@password = password |
|
802
|
|
|
@impersonationAuthentication = impersonationAuthentication |
|
803
|
|
|
@fingerPrint = fingerPrint |
|
804
|
|
|
@mobileDeviceId = mobileDeviceId |
|
805
|
|
|
end |
|
806
|
|
|
end |
|
807
|
|
|
|
|
808
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}cardArt |
|
809
|
|
|
# cardBrand - SOAP::SOAPString |
|
810
|
|
|
# cardImageHeight - SOAP::SOAPString |
|
811
|
|
|
# cardImageUrl - SOAP::SOAPString |
|
812
|
|
|
# cardImageWidth - SOAP::SOAPString |
|
813
|
|
|
# cardType - SOAP::SOAPString |
|
814
|
|
|
class CardArt |
|
815
|
|
|
include ROXML |
|
816
|
|
|
xml_accessor :cardBrand |
|
817
|
|
|
xml_accessor :cardImageHeight |
|
818
|
|
|
xml_accessor :cardImageUrl |
|
819
|
|
|
xml_accessor :cardImageWidth |
|
820
|
|
|
xml_accessor :cardType |
|
821
|
|
|
|
|
822
|
|
|
def initialize(cardBrand = nil, cardImageHeight = nil, cardImageUrl = nil, cardImageWidth = nil, cardType = nil) |
|
823
|
|
|
@cardBrand = cardBrand |
|
824
|
|
|
@cardImageHeight = cardImageHeight |
|
825
|
|
|
@cardImageUrl = cardImageUrl |
|
826
|
|
|
@cardImageWidth = cardImageWidth |
|
827
|
|
|
@cardType = cardType |
|
828
|
|
|
end |
|
829
|
|
|
end |
|
830
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentDetails |
|
831
|
|
|
# currency - SOAP::SOAPString |
|
832
|
|
|
# promoCode - SOAP::SOAPString |
|
833
|
|
|
# misc - SOAP::SOAPString |
|
834
|
|
|
# giftWrap - SOAP::SOAPString |
|
835
|
|
|
# discount - SOAP::SOAPString |
|
836
|
|
|
# tax - SOAP::SOAPString |
|
837
|
|
|
# shippingHandling - SOAP::SOAPString |
|
838
|
|
|
# subTotal - SOAP::SOAPString |
|
839
|
|
|
# orderID - SOAP::SOAPString |
|
840
|
|
|
# amount - SOAP::SOAPString |
|
841
|
|
|
class PaymentDetails |
|
842
|
|
|
include ROXML |
|
843
|
|
|
xml_accessor :currency |
|
844
|
|
|
xml_accessor :promoCode |
|
845
|
|
|
xml_accessor :misc |
|
846
|
|
|
xml_accessor :giftWrap |
|
847
|
|
|
xml_accessor :discount |
|
848
|
|
|
xml_accessor :tax |
|
849
|
|
|
xml_accessor :shippingHandling |
|
850
|
|
|
xml_accessor :subTotal |
|
851
|
|
|
xml_accessor :orderID |
|
852
|
|
|
xml_accessor :amount |
|
853
|
|
|
|
|
854
|
|
|
def initialize(currency = nil, promoCode = nil, misc = nil, giftWrap = nil, discount = nil, tax = nil, shippingHandling = nil, subTotal = nil, orderID = nil, amount = nil) |
|
855
|
|
|
@currency = currency |
|
856
|
|
|
@promoCode = promoCode |
|
857
|
|
|
@misc = misc |
|
858
|
|
|
@giftWrap = giftWrap |
|
859
|
|
|
@discount = discount |
|
860
|
|
|
@tax = tax |
|
861
|
|
|
@shippingHandling = shippingHandling |
|
862
|
|
|
@subTotal = subTotal |
|
863
|
|
|
@orderID = orderID |
|
864
|
|
|
@amount = amount |
|
865
|
|
|
end |
|
866
|
|
|
end |
|
867
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentScheduleType |
|
868
|
|
|
# interval - PaymentScheduleType::Interval |
|
869
|
|
|
# startDate - SOAP::SOAPDate |
|
870
|
|
|
# totalOccurrences - SOAP::SOAPShort |
|
871
|
|
|
# trialOccurrences - SOAP::SOAPShort |
|
872
|
|
|
class PaymentScheduleType |
|
873
|
|
|
include ROXML |
|
874
|
|
|
|
|
875
|
|
|
# inner class for member: interval |
|
876
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}interval |
|
877
|
|
|
# length - SOAP::SOAPShort |
|
878
|
|
|
# unit - ARBSubscriptionUnitEnum |
|
879
|
|
|
class Interval |
|
880
|
|
|
include ROXML |
|
881
|
|
|
xml_accessor :length |
|
882
|
|
|
xml_accessor :unit |
|
883
|
|
|
|
|
884
|
|
|
def initialize(length = nil, unit = nil) |
|
885
|
|
|
@length = length |
|
886
|
|
|
@unit = unit |
|
887
|
|
|
end |
|
888
|
|
|
end |
|
889
|
|
|
|
|
890
|
|
|
xml_accessor :interval, :as => Interval |
|
891
|
|
|
xml_accessor :startDate |
|
892
|
|
|
xml_accessor :totalOccurrences |
|
893
|
|
|
xml_accessor :trialOccurrences |
|
894
|
|
|
|
|
895
|
|
|
def initialize(interval = nil, startDate = nil, totalOccurrences = nil, trialOccurrences = nil) |
|
896
|
|
|
@interval = interval |
|
897
|
|
|
@startDate = startDate |
|
898
|
|
|
@totalOccurrences = totalOccurrences |
|
899
|
|
|
@trialOccurrences = trialOccurrences |
|
900
|
|
|
end |
|
901
|
|
|
end |
|
902
|
|
|
|
|
903
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileIdType |
|
904
|
|
|
# customerProfileId - SOAP::SOAPString |
|
905
|
|
|
# customerPaymentProfileId - SOAP::SOAPString |
|
906
|
|
|
# customerAddressId - SOAP::SOAPString |
|
907
|
|
View Code Duplication |
class CustomerProfileIdType |
|
|
|
|
|
|
908
|
|
|
include ROXML |
|
909
|
|
|
xml_accessor :customerProfileId |
|
910
|
|
|
xml_accessor :customerPaymentProfileId |
|
911
|
|
|
xml_accessor :customerAddressId |
|
912
|
|
|
|
|
913
|
|
|
def initialize(customerProfileId = nil, customerPaymentProfileId = nil, customerAddressId = nil) |
|
914
|
|
|
@customerProfileId = customerProfileId |
|
915
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
916
|
|
|
@customerAddressId = customerAddressId |
|
917
|
|
|
end |
|
918
|
|
|
end |
|
919
|
|
|
|
|
920
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionType |
|
921
|
|
|
# name - SOAP::SOAPString |
|
922
|
|
|
# paymentSchedule - PaymentScheduleType |
|
923
|
|
|
# amount - SOAP::SOAPDecimal |
|
924
|
|
|
# trialAmount - SOAP::SOAPDecimal |
|
925
|
|
|
# payment - PaymentType |
|
926
|
|
|
# order - OrderType |
|
927
|
|
|
# customer - CustomerType |
|
928
|
|
|
# billTo - NameAndAddressType |
|
929
|
|
|
# shipTo - NameAndAddressType |
|
930
|
|
|
# profile - CustomerProfileIdType |
|
931
|
|
|
class ARBSubscriptionType |
|
932
|
|
|
include ROXML |
|
933
|
|
|
xml_accessor :name |
|
934
|
|
|
xml_accessor :paymentSchedule, :as => PaymentScheduleType |
|
935
|
|
|
xml_accessor :amount |
|
936
|
|
|
xml_accessor :trialAmount |
|
937
|
|
|
xml_accessor :payment, :as => PaymentType |
|
938
|
|
|
xml_accessor :order, :as => OrderType |
|
939
|
|
|
xml_accessor :customer, :as => CustomerType |
|
940
|
|
|
xml_accessor :billTo, :as => NameAndAddressType |
|
941
|
|
|
xml_accessor :shipTo, :as => NameAndAddressType |
|
942
|
|
|
xml_accessor :profile, :as => CustomerProfileIdType |
|
943
|
|
|
|
|
944
|
|
|
def initialize(name = nil, paymentSchedule = nil, amount = nil, trialAmount = nil, payment = nil, order = nil, customer = nil, billTo = nil, shipTo = nil, profile = nil) |
|
945
|
|
|
@name = name |
|
946
|
|
|
@paymentSchedule = paymentSchedule |
|
947
|
|
|
@amount = amount |
|
948
|
|
|
@trialAmount = trialAmount |
|
949
|
|
|
@payment = payment |
|
950
|
|
|
@order = order |
|
951
|
|
|
@customer = customer |
|
952
|
|
|
@billTo = billTo |
|
953
|
|
|
@shipTo = shipTo |
|
954
|
|
|
@profile = profile |
|
955
|
|
|
end |
|
956
|
|
|
end |
|
957
|
|
|
|
|
958
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}subscriptionPaymentType |
|
959
|
|
|
# id - SOAP::SOAPInt |
|
960
|
|
|
# payNum - SOAP::SOAPInt |
|
961
|
|
|
class SubscriptionPaymentType |
|
962
|
|
|
include ROXML |
|
963
|
|
|
xml_accessor :id |
|
964
|
|
|
xml_accessor :payNum |
|
965
|
|
|
|
|
966
|
|
|
def initialize(id = nil, payNum = nil) |
|
967
|
|
|
@id = id |
|
968
|
|
|
@payNum = payNum |
|
969
|
|
|
end |
|
970
|
|
|
end |
|
971
|
|
|
|
|
972
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceType |
|
973
|
|
|
# mobileDeviceId - SOAP::SOAPString |
|
974
|
|
|
# description - SOAP::SOAPString |
|
975
|
|
|
# phoneNumber - SOAP::SOAPString |
|
976
|
|
|
# devicePlatform - SOAP::SOAPString |
|
977
|
|
|
# deviceActivation - DeviceActivationEnum |
|
978
|
|
View Code Duplication |
class MobileDeviceType |
|
|
|
|
|
|
979
|
|
|
include ROXML |
|
980
|
|
|
xml_accessor :mobileDeviceId |
|
981
|
|
|
xml_accessor :description |
|
982
|
|
|
xml_accessor :phoneNumber |
|
983
|
|
|
xml_accessor :devicePlatform |
|
984
|
|
|
xml_accessor :deviceActivation |
|
985
|
|
|
|
|
986
|
|
|
def initialize(mobileDeviceId = nil, description = nil, phoneNumber = nil, devicePlatform = nil, deviceActivation = nil) |
|
987
|
|
|
@mobileDeviceId = mobileDeviceId |
|
988
|
|
|
@description = description |
|
989
|
|
|
@phoneNumber = phoneNumber |
|
990
|
|
|
@devicePlatform = devicePlatform |
|
991
|
|
|
@deviceActivation = deviceActivation |
|
992
|
|
|
end |
|
993
|
|
|
end |
|
994
|
|
|
|
|
995
|
|
|
|
|
996
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settingType |
|
997
|
|
|
# settingName - SOAP::SOAPString |
|
998
|
|
|
# settingValue - SOAP::SOAPString |
|
999
|
|
|
class SettingType |
|
1000
|
|
|
include ROXML |
|
1001
|
|
|
xml_accessor :settingName |
|
1002
|
|
|
xml_accessor :settingValue |
|
1003
|
|
|
|
|
1004
|
|
|
def initialize(settingName = nil, settingValue = nil) |
|
1005
|
|
|
@settingName = settingName |
|
1006
|
|
|
@settingValue = settingValue |
|
1007
|
|
|
end |
|
1008
|
|
|
end |
|
1009
|
|
|
|
|
1010
|
|
|
class Settings |
|
1011
|
|
|
include ROXML |
|
1012
|
|
|
xml_accessor :settings, :as => [SettingType] |
|
1013
|
|
|
def initialize(settings = []) |
|
1014
|
|
|
@settings = settings |
|
1015
|
|
|
end |
|
1016
|
|
|
end |
|
1017
|
|
|
|
|
1018
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}permissionType |
|
1019
|
|
|
# permissionName - SOAP::SOAPString |
|
1020
|
|
|
class PermissionType |
|
1021
|
|
|
include ROXML |
|
1022
|
|
|
xml_accessor :permissionName |
|
1023
|
|
|
|
|
1024
|
|
|
def initialize(permissionName = nil) |
|
1025
|
|
|
@permissionName = permissionName |
|
1026
|
|
|
end |
|
1027
|
|
|
end |
|
1028
|
|
|
|
|
1029
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}userField |
|
1030
|
|
|
# name - SOAP::SOAPString |
|
1031
|
|
|
# value - SOAP::SOAPString |
|
1032
|
|
|
class UserField |
|
1033
|
|
|
include ROXML |
|
1034
|
|
|
xml_accessor :name |
|
1035
|
|
|
xml_accessor :value |
|
1036
|
|
|
|
|
1037
|
|
|
def initialize(name = nil, value = nil) |
|
1038
|
|
|
@name = name |
|
1039
|
|
|
@value = value |
|
1040
|
|
|
end |
|
1041
|
|
|
end |
|
1042
|
|
|
|
|
1043
|
|
View Code Duplication |
class UserFields |
|
|
|
|
|
|
1044
|
|
|
include ROXML |
|
1045
|
|
|
xml_accessor :userFields, :as => [UserField] |
|
1046
|
|
|
|
|
1047
|
|
|
def initialize(userFields = []) |
|
1048
|
|
|
@userFields = userFields |
|
1049
|
|
|
end |
|
1050
|
|
|
end |
|
1051
|
|
|
|
|
1052
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileBaseType |
|
1053
|
|
|
# customerType - CustomerTypeEnum |
|
1054
|
|
|
# billTo - CustomerAddressType |
|
1055
|
|
|
class CustomerPaymentProfileBaseType |
|
1056
|
|
|
include ROXML |
|
1057
|
|
|
xml_accessor :customerType |
|
1058
|
|
|
xml_accessor :billTo |
|
1059
|
|
|
|
|
1060
|
|
|
def initialize(customerType = nil, billTo = nil) |
|
1061
|
|
|
@customerType = customerType |
|
1062
|
|
|
@billTo = billTo |
|
1063
|
|
|
end |
|
1064
|
|
|
end |
|
1065
|
|
|
|
|
1066
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileType |
|
1067
|
|
|
# customerType - CustomerTypeEnum |
|
1068
|
|
|
# billTo - CustomerAddressType |
|
1069
|
|
|
# payment - PaymentType |
|
1070
|
|
|
# driversLicense - DriversLicenseType |
|
1071
|
|
|
# taxId - SOAP::SOAPString |
|
1072
|
|
View Code Duplication |
class CustomerPaymentProfileType |
|
|
|
|
|
|
1073
|
|
|
include ROXML |
|
1074
|
|
|
xml_accessor :customerType |
|
1075
|
|
|
xml_accessor :billTo, :as => CustomerAddressType |
|
1076
|
|
|
xml_accessor :payment, :as => PaymentType |
|
1077
|
|
|
xml_accessor :driversLicense, :as => DriversLicenseType |
|
1078
|
|
|
xml_accessor :taxId |
|
1079
|
|
|
xml_accessor :defaultPaymentProfile |
|
1080
|
|
|
|
|
1081
|
|
|
def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, defaultPaymentProfile = nil) |
|
1082
|
|
|
@customerType = customerType |
|
1083
|
|
|
@billTo = billTo |
|
1084
|
|
|
@payment = payment |
|
1085
|
|
|
@driversLicense = driversLicense |
|
1086
|
|
|
@taxId = taxId |
|
1087
|
|
|
@defaultPaymentProfile = defaultPaymentProfile |
|
1088
|
|
|
end |
|
1089
|
|
|
end |
|
1090
|
|
|
|
|
1091
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileExType |
|
1092
|
|
|
# customerType - CustomerTypeEnum |
|
1093
|
|
|
# billTo - CustomerAddressType |
|
1094
|
|
|
# payment - PaymentType |
|
1095
|
|
|
# driversLicense - DriversLicenseType |
|
1096
|
|
|
# taxId - SOAP::SOAPString |
|
1097
|
|
|
# customerPaymentProfileId - (any) |
|
1098
|
|
View Code Duplication |
class CustomerPaymentProfileExType |
|
|
|
|
|
|
1099
|
|
|
include ROXML |
|
1100
|
|
|
xml_accessor :customerType |
|
1101
|
|
|
xml_accessor :billTo, :as => CustomerAddressType |
|
1102
|
|
|
xml_accessor :payment, :as => PaymentType |
|
1103
|
|
|
xml_accessor :driversLicense, :as => DriversLicenseType |
|
1104
|
|
|
xml_accessor :taxId |
|
1105
|
|
|
xml_accessor :customerPaymentProfileId |
|
1106
|
|
|
|
|
1107
|
|
|
def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, customerPaymentProfileId = nil) |
|
1108
|
|
|
@customerType = customerType |
|
1109
|
|
|
@billTo = billTo |
|
1110
|
|
|
@payment = payment |
|
1111
|
|
|
@driversLicense = driversLicense |
|
1112
|
|
|
@taxId = taxId |
|
1113
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
1114
|
|
|
end |
|
1115
|
|
|
end |
|
1116
|
|
|
|
|
1117
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionIdList |
|
1118
|
|
|
# subscriptionId - SubscriptionIdList |
|
1119
|
|
|
class SubscriptionIdList |
|
1120
|
|
|
include ROXML |
|
1121
|
|
|
xml_accessor :subscriptionId, :as => [] |
|
1122
|
|
|
|
|
1123
|
|
|
def initialize(subscriptionId = nil) |
|
1124
|
|
|
@subscriptionId = subscriptionId |
|
1125
|
|
|
end |
|
1126
|
|
|
end |
|
1127
|
|
|
|
|
1128
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileMaskedType |
|
1129
|
|
|
# customerType - CustomerTypeEnum |
|
1130
|
|
|
# billTo - CustomerAddressType |
|
1131
|
|
|
# customerProfileId - (any) |
|
1132
|
|
|
# customerPaymentProfileId - (any) |
|
1133
|
|
|
# payment - PaymentMaskedType |
|
1134
|
|
|
# driversLicense - DriversLicenseMaskedType |
|
1135
|
|
|
# taxId - SOAP::SOAPString |
|
1136
|
|
|
# subscriptionIds - SubscriptionIdList |
|
1137
|
|
|
class CustomerPaymentProfileMaskedType |
|
1138
|
|
|
include ROXML |
|
1139
|
|
|
xml_accessor :customerType |
|
1140
|
|
|
xml_accessor :billTo, :as => CustomerAddressType |
|
1141
|
|
|
xml_accessor :customerProfileId |
|
1142
|
|
|
xml_accessor :customerPaymentProfileId |
|
1143
|
|
|
xml_accessor :defaultPaymentProfile |
|
1144
|
|
|
xml_accessor :payment, :as => PaymentMaskedType |
|
1145
|
|
|
xml_accessor :driversLicense, :as => DriversLicenseMaskedType |
|
1146
|
|
|
xml_accessor :taxId |
|
1147
|
|
|
xml_accessor :subscriptionIds, :as => SubscriptionIdList |
|
1148
|
|
|
|
|
1149
|
|
|
def initialize(customerType = nil, billTo = nil, customerProfileId = nil, customerPaymentProfileId = nil, payment = nil, driversLicense = nil, taxId = nil, subscriptionIds = nil, defaultPaymentProfile = nil) |
|
1150
|
|
|
@customerType = customerType |
|
1151
|
|
|
@billTo = billTo |
|
1152
|
|
|
@customerProfileId = customerProfileId |
|
1153
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
1154
|
|
|
@payment = payment |
|
1155
|
|
|
@driversLicense = driversLicense |
|
1156
|
|
|
@taxId = taxId |
|
1157
|
|
|
@subscriptionIds = subscriptionIds |
|
1158
|
|
|
@defaultPaymentProfile = defaultPaymentProfile |
|
1159
|
|
|
end |
|
1160
|
|
|
end |
|
1161
|
|
|
|
|
1162
|
|
View Code Duplication |
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileBaseType |
|
|
|
|
|
|
1163
|
|
|
# merchantCustomerId - SOAP::SOAPString |
|
1164
|
|
|
# description - SOAP::SOAPString |
|
1165
|
|
|
# email - SOAP::SOAPString |
|
1166
|
|
|
class CustomerProfileBaseType |
|
1167
|
|
|
include ROXML |
|
1168
|
|
|
xml_accessor :merchantCustomerId |
|
1169
|
|
|
xml_accessor :description |
|
1170
|
|
|
xml_accessor :email |
|
1171
|
|
|
|
|
1172
|
|
|
def initialize(merchantCustomerId = nil, description = nil, email = nil) |
|
1173
|
|
|
@merchantCustomerId = merchantCustomerId |
|
1174
|
|
|
@description = description |
|
1175
|
|
|
@email = email |
|
1176
|
|
|
end |
|
1177
|
|
|
end |
|
1178
|
|
|
|
|
1179
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileType |
|
1180
|
|
|
# merchantCustomerId - SOAP::SOAPString |
|
1181
|
|
|
# description - SOAP::SOAPString |
|
1182
|
|
|
# email - SOAP::SOAPString |
|
1183
|
|
|
# paymentProfiles - CustomerPaymentProfileType |
|
1184
|
|
|
# shipToList - CustomerAddressType |
|
1185
|
|
|
class CustomerProfileType |
|
1186
|
|
|
include ROXML |
|
1187
|
|
|
xml_accessor :merchantCustomerId |
|
1188
|
|
|
xml_accessor :description |
|
1189
|
|
|
xml_accessor :email |
|
1190
|
|
|
xml_accessor :paymentProfiles, :from => 'paymentProfiles', :as => [CustomerPaymentProfileType] |
|
1191
|
|
|
xml_accessor :shipToList, :from => 'shipToList', :as => [CustomerAddressType] |
|
1192
|
|
|
|
|
1193
|
|
|
def initialize(merchantCustomerId = nil, description = nil, email = nil, paymentProfiles = [], shipToList = []) |
|
1194
|
|
|
@merchantCustomerId = merchantCustomerId |
|
1195
|
|
|
@description = description |
|
1196
|
|
|
@email = email |
|
1197
|
|
|
@paymentProfiles = paymentProfiles |
|
1198
|
|
|
@shipToList = shipToList |
|
1199
|
|
|
end |
|
1200
|
|
|
end |
|
1201
|
|
|
|
|
1202
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileExType |
|
1203
|
|
|
# merchantCustomerId - SOAP::SOAPString |
|
1204
|
|
|
# description - SOAP::SOAPString |
|
1205
|
|
|
# email - SOAP::SOAPString |
|
1206
|
|
|
# customerProfileId - (any) |
|
1207
|
|
View Code Duplication |
class CustomerProfileExType |
|
|
|
|
|
|
1208
|
|
|
include ROXML |
|
1209
|
|
|
xml_accessor :merchantCustomerId |
|
1210
|
|
|
xml_accessor :description |
|
1211
|
|
|
xml_accessor :email |
|
1212
|
|
|
xml_accessor :customerProfileId |
|
1213
|
|
|
|
|
1214
|
|
|
def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil) |
|
1215
|
|
|
@merchantCustomerId = merchantCustomerId |
|
1216
|
|
|
@description = description |
|
1217
|
|
|
@email = email |
|
1218
|
|
|
@customerProfileId = customerProfileId |
|
1219
|
|
|
end |
|
1220
|
|
|
end |
|
1221
|
|
|
|
|
1222
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileMaskedType |
|
1223
|
|
|
# merchantCustomerId - SOAP::SOAPString |
|
1224
|
|
|
# description - SOAP::SOAPString |
|
1225
|
|
|
# email - SOAP::SOAPString |
|
1226
|
|
|
# customerProfileId - (any) |
|
1227
|
|
|
# paymentProfiles - CustomerPaymentProfileMaskedType |
|
1228
|
|
|
# shipToList - CustomerAddressExType |
|
1229
|
|
|
class CustomerProfileMaskedType |
|
1230
|
|
|
include ROXML |
|
1231
|
|
|
xml_accessor :merchantCustomerId |
|
1232
|
|
|
xml_accessor :description |
|
1233
|
|
|
xml_accessor :email |
|
1234
|
|
|
xml_accessor :customerProfileId |
|
1235
|
|
|
xml_accessor :paymentProfiles, :from => 'paymentProfiles' , :as => [CustomerPaymentProfileMaskedType] |
|
1236
|
|
|
xml_accessor :shipToList, :from => 'shipToList' , :as => [CustomerAddressExType] |
|
1237
|
|
|
|
|
1238
|
|
|
def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil, paymentProfiles = [], shipToList = []) |
|
1239
|
|
|
@merchantCustomerId = merchantCustomerId |
|
1240
|
|
|
@description = description |
|
1241
|
|
|
@email = email |
|
1242
|
|
|
@customerProfileId = customerProfileId |
|
1243
|
|
|
@paymentProfiles = paymentProfiles |
|
1244
|
|
|
@shipToList = shipToList |
|
1245
|
|
|
end |
|
1246
|
|
|
end |
|
1247
|
|
|
|
|
1248
|
|
View Code Duplication |
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType |
|
|
|
|
|
|
1249
|
|
|
# amount - SOAP::SOAPDecimal |
|
1250
|
|
|
# name - SOAP::SOAPString |
|
1251
|
|
|
# description - SOAP::SOAPString |
|
1252
|
|
|
class ExtendedAmountType |
|
1253
|
|
|
include ROXML |
|
1254
|
|
|
xml_accessor :amount, :as => BigDecimal |
|
1255
|
|
|
xml_accessor :name |
|
1256
|
|
|
xml_accessor :description |
|
1257
|
|
|
|
|
1258
|
|
|
def initialize(amount = nil, name = nil, description = nil) |
|
1259
|
|
|
@amount = amount |
|
1260
|
|
|
@name = name |
|
1261
|
|
|
@description = description |
|
1262
|
|
|
end |
|
1263
|
|
|
end |
|
1264
|
|
|
|
|
1265
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}lineItemType |
|
1266
|
|
|
# itemId - SOAP::SOAPString |
|
1267
|
|
|
# name - SOAP::SOAPString |
|
1268
|
|
View Code Duplication |
# description - SOAP::SOAPString |
|
|
|
|
|
|
1269
|
|
|
# quantity - SOAP::SOAPDecimal |
|
1270
|
|
|
# unitPrice - SOAP::SOAPDecimal |
|
1271
|
|
|
# taxable - SOAP::SOAPBoolean |
|
1272
|
|
|
class LineItemType |
|
1273
|
|
|
include ROXML |
|
1274
|
|
|
xml_accessor :itemId |
|
1275
|
|
|
xml_accessor :name |
|
1276
|
|
|
xml_accessor :description |
|
1277
|
|
|
xml_accessor :quantity, :as => BigDecimal |
|
1278
|
|
|
xml_accessor :unitPrice, :as => BigDecimal |
|
1279
|
|
|
xml_accessor :taxable |
|
1280
|
|
|
|
|
1281
|
|
|
def initialize(itemId = nil, name = nil, description = nil, quantity = nil, unitPrice = nil, taxable = nil) |
|
1282
|
|
|
@itemId = itemId |
|
1283
|
|
|
@name = name |
|
1284
|
|
|
@description = description |
|
1285
|
|
|
@quantity = quantity |
|
1286
|
|
|
@unitPrice = unitPrice |
|
1287
|
|
|
@taxable = taxable |
|
1288
|
|
|
end |
|
1289
|
|
|
end |
|
1290
|
|
|
|
|
1291
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfLineItem |
|
1292
|
|
|
class LineItems |
|
1293
|
|
|
include ROXML |
|
1294
|
|
|
xml_accessor :lineItems, :as => [LineItemType] |
|
1295
|
|
|
|
|
1296
|
|
|
def initialize(lineItems = []) |
|
1297
|
|
|
@lineItems = lineItems |
|
1298
|
|
|
end |
|
1299
|
|
|
end |
|
1300
|
|
|
|
|
1301
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransAmountType |
|
1302
|
|
|
# amount - SOAP::SOAPDecimal |
|
1303
|
|
|
# tax - ExtendedAmountType |
|
1304
|
|
|
# shipping - ExtendedAmountType |
|
1305
|
|
|
# duty - ExtendedAmountType |
|
1306
|
|
|
# lineItems - LineItemType |
|
1307
|
|
View Code Duplication |
class ProfileTransAmountType |
|
|
|
|
|
|
1308
|
|
|
include ROXML |
|
1309
|
|
|
xml_accessor :amount |
|
1310
|
|
|
xml_accessor :tax |
|
1311
|
|
|
xml_accessor :shipping |
|
1312
|
|
|
xml_accessor :duty |
|
1313
|
|
|
xml_accessor :lineItems |
|
1314
|
|
|
|
|
1315
|
|
|
def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = []) |
|
1316
|
|
|
@amount = amount |
|
1317
|
|
|
@tax = tax |
|
1318
|
|
|
@shipping = shipping |
|
1319
|
|
|
@duty = duty |
|
1320
|
|
|
@lineItems = lineItems |
|
1321
|
|
|
end |
|
1322
|
|
|
end |
|
1323
|
|
|
|
|
1324
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransOrderType |
|
1325
|
|
|
# amount - SOAP::SOAPDecimal |
|
1326
|
|
|
# tax - ExtendedAmountType |
|
1327
|
|
|
# shipping - ExtendedAmountType |
|
1328
|
|
|
# duty - ExtendedAmountType |
|
1329
|
|
|
# lineItems - LineItemType |
|
1330
|
|
|
# customerProfileId - (any) |
|
1331
|
|
|
# customerPaymentProfileId - (any) |
|
1332
|
|
|
# customerShippingAddressId - (any) |
|
1333
|
|
|
# order - OrderExType |
|
1334
|
|
|
# taxExempt - SOAP::SOAPBoolean |
|
1335
|
|
|
# recurringBilling - SOAP::SOAPBoolean |
|
1336
|
|
|
# cardCode - (any) |
|
1337
|
|
|
# splitTenderId - (any) |
|
1338
|
|
View Code Duplication |
class ProfileTransOrderType |
|
|
|
|
|
|
1339
|
|
|
include ROXML |
|
1340
|
|
|
xml_accessor :amount |
|
1341
|
|
|
xml_accessor :tax |
|
1342
|
|
|
xml_accessor :shipping |
|
1343
|
|
|
xml_accessor :duty |
|
1344
|
|
|
xml_accessor :lineItems |
|
1345
|
|
|
xml_accessor :customerProfileId |
|
1346
|
|
|
xml_accessor :customerPaymentProfileId |
|
1347
|
|
|
xml_accessor :customerShippingAddressId |
|
1348
|
|
|
xml_accessor :order |
|
1349
|
|
|
xml_accessor :taxExempt |
|
1350
|
|
|
xml_accessor :recurringBilling |
|
1351
|
|
|
xml_accessor :cardCode |
|
1352
|
|
|
xml_accessor :splitTenderId |
|
1353
|
|
|
|
|
1354
|
|
|
def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, order = nil, taxExempt = nil, recurringBilling = nil, cardCode = nil, splitTenderId = nil) |
|
1355
|
|
|
@amount = amount |
|
1356
|
|
|
@tax = tax |
|
1357
|
|
|
@shipping = shipping |
|
1358
|
|
|
@duty = duty |
|
1359
|
|
|
@lineItems = lineItems |
|
1360
|
|
|
@customerProfileId = customerProfileId |
|
1361
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
1362
|
|
|
@customerShippingAddressId = customerShippingAddressId |
|
1363
|
|
|
@order = order |
|
1364
|
|
|
@taxExempt = taxExempt |
|
1365
|
|
|
@recurringBilling = recurringBilling |
|
1366
|
|
|
@cardCode = cardCode |
|
1367
|
|
|
@splitTenderId = splitTenderId |
|
1368
|
|
|
end |
|
1369
|
|
|
end |
|
1370
|
|
|
|
|
1371
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransAuthCaptureType |
|
1372
|
|
|
# amount - SOAP::SOAPDecimal |
|
1373
|
|
|
# tax - ExtendedAmountType |
|
1374
|
|
|
# shipping - ExtendedAmountType |
|
1375
|
|
|
# duty - ExtendedAmountType |
|
1376
|
|
|
# lineItems - LineItemType |
|
1377
|
|
|
# customerProfileId - (any) |
|
1378
|
|
|
# customerPaymentProfileId - (any) |
|
1379
|
|
|
# customerShippingAddressId - (any) |
|
1380
|
|
|
# order - OrderExType |
|
1381
|
|
|
# taxExempt - SOAP::SOAPBoolean |
|
1382
|
|
|
# recurringBilling - SOAP::SOAPBoolean |
|
1383
|
|
|
# cardCode - (any) |
|
1384
|
|
|
# splitTenderId - (any) |
|
1385
|
|
View Code Duplication |
class ProfileTransAuthCaptureType |
|
|
|
|
|
|
1386
|
|
|
include ROXML |
|
1387
|
|
|
xml_accessor :amount |
|
1388
|
|
|
xml_accessor :tax |
|
1389
|
|
|
xml_accessor :shipping |
|
1390
|
|
|
xml_accessor :duty |
|
1391
|
|
|
xml_accessor :lineItems |
|
1392
|
|
|
xml_accessor :customerProfileId |
|
1393
|
|
|
xml_accessor :customerPaymentProfileId |
|
1394
|
|
|
xml_accessor :customerShippingAddressId |
|
1395
|
|
|
xml_accessor :order |
|
1396
|
|
|
xml_accessor :taxExempt |
|
1397
|
|
|
xml_accessor :recurringBilling |
|
1398
|
|
|
xml_accessor :cardCode |
|
1399
|
|
|
xml_accessor :splitTenderId |
|
1400
|
|
|
|
|
1401
|
|
|
def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, order = nil, taxExempt = nil, recurringBilling = nil, cardCode = nil, splitTenderId = nil) |
|
1402
|
|
|
@amount = amount |
|
1403
|
|
|
@tax = tax |
|
1404
|
|
|
@shipping = shipping |
|
1405
|
|
|
@duty = duty |
|
1406
|
|
|
@lineItems = lineItems |
|
1407
|
|
|
@customerProfileId = customerProfileId |
|
1408
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
1409
|
|
|
@customerShippingAddressId = customerShippingAddressId |
|
1410
|
|
|
@order = order |
|
1411
|
|
|
@taxExempt = taxExempt |
|
1412
|
|
|
@recurringBilling = recurringBilling |
|
1413
|
|
|
@cardCode = cardCode |
|
1414
|
|
|
@splitTenderId = splitTenderId |
|
1415
|
|
|
end |
|
1416
|
|
|
end |
|
1417
|
|
|
|
|
1418
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransAuthOnlyType |
|
1419
|
|
|
# amount - SOAP::SOAPDecimal |
|
1420
|
|
|
# tax - ExtendedAmountType |
|
1421
|
|
|
# shipping - ExtendedAmountType |
|
1422
|
|
|
# duty - ExtendedAmountType |
|
1423
|
|
|
# lineItems - LineItemType |
|
1424
|
|
|
# customerProfileId - (any) |
|
1425
|
|
|
# customerPaymentProfileId - (any) |
|
1426
|
|
|
# customerShippingAddressId - (any) |
|
1427
|
|
|
# order - OrderExType |
|
1428
|
|
|
# taxExempt - SOAP::SOAPBoolean |
|
1429
|
|
|
# recurringBilling - SOAP::SOAPBoolean |
|
1430
|
|
|
# cardCode - (any) |
|
1431
|
|
|
# splitTenderId - (any) |
|
1432
|
|
View Code Duplication |
class ProfileTransAuthOnlyType |
|
|
|
|
|
|
1433
|
|
|
include ROXML |
|
1434
|
|
|
xml_accessor :amount |
|
1435
|
|
|
xml_accessor :tax |
|
1436
|
|
|
xml_accessor :shipping |
|
1437
|
|
|
xml_accessor :duty |
|
1438
|
|
|
xml_accessor :lineItems |
|
1439
|
|
|
xml_accessor :customerProfileId |
|
1440
|
|
|
xml_accessor :customerPaymentProfileId |
|
1441
|
|
|
xml_accessor :customerShippingAddressId |
|
1442
|
|
|
xml_accessor :order |
|
1443
|
|
|
xml_accessor :taxExempt |
|
1444
|
|
|
xml_accessor :recurringBilling |
|
1445
|
|
|
xml_accessor :cardCode |
|
1446
|
|
|
xml_accessor :splitTenderId |
|
1447
|
|
|
|
|
1448
|
|
|
def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, order = nil, taxExempt = nil, recurringBilling = nil, cardCode = nil, splitTenderId = nil) |
|
1449
|
|
|
@amount = amount |
|
1450
|
|
|
@tax = tax |
|
1451
|
|
|
@shipping = shipping |
|
1452
|
|
|
@duty = duty |
|
1453
|
|
|
@lineItems = lineItems |
|
1454
|
|
|
@customerProfileId = customerProfileId |
|
1455
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
1456
|
|
|
@customerShippingAddressId = customerShippingAddressId |
|
1457
|
|
|
@order = order |
|
1458
|
|
|
@taxExempt = taxExempt |
|
1459
|
|
|
@recurringBilling = recurringBilling |
|
1460
|
|
|
@cardCode = cardCode |
|
1461
|
|
|
@splitTenderId = splitTenderId |
|
1462
|
|
|
end |
|
1463
|
|
|
end |
|
1464
|
|
|
|
|
1465
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransCaptureOnlyType |
|
1466
|
|
|
# amount - SOAP::SOAPDecimal |
|
1467
|
|
|
# tax - ExtendedAmountType |
|
1468
|
|
|
# shipping - ExtendedAmountType |
|
1469
|
|
|
# duty - ExtendedAmountType |
|
1470
|
|
|
# lineItems - LineItemType |
|
1471
|
|
|
# customerProfileId - (any) |
|
1472
|
|
|
# customerPaymentProfileId - (any) |
|
1473
|
|
|
# customerShippingAddressId - (any) |
|
1474
|
|
|
# order - OrderExType |
|
1475
|
|
|
# taxExempt - SOAP::SOAPBoolean |
|
1476
|
|
|
# recurringBilling - SOAP::SOAPBoolean |
|
1477
|
|
|
# cardCode - (any) |
|
1478
|
|
|
# splitTenderId - (any) |
|
1479
|
|
|
# approvalCode - SOAP::SOAPString |
|
1480
|
|
View Code Duplication |
class ProfileTransCaptureOnlyType |
|
|
|
|
|
|
1481
|
|
|
include ROXML |
|
1482
|
|
|
xml_accessor :amount |
|
1483
|
|
|
xml_accessor :tax |
|
1484
|
|
|
xml_accessor :shipping |
|
1485
|
|
|
xml_accessor :duty |
|
1486
|
|
|
xml_accessor :lineItems |
|
1487
|
|
|
xml_accessor :customerProfileId |
|
1488
|
|
|
xml_accessor :customerPaymentProfileId |
|
1489
|
|
|
xml_accessor :customerShippingAddressId |
|
1490
|
|
|
xml_accessor :order |
|
1491
|
|
|
xml_accessor :taxExempt |
|
1492
|
|
|
xml_accessor :recurringBilling |
|
1493
|
|
|
xml_accessor :cardCode |
|
1494
|
|
|
xml_accessor :splitTenderId |
|
1495
|
|
|
xml_accessor :approvalCode |
|
1496
|
|
|
|
|
1497
|
|
|
def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, order = nil, taxExempt = nil, recurringBilling = nil, cardCode = nil, splitTenderId = nil, approvalCode = nil) |
|
1498
|
|
|
@amount = amount |
|
1499
|
|
|
@tax = tax |
|
1500
|
|
|
@shipping = shipping |
|
1501
|
|
|
@duty = duty |
|
1502
|
|
|
@lineItems = lineItems |
|
1503
|
|
|
@customerProfileId = customerProfileId |
|
1504
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
1505
|
|
|
@customerShippingAddressId = customerShippingAddressId |
|
1506
|
|
|
@order = order |
|
1507
|
|
|
@taxExempt = taxExempt |
|
1508
|
|
|
@recurringBilling = recurringBilling |
|
1509
|
|
|
@cardCode = cardCode |
|
1510
|
|
|
@splitTenderId = splitTenderId |
|
1511
|
|
|
@approvalCode = approvalCode |
|
1512
|
|
|
end |
|
1513
|
|
|
end |
|
1514
|
|
|
|
|
1515
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransPriorAuthCaptureType |
|
1516
|
|
|
# amount - SOAP::SOAPDecimal |
|
1517
|
|
|
# tax - ExtendedAmountType |
|
1518
|
|
|
# shipping - ExtendedAmountType |
|
1519
|
|
|
# duty - ExtendedAmountType |
|
1520
|
|
|
# lineItems - LineItemType |
|
1521
|
|
|
# customerProfileId - (any) |
|
1522
|
|
|
# customerPaymentProfileId - (any) |
|
1523
|
|
|
# customerShippingAddressId - (any) |
|
1524
|
|
|
# transId - (any) |
|
1525
|
|
|
class ProfileTransPriorAuthCaptureType |
|
1526
|
|
|
include ROXML |
|
1527
|
|
|
xml_accessor :amount |
|
1528
|
|
|
xml_accessor :tax |
|
1529
|
|
|
xml_accessor :shipping |
|
1530
|
|
|
xml_accessor :duty |
|
1531
|
|
|
xml_accessor :lineItems |
|
1532
|
|
|
xml_accessor :customerProfileId |
|
1533
|
|
|
xml_accessor :customerPaymentProfileId |
|
1534
|
|
|
xml_accessor :customerShippingAddressId |
|
1535
|
|
|
xml_accessor :transId |
|
1536
|
|
|
|
|
1537
|
|
|
def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, transId = nil) |
|
1538
|
|
|
@amount = amount |
|
1539
|
|
|
@tax = tax |
|
1540
|
|
|
@shipping = shipping |
|
1541
|
|
|
@duty = duty |
|
1542
|
|
|
@lineItems = lineItems |
|
1543
|
|
|
@customerProfileId = customerProfileId |
|
1544
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
1545
|
|
|
@customerShippingAddressId = customerShippingAddressId |
|
1546
|
|
|
@transId = transId |
|
1547
|
|
|
end |
|
1548
|
|
|
end |
|
1549
|
|
|
|
|
1550
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransRefundType |
|
1551
|
|
|
# amount - SOAP::SOAPDecimal |
|
1552
|
|
|
# tax - ExtendedAmountType |
|
1553
|
|
|
# shipping - ExtendedAmountType |
|
1554
|
|
|
# duty - ExtendedAmountType |
|
1555
|
|
|
# lineItems - LineItemType |
|
1556
|
|
|
# customerProfileId - (any) |
|
1557
|
|
|
# customerPaymentProfileId - (any) |
|
1558
|
|
|
# customerShippingAddressId - (any) |
|
1559
|
|
|
# creditCardNumberMasked - SOAP::SOAPString |
|
1560
|
|
|
# bankRoutingNumberMasked - SOAP::SOAPString |
|
1561
|
|
|
# bankAccountNumberMasked - SOAP::SOAPString |
|
1562
|
|
|
# order - OrderExType |
|
1563
|
|
|
# transId - (any) |
|
1564
|
|
View Code Duplication |
class ProfileTransRefundType |
|
|
|
|
|
|
1565
|
|
|
include ROXML |
|
1566
|
|
|
xml_accessor :amount |
|
1567
|
|
|
xml_accessor :tax |
|
1568
|
|
|
xml_accessor :shipping |
|
1569
|
|
|
xml_accessor :duty |
|
1570
|
|
|
xml_accessor :lineItems |
|
1571
|
|
|
xml_accessor :customerProfileId |
|
1572
|
|
|
xml_accessor :customerPaymentProfileId |
|
1573
|
|
|
xml_accessor :customerShippingAddressId |
|
1574
|
|
|
xml_accessor :creditCardNumberMasked |
|
1575
|
|
|
xml_accessor :bankRoutingNumberMasked |
|
1576
|
|
|
xml_accessor :bankAccountNumberMasked |
|
1577
|
|
|
xml_accessor :order |
|
1578
|
|
|
xml_accessor :transId |
|
1579
|
|
|
|
|
1580
|
|
|
def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, creditCardNumberMasked = nil, bankRoutingNumberMasked = nil, bankAccountNumberMasked = nil, order = nil, transId = nil) |
|
1581
|
|
|
@amount = amount |
|
1582
|
|
|
@tax = tax |
|
1583
|
|
|
@shipping = shipping |
|
1584
|
|
|
@duty = duty |
|
1585
|
|
|
@lineItems = lineItems |
|
1586
|
|
|
@customerProfileId = customerProfileId |
|
1587
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
1588
|
|
|
@customerShippingAddressId = customerShippingAddressId |
|
1589
|
|
|
@creditCardNumberMasked = creditCardNumberMasked |
|
1590
|
|
|
@bankRoutingNumberMasked = bankRoutingNumberMasked |
|
1591
|
|
|
@bankAccountNumberMasked = bankAccountNumberMasked |
|
1592
|
|
|
@order = order |
|
1593
|
|
|
@transId = transId |
|
1594
|
|
|
end |
|
1595
|
|
|
end |
|
1596
|
|
|
|
|
1597
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransVoidType |
|
1598
|
|
|
# customerProfileId - (any) |
|
1599
|
|
|
# customerPaymentProfileId - (any) |
|
1600
|
|
|
# customerShippingAddressId - (any) |
|
1601
|
|
|
# transId - (any) |
|
1602
|
|
View Code Duplication |
class ProfileTransVoidType |
|
|
|
|
|
|
1603
|
|
|
include ROXML |
|
1604
|
|
|
xml_accessor :customerProfileId |
|
1605
|
|
|
xml_accessor :customerPaymentProfileId |
|
1606
|
|
|
xml_accessor :customerShippingAddressId |
|
1607
|
|
|
xml_accessor :transId |
|
1608
|
|
|
|
|
1609
|
|
|
def initialize(customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, transId = nil) |
|
1610
|
|
|
@customerProfileId = customerProfileId |
|
1611
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
1612
|
|
|
@customerShippingAddressId = customerShippingAddressId |
|
1613
|
|
|
@transId = transId |
|
1614
|
|
|
end |
|
1615
|
|
|
end |
|
1616
|
|
|
|
|
1617
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransactionType |
|
1618
|
|
|
# profileTransAuthCapture - ProfileTransAuthCaptureType |
|
1619
|
|
|
# profileTransAuthOnly - ProfileTransAuthOnlyType |
|
1620
|
|
|
# profileTransPriorAuthCapture - ProfileTransPriorAuthCaptureType |
|
1621
|
|
|
# profileTransCaptureOnly - ProfileTransCaptureOnlyType |
|
1622
|
|
|
# profileTransRefund - ProfileTransRefundType |
|
1623
|
|
|
# profileTransVoid - ProfileTransVoidType |
|
1624
|
|
|
class ProfileTransactionType |
|
1625
|
|
|
include ROXML |
|
1626
|
|
|
xml_accessor :profileTransAuthCapture |
|
1627
|
|
|
xml_accessor :profileTransAuthOnly |
|
1628
|
|
|
xml_accessor :profileTransPriorAuthCapture |
|
1629
|
|
|
xml_accessor :profileTransCaptureOnly |
|
1630
|
|
|
xml_accessor :profileTransRefund |
|
1631
|
|
|
xml_accessor :profileTransVoid |
|
1632
|
|
|
|
|
1633
|
|
|
def initialize(profileTransAuthCapture = nil, profileTransAuthOnly = nil, profileTransPriorAuthCapture = nil, profileTransCaptureOnly = nil, profileTransRefund = nil, profileTransVoid = nil) |
|
1634
|
|
|
@profileTransAuthCapture = profileTransAuthCapture |
|
1635
|
|
|
@profileTransAuthOnly = profileTransAuthOnly |
|
1636
|
|
|
@profileTransPriorAuthCapture = profileTransPriorAuthCapture |
|
1637
|
|
|
@profileTransCaptureOnly = profileTransCaptureOnly |
|
1638
|
|
|
@profileTransRefund = profileTransRefund |
|
1639
|
|
|
@profileTransVoid = profileTransVoid |
|
1640
|
|
|
end |
|
1641
|
|
|
end |
|
1642
|
|
|
|
|
1643
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfFraudFilterType |
|
1644
|
|
|
class ArrayOfFraudFilterType < ::Array |
|
1645
|
|
|
include ROXML |
|
1646
|
|
|
xml_accessor :fraudFilter |
|
1647
|
|
|
|
|
1648
|
|
|
def initialize(fraudFilter = []) |
|
1649
|
|
|
@fraudFilter = fraudFilter |
|
1650
|
|
|
end |
|
1651
|
|
|
end |
|
1652
|
|
|
|
|
1653
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FraudInformationType |
|
1654
|
|
View Code Duplication |
class FraudInformationType |
|
|
|
|
|
|
1655
|
|
|
include ROXML |
|
1656
|
|
|
xml_accessor :fraudFilterList, :as => ArrayOfFraudFilterType |
|
1657
|
|
|
xml_accessor :fraudAction |
|
1658
|
|
|
|
|
1659
|
|
|
def initialize(fraudFilterList = nil, fraudAction = nil) |
|
1660
|
|
|
@fraudFilterList = fraudFilterList |
|
1661
|
|
|
@fraudAction = fraudAction |
|
1662
|
|
|
end |
|
1663
|
|
|
end |
|
1664
|
|
|
|
|
1665
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionSummaryType |
|
1666
|
|
|
# transId - (any) |
|
1667
|
|
|
# submitTimeUTC - SOAP::SOAPDateTime |
|
1668
|
|
|
# submitTimeLocal - SOAP::SOAPDateTime |
|
1669
|
|
|
# transactionStatus - SOAP::SOAPString |
|
1670
|
|
|
# invoiceNumber - SOAP::SOAPString |
|
1671
|
|
|
# firstName - SOAP::SOAPString |
|
1672
|
|
|
# lastName - SOAP::SOAPString |
|
1673
|
|
|
# accountType - SOAP::SOAPString |
|
1674
|
|
|
# accountNumber - SOAP::SOAPString |
|
1675
|
|
|
# settleAmount - SOAP::SOAPDecimal |
|
1676
|
|
|
# marketType - SOAP::SOAPString |
|
1677
|
|
|
# product - SOAP::SOAPString |
|
1678
|
|
|
# mobileDeviceId - SOAP::SOAPString |
|
1679
|
|
|
# subscription - SubscriptionPaymentType |
|
1680
|
|
|
# hasReturnedItems - SOAP::SOAPBoolean |
|
1681
|
|
|
class TransactionSummaryType |
|
1682
|
|
|
include ROXML |
|
1683
|
|
|
xml_accessor :transId |
|
1684
|
|
|
xml_accessor :submitTimeUTC |
|
1685
|
|
|
xml_accessor :submitTimeLocal |
|
1686
|
|
|
xml_accessor :transactionStatus |
|
1687
|
|
|
xml_accessor :invoiceNumber |
|
1688
|
|
|
xml_accessor :firstName |
|
1689
|
|
|
xml_accessor :lastName |
|
1690
|
|
|
xml_accessor :accountType |
|
1691
|
|
|
xml_accessor :accountNumber |
|
1692
|
|
|
xml_accessor :settleAmount |
|
1693
|
|
|
xml_accessor :marketType |
|
1694
|
|
|
xml_accessor :product |
|
1695
|
|
|
xml_accessor :mobileDeviceId |
|
1696
|
|
|
xml_accessor :subscription |
|
1697
|
|
|
xml_accessor :hasReturnedItems |
|
1698
|
|
|
xml_accessor :fraudInformation |
|
1699
|
|
|
|
|
1700
|
|
|
def initialize(transId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionStatus = nil, invoiceNumber = nil, firstName = nil, lastName = nil, accountType = nil, accountNumber = nil, settleAmount = nil, marketType = nil, product = nil, mobileDeviceId = nil, subscription = nil, hasReturnedItems = nil, fraudInformation = nil) |
|
1701
|
|
|
@transId = transId |
|
1702
|
|
|
@submitTimeUTC = submitTimeUTC |
|
1703
|
|
|
@submitTimeLocal = submitTimeLocal |
|
1704
|
|
|
@transactionStatus = transactionStatus |
|
1705
|
|
|
@invoiceNumber = invoiceNumber |
|
1706
|
|
|
@firstName = firstName |
|
1707
|
|
|
@lastName = lastName |
|
1708
|
|
|
@accountType = accountType |
|
1709
|
|
|
@accountNumber = accountNumber |
|
1710
|
|
|
@settleAmount = settleAmount |
|
1711
|
|
|
@marketType = marketType |
|
1712
|
|
|
@product = product |
|
1713
|
|
|
@mobileDeviceId = mobileDeviceId |
|
1714
|
|
|
@subscription = subscription |
|
1715
|
|
|
@hasReturnedItems = hasReturnedItems |
|
1716
|
|
|
@fraudInformation = fraudInformation |
|
1717
|
|
|
end |
|
1718
|
|
|
end |
|
1719
|
|
|
|
|
1720
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfTransactionSummaryType |
|
1721
|
|
|
class ArrayOfTransactionSummaryType < ::Array |
|
1722
|
|
|
include ROXML |
|
1723
|
|
|
xml_accessor :transaction, :as => [TransactionSummaryType] |
|
1724
|
|
|
|
|
1725
|
|
|
def initialize(transaction = []) |
|
1726
|
|
|
@transaction = transaction |
|
1727
|
|
|
end |
|
1728
|
|
|
end |
|
1729
|
|
|
|
|
1730
|
|
|
|
|
1731
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchStatisticType |
|
1732
|
|
|
# accountType - SOAP::SOAPString |
|
1733
|
|
|
# chargeAmount - SOAP::SOAPDecimal |
|
1734
|
|
|
# chargeCount - SOAP::SOAPInt |
|
1735
|
|
|
# refundAmount - SOAP::SOAPDecimal |
|
1736
|
|
|
# refundCount - SOAP::SOAPInt |
|
1737
|
|
|
# voidCount - SOAP::SOAPInt |
|
1738
|
|
|
# declineCount - SOAP::SOAPInt |
|
1739
|
|
|
# errorCount - SOAP::SOAPInt |
|
1740
|
|
|
# returnedItemAmount - SOAP::SOAPDecimal |
|
1741
|
|
|
# returnedItemCount - SOAP::SOAPInt |
|
1742
|
|
|
# chargebackAmount - SOAP::SOAPDecimal |
|
1743
|
|
|
# chargebackCount - SOAP::SOAPInt |
|
1744
|
|
|
# correctionNoticeCount - SOAP::SOAPInt |
|
1745
|
|
|
# chargeChargeBackAmount - SOAP::SOAPDecimal |
|
1746
|
|
|
# chargeChargeBackCount - SOAP::SOAPInt |
|
1747
|
|
|
# refundChargeBackAmount - SOAP::SOAPDecimal |
|
1748
|
|
|
# refundChargeBackCount - SOAP::SOAPInt |
|
1749
|
|
View Code Duplication |
# chargeReturnedItemsAmount - SOAP::SOAPDecimal |
|
|
|
|
|
|
1750
|
|
|
# chargeReturnedItemsCount - SOAP::SOAPInt |
|
1751
|
|
|
# refundReturnedItemsAmount - SOAP::SOAPDecimal |
|
1752
|
|
|
# refundReturnedItemsCount - SOAP::SOAPInt |
|
1753
|
|
|
class BatchStatisticType |
|
1754
|
|
|
include ROXML |
|
1755
|
|
|
xml_accessor :accountType |
|
1756
|
|
|
xml_accessor :chargeAmount |
|
1757
|
|
|
xml_accessor :chargeCount |
|
1758
|
|
|
xml_accessor :refundAmount |
|
1759
|
|
|
xml_accessor :refundCount |
|
1760
|
|
|
xml_accessor :voidCount |
|
1761
|
|
|
xml_accessor :declineCount |
|
1762
|
|
|
xml_accessor :errorCount |
|
1763
|
|
|
xml_accessor :returnedItemAmount |
|
1764
|
|
|
xml_accessor :returnedItemCount |
|
1765
|
|
|
xml_accessor :chargebackAmount |
|
1766
|
|
|
xml_accessor :chargebackCount |
|
1767
|
|
|
xml_accessor :correctionNoticeCount |
|
1768
|
|
|
xml_accessor :chargeChargeBackAmount |
|
1769
|
|
|
xml_accessor :chargeChargeBackCount |
|
1770
|
|
|
xml_accessor :refundChargeBackAmount |
|
1771
|
|
|
xml_accessor :refundChargeBackCount |
|
1772
|
|
|
xml_accessor :chargeReturnedItemsAmount |
|
1773
|
|
|
xml_accessor :chargeReturnedItemsCount |
|
1774
|
|
|
xml_accessor :refundReturnedItemsAmount |
|
1775
|
|
|
xml_accessor :refundReturnedItemsCount |
|
1776
|
|
|
|
|
1777
|
|
|
def initialize(accountType = nil, chargeAmount = nil, chargeCount = nil, refundAmount = nil, refundCount = nil, voidCount = nil, declineCount = nil, errorCount = nil, returnedItemAmount = nil, returnedItemCount = nil, chargebackAmount = nil, chargebackCount = nil, correctionNoticeCount = nil, chargeChargeBackAmount = nil, chargeChargeBackCount = nil, refundChargeBackAmount = nil, refundChargeBackCount = nil, chargeReturnedItemsAmount = nil, chargeReturnedItemsCount = nil, refundReturnedItemsAmount = nil, refundReturnedItemsCount = nil) |
|
1778
|
|
|
@accountType = accountType |
|
1779
|
|
|
@chargeAmount = chargeAmount |
|
1780
|
|
|
@chargeCount = chargeCount |
|
1781
|
|
|
@refundAmount = refundAmount |
|
1782
|
|
|
@refundCount = refundCount |
|
1783
|
|
|
@voidCount = voidCount |
|
1784
|
|
|
@declineCount = declineCount |
|
1785
|
|
|
@errorCount = errorCount |
|
1786
|
|
|
@returnedItemAmount = returnedItemAmount |
|
1787
|
|
|
@returnedItemCount = returnedItemCount |
|
1788
|
|
|
@chargebackAmount = chargebackAmount |
|
1789
|
|
|
@chargebackCount = chargebackCount |
|
1790
|
|
|
@correctionNoticeCount = correctionNoticeCount |
|
1791
|
|
|
@chargeChargeBackAmount = chargeChargeBackAmount |
|
1792
|
|
|
@chargeChargeBackCount = chargeChargeBackCount |
|
1793
|
|
|
@refundChargeBackAmount = refundChargeBackAmount |
|
1794
|
|
|
@refundChargeBackCount = refundChargeBackCount |
|
1795
|
|
|
@chargeReturnedItemsAmount = chargeReturnedItemsAmount |
|
1796
|
|
|
@chargeReturnedItemsCount = chargeReturnedItemsCount |
|
1797
|
|
|
@refundReturnedItemsAmount = refundReturnedItemsAmount |
|
1798
|
|
|
@refundReturnedItemsCount = refundReturnedItemsCount |
|
1799
|
|
|
end |
|
1800
|
|
|
end |
|
1801
|
|
|
|
|
1802
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchDetailsType |
|
1803
|
|
|
# batchId - (any) |
|
1804
|
|
|
# settlementTimeUTC - SOAP::SOAPDateTime |
|
1805
|
|
|
# settlementTimeLocal - SOAP::SOAPDateTime |
|
1806
|
|
|
# settlementState - SOAP::SOAPString |
|
1807
|
|
|
# paymentMethod - SOAP::SOAPString |
|
1808
|
|
|
# marketType - SOAP::SOAPString |
|
1809
|
|
|
# product - SOAP::SOAPString |
|
1810
|
|
|
# statistics - ArrayOfBatchStatisticType |
|
1811
|
|
|
class BatchDetailsType |
|
1812
|
|
|
include ROXML |
|
1813
|
|
|
xml_accessor :batchId |
|
1814
|
|
|
xml_accessor :settlementTimeUTC |
|
1815
|
|
|
xml_accessor :settlementTimeLocal |
|
1816
|
|
|
xml_accessor :settlementState |
|
1817
|
|
|
xml_accessor :paymentMethod |
|
1818
|
|
|
xml_accessor :marketType |
|
1819
|
|
|
xml_accessor :product |
|
1820
|
|
|
xml_accessor :statistics, :as => [BatchStatisticType] |
|
1821
|
|
|
|
|
1822
|
|
|
def initialize(batchId = nil, settlementTimeUTC = nil, settlementTimeLocal = nil, settlementState = nil, paymentMethod = nil, marketType = nil, product = nil, statistics = nil) |
|
1823
|
|
|
@batchId = batchId |
|
1824
|
|
|
@settlementTimeUTC = settlementTimeUTC |
|
1825
|
|
|
@settlementTimeLocal = settlementTimeLocal |
|
1826
|
|
|
@settlementState = settlementState |
|
1827
|
|
|
@paymentMethod = paymentMethod |
|
1828
|
|
|
@marketType = marketType |
|
1829
|
|
|
@product = product |
|
1830
|
|
|
@statistics = statistics |
|
1831
|
|
|
end |
|
1832
|
|
|
end |
|
1833
|
|
|
|
|
1834
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfBatchDetailsType |
|
1835
|
|
|
class ArrayOfBatchDetailsType < ::Array |
|
1836
|
|
|
include ROXML |
|
1837
|
|
|
xml_accessor :batch, :as => [BatchDetailsType] |
|
1838
|
|
|
|
|
1839
|
|
|
def initialize(batch = []) |
|
1840
|
|
|
@batch = batch |
|
1841
|
|
|
end |
|
1842
|
|
|
end |
|
1843
|
|
|
|
|
1844
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}returnedItemType |
|
1845
|
|
|
# id - (any) |
|
1846
|
|
|
# dateUTC - SOAP::SOAPDateTime |
|
1847
|
|
|
# dateLocal - SOAP::SOAPDateTime |
|
1848
|
|
|
# code - SOAP::SOAPString |
|
1849
|
|
|
# description - SOAP::SOAPString |
|
1850
|
|
View Code Duplication |
class ReturnedItemType |
|
|
|
|
|
|
1851
|
|
|
include ROXML |
|
1852
|
|
|
xml_accessor :id |
|
1853
|
|
|
xml_accessor :dateUTC |
|
1854
|
|
|
xml_accessor :dateLocal |
|
1855
|
|
|
xml_accessor :code |
|
1856
|
|
|
xml_accessor :description |
|
1857
|
|
|
|
|
1858
|
|
|
def initialize(id = nil, dateUTC = nil, dateLocal = nil, code = nil, description = nil) |
|
1859
|
|
|
@id = id |
|
1860
|
|
|
@dateUTC = dateUTC |
|
1861
|
|
|
@dateLocal = dateLocal |
|
1862
|
|
|
@code = code |
|
1863
|
|
|
@description = description |
|
1864
|
|
|
end |
|
1865
|
|
|
end |
|
1866
|
|
|
|
|
1867
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfReturnedItem |
|
1868
|
|
|
class ArrayOfReturnedItem < ::Array |
|
1869
|
|
|
include ROXML |
|
1870
|
|
|
xml_accessor :returnedItem, :as => [ReturnedItemType] |
|
1871
|
|
|
end |
|
1872
|
|
|
|
|
1873
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FDSFilterType |
|
1874
|
|
|
# name - SOAP::SOAPString |
|
1875
|
|
|
# action - SOAP::SOAPString |
|
1876
|
|
|
class FDSFilterType |
|
1877
|
|
|
include ROXML |
|
1878
|
|
|
xml_accessor :name |
|
1879
|
|
|
xml_accessor :action |
|
1880
|
|
|
|
|
1881
|
|
|
def initialize(name = nil, action = nil) |
|
1882
|
|
|
@name = name |
|
1883
|
|
|
@action = action |
|
1884
|
|
|
end |
|
1885
|
|
|
end |
|
1886
|
|
|
|
|
1887
|
|
|
|
|
1888
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionDetailsType |
|
1889
|
|
|
# transId - (any) |
|
1890
|
|
|
# refTransId - (any) |
|
1891
|
|
|
# splitTenderId - (any) |
|
1892
|
|
|
# submitTimeUTC - SOAP::SOAPDateTime |
|
1893
|
|
|
# submitTimeLocal - SOAP::SOAPDateTime |
|
1894
|
|
|
# transactionType - SOAP::SOAPString |
|
1895
|
|
|
# transactionStatus - SOAP::SOAPString |
|
1896
|
|
|
# responseCode - SOAP::SOAPInt |
|
1897
|
|
|
# responseReasonCode - SOAP::SOAPInt |
|
1898
|
|
|
# subscription - SubscriptionPaymentType |
|
1899
|
|
|
# responseReasonDescription - SOAP::SOAPString |
|
1900
|
|
|
# authCode - SOAP::SOAPString |
|
1901
|
|
|
# aVSResponse - SOAP::SOAPString |
|
1902
|
|
|
# cardCodeResponse - SOAP::SOAPString |
|
1903
|
|
|
# cAVVResponse - SOAP::SOAPString |
|
1904
|
|
|
# fDSFilterAction - SOAP::SOAPString |
|
1905
|
|
|
# fDSFilters - ArrayOfFDSFilter |
|
1906
|
|
|
# batch - BatchDetailsType |
|
1907
|
|
View Code Duplication |
# order - OrderExType |
|
|
|
|
|
|
1908
|
|
|
# requestedAmount - SOAP::SOAPDecimal |
|
1909
|
|
|
# authAmount - SOAP::SOAPDecimal |
|
1910
|
|
|
# settleAmount - SOAP::SOAPDecimal |
|
1911
|
|
|
# tax - ExtendedAmountType |
|
1912
|
|
|
# shipping - ExtendedAmountType |
|
1913
|
|
|
# duty - ExtendedAmountType |
|
1914
|
|
|
# lineItems - ArrayOfLineItem |
|
1915
|
|
|
# prepaidBalanceRemaining - SOAP::SOAPDecimal |
|
1916
|
|
|
# taxExempt - SOAP::SOAPBoolean |
|
1917
|
|
|
# payment - PaymentMaskedType |
|
1918
|
|
|
# customer - CustomerDataType |
|
1919
|
|
|
# billTo - CustomerAddressType |
|
1920
|
|
|
# shipTo - NameAndAddressType |
|
1921
|
|
|
# recurringBilling - SOAP::SOAPBoolean |
|
1922
|
|
|
# customerIP - SOAP::SOAPString |
|
1923
|
|
|
# product - SOAP::SOAPString |
|
1924
|
|
|
# marketType - SOAP::SOAPString |
|
1925
|
|
|
# mobileDeviceId - SOAP::SOAPString |
|
1926
|
|
|
# returnedItems - ArrayOfReturnedItem |
|
1927
|
|
|
# solution - SolutionType |
|
1928
|
|
|
# emvDetails - TransactionDetailsType::EmvDetails |
|
1929
|
|
|
class TransactionDetailsType |
|
1930
|
|
|
include ROXML |
|
1931
|
|
|
# inner class for member: EmvDetails |
|
1932
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvDetails |
|
1933
|
|
|
# tagId - SOAP::SOAPString |
|
1934
|
|
|
# data - SOAP::SOAPString |
|
1935
|
|
|
class EmvDetails |
|
1936
|
|
|
include ROXML |
|
1937
|
|
|
class Tag |
|
1938
|
|
|
include ROXML |
|
1939
|
|
|
xml_accessor :tagId |
|
1940
|
|
|
xml_accessor :data |
|
1941
|
|
|
|
|
1942
|
|
|
def initialize(tagId = nil, data = nil) |
|
1943
|
|
|
@tagId = tagId |
|
1944
|
|
|
@data = data |
|
1945
|
|
|
end |
|
1946
|
|
|
end |
|
1947
|
|
|
xml_accessor :tag, :as => Tag |
|
1948
|
|
|
|
|
1949
|
|
|
def initialize(tag = nil) |
|
1950
|
|
|
@tag = tag |
|
1951
|
|
|
end |
|
1952
|
|
|
end |
|
1953
|
|
|
xml_accessor :transId |
|
1954
|
|
|
xml_accessor :refTransId |
|
1955
|
|
|
xml_accessor :splitTenderId |
|
1956
|
|
|
xml_accessor :submitTimeUTC |
|
1957
|
|
|
xml_accessor :submitTimeLocal |
|
1958
|
|
|
xml_accessor :transactionType |
|
1959
|
|
|
xml_accessor :transactionStatus |
|
1960
|
|
|
xml_accessor :responseCode |
|
1961
|
|
|
xml_accessor :responseReasonCode |
|
1962
|
|
|
xml_accessor :subscription |
|
1963
|
|
|
xml_accessor :responseReasonDescription |
|
1964
|
|
|
xml_accessor :authCode |
|
1965
|
|
|
xml_accessor :aVSResponse |
|
1966
|
|
|
xml_accessor :cardCodeResponse |
|
1967
|
|
|
xml_accessor :cAVVResponse |
|
1968
|
|
|
xml_accessor :fDSFilterAction |
|
1969
|
|
|
xml_accessor :fDSFilters |
|
1970
|
|
|
xml_accessor :batch, :as => BatchDetailsType |
|
1971
|
|
|
xml_accessor :order, :as => OrderExType |
|
1972
|
|
|
xml_accessor :requestedAmount |
|
1973
|
|
|
xml_accessor :authAmount |
|
1974
|
|
|
xml_accessor :settleAmount |
|
1975
|
|
|
xml_accessor :tax |
|
1976
|
|
|
xml_accessor :shipping |
|
1977
|
|
|
xml_accessor :duty |
|
1978
|
|
|
xml_accessor :lineItems |
|
1979
|
|
|
xml_accessor :prepaidBalanceRemaining |
|
1980
|
|
|
xml_accessor :taxExempt |
|
1981
|
|
|
xml_accessor :payment, :as => PaymentMaskedType |
|
1982
|
|
|
xml_accessor :customer, :as => CustomerDataType |
|
1983
|
|
|
xml_accessor :billTo, :as => CustomerAddressType |
|
1984
|
|
|
xml_accessor :shipTo, :as => NameAndAddressType |
|
1985
|
|
|
xml_accessor :recurringBilling |
|
1986
|
|
|
xml_accessor :customerIP |
|
1987
|
|
|
xml_accessor :product |
|
1988
|
|
|
xml_accessor :marketType |
|
1989
|
|
|
xml_accessor :mobileDeviceId |
|
1990
|
|
|
xml_accessor :returnedItems, :as => ArrayOfReturnedItem |
|
1991
|
|
|
xml_accessor :solution |
|
1992
|
|
|
xml_accessor :emvDetails, :as => EmvDetails |
|
1993
|
|
|
|
|
1994
|
|
|
def initialize(transId = nil, refTransId = nil, splitTenderId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionType = nil, transactionStatus = nil, responseCode = nil, responseReasonCode = nil, subscription = nil, responseReasonDescription = nil, authCode = nil, aVSResponse = nil, cardCodeResponse = nil, cAVVResponse = nil, fDSFilterAction = nil, fDSFilters = nil, batch = nil, order = nil, requestedAmount = nil, authAmount = nil, settleAmount = nil, tax = nil, shipping = nil, duty = nil, lineItems = nil, prepaidBalanceRemaining = nil, taxExempt = nil, payment = nil, customer = nil, billTo = nil, shipTo = nil, recurringBilling = nil, customerIP = nil, product = nil, marketType = nil, mobileDeviceId = nil, returnedItems = nil, solution = nil, emvDetails = nil) |
|
1995
|
|
|
@transId = transId |
|
1996
|
|
|
@refTransId = refTransId |
|
1997
|
|
|
@splitTenderId = splitTenderId |
|
1998
|
|
|
@submitTimeUTC = submitTimeUTC |
|
1999
|
|
|
@submitTimeLocal = submitTimeLocal |
|
2000
|
|
|
@transactionType = transactionType |
|
2001
|
|
|
@transactionStatus = transactionStatus |
|
2002
|
|
|
@responseCode = responseCode |
|
2003
|
|
|
@responseReasonCode = responseReasonCode |
|
2004
|
|
|
@subscription = subscription |
|
2005
|
|
|
@responseReasonDescription = responseReasonDescription |
|
2006
|
|
|
@authCode = authCode |
|
2007
|
|
|
@aVSResponse = aVSResponse |
|
2008
|
|
|
@cardCodeResponse = cardCodeResponse |
|
2009
|
|
|
@cAVVResponse = cAVVResponse |
|
2010
|
|
|
@fDSFilterAction = fDSFilterAction |
|
2011
|
|
|
@fDSFilters = fDSFilters |
|
2012
|
|
|
@batch = batch |
|
2013
|
|
|
@order = order |
|
2014
|
|
|
@requestedAmount = requestedAmount |
|
2015
|
|
|
@authAmount = authAmount |
|
2016
|
|
|
@settleAmount = settleAmount |
|
2017
|
|
|
@tax = tax |
|
2018
|
|
|
@shipping = shipping |
|
2019
|
|
|
@duty = duty |
|
2020
|
|
|
@lineItems = lineItems |
|
2021
|
|
|
@prepaidBalanceRemaining = prepaidBalanceRemaining |
|
2022
|
|
|
@taxExempt = taxExempt |
|
2023
|
|
|
@payment = payment |
|
2024
|
|
|
@customer = customer |
|
2025
|
|
|
@billTo = billTo |
|
2026
|
|
|
@shipTo = shipTo |
|
2027
|
|
|
@recurringBilling = recurringBilling |
|
2028
|
|
|
@customerIP = customerIP |
|
2029
|
|
|
@product = product |
|
2030
|
|
|
@marketType = marketType |
|
2031
|
|
|
@mobileDeviceId = mobileDeviceId |
|
2032
|
|
|
@returnedItems = returnedItems |
|
2033
|
|
|
@solution = solution |
|
2034
|
|
|
@emvDetails = emvDetails |
|
2035
|
|
|
end |
|
2036
|
|
|
end |
|
2037
|
|
|
|
|
2038
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}solutionType |
|
2039
|
|
|
# id - SOAP::SOAPString |
|
2040
|
|
|
# name - SOAP::SOAPString |
|
2041
|
|
|
class SolutionType |
|
2042
|
|
|
include ROXML |
|
2043
|
|
|
xml_accessor :id |
|
2044
|
|
|
xml_accessor :name |
|
2045
|
|
|
|
|
2046
|
|
|
def initialize(id = nil, name = nil) |
|
2047
|
|
|
@id = id |
|
2048
|
|
|
@name = name |
|
2049
|
|
|
end |
|
2050
|
|
|
end |
|
2051
|
|
|
|
|
2052
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvTag |
|
2053
|
|
|
# id - SOAP::SOAPString |
|
2054
|
|
|
# value - SOAP::SOAPString |
|
2055
|
|
|
# formatted - SOAP::SOAPString |
|
2056
|
|
|
class EmvTag |
|
2057
|
|
|
include ROXML |
|
2058
|
|
|
xml_accessor :name |
|
2059
|
|
|
xml_accessor :value |
|
2060
|
|
|
xml_accessor :formatted |
|
2061
|
|
|
|
|
2062
|
|
|
def initialize(id = nil, value = nil, formatted = nil) |
|
2063
|
|
|
@id = id |
|
2064
|
|
|
@value = value |
|
2065
|
|
|
@formatted = formatted |
|
2066
|
|
|
end |
|
2067
|
|
|
end |
|
2068
|
|
|
|
|
2069
|
|
|
|
|
2070
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionResponse |
|
2071
|
|
|
# responseCode - SOAP::SOAPString |
|
2072
|
|
|
# rawResponseCode - SOAP::SOAPString |
|
2073
|
|
|
# authCode - SOAP::SOAPString |
|
2074
|
|
|
# avsResultCode - SOAP::SOAPString |
|
2075
|
|
|
# cvvResultCode - SOAP::SOAPString |
|
2076
|
|
|
# cavvResultCode - SOAP::SOAPString |
|
2077
|
|
|
# transId - SOAP::SOAPString |
|
2078
|
|
|
# refTransID - SOAP::SOAPString |
|
2079
|
|
|
# transHash - SOAP::SOAPString |
|
2080
|
|
|
# testRequest - SOAP::SOAPString |
|
2081
|
|
|
# accountNumber - SOAP::SOAPString |
|
2082
|
|
|
# accountType - SOAP::SOAPString |
|
2083
|
|
|
# splitTenderId - SOAP::SOAPString |
|
2084
|
|
|
# prePaidCard - TransactionResponse::PrePaidCard |
|
2085
|
|
|
# messages - TransactionResponse::Messages |
|
2086
|
|
|
# errors - TransactionResponse::Errors |
|
2087
|
|
|
# splitTenderPayments - TransactionResponse::SplitTenderPayments |
|
2088
|
|
|
# userFields - TransactionResponse::UserFields |
|
2089
|
|
|
# shipTo - NameAndAddressType |
|
2090
|
|
|
# secureAcceptance - TransactionResponse::secureAcceptance |
|
2091
|
|
|
# emvResponse - TransactionResponse::emvResponse |
|
2092
|
|
|
# transHashSha2 - SOAP::SOAPString |
|
2093
|
|
|
class TransactionResponse |
|
2094
|
|
|
include ROXML |
|
2095
|
|
|
# inner class for member: prePaidCard |
|
2096
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}prePaidCard |
|
2097
|
|
|
# requestedAmount - SOAP::SOAPString |
|
2098
|
|
|
# approvedAmount - SOAP::SOAPString |
|
2099
|
|
|
# balanceOnCard - SOAP::SOAPString |
|
2100
|
|
|
class PrePaidCard |
|
2101
|
|
|
include ROXML |
|
2102
|
|
|
xml_accessor :requestedAmount |
|
2103
|
|
|
xml_accessor :approvedAmount |
|
2104
|
|
|
xml_accessor :balanceOnCard |
|
2105
|
|
|
|
|
2106
|
|
|
def initialize(requestedAmount = nil, approvedAmount = nil, balanceOnCard = nil) |
|
2107
|
|
|
@requestedAmount = requestedAmount |
|
2108
|
|
|
@approvedAmount = approvedAmount |
|
2109
|
|
|
@balanceOnCard = balanceOnCard |
|
2110
|
|
|
end |
|
2111
|
|
|
end |
|
2112
|
|
View Code Duplication |
|
|
|
|
|
|
|
2113
|
|
|
# inner class for member: messages |
|
2114
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messages |
|
2115
|
|
|
class Messages |
|
2116
|
|
|
include ROXML |
|
2117
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}message |
|
2118
|
|
|
# code - SOAP::SOAPString |
|
2119
|
|
|
# description - SOAP::SOAPString |
|
2120
|
|
|
class Message |
|
2121
|
|
|
include ROXML |
|
2122
|
|
|
xml_accessor :code |
|
2123
|
|
|
xml_accessor :description |
|
2124
|
|
|
|
|
2125
|
|
|
def initialize(code = nil, description = nil) |
|
2126
|
|
|
@code = code |
|
2127
|
|
|
@description = description |
|
2128
|
|
|
end |
|
2129
|
|
|
end |
|
2130
|
|
|
|
|
2131
|
|
|
xml_accessor :messages, :as => [Messages::Message] |
|
2132
|
|
|
|
|
2133
|
|
|
def initialize(messages = []) |
|
2134
|
|
|
@messages = messages |
|
2135
|
|
|
end |
|
2136
|
|
|
end |
|
2137
|
|
|
|
|
2138
|
|
|
# inner class for member: errors |
|
2139
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}errors |
|
2140
|
|
|
class Errors |
|
2141
|
|
|
include ROXML |
|
2142
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}error |
|
2143
|
|
|
# errorCode - SOAP::SOAPString |
|
2144
|
|
|
# errorText - SOAP::SOAPString |
|
2145
|
|
|
class Error |
|
2146
|
|
|
include ROXML |
|
2147
|
|
|
xml_accessor :errorCode |
|
2148
|
|
|
xml_accessor :errorText |
|
2149
|
|
|
|
|
2150
|
|
|
def initialize(errorCode = nil, errorText = nil) |
|
2151
|
|
|
@errorCode = errorCode |
|
2152
|
|
|
@errorText = errorText |
|
2153
|
|
|
end |
|
2154
|
|
|
end |
|
2155
|
|
|
|
|
2156
|
|
|
xml_accessor :errors, :as => [Error] |
|
2157
|
|
|
|
|
2158
|
|
|
def initialize(errors = []) |
|
2159
|
|
|
@errors = errors |
|
2160
|
|
|
end |
|
2161
|
|
|
end |
|
2162
|
|
|
|
|
2163
|
|
|
# inner class for member: splitTenderPayments |
|
2164
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}splitTenderPayments |
|
2165
|
|
|
class SplitTenderPayments |
|
2166
|
|
|
include ROXML |
|
2167
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}splitTenderPayment |
|
2168
|
|
|
# transId - SOAP::SOAPString |
|
2169
|
|
|
# responseCode - SOAP::SOAPString |
|
2170
|
|
|
# responseToCustomer - SOAP::SOAPString |
|
2171
|
|
|
# authCode - SOAP::SOAPString |
|
2172
|
|
|
# accountNumber - SOAP::SOAPString |
|
2173
|
|
|
# accountType - SOAP::SOAPString |
|
2174
|
|
|
# requestedAmount - SOAP::SOAPString |
|
2175
|
|
|
# approvedAmount - SOAP::SOAPString |
|
2176
|
|
|
# balanceOnCard - SOAP::SOAPString |
|
2177
|
|
|
class SplitTenderPayment |
|
2178
|
|
|
include ROXML |
|
2179
|
|
|
xml_accessor :transId |
|
2180
|
|
|
xml_accessor :responseCode |
|
2181
|
|
|
xml_accessor :responseToCustomer |
|
2182
|
|
|
xml_accessor :authCode |
|
2183
|
|
|
xml_accessor :accountNumber |
|
2184
|
|
|
xml_accessor :accountType |
|
2185
|
|
|
xml_accessor :requestedAmount |
|
2186
|
|
|
xml_accessor :approvedAmount |
|
2187
|
|
|
xml_accessor :balanceOnCard |
|
2188
|
|
|
|
|
2189
|
|
|
def initialize(transId = nil, responseCode = nil, responseToCustomer = nil, authCode = nil, accountNumber = nil, accountType = nil, requestedAmount = nil, approvedAmount = nil, balanceOnCard = nil) |
|
2190
|
|
|
@transId = transId |
|
2191
|
|
|
@responseCode = responseCode |
|
2192
|
|
|
@responseToCustomer = responseToCustomer |
|
2193
|
|
|
@authCode = authCode |
|
2194
|
|
|
@accountNumber = accountNumber |
|
2195
|
|
|
@accountType = accountType |
|
2196
|
|
|
@requestedAmount = requestedAmount |
|
2197
|
|
|
@approvedAmount = approvedAmount |
|
2198
|
|
|
@balanceOnCard = balanceOnCard |
|
2199
|
|
|
end |
|
2200
|
|
|
end |
|
2201
|
|
View Code Duplication |
|
|
|
|
|
|
|
2202
|
|
|
xml_accessor :splitTenderPayments, :as => [SplitTenderPayment] |
|
2203
|
|
|
|
|
2204
|
|
|
def initialize(splitTenderPayments = []) |
|
2205
|
|
|
@splitTenderPayments = splitTenderPayments |
|
2206
|
|
|
end |
|
2207
|
|
|
end |
|
2208
|
|
|
|
|
2209
|
|
|
# inner class for member: secureAcceptance |
|
2210
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}secureAcceptance |
|
2211
|
|
|
# secureAcceptanceUrl - SOAP::SOAPString |
|
2212
|
|
|
# payerID - SOAP::SOAPString |
|
2213
|
|
|
# payerEmail - SOAP::SOAPString |
|
2214
|
|
|
class SecureAcceptance |
|
2215
|
|
|
include ROXML |
|
2216
|
|
|
xml_accessor :SecureAcceptanceUrl |
|
2217
|
|
|
xml_accessor :PayerID |
|
2218
|
|
|
xml_accessor :PayerEmail |
|
2219
|
|
|
|
|
2220
|
|
|
def initialize(secureAcceptanceUrl = nil, payerID = nil, payerEmail = nil) |
|
2221
|
|
|
@SecureAcceptanceUrl = secureAcceptanceUrl |
|
2222
|
|
|
@PayerID = payerID |
|
2223
|
|
|
@PayerEmail = payerEmail |
|
2224
|
|
|
end |
|
2225
|
|
|
end |
|
2226
|
|
|
|
|
2227
|
|
|
# inner class for member: emvResponse |
|
2228
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvResponse |
|
2229
|
|
|
class EmvResponse |
|
2230
|
|
|
include ROXML |
|
2231
|
|
|
|
|
2232
|
|
View Code Duplication |
class Tags |
|
|
|
|
|
|
2233
|
|
|
include ROXML |
|
2234
|
|
|
xml_accessor :tag, :as => [EmvTag] |
|
2235
|
|
|
|
|
2236
|
|
|
def initialize(tag = nil) |
|
2237
|
|
|
@tag = tag |
|
2238
|
|
|
end |
|
2239
|
|
|
end |
|
2240
|
|
|
|
|
2241
|
|
|
xml_accessor :tlvData |
|
2242
|
|
|
xml_accessor :tags, :as => [Tags] |
|
2243
|
|
|
|
|
2244
|
|
|
def initialize(tlvData = nil, tags = nil) |
|
2245
|
|
View Code Duplication |
@tlvData = tlvData |
|
|
|
|
|
|
2246
|
|
|
@tags = tags |
|
2247
|
|
|
end |
|
2248
|
|
|
end |
|
2249
|
|
|
|
|
2250
|
|
|
xml_accessor :responseCode |
|
2251
|
|
|
xml_accessor :rawResponseCode |
|
2252
|
|
|
xml_accessor :authCode |
|
2253
|
|
|
xml_accessor :avsResultCode |
|
2254
|
|
|
xml_accessor :cvvResultCode |
|
2255
|
|
|
xml_accessor :cavvResultCode |
|
2256
|
|
|
xml_accessor :transId |
|
2257
|
|
|
xml_accessor :refTransID |
|
2258
|
|
|
xml_accessor :transHash |
|
2259
|
|
|
xml_accessor :testRequest |
|
2260
|
|
|
xml_accessor :accountNumber |
|
2261
|
|
|
xml_accessor :accountType |
|
2262
|
|
|
xml_accessor :splitTenderId |
|
2263
|
|
|
xml_accessor :prePaidCard, :as => PrePaidCard |
|
2264
|
|
|
xml_accessor :messages, :as => Messages |
|
2265
|
|
|
xml_accessor :errors, :as => Errors |
|
2266
|
|
|
xml_accessor :splitTenderPayments, :as => SplitTenderPayments |
|
2267
|
|
|
xml_accessor :userFields, :as => UserFields |
|
2268
|
|
|
xml_accessor :shipTo, :as => NameAndAddressType |
|
2269
|
|
|
xml_accessor :secureAcceptance, :as => SecureAcceptance |
|
2270
|
|
|
xml_accessor :emvResponse, :as => EmvResponse |
|
2271
|
|
|
xml_accessor :transHashSha2 |
|
2272
|
|
|
|
|
2273
|
|
|
def initialize(responseCode = nil, rawResponseCode = nil, authCode = nil, avsResultCode = nil, cvvResultCode = nil, cavvResultCode = nil, transId = nil, refTransID = nil, transHash = nil, testRequest = nil, accountNumber = nil, accountType = nil, splitTenderId = nil, prePaidCard = nil, messages = nil, errors = nil, splitTenderPayments = nil, userFields = nil, shipTo = nil, secureAcceptance = nil, emvResponse = nil, transHashSha2 = nil) |
|
2274
|
|
|
@responseCode = responseCode |
|
2275
|
|
|
@rawResponseCode = rawResponseCode |
|
2276
|
|
|
@authCode = authCode |
|
2277
|
|
|
@avsResultCode = avsResultCode |
|
2278
|
|
|
@cvvResultCode = cvvResultCode |
|
2279
|
|
|
@cavvResultCode = cavvResultCode |
|
2280
|
|
|
@transId = transId |
|
2281
|
|
|
@refTransID = refTransID |
|
2282
|
|
|
@transHash = transHash |
|
2283
|
|
|
@testRequest = testRequest |
|
2284
|
|
|
@accountNumber = accountNumber |
|
2285
|
|
|
@accountType = accountType |
|
2286
|
|
|
@splitTenderId = splitTenderId |
|
2287
|
|
|
@prePaidCard = prePaidCard |
|
2288
|
|
|
@messages = messages |
|
2289
|
|
|
@errors = errors |
|
2290
|
|
|
@splitTenderPayments = splitTenderPayments |
|
2291
|
|
|
@userFields = userFields |
|
2292
|
|
|
@shipTo = shipTo |
|
2293
|
|
|
@secureAcceptance = secureAcceptance |
|
2294
|
|
|
@emvResponse = emvResponse |
|
2295
|
|
|
@transHashSha2 = transHashSha2 |
|
2296
|
|
|
end |
|
2297
|
|
|
end |
|
2298
|
|
|
|
|
2299
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ANetApiRequest |
|
2300
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
2301
|
|
|
# clientId - SOAP::SOAPString |
|
2302
|
|
|
# refId - SOAP::SOAPString |
|
2303
|
|
|
class ANetApiRequest |
|
2304
|
|
|
include ROXML |
|
2305
|
|
|
xml_accessor :merchantAuthentication |
|
2306
|
|
|
xml_accessor :clientId |
|
2307
|
|
|
xml_accessor :refId |
|
2308
|
|
|
|
|
2309
|
|
|
def initialize(merchantAuthentication = nil, clientId = nil, refId = nil) |
|
2310
|
|
|
@merchantAuthentication = merchantAuthentication |
|
2311
|
|
|
@clientId = clientId |
|
2312
|
|
|
@refId = refId |
|
2313
|
|
|
end |
|
2314
|
|
|
end |
|
2315
|
|
|
|
|
2316
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messageTypeEnum |
|
2317
|
|
|
class MessageTypeEnum < ::String |
|
2318
|
|
|
Error = MessageTypeEnum.new("Error") |
|
2319
|
|
|
Ok = MessageTypeEnum.new("Ok") |
|
2320
|
|
|
end |
|
2321
|
|
|
|
|
2322
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messagesType |
|
2323
|
|
|
# resultCode - MessageTypeEnum |
|
2324
|
|
|
# message - MessagesType::Message |
|
2325
|
|
|
class MessagesType |
|
2326
|
|
|
include ROXML |
|
2327
|
|
|
# inner class for member: message |
|
2328
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}message |
|
2329
|
|
|
# code - SOAP::SOAPString |
|
2330
|
|
|
# text - SOAP::SOAPString |
|
2331
|
|
|
class Message |
|
2332
|
|
|
include ROXML |
|
2333
|
|
|
xml_accessor :code |
|
2334
|
|
|
xml_accessor :text |
|
2335
|
|
|
|
|
2336
|
|
|
def initialize(code = nil, text = nil) |
|
2337
|
|
|
@code = code |
|
2338
|
|
|
@text = text |
|
2339
|
|
|
end |
|
2340
|
|
|
end |
|
2341
|
|
|
|
|
2342
|
|
|
xml_accessor :resultCode |
|
2343
|
|
|
xml_accessor :messages, :as => [MessagesType::Message] |
|
2344
|
|
|
|
|
2345
|
|
|
def initialize(resultCode = nil, messages = []) |
|
2346
|
|
|
@resultCode = resultCode |
|
2347
|
|
|
@messages = messages |
|
2348
|
|
|
end |
|
2349
|
|
|
end |
|
2350
|
|
|
|
|
2351
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ANetApiResponse |
|
2352
|
|
|
# refId - SOAP::SOAPString |
|
2353
|
|
|
# messages - MessagesType |
|
2354
|
|
|
# sessionToken - SOAP::SOAPString |
|
2355
|
|
|
class ANetApiResponse |
|
2356
|
|
|
include ROXML |
|
2357
|
|
|
xml_accessor :refId |
|
2358
|
|
|
xml_accessor :messages, :as => MessagesType |
|
2359
|
|
|
xml_accessor :sessionToken |
|
2360
|
|
|
|
|
2361
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
2362
|
|
|
@refId = refId |
|
2363
|
|
|
@messages = messages |
|
2364
|
|
|
@sessionToken = sessionToken |
|
2365
|
|
|
end |
|
2366
|
|
|
end |
|
2367
|
|
|
|
|
2368
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createProfileResponse |
|
2369
|
|
|
# messages - MessagesType |
|
2370
|
|
|
# customerProfileId - (any) |
|
2371
|
|
|
# customerPaymentProfileIdList - ArrayOfNumericString |
|
2372
|
|
|
# customerShippingAddressIdList - ArrayOfNumericString |
|
2373
|
|
|
class CreateProfileResponse |
|
2374
|
|
|
include ROXML |
|
2375
|
|
|
xml_accessor :messages, :as => MessagesType |
|
2376
|
|
|
xml_accessor :customerProfileId |
|
2377
|
|
|
xml_accessor :customerPaymentProfileIdList, :as => NumericStringsType |
|
2378
|
|
|
xml_accessor :customerShippingAddressIdList, :as => NumericStringsType |
|
2379
|
|
|
|
|
2380
|
|
|
def initialize(messages = nil, customerProfileId = nil, customerPaymentProfileIdList = nil, customerShippingAddressIdList = nil) |
|
2381
|
|
|
@messages = messages |
|
2382
|
|
|
@customerProfileId = customerProfileId |
|
2383
|
|
|
@customerPaymentProfileIdList = customerPaymentProfileIdList |
|
2384
|
|
|
@customerShippingAddressIdList = customerShippingAddressIdList |
|
2385
|
|
|
end |
|
2386
|
|
|
end |
|
2387
|
|
|
|
|
2388
|
|
|
|
|
2389
|
|
|
|
|
2390
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}Paging |
|
2391
|
|
|
# limit - SOAP::SOAPInt |
|
2392
|
|
|
# offset - SOAP::SOAPInt |
|
2393
|
|
|
class Paging |
|
2394
|
|
|
include ROXML |
|
2395
|
|
|
xml_accessor :limit |
|
2396
|
|
|
xml_accessor :offset |
|
2397
|
|
|
|
|
2398
|
|
|
def initialize(limit = nil, offset = nil) |
|
2399
|
|
|
@limit = limit |
|
2400
|
|
|
@offset = offset |
|
2401
|
|
|
end |
|
2402
|
|
|
end |
|
2403
|
|
|
|
|
2404
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListSorting |
|
2405
|
|
|
# orderBy - ARBGetSubscriptionListOrderFieldEnum |
|
2406
|
|
|
# orderDescending - SOAP::SOAPBoolean |
|
2407
|
|
|
class ARBGetSubscriptionListSorting |
|
2408
|
|
|
include ROXML |
|
2409
|
|
|
xml_accessor :orderBy |
|
2410
|
|
|
xml_accessor :orderDescending |
|
2411
|
|
|
|
|
2412
|
|
|
def initialize(orderBy = nil, orderDescending = nil) |
|
2413
|
|
|
@orderBy = orderBy |
|
2414
|
|
|
@orderDescending = orderDescending |
|
2415
|
|
|
end |
|
2416
|
|
|
end |
|
2417
|
|
|
|
|
2418
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionDetail |
|
2419
|
|
|
# id - SOAP::SOAPInt |
|
2420
|
|
|
# name - SOAP::SOAPString |
|
2421
|
|
|
# status - ARBSubscriptionStatusEnum |
|
2422
|
|
|
# createTimeStampUTC - SOAP::SOAPDateTime |
|
2423
|
|
|
# firstName - SOAP::SOAPString |
|
2424
|
|
|
# lastName - SOAP::SOAPString |
|
2425
|
|
|
# totalOccurrences - SOAP::SOAPInt |
|
2426
|
|
|
# pastOccurrences - SOAP::SOAPInt |
|
2427
|
|
|
# paymentMethod - PaymentMethodEnum |
|
2428
|
|
|
# accountNumber - SOAP::SOAPString |
|
2429
|
|
|
# invoice - SOAP::SOAPString |
|
2430
|
|
|
# amount - SOAP::SOAPDecimal |
|
2431
|
|
|
# currencyCode - SOAP::SOAPString |
|
2432
|
|
|
# customerProfileId - SOAP::SOAPInt |
|
2433
|
|
|
# customerPaymentProfileId - SOAP::SOAPInt |
|
2434
|
|
|
# totalOccurrences - SOAP::SOAPInt |
|
2435
|
|
|
class SubscriptionDetail |
|
2436
|
|
|
include ROXML |
|
2437
|
|
|
xml_accessor :id |
|
2438
|
|
|
xml_accessor :name |
|
2439
|
|
|
xml_accessor :status |
|
2440
|
|
|
xml_accessor :createTimeStampUTC |
|
2441
|
|
|
xml_accessor :firstName |
|
2442
|
|
|
xml_accessor :lastName |
|
2443
|
|
|
xml_accessor :totalOccurrences |
|
2444
|
|
|
xml_accessor :pastOccurrences |
|
2445
|
|
|
xml_accessor :paymentMethod |
|
2446
|
|
|
xml_accessor :accountNumber |
|
2447
|
|
|
xml_accessor :invoice |
|
2448
|
|
|
xml_accessor :amount |
|
2449
|
|
|
xml_accessor :currencyCode |
|
2450
|
|
|
xml_accessor :customerProfileId |
|
2451
|
|
|
xml_accessor :customerPaymentProfileId |
|
2452
|
|
|
xml_accessor :customerShippingProfileId |
|
2453
|
|
|
|
|
2454
|
|
|
def initialize(id = nil, name = nil, status = nil, createTimeStampUTC = nil, firstName = nil, lastName = nil, totalOccurrences = nil, pastOccurrences = nil, paymentMethod = nil, accountNumber = nil, invoice = nil, amount = nil, currencyCode = nil, customerProfileId = nil, customerPaymentProfileId = nil, customerShippingProfileId = nil) |
|
2455
|
|
|
@id = id |
|
2456
|
|
|
@name = name |
|
2457
|
|
|
@status = status |
|
2458
|
|
|
@createTimeStampUTC = createTimeStampUTC |
|
2459
|
|
|
@firstName = firstName |
|
2460
|
|
|
@lastName = lastName |
|
2461
|
|
View Code Duplication |
@totalOccurrences = totalOccurrences |
|
|
|
|
|
|
2462
|
|
|
@pastOccurrences = pastOccurrences |
|
2463
|
|
|
@paymentMethod = paymentMethod |
|
2464
|
|
|
@accountNumber = accountNumber |
|
2465
|
|
|
@invoice = invoice |
|
2466
|
|
|
@amount = amount |
|
2467
|
|
|
@currencyCode = currencyCode |
|
2468
|
|
|
@customerProfileId = customerProfileId |
|
2469
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
2470
|
|
|
@customerShippingProfileId = customerShippingProfileId |
|
2471
|
|
|
end |
|
2472
|
|
|
end |
|
2473
|
|
|
|
|
2474
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSubscription |
|
2475
|
|
|
class ArrayOfSubscription < ::Array |
|
2476
|
|
|
include ROXML |
|
2477
|
|
View Code Duplication |
xml_accessor :subscriptionDetail, :as => [SubscriptionDetail] |
|
|
|
|
|
|
2478
|
|
|
|
|
2479
|
|
|
def initialize(subscriptionDetail = []) |
|
2480
|
|
|
@subscriptionDetail = subscriptionDetail |
|
2481
|
|
|
end |
|
2482
|
|
|
end |
|
2483
|
|
|
|
|
2484
|
|
|
|
|
2485
|
|
|
|
|
2486
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}searchCriteriaCustomerProfileType |
|
2487
|
|
|
# merchantCustomerId - SOAP::SOAPString |
|
2488
|
|
|
# email - SOAP::SOAPString |
|
2489
|
|
|
class SearchCriteriaCustomerProfileType |
|
2490
|
|
|
include ROXML |
|
2491
|
|
|
xml_accessor :merchantCustomerId |
|
2492
|
|
|
xml_accessor :email |
|
2493
|
|
|
|
|
2494
|
|
|
def initialize(merchantCustomerId = nil, email = nil) |
|
2495
|
|
|
@merchantCustomerId = merchantCustomerId |
|
2496
|
|
|
@email = email |
|
2497
|
|
|
end |
|
2498
|
|
|
end |
|
2499
|
|
|
|
|
2500
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileSummaryType |
|
2501
|
|
|
# merchantCustomerId - SOAP::SOAPString |
|
2502
|
|
|
# email - SOAP::SOAPString |
|
2503
|
|
|
# customerProfileId - SOAP::SOAPString |
|
2504
|
|
|
# description - SOAP::SOAPString |
|
2505
|
|
View Code Duplication |
class CustomerProfileSummaryType |
|
|
|
|
|
|
2506
|
|
|
include ROXML |
|
2507
|
|
|
xml_accessor :merchantCustomerId |
|
2508
|
|
|
xml_accessor :email |
|
2509
|
|
|
xml_accessor :customerProfileId |
|
2510
|
|
|
xml_accessor :description |
|
2511
|
|
|
|
|
2512
|
|
|
def initialize(merchantCustomerId = nil, email = nil, customerProfileId = nil, description = nil) |
|
2513
|
|
|
@merchantCustomerId = merchantCustomerId |
|
2514
|
|
|
@email = email |
|
2515
|
|
|
@customerProfileId = customerProfileId |
|
2516
|
|
|
@description = description |
|
2517
|
|
|
end |
|
2518
|
|
|
end |
|
2519
|
|
|
|
|
2520
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentProfile |
|
2521
|
|
|
# paymentProfileId - (any) |
|
2522
|
|
|
# cardCode - (any) |
|
2523
|
|
View Code Duplication |
class PaymentProfile |
|
|
|
|
|
|
2524
|
|
|
include ROXML |
|
2525
|
|
|
xml_accessor :paymentProfileId, :as => Fixnum |
|
2526
|
|
|
xml_accessor :cardCode |
|
2527
|
|
|
|
|
2528
|
|
|
def initialize(paymentProfileId = nil, cardCode = nil) |
|
2529
|
|
|
@paymentProfileId = paymentProfileId |
|
2530
|
|
|
@cardCode = cardCode |
|
2531
|
|
|
end |
|
2532
|
|
|
end |
|
2533
|
|
|
|
|
2534
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfilePaymentType |
|
2535
|
|
|
# createProfile - SOAP::SOAPBoolean |
|
2536
|
|
|
# customerProfileId - (any) |
|
2537
|
|
|
# paymentProfile - PaymentProfile |
|
2538
|
|
|
# shippingProfileId - (any) |
|
2539
|
|
|
class CustomerProfilePaymentType |
|
2540
|
|
|
include ROXML |
|
2541
|
|
|
xml_accessor :createProfile |
|
2542
|
|
|
xml_accessor :customerProfileId, :as => Fixnum |
|
2543
|
|
|
xml_accessor :paymentProfile, :as => PaymentProfile |
|
2544
|
|
|
xml_accessor :shippingProfileId, :as => Fixnum |
|
2545
|
|
|
|
|
2546
|
|
|
def initialize(createProfile = nil, customerProfileId = nil, paymentProfile = nil, shippingProfileId = nil) |
|
2547
|
|
|
@createProfile = createProfile |
|
2548
|
|
|
@customerProfileId = customerProfileId |
|
2549
|
|
|
@paymentProfile = paymentProfile |
|
2550
|
|
|
@shippingProfileId = shippingProfileId |
|
2551
|
|
|
end |
|
2552
|
|
|
end |
|
2553
|
|
|
|
|
2554
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountTypeEnum |
|
2555
|
|
|
class BankAccountTypeEnum < ::String |
|
2556
|
|
|
BusinessChecking = BankAccountTypeEnum.new("businessChecking") |
|
2557
|
|
|
Checking = BankAccountTypeEnum.new("checking") |
|
2558
|
|
|
Savings = BankAccountTypeEnum.new("savings") |
|
2559
|
|
|
end |
|
2560
|
|
|
|
|
2561
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}echeckTypeEnum |
|
2562
|
|
|
class EcheckTypeEnum < ::String |
|
2563
|
|
|
ARC = EcheckTypeEnum.new("ARC") |
|
2564
|
|
|
BOC = EcheckTypeEnum.new("BOC") |
|
2565
|
|
|
CCD = EcheckTypeEnum.new("CCD") |
|
2566
|
|
|
PPD = EcheckTypeEnum.new("PPD") |
|
2567
|
|
|
TEL = EcheckTypeEnum.new("TEL") |
|
2568
|
|
|
WEB = EcheckTypeEnum.new("WEB") |
|
2569
|
|
|
end |
|
2570
|
|
|
|
|
2571
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentMethodEnum |
|
2572
|
|
|
class PaymentMethodEnum < ::String |
|
2573
|
|
|
CreditCard = PaymentMethodEnum.new("creditCard") |
|
2574
|
|
|
ECheck = PaymentMethodEnum.new("eCheck") |
|
2575
|
|
|
PayPal = PaymentMethodEnum.new("payPal") |
|
2576
|
|
|
end |
|
2577
|
|
|
|
|
2578
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}cardTypeEnum |
|
2579
|
|
|
class CardTypeEnum < ::String |
|
2580
|
|
|
AmericanExpress = CardTypeEnum.new("AmericanExpress") |
|
2581
|
|
|
DinersClub = CardTypeEnum.new("DinersClub") |
|
2582
|
|
|
Discover = CardTypeEnum.new("Discover") |
|
2583
|
|
|
JCB = CardTypeEnum.new("JCB") |
|
2584
|
|
|
MasterCard = CardTypeEnum.new("MasterCard") |
|
2585
|
|
|
Visa = CardTypeEnum.new("Visa") |
|
2586
|
|
|
end |
|
2587
|
|
|
|
|
2588
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}accountTypeEnum |
|
2589
|
|
|
class AccountTypeEnum < ::String |
|
2590
|
|
|
AmericanExpress = AccountTypeEnum.new("AmericanExpress") |
|
2591
|
|
|
DinersClub = AccountTypeEnum.new("DinersClub") |
|
2592
|
|
|
Discover = AccountTypeEnum.new("Discover") |
|
2593
|
|
|
ECheck = AccountTypeEnum.new("eCheck") |
|
2594
|
|
|
JCB = AccountTypeEnum.new("JCB") |
|
2595
|
|
|
MasterCard = AccountTypeEnum.new("MasterCard") |
|
2596
|
|
|
Visa = AccountTypeEnum.new("Visa") |
|
2597
|
|
|
end |
|
2598
|
|
|
|
|
2599
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerTypeEnum |
|
2600
|
|
|
class CustomerTypeEnum < ::String |
|
2601
|
|
|
Business = CustomerTypeEnum.new("business") |
|
2602
|
|
|
Individual = CustomerTypeEnum.new("individual") |
|
2603
|
|
|
end |
|
2604
|
|
|
|
|
2605
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionUnitEnum |
|
2606
|
|
|
class ARBSubscriptionUnitEnum < ::String |
|
2607
|
|
|
Days = ARBSubscriptionUnitEnum.new("days") |
|
2608
|
|
|
Months = ARBSubscriptionUnitEnum.new("months") |
|
2609
|
|
|
end |
|
2610
|
|
|
|
|
2611
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}validationModeEnum |
|
2612
|
|
|
class ValidationModeEnum < ::String |
|
2613
|
|
|
LiveMode = ValidationModeEnum.new("liveMode") |
|
2614
|
|
|
None = ValidationModeEnum.new("none") |
|
2615
|
|
|
OldLiveMode = ValidationModeEnum.new("oldLiveMode") |
|
2616
|
|
|
TestMode = ValidationModeEnum.new("testMode") |
|
2617
|
|
|
end |
|
2618
|
|
|
|
|
2619
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}splitTenderStatusEnum |
|
2620
|
|
|
class SplitTenderStatusEnum < ::String |
|
2621
|
|
|
Completed = SplitTenderStatusEnum.new("completed") |
|
2622
|
|
|
Held = SplitTenderStatusEnum.new("held") |
|
2623
|
|
|
Voided = SplitTenderStatusEnum.new("voided") |
|
2624
|
|
|
end |
|
2625
|
|
|
|
|
2626
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionStatusEnum |
|
2627
|
|
|
class ARBSubscriptionStatusEnum < ::String |
|
2628
|
|
|
Active = ARBSubscriptionStatusEnum.new("active") |
|
2629
|
|
|
Canceled = ARBSubscriptionStatusEnum.new("canceled") |
|
2630
|
|
|
Expired = ARBSubscriptionStatusEnum.new("expired") |
|
2631
|
|
|
Suspended = ARBSubscriptionStatusEnum.new("suspended") |
|
2632
|
|
|
Terminated = ARBSubscriptionStatusEnum.new("terminated") |
|
2633
|
|
|
end |
|
2634
|
|
|
|
|
2635
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionTypeEnum |
|
2636
|
|
|
class TransactionTypeEnum < ::String |
|
2637
|
|
|
AuthCaptureContinueTransaction = TransactionTypeEnum.new("authCaptureContinueTransaction") |
|
2638
|
|
|
AuthCaptureTransaction = TransactionTypeEnum.new("authCaptureTransaction") |
|
2639
|
|
|
AuthOnlyContinueTransaction = TransactionTypeEnum.new("authOnlyContinueTransaction") |
|
2640
|
|
|
AuthOnlyTransaction = TransactionTypeEnum.new("authOnlyTransaction") |
|
2641
|
|
|
CaptureOnlyTransaction = TransactionTypeEnum.new("captureOnlyTransaction") |
|
2642
|
|
|
GetDetailsTransaction = TransactionTypeEnum.new("getDetailsTransaction") |
|
2643
|
|
|
PriorAuthCaptureTransaction = TransactionTypeEnum.new("priorAuthCaptureTransaction") |
|
2644
|
|
|
RefundTransaction = TransactionTypeEnum.new("refundTransaction") |
|
2645
|
|
|
VoidTransaction = TransactionTypeEnum.new("voidTransaction") |
|
2646
|
|
|
end |
|
2647
|
|
|
|
|
2648
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionStatusEnum |
|
2649
|
|
|
class TransactionStatusEnum < ::String |
|
2650
|
|
|
ApprovedReview = TransactionStatusEnum.new("approvedReview") |
|
2651
|
|
|
AuthorizedPendingCapture = TransactionStatusEnum.new("authorizedPendingCapture") |
|
2652
|
|
|
AuthorizedPendingRelease = TransactionStatusEnum.new("authorizedPendingRelease") |
|
2653
|
|
|
CapturedPendingSettlement = TransactionStatusEnum.new("capturedPendingSettlement") |
|
2654
|
|
|
Chargeback = TransactionStatusEnum.new("chargeback") |
|
2655
|
|
|
ChargebackReversal = TransactionStatusEnum.new("chargebackReversal") |
|
2656
|
|
|
CommunicationError = TransactionStatusEnum.new("communicationError") |
|
2657
|
|
|
CouldNotVoid = TransactionStatusEnum.new("couldNotVoid") |
|
2658
|
|
|
Declined = TransactionStatusEnum.new("declined") |
|
2659
|
|
|
Expired = TransactionStatusEnum.new("expired") |
|
2660
|
|
|
FDSAuthorizedPendingReview = TransactionStatusEnum.new("FDSAuthorizedPendingReview") |
|
2661
|
|
|
FDSPendingReview = TransactionStatusEnum.new("FDSPendingReview") |
|
2662
|
|
|
FailedReview = TransactionStatusEnum.new("failedReview") |
|
2663
|
|
|
GeneralError = TransactionStatusEnum.new("generalError") |
|
2664
|
|
|
PendingFinalSettlement = TransactionStatusEnum.new("pendingFinalSettlement") |
|
2665
|
|
|
PendingSettlement = TransactionStatusEnum.new("pendingSettlement") |
|
2666
|
|
|
RefundPendingSettlement = TransactionStatusEnum.new("refundPendingSettlement") |
|
2667
|
|
|
RefundSettledSuccessfully = TransactionStatusEnum.new("refundSettledSuccessfully") |
|
2668
|
|
|
ReturnedItem = TransactionStatusEnum.new("returnedItem") |
|
2669
|
|
|
SettledSuccessfully = TransactionStatusEnum.new("settledSuccessfully") |
|
2670
|
|
|
SettlementError = TransactionStatusEnum.new("settlementError") |
|
2671
|
|
|
UnderReview = TransactionStatusEnum.new("underReview") |
|
2672
|
|
|
UpdatingSettlement = TransactionStatusEnum.new("updatingSettlement") |
|
2673
|
|
|
Voided = TransactionStatusEnum.new("voided") |
|
2674
|
|
|
end |
|
2675
|
|
|
|
|
2676
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settlementStateEnum |
|
2677
|
|
|
class SettlementStateEnum < ::String |
|
2678
|
|
|
PendingSettlement = SettlementStateEnum.new("pendingSettlement") |
|
2679
|
|
|
SettledSuccessfully = SettlementStateEnum.new("settledSuccessfully") |
|
2680
|
|
|
SettlementError = SettlementStateEnum.new("settlementError") |
|
2681
|
|
|
end |
|
2682
|
|
|
|
|
2683
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FDSFilterActionEnum |
|
2684
|
|
|
class FDSFilterActionEnum < ::String |
|
2685
|
|
|
AuthAndHold = FDSFilterActionEnum.new("authAndHold") |
|
2686
|
|
|
Decline = FDSFilterActionEnum.new("decline") |
|
2687
|
|
|
Hold = FDSFilterActionEnum.new("hold") |
|
2688
|
|
|
Reject = FDSFilterActionEnum.new("reject") |
|
2689
|
|
|
Report = FDSFilterActionEnum.new("report") |
|
2690
|
|
|
end |
|
2691
|
|
|
|
|
2692
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}permissionsEnum |
|
2693
|
|
|
class PermissionsEnum < ::String |
|
2694
|
|
|
API_Merchant_BasicReporting = PermissionsEnum.new("API_Merchant_BasicReporting") |
|
2695
|
|
|
Mobile_Admin = PermissionsEnum.new("Mobile_Admin") |
|
2696
|
|
|
Submit_Charge = PermissionsEnum.new("Submit_Charge") |
|
2697
|
|
|
Submit_Refund = PermissionsEnum.new("Submit_Refund") |
|
2698
|
|
|
Submit_Update = PermissionsEnum.new("Submit_Update") |
|
2699
|
|
|
end |
|
2700
|
|
|
|
|
2701
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deviceActivationEnum |
|
2702
|
|
|
class DeviceActivationEnum < ::String |
|
2703
|
|
|
Activate = DeviceActivationEnum.new("Activate") |
|
2704
|
|
|
Disable = DeviceActivationEnum.new("Disable") |
|
2705
|
|
|
end |
|
2706
|
|
|
|
|
2707
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settingNameEnum |
|
2708
|
|
|
class SettingNameEnum < ::String |
|
2709
|
|
|
AllowPartialAuth = SettingNameEnum.new("allowPartialAuth") |
|
2710
|
|
|
DuplicateWindow = SettingNameEnum.new("duplicateWindow") |
|
2711
|
|
|
EmailCustomer = SettingNameEnum.new("emailCustomer") |
|
2712
|
|
|
FooterEmailReceipt = SettingNameEnum.new("footerEmailReceipt") |
|
2713
|
|
|
HeaderEmailReceipt = SettingNameEnum.new("headerEmailReceipt") |
|
2714
|
|
|
HostedProfileBillingAddressRequired = SettingNameEnum.new("hostedProfileBillingAddressRequired") |
|
2715
|
|
|
HostedProfileCardCodeRequired = SettingNameEnum.new("hostedProfileCardCodeRequired") |
|
2716
|
|
|
HostedProfileHeadingBgColor = SettingNameEnum.new("hostedProfileHeadingBgColor") |
|
2717
|
|
|
HostedProfileIFrameCommunicatorUrl = SettingNameEnum.new("hostedProfileIFrameCommunicatorUrl") |
|
2718
|
|
|
HostedProfilePageBorderVisible = SettingNameEnum.new("hostedProfilePageBorderVisible") |
|
2719
|
|
|
HostedProfileReturnUrl = SettingNameEnum.new("hostedProfileReturnUrl") |
|
2720
|
|
|
HostedProfileReturnUrlText = SettingNameEnum.new("hostedProfileReturnUrlText") |
|
2721
|
|
|
HostedProfileValidationMode = SettingNameEnum.new("hostedProfileValidationMode") |
|
2722
|
|
|
HostedProfileBillingAddressOptions = SettingNameEnum.new("hostedProfileBillingAddressOptions") |
|
2723
|
|
|
HostedProfileManageOptions = SettingNameEnum.new("hostedProfileManageOptions") |
|
2724
|
|
|
HostedPaymentIFrameCommunicatorUrl = SettingNameEnum.new("hostedPaymentIFrameCommunicatorUrl") |
|
2725
|
|
|
HostedPaymentButtonOptions = SettingNameEnum.new("hostedPaymentButtonOptions") |
|
2726
|
|
|
HostedPaymentReturnOptions = SettingNameEnum.new("hostedPaymentReturnOptions") |
|
2727
|
|
|
HostedPaymentOrderOptions = SettingNameEnum.new("hostedPaymentOrderOptions") |
|
2728
|
|
|
HostedPaymentPaymentOptions = SettingNameEnum.new("hostedPaymentPaymentOptions") |
|
2729
|
|
|
HostedPaymentBillingAddressOptions = SettingNameEnum.new("hostedPaymentBillingAddressOptions") |
|
2730
|
|
|
HostedPaymentShippingAddressOptions = SettingNameEnum.new("hostedPaymentShippingAddressOptions") |
|
2731
|
|
|
HostedPaymentSecurityOptions = SettingNameEnum.new("hostedPaymentSecurityOptions") |
|
2732
|
|
|
HostedPaymentCustomerOptions = SettingNameEnum.new("hostedPaymentCustomerOptions") |
|
2733
|
|
|
HostedPaymentStyleOptions = SettingNameEnum.new("hostedPaymentStyleOptions") |
|
2734
|
|
|
MerchantEmail = SettingNameEnum.new("merchantEmail") |
|
2735
|
|
|
RecurringBilling = SettingNameEnum.new("recurringBilling") |
|
2736
|
|
|
TestRequest = SettingNameEnum.new("testRequest") |
|
2737
|
|
|
end |
|
2738
|
|
|
|
|
2739
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListSearchTypeEnum |
|
2740
|
|
|
class ARBGetSubscriptionListSearchTypeEnum < ::String |
|
2741
|
|
|
CardExpiringThisMonth = ARBGetSubscriptionListSearchTypeEnum.new("cardExpiringThisMonth") |
|
2742
|
|
|
SubscriptionActive = ARBGetSubscriptionListSearchTypeEnum.new("subscriptionActive") |
|
2743
|
|
|
SubscriptionExpiringThisMonth = ARBGetSubscriptionListSearchTypeEnum.new("subscriptionExpiringThisMonth") |
|
2744
|
|
|
SubscriptionInactive = ARBGetSubscriptionListSearchTypeEnum.new("subscriptionInactive") |
|
2745
|
|
|
end |
|
2746
|
|
|
|
|
2747
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListOrderFieldEnum |
|
2748
|
|
|
class ARBGetSubscriptionListOrderFieldEnum < ::String |
|
2749
|
|
|
AccountNumber = ARBGetSubscriptionListOrderFieldEnum.new("accountNumber") |
|
2750
|
|
|
Amount = ARBGetSubscriptionListOrderFieldEnum.new("amount") |
|
2751
|
|
|
CreateTimeStampUTC = ARBGetSubscriptionListOrderFieldEnum.new("createTimeStampUTC") |
|
2752
|
|
|
FirstName = ARBGetSubscriptionListOrderFieldEnum.new("firstName") |
|
2753
|
|
|
Id = ARBGetSubscriptionListOrderFieldEnum.new("id") |
|
2754
|
|
|
LastName = ARBGetSubscriptionListOrderFieldEnum.new("lastName") |
|
2755
|
|
|
Name = ARBGetSubscriptionListOrderFieldEnum.new("name") |
|
2756
|
|
|
PastOccurrences = ARBGetSubscriptionListOrderFieldEnum.new("pastOccurrences") |
|
2757
|
|
|
Status = ARBGetSubscriptionListOrderFieldEnum.new("status") |
|
2758
|
|
|
end |
|
2759
|
|
|
|
|
2760
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}isAliveRequest |
|
2761
|
|
|
# refId - SOAP::SOAPString |
|
2762
|
|
|
class IsAliveRequest |
|
2763
|
|
|
include ROXML |
|
2764
|
|
|
xml_accessor :refId |
|
2765
|
|
|
|
|
2766
|
|
|
def initialize(refId = nil) |
|
2767
|
|
|
@refId = refId |
|
2768
|
|
|
end |
|
2769
|
|
|
end |
|
2770
|
|
|
|
|
2771
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}isAliveResponse |
|
2772
|
|
|
# refId - SOAP::SOAPString |
|
2773
|
|
|
# messages - MessagesType |
|
2774
|
|
|
# sessionToken - SOAP::SOAPString |
|
2775
|
|
|
class IsAliveResponse |
|
2776
|
|
|
include ROXML |
|
2777
|
|
|
xml_accessor :refId |
|
2778
|
|
|
xml_accessor :messages, :as => MessagesType |
|
2779
|
|
|
xml_accessor :sessionToken |
|
2780
|
|
|
|
|
2781
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
2782
|
|
|
@refId = refId |
|
2783
|
|
View Code Duplication |
@messages = messages |
|
|
|
|
|
|
2784
|
|
|
@sessionToken = sessionToken |
|
2785
|
|
|
end |
|
2786
|
|
|
end |
|
2787
|
|
|
|
|
2788
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}authenticateTestRequest |
|
2789
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
2790
|
|
|
# refId - SOAP::SOAPString |
|
2791
|
|
|
class AuthenticateTestRequest |
|
2792
|
|
|
include ROXML |
|
2793
|
|
|
xml_accessor :merchantAuthentication |
|
2794
|
|
|
xml_accessor :refId |
|
2795
|
|
|
|
|
2796
|
|
|
def initialize(merchantAuthentication = nil, refId = nil) |
|
2797
|
|
|
@merchantAuthentication = merchantAuthentication |
|
2798
|
|
|
@refId = refId |
|
2799
|
|
|
end |
|
2800
|
|
|
end |
|
2801
|
|
|
|
|
2802
|
|
View Code Duplication |
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}authenticateTestResponse |
|
|
|
|
|
|
2803
|
|
|
# refId - SOAP::SOAPString |
|
2804
|
|
|
# messages - MessagesType |
|
2805
|
|
|
# sessionToken - SOAP::SOAPString |
|
2806
|
|
|
class AuthenticateTestResponse |
|
2807
|
|
|
include ROXML |
|
2808
|
|
|
xml_accessor :refId |
|
2809
|
|
|
xml_accessor :messages, :as => MessagesType |
|
2810
|
|
|
xml_accessor :sessionToken |
|
2811
|
|
|
|
|
2812
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
2813
|
|
|
@refId = refId |
|
2814
|
|
|
@messages = messages |
|
2815
|
|
|
@sessionToken = sessionToken |
|
2816
|
|
|
end |
|
2817
|
|
|
end |
|
2818
|
|
|
|
|
2819
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCreateSubscriptionRequest |
|
2820
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
2821
|
|
|
# refId - SOAP::SOAPString |
|
2822
|
|
|
# subscription - ARBSubscriptionType |
|
2823
|
|
|
class ARBCreateSubscriptionRequest |
|
2824
|
|
View Code Duplication |
include ROXML |
|
|
|
|
|
|
2825
|
|
|
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType |
|
2826
|
|
|
xml_accessor :refId |
|
2827
|
|
|
xml_accessor :subscription, :as => ARBSubscriptionType |
|
2828
|
|
|
|
|
2829
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, subscription = nil) |
|
2830
|
|
|
@merchantAuthentication = merchantAuthentication |
|
2831
|
|
|
@refId = refId |
|
2832
|
|
|
@subscription = subscription |
|
2833
|
|
|
end |
|
2834
|
|
|
end |
|
2835
|
|
|
|
|
2836
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCreateSubscriptionResponse |
|
2837
|
|
|
# refId - SOAP::SOAPString |
|
2838
|
|
|
# messages - MessagesType |
|
2839
|
|
|
# sessionToken - SOAP::SOAPString |
|
2840
|
|
|
# subscriptionId - (any) |
|
2841
|
|
|
# profile - CustomerProfileIdType |
|
2842
|
|
|
class ARBCreateSubscriptionResponse |
|
2843
|
|
|
include ROXML |
|
2844
|
|
View Code Duplication |
xml_accessor :refId |
|
|
|
|
|
|
2845
|
|
|
xml_accessor :messages, :as => MessagesType |
|
2846
|
|
|
xml_accessor :sessionToken |
|
2847
|
|
|
xml_accessor :subscriptionId |
|
2848
|
|
|
xml_accessor :profile, :as => CustomerProfileIdType |
|
2849
|
|
|
|
|
2850
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, subscriptionId = nil, profile = nil) |
|
2851
|
|
|
@refId = refId |
|
2852
|
|
|
@messages = messages |
|
2853
|
|
|
@sessionToken = sessionToken |
|
2854
|
|
|
@subscriptionId = subscriptionId |
|
2855
|
|
|
@profile = profile |
|
2856
|
|
|
end |
|
2857
|
|
|
end |
|
2858
|
|
|
|
|
2859
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBUpdateSubscriptionRequest |
|
2860
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
2861
|
|
|
# refId - SOAP::SOAPString |
|
2862
|
|
|
# subscriptionId - (any) |
|
2863
|
|
|
# subscription - ARBSubscriptionType |
|
2864
|
|
|
class ARBUpdateSubscriptionRequest |
|
2865
|
|
|
include ROXML |
|
2866
|
|
|
xml_accessor :merchantAuthentication |
|
2867
|
|
|
xml_accessor :refId |
|
2868
|
|
|
xml_accessor :subscriptionId |
|
2869
|
|
|
xml_accessor :subscription, :as => ARBSubscriptionType |
|
2870
|
|
|
|
|
2871
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil, subscription = nil) |
|
2872
|
|
|
@merchantAuthentication = merchantAuthentication |
|
2873
|
|
|
@refId = refId |
|
2874
|
|
|
@subscriptionId = subscriptionId |
|
2875
|
|
|
@subscription = subscription |
|
2876
|
|
|
end |
|
2877
|
|
|
end |
|
2878
|
|
|
|
|
2879
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBUpdateSubscriptionResponse |
|
2880
|
|
View Code Duplication |
# refId - SOAP::SOAPString |
|
|
|
|
|
|
2881
|
|
|
# messages - MessagesType |
|
2882
|
|
|
# sessionToken - SOAP::SOAPString |
|
2883
|
|
|
# profile - CustomerProfileIdType |
|
2884
|
|
|
class ARBUpdateSubscriptionResponse |
|
2885
|
|
|
include ROXML |
|
2886
|
|
|
xml_accessor :refId |
|
2887
|
|
|
xml_accessor :messages, :as => MessagesType |
|
2888
|
|
|
xml_accessor :sessionToken |
|
2889
|
|
|
xml_accessor :profile, :as => CustomerProfileIdType |
|
2890
|
|
|
|
|
2891
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, profile = nil) |
|
2892
|
|
|
@refId = refId |
|
2893
|
|
|
@messages = messages |
|
2894
|
|
|
@sessionToken = sessionToken |
|
2895
|
|
|
@profile = profile |
|
2896
|
|
|
end |
|
2897
|
|
|
end |
|
2898
|
|
|
|
|
2899
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCancelSubscriptionRequest |
|
2900
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
2901
|
|
|
# refId - SOAP::SOAPString |
|
2902
|
|
|
# subscriptionId - (any) |
|
2903
|
|
|
class ARBCancelSubscriptionRequest |
|
2904
|
|
|
include ROXML |
|
2905
|
|
|
xml_accessor :merchantAuthentication |
|
2906
|
|
|
xml_accessor :refId |
|
2907
|
|
|
xml_accessor :subscriptionId |
|
2908
|
|
|
|
|
2909
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil) |
|
2910
|
|
|
@merchantAuthentication = merchantAuthentication |
|
2911
|
|
|
@refId = refId |
|
2912
|
|
|
@subscriptionId = subscriptionId |
|
2913
|
|
|
end |
|
2914
|
|
|
end |
|
2915
|
|
View Code Duplication |
|
|
|
|
|
|
|
2916
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCancelSubscriptionResponse |
|
2917
|
|
|
# refId - SOAP::SOAPString |
|
2918
|
|
|
# messages - MessagesType |
|
2919
|
|
|
# sessionToken - SOAP::SOAPString |
|
2920
|
|
|
class ARBCancelSubscriptionResponse |
|
2921
|
|
|
include ROXML |
|
2922
|
|
|
xml_accessor :refId |
|
2923
|
|
|
xml_accessor :messages, :as => MessagesType |
|
2924
|
|
|
xml_accessor :sessionToken |
|
2925
|
|
|
|
|
2926
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
2927
|
|
|
@refId = refId |
|
2928
|
|
|
@messages = messages |
|
2929
|
|
|
@sessionToken = sessionToken |
|
2930
|
|
|
end |
|
2931
|
|
|
end |
|
2932
|
|
|
|
|
2933
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionStatusRequest |
|
2934
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
2935
|
|
View Code Duplication |
# refId - SOAP::SOAPString |
|
|
|
|
|
|
2936
|
|
|
# subscriptionId - (any) |
|
2937
|
|
|
class ARBGetSubscriptionStatusRequest |
|
2938
|
|
|
include ROXML |
|
2939
|
|
|
xml_accessor :merchantAuthentication |
|
2940
|
|
|
xml_accessor :refId |
|
2941
|
|
|
xml_accessor :subscriptionId |
|
2942
|
|
|
|
|
2943
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil) |
|
2944
|
|
|
@merchantAuthentication = merchantAuthentication |
|
2945
|
|
|
@refId = refId |
|
2946
|
|
|
@subscriptionId = subscriptionId |
|
2947
|
|
|
end |
|
2948
|
|
|
end |
|
2949
|
|
|
|
|
2950
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionStatusResponse |
|
2951
|
|
|
# refId - SOAP::SOAPString |
|
2952
|
|
|
# messages - MessagesType |
|
2953
|
|
|
# sessionToken - SOAP::SOAPString |
|
2954
|
|
|
# status - ARBSubscriptionStatusEnum |
|
2955
|
|
|
class ARBGetSubscriptionStatusResponse |
|
2956
|
|
|
include ROXML |
|
2957
|
|
|
xml_accessor :refId |
|
2958
|
|
|
xml_accessor :messages, :as => MessagesType |
|
2959
|
|
|
xml_accessor :sessionToken |
|
2960
|
|
|
xml_accessor :status |
|
2961
|
|
|
|
|
2962
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, status = nil) |
|
2963
|
|
|
@refId = refId |
|
2964
|
|
|
@messages = messages |
|
2965
|
|
|
@sessionToken = sessionToken |
|
2966
|
|
|
@status = status |
|
2967
|
|
|
end |
|
2968
|
|
|
end |
|
2969
|
|
|
|
|
2970
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileRequest |
|
2971
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
2972
|
|
|
# refId - SOAP::SOAPString |
|
2973
|
|
|
# profile - CustomerProfileType |
|
2974
|
|
|
# validationMode - ValidationModeEnum |
|
2975
|
|
|
class CreateCustomerProfileRequest |
|
2976
|
|
|
include ROXML |
|
2977
|
|
|
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType |
|
2978
|
|
|
xml_accessor :refId |
|
2979
|
|
|
xml_accessor :profile, :as => CustomerProfileType |
|
2980
|
|
|
xml_accessor :validationMode |
|
2981
|
|
|
|
|
2982
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, profile = nil, validationMode = nil) |
|
2983
|
|
|
@merchantAuthentication = merchantAuthentication |
|
2984
|
|
|
@refId = refId |
|
2985
|
|
|
@profile = profile |
|
2986
|
|
|
@validationMode = validationMode |
|
2987
|
|
|
end |
|
2988
|
|
|
end |
|
2989
|
|
|
|
|
2990
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileResponse |
|
2991
|
|
|
# refId - SOAP::SOAPString |
|
2992
|
|
|
# messages - MessagesType |
|
2993
|
|
|
# sessionToken - SOAP::SOAPString |
|
2994
|
|
|
# customerProfileId - (any) |
|
2995
|
|
|
# customerPaymentProfileIdList - ArrayOfNumericString |
|
2996
|
|
|
# customerShippingAddressIdList - ArrayOfNumericString |
|
2997
|
|
|
# validationDirectResponseList - ArrayOfString |
|
2998
|
|
|
class CreateCustomerProfileResponse |
|
2999
|
|
|
include ROXML |
|
3000
|
|
|
xml_accessor :refId |
|
3001
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3002
|
|
|
xml_accessor :sessionToken |
|
3003
|
|
|
xml_accessor :customerProfileId |
|
3004
|
|
|
xml_accessor :customerPaymentProfileIdList, :as => NumericStringsType |
|
3005
|
|
|
xml_accessor :customerShippingAddressIdList, :as => NumericStringsType |
|
3006
|
|
|
xml_accessor :validationDirectResponseList |
|
3007
|
|
|
|
|
3008
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, customerProfileId = nil, customerPaymentProfileIdList = nil, customerShippingAddressIdList = nil, validationDirectResponseList = nil) |
|
3009
|
|
View Code Duplication |
@refId = refId |
|
|
|
|
|
|
3010
|
|
|
@messages = messages |
|
3011
|
|
|
@sessionToken = sessionToken |
|
3012
|
|
|
@customerProfileId = customerProfileId |
|
3013
|
|
|
@customerPaymentProfileIdList = customerPaymentProfileIdList |
|
3014
|
|
|
@customerShippingAddressIdList = customerShippingAddressIdList |
|
3015
|
|
|
@validationDirectResponseList = validationDirectResponseList |
|
3016
|
|
|
end |
|
3017
|
|
|
end |
|
3018
|
|
|
|
|
3019
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerPaymentProfileRequest |
|
3020
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3021
|
|
|
# refId - SOAP::SOAPString |
|
3022
|
|
|
# customerProfileId - (any) |
|
3023
|
|
|
# paymentProfile - CustomerPaymentProfileType |
|
3024
|
|
|
# validationMode - ValidationModeEnum |
|
3025
|
|
|
class CreateCustomerPaymentProfileRequest |
|
3026
|
|
|
include ROXML |
|
3027
|
|
|
xml_accessor :merchantAuthentication |
|
3028
|
|
|
xml_accessor :refId |
|
3029
|
|
|
xml_accessor :customerProfileId |
|
3030
|
|
|
xml_accessor :paymentProfile, :as => CustomerPaymentProfileType |
|
3031
|
|
|
xml_accessor :validationMode |
|
3032
|
|
|
|
|
3033
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, paymentProfile = nil, validationMode = nil) |
|
3034
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3035
|
|
|
@refId = refId |
|
3036
|
|
|
@customerProfileId = customerProfileId |
|
3037
|
|
|
@paymentProfile = paymentProfile |
|
3038
|
|
|
@validationMode = validationMode |
|
3039
|
|
|
end |
|
3040
|
|
|
end |
|
3041
|
|
|
|
|
3042
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerPaymentProfileResponse |
|
3043
|
|
|
# refId - SOAP::SOAPString |
|
3044
|
|
|
# messages - MessagesType |
|
3045
|
|
|
# sessionToken - SOAP::SOAPString |
|
3046
|
|
|
# customerProfileId - (any) |
|
3047
|
|
|
# customerPaymentProfileId - (any) |
|
3048
|
|
|
# validationDirectResponse - SOAP::SOAPString |
|
3049
|
|
|
class CreateCustomerPaymentProfileResponse |
|
3050
|
|
|
include ROXML |
|
3051
|
|
|
xml_accessor :refId |
|
3052
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3053
|
|
|
xml_accessor :sessionToken |
|
3054
|
|
|
xml_accessor :customerProfileId |
|
3055
|
|
|
xml_accessor :customerPaymentProfileId |
|
3056
|
|
|
xml_accessor :validationDirectResponse |
|
3057
|
|
|
|
|
3058
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, customerProfileId = nil, customerPaymentProfileId = nil, validationDirectResponse = nil) |
|
3059
|
|
|
@refId = refId |
|
3060
|
|
|
@messages = messages |
|
3061
|
|
|
@sessionToken = sessionToken |
|
3062
|
|
|
@customerProfileId = customerProfileId |
|
3063
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
3064
|
|
|
@validationDirectResponse = validationDirectResponse |
|
3065
|
|
|
end |
|
3066
|
|
|
end |
|
3067
|
|
|
|
|
3068
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerShippingAddressRequest |
|
3069
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3070
|
|
|
# refId - SOAP::SOAPString |
|
3071
|
|
|
# customerProfileId - (any) |
|
3072
|
|
|
# address - CustomerAddressType |
|
3073
|
|
|
class CreateCustomerShippingAddressRequest |
|
3074
|
|
|
include ROXML |
|
3075
|
|
|
xml_accessor :merchantAuthentication |
|
3076
|
|
|
xml_accessor :refId |
|
3077
|
|
|
xml_accessor :customerProfileId |
|
3078
|
|
|
xml_accessor :address, :as => CustomerAddressType |
|
3079
|
|
|
xml_accessor :defaultShippingAddress |
|
3080
|
|
|
|
|
3081
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil, defaultShippingAddress = nil) |
|
3082
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3083
|
|
|
@refId = refId |
|
3084
|
|
|
@customerProfileId = customerProfileId |
|
3085
|
|
|
@address = address |
|
3086
|
|
|
@defaultShippingAddress = defaultShippingAddress |
|
3087
|
|
|
end |
|
3088
|
|
|
end |
|
3089
|
|
|
|
|
3090
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerShippingAddressResponse |
|
3091
|
|
|
# refId - SOAP::SOAPString |
|
3092
|
|
|
# messages - MessagesType |
|
3093
|
|
|
# sessionToken - SOAP::SOAPString |
|
3094
|
|
|
# customerProfileId - (any) |
|
3095
|
|
|
# customerAddressId - (any) |
|
3096
|
|
|
class CreateCustomerShippingAddressResponse |
|
3097
|
|
|
include ROXML |
|
3098
|
|
|
xml_accessor :refId |
|
3099
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3100
|
|
|
xml_accessor :sessionToken |
|
3101
|
|
|
xml_accessor :customerProfileId |
|
3102
|
|
|
xml_accessor :customerAddressId |
|
3103
|
|
|
|
|
3104
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, customerProfileId = nil, customerAddressId = nil) |
|
3105
|
|
|
@refId = refId |
|
3106
|
|
|
@messages = messages |
|
3107
|
|
|
@sessionToken = sessionToken |
|
3108
|
|
|
@customerProfileId = customerProfileId |
|
3109
|
|
|
@customerAddressId = customerAddressId |
|
3110
|
|
|
end |
|
3111
|
|
|
end |
|
3112
|
|
|
|
|
3113
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileFromTransactionRequest |
|
3114
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3115
|
|
|
# refId - SOAP::SOAPString |
|
3116
|
|
|
# transId - (any) |
|
3117
|
|
|
# customer - CustomerProfileBaseType |
|
3118
|
|
|
# customerProfileId - NumericStringsType |
|
3119
|
|
|
class CreateCustomerProfileFromTransactionRequest |
|
3120
|
|
View Code Duplication |
include ROXML |
|
|
|
|
|
|
3121
|
|
|
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType |
|
3122
|
|
|
xml_accessor :refId |
|
3123
|
|
|
xml_accessor :transId |
|
3124
|
|
|
xml_accessor :customer, :as => CustomerProfileBaseType |
|
3125
|
|
|
xml_accessor :customerProfileId, :as => NumericStringsType |
|
3126
|
|
|
xml_accessor :defaultPaymentProfile |
|
3127
|
|
|
xml_accessor :defaultShippingAddress |
|
3128
|
|
|
|
|
3129
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, transId = nil, customer = nil, customerProfileId = nil, defaultPaymentProfile = nil, defaultShippingAddress = nil) |
|
3130
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3131
|
|
|
@refId = refId |
|
3132
|
|
|
@transId = transId |
|
3133
|
|
|
@customer = customer |
|
3134
|
|
|
@customerProfileId = customerProfileId |
|
3135
|
|
|
@defaultPaymentProfile = defaultPaymentProfile |
|
3136
|
|
|
@defaultShippingAddress = defaultShippingAddress |
|
3137
|
|
|
end |
|
3138
|
|
|
end |
|
3139
|
|
|
|
|
3140
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileRequest |
|
3141
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3142
|
|
|
# refId - SOAP::SOAPString |
|
3143
|
|
|
# customerProfileId - (any) |
|
3144
|
|
|
# unmaskExpirationDate - SOAP::SOAPBoolean |
|
3145
|
|
|
class GetCustomerProfileRequest |
|
3146
|
|
|
include ROXML |
|
3147
|
|
|
xml_accessor :merchantAuthentication |
|
3148
|
|
|
xml_accessor :refId |
|
3149
|
|
|
xml_accessor :customerProfileId |
|
3150
|
|
|
xml_accessor :unmaskExpirationDate |
|
3151
|
|
|
|
|
3152
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, unmaskExpirationDate = nil) |
|
3153
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3154
|
|
|
@refId = refId |
|
3155
|
|
|
@customerProfileId = customerProfileId |
|
3156
|
|
|
@unmaskExpirationDate = unmaskExpirationDate |
|
3157
|
|
|
end |
|
3158
|
|
|
end |
|
3159
|
|
|
|
|
3160
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileResponse |
|
3161
|
|
|
# refId - SOAP::SOAPString |
|
3162
|
|
|
# messages - MessagesType |
|
3163
|
|
|
# sessionToken - SOAP::SOAPString |
|
3164
|
|
|
# profile - CustomerProfileMaskedType |
|
3165
|
|
View Code Duplication |
# subscriptionIds - SubscriptionIdList |
|
|
|
|
|
|
3166
|
|
|
class GetCustomerProfileResponse |
|
3167
|
|
|
include ROXML |
|
3168
|
|
|
xml_accessor :refId |
|
3169
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3170
|
|
|
xml_accessor :sessionToken |
|
3171
|
|
|
xml_accessor :profile, :as => CustomerProfileMaskedType |
|
3172
|
|
|
xml_accessor :subscriptionIds, :as => SubscriptionIdList |
|
3173
|
|
|
|
|
3174
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, profile = nil, subscriptionIds = nil) |
|
3175
|
|
|
@refId = refId |
|
3176
|
|
|
@messages = messages |
|
3177
|
|
|
@sessionToken = sessionToken |
|
3178
|
|
|
@profile = profile |
|
3179
|
|
|
@subscriptionIds = subscriptionIds |
|
3180
|
|
|
end |
|
3181
|
|
|
end |
|
3182
|
|
|
|
|
3183
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileRequest |
|
3184
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3185
|
|
|
# refId - SOAP::SOAPString |
|
3186
|
|
|
# customerProfileId - (any) |
|
3187
|
|
|
# customerPaymentProfileId - (any) |
|
3188
|
|
|
# unmaskExpirationDate - SOAP::SOAPBoolean |
|
3189
|
|
|
class GetCustomerPaymentProfileRequest |
|
3190
|
|
|
include ROXML |
|
3191
|
|
|
xml_accessor :merchantAuthentication |
|
3192
|
|
|
xml_accessor :refId |
|
3193
|
|
|
xml_accessor :customerProfileId |
|
3194
|
|
|
xml_accessor :customerPaymentProfileId |
|
3195
|
|
|
xml_accessor :unmaskExpirationDate |
|
3196
|
|
|
|
|
3197
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil, unmaskExpirationDate = nil) |
|
3198
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3199
|
|
|
@refId = refId |
|
3200
|
|
|
@customerProfileId = customerProfileId |
|
3201
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
3202
|
|
|
@unmaskExpirationDate = unmaskExpirationDate |
|
3203
|
|
|
end |
|
3204
|
|
|
end |
|
3205
|
|
|
|
|
3206
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileResponse |
|
3207
|
|
|
# refId - SOAP::SOAPString |
|
3208
|
|
|
# messages - MessagesType |
|
3209
|
|
|
# sessionToken - SOAP::SOAPString |
|
3210
|
|
|
# paymentProfile - CustomerPaymentProfileMaskedType |
|
3211
|
|
|
class GetCustomerPaymentProfileResponse |
|
3212
|
|
|
include ROXML |
|
3213
|
|
|
xml_accessor :refId |
|
3214
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3215
|
|
|
xml_accessor :sessionToken |
|
3216
|
|
|
xml_accessor :paymentProfile, :as => CustomerPaymentProfileMaskedType |
|
3217
|
|
|
|
|
3218
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, paymentProfile = nil) |
|
3219
|
|
|
@refId = refId |
|
3220
|
|
|
@messages = messages |
|
3221
|
|
|
@sessionToken = sessionToken |
|
3222
|
|
|
@paymentProfile = paymentProfile |
|
3223
|
|
|
end |
|
3224
|
|
|
end |
|
3225
|
|
|
|
|
3226
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressRequest |
|
3227
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3228
|
|
|
# refId - SOAP::SOAPString |
|
3229
|
|
|
# customerProfileId - (any) |
|
3230
|
|
|
# customerAddressId - (any) |
|
3231
|
|
View Code Duplication |
class GetCustomerShippingAddressRequest |
|
|
|
|
|
|
3232
|
|
|
include ROXML |
|
3233
|
|
|
xml_accessor :merchantAuthentication |
|
3234
|
|
|
xml_accessor :refId |
|
3235
|
|
|
xml_accessor :customerProfileId |
|
3236
|
|
|
xml_accessor :customerAddressId |
|
3237
|
|
|
|
|
3238
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil) |
|
3239
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3240
|
|
|
@refId = refId |
|
3241
|
|
|
@customerProfileId = customerProfileId |
|
3242
|
|
|
@customerAddressId = customerAddressId |
|
3243
|
|
|
end |
|
3244
|
|
|
end |
|
3245
|
|
|
|
|
3246
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressResponse |
|
3247
|
|
|
# refId - SOAP::SOAPString |
|
3248
|
|
|
# messages - MessagesType |
|
3249
|
|
|
# sessionToken - SOAP::SOAPString |
|
3250
|
|
|
# address - CustomerAddressExType |
|
3251
|
|
|
# subscriptionIds - SubscriptionIdList |
|
3252
|
|
|
class GetCustomerShippingAddressResponse |
|
3253
|
|
|
include ROXML |
|
3254
|
|
|
xml_accessor :refId |
|
3255
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3256
|
|
|
xml_accessor :sessionToken |
|
3257
|
|
|
xml_accessor :defaultShippingAddress |
|
3258
|
|
|
xml_accessor :address |
|
3259
|
|
|
xml_accessor :subscriptionIds, :as => SubscriptionIdList |
|
3260
|
|
|
|
|
3261
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, address = nil, subscriptionIds = nil, defaultShippingAddress = nil) |
|
3262
|
|
|
@refId = refId |
|
3263
|
|
|
@messages = messages |
|
3264
|
|
|
@sessionToken = sessionToken |
|
3265
|
|
|
@address = address |
|
3266
|
|
|
@subscriptionIds = subscriptionIds |
|
3267
|
|
|
@defaultShippingAddress = defaultShippingAddress |
|
3268
|
|
|
end |
|
3269
|
|
|
end |
|
3270
|
|
|
|
|
3271
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerProfileRequest |
|
3272
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3273
|
|
|
# refId - SOAP::SOAPString |
|
3274
|
|
|
# profile - CustomerProfileExType |
|
3275
|
|
|
class UpdateCustomerProfileRequest |
|
3276
|
|
|
include ROXML |
|
3277
|
|
|
xml_accessor :merchantAuthentication |
|
3278
|
|
|
xml_accessor :refId |
|
3279
|
|
|
xml_accessor :profile, :as => CustomerProfileExType |
|
3280
|
|
|
|
|
3281
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, profile = nil) |
|
3282
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3283
|
|
|
@refId = refId |
|
3284
|
|
|
@profile = profile |
|
3285
|
|
View Code Duplication |
end |
|
|
|
|
|
|
3286
|
|
|
end |
|
3287
|
|
|
|
|
3288
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerProfileResponse |
|
3289
|
|
|
# refId - SOAP::SOAPString |
|
3290
|
|
|
# messages - MessagesType |
|
3291
|
|
|
# sessionToken - SOAP::SOAPString |
|
3292
|
|
|
class UpdateCustomerProfileResponse |
|
3293
|
|
|
include ROXML |
|
3294
|
|
|
xml_accessor :refId |
|
3295
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3296
|
|
|
xml_accessor :sessionToken |
|
3297
|
|
|
|
|
3298
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
3299
|
|
|
@refId = refId |
|
3300
|
|
|
@messages = messages |
|
3301
|
|
|
@sessionToken = sessionToken |
|
3302
|
|
|
end |
|
3303
|
|
|
end |
|
3304
|
|
|
|
|
3305
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerPaymentProfileRequest |
|
3306
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3307
|
|
|
# refId - SOAP::SOAPString |
|
3308
|
|
|
# customerProfileId - (any) |
|
3309
|
|
|
# paymentProfile - CustomerPaymentProfileExType |
|
3310
|
|
|
# validationMode - ValidationModeEnum |
|
3311
|
|
|
class UpdateCustomerPaymentProfileRequest |
|
3312
|
|
|
include ROXML |
|
3313
|
|
|
xml_accessor :merchantAuthentication |
|
3314
|
|
|
xml_accessor :refId |
|
3315
|
|
|
xml_accessor :customerProfileId |
|
3316
|
|
|
xml_accessor :paymentProfile, :as => CustomerPaymentProfileExType |
|
3317
|
|
|
xml_accessor :validationMode |
|
3318
|
|
|
|
|
3319
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, paymentProfile = nil, validationMode = nil) |
|
3320
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3321
|
|
|
@refId = refId |
|
3322
|
|
|
@customerProfileId = customerProfileId |
|
3323
|
|
|
@paymentProfile = paymentProfile |
|
3324
|
|
|
@validationMode = validationMode |
|
3325
|
|
|
end |
|
3326
|
|
|
end |
|
3327
|
|
|
|
|
3328
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerPaymentProfileResponse |
|
3329
|
|
|
# refId - SOAP::SOAPString |
|
3330
|
|
|
# messages - MessagesType |
|
3331
|
|
|
# sessionToken - SOAP::SOAPString |
|
3332
|
|
|
# validationDirectResponse - SOAP::SOAPString |
|
3333
|
|
|
class UpdateCustomerPaymentProfileResponse |
|
3334
|
|
|
include ROXML |
|
3335
|
|
|
xml_accessor :refId |
|
3336
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3337
|
|
|
xml_accessor :sessionToken |
|
3338
|
|
|
xml_accessor :validationDirectResponse |
|
3339
|
|
|
|
|
3340
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, validationDirectResponse = nil) |
|
3341
|
|
|
@refId = refId |
|
3342
|
|
|
@messages = messages |
|
3343
|
|
|
@sessionToken = sessionToken |
|
3344
|
|
|
@validationDirectResponse = validationDirectResponse |
|
3345
|
|
|
end |
|
3346
|
|
|
end |
|
3347
|
|
|
|
|
3348
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerShippingAddressRequest |
|
3349
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3350
|
|
|
# refId - SOAP::SOAPString |
|
3351
|
|
|
# customerProfileId - (any) |
|
3352
|
|
|
# address - CustomerAddressExType |
|
3353
|
|
|
class UpdateCustomerShippingAddressRequest |
|
3354
|
|
|
include ROXML |
|
3355
|
|
|
xml_accessor :merchantAuthentication |
|
3356
|
|
|
xml_accessor :refId |
|
3357
|
|
|
xml_accessor :customerProfileId |
|
3358
|
|
|
xml_accessor :address, :as => CustomerAddressExType |
|
3359
|
|
|
xml_accessor :defaultShippingAddress |
|
3360
|
|
|
|
|
3361
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil, defaultShippingAddress = nil) |
|
3362
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3363
|
|
|
@refId = refId |
|
3364
|
|
|
@customerProfileId = customerProfileId |
|
3365
|
|
|
@address = address |
|
3366
|
|
|
@defaultShippingAddress = defaultShippingAddress |
|
3367
|
|
|
end |
|
3368
|
|
|
end |
|
3369
|
|
|
|
|
3370
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerShippingAddressResponse |
|
3371
|
|
|
# refId - SOAP::SOAPString |
|
3372
|
|
|
# messages - MessagesType |
|
3373
|
|
|
# sessionToken - SOAP::SOAPString |
|
3374
|
|
|
class UpdateCustomerShippingAddressResponse |
|
3375
|
|
|
include ROXML |
|
3376
|
|
|
xml_accessor :refId |
|
3377
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3378
|
|
|
xml_accessor :sessionToken |
|
3379
|
|
|
|
|
3380
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
3381
|
|
|
@refId = refId |
|
3382
|
|
|
@messages = messages |
|
3383
|
|
|
@sessionToken = sessionToken |
|
3384
|
|
|
end |
|
3385
|
|
|
end |
|
3386
|
|
|
|
|
3387
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerProfileRequest |
|
3388
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3389
|
|
|
# refId - SOAP::SOAPString |
|
3390
|
|
|
# customerProfileId - (any) |
|
3391
|
|
|
class DeleteCustomerProfileRequest |
|
3392
|
|
|
include ROXML |
|
3393
|
|
|
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType |
|
3394
|
|
|
xml_accessor :refId |
|
3395
|
|
|
xml_accessor :customerProfileId |
|
3396
|
|
|
|
|
3397
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil) |
|
3398
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3399
|
|
|
@refId = refId |
|
3400
|
|
|
@customerProfileId = customerProfileId |
|
3401
|
|
|
end |
|
3402
|
|
|
end |
|
3403
|
|
|
|
|
3404
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerProfileResponse |
|
3405
|
|
|
# refId - SOAP::SOAPString |
|
3406
|
|
|
# messages - MessagesType |
|
3407
|
|
|
# sessionToken - SOAP::SOAPString |
|
3408
|
|
|
class DeleteCustomerProfileResponse |
|
3409
|
|
|
include ROXML |
|
3410
|
|
|
xml_accessor :refId |
|
3411
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3412
|
|
|
xml_accessor :sessionToken |
|
3413
|
|
|
|
|
3414
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
3415
|
|
|
@refId = refId |
|
3416
|
|
|
@messages = messages |
|
3417
|
|
|
@sessionToken = sessionToken |
|
3418
|
|
|
end |
|
3419
|
|
|
end |
|
3420
|
|
|
|
|
3421
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileRequest |
|
3422
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3423
|
|
|
# refId - SOAP::SOAPString |
|
3424
|
|
|
# customerProfileId - (any) |
|
3425
|
|
|
# customerPaymentProfileId - (any) |
|
3426
|
|
View Code Duplication |
class DeleteCustomerPaymentProfileRequest |
|
|
|
|
|
|
3427
|
|
|
include ROXML |
|
3428
|
|
|
xml_accessor :merchantAuthentication |
|
3429
|
|
|
xml_accessor :refId |
|
3430
|
|
|
xml_accessor :customerProfileId |
|
3431
|
|
|
xml_accessor :customerPaymentProfileId |
|
3432
|
|
|
|
|
3433
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil) |
|
3434
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3435
|
|
|
@refId = refId |
|
3436
|
|
|
@customerProfileId = customerProfileId |
|
3437
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
3438
|
|
|
end |
|
3439
|
|
|
end |
|
3440
|
|
|
|
|
3441
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileResponse |
|
3442
|
|
|
# refId - SOAP::SOAPString |
|
3443
|
|
|
# messages - MessagesType |
|
3444
|
|
|
# sessionToken - SOAP::SOAPString |
|
3445
|
|
|
class DeleteCustomerPaymentProfileResponse |
|
3446
|
|
|
include ROXML |
|
3447
|
|
|
xml_accessor :refId |
|
3448
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3449
|
|
|
xml_accessor :sessionToken |
|
3450
|
|
|
|
|
3451
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
3452
|
|
|
@refId = refId |
|
3453
|
|
|
@messages = messages |
|
3454
|
|
|
@sessionToken = sessionToken |
|
3455
|
|
|
end |
|
3456
|
|
|
end |
|
3457
|
|
|
|
|
3458
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressRequest |
|
3459
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3460
|
|
|
# refId - SOAP::SOAPString |
|
3461
|
|
|
# customerProfileId - (any) |
|
3462
|
|
|
# customerAddressId - (any) |
|
3463
|
|
View Code Duplication |
class DeleteCustomerShippingAddressRequest |
|
|
|
|
|
|
3464
|
|
|
include ROXML |
|
3465
|
|
|
xml_accessor :merchantAuthentication |
|
3466
|
|
|
xml_accessor :refId |
|
3467
|
|
|
xml_accessor :customerProfileId |
|
3468
|
|
|
xml_accessor :customerAddressId |
|
3469
|
|
|
|
|
3470
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil) |
|
3471
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3472
|
|
|
@refId = refId |
|
3473
|
|
|
@customerProfileId = customerProfileId |
|
3474
|
|
|
@customerAddressId = customerAddressId |
|
3475
|
|
|
end |
|
3476
|
|
|
end |
|
3477
|
|
|
|
|
3478
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressResponse |
|
3479
|
|
|
# refId - SOAP::SOAPString |
|
3480
|
|
|
# messages - MessagesType |
|
3481
|
|
|
# sessionToken - SOAP::SOAPString |
|
3482
|
|
|
class DeleteCustomerShippingAddressResponse |
|
3483
|
|
|
include ROXML |
|
3484
|
|
|
xml_accessor :refId |
|
3485
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3486
|
|
|
xml_accessor :sessionToken |
|
3487
|
|
|
|
|
3488
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
3489
|
|
|
@refId = refId |
|
3490
|
|
|
@messages = messages |
|
3491
|
|
|
@sessionToken = sessionToken |
|
3492
|
|
|
end |
|
3493
|
|
|
end |
|
3494
|
|
|
|
|
3495
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileTransactionRequest |
|
3496
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3497
|
|
|
# refId - SOAP::SOAPString |
|
3498
|
|
|
# transaction - ProfileTransactionType |
|
3499
|
|
|
# extraOptions - SOAP::SOAPString |
|
3500
|
|
|
class CreateCustomerProfileTransactionRequest |
|
3501
|
|
|
include ROXML |
|
3502
|
|
|
xml_accessor :merchantAuthentication |
|
3503
|
|
|
xml_accessor :refId |
|
3504
|
|
|
xml_accessor :transaction |
|
3505
|
|
|
xml_accessor :extraOptions |
|
3506
|
|
|
|
|
3507
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, transaction = nil, extraOptions = nil) |
|
3508
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3509
|
|
|
@refId = refId |
|
3510
|
|
|
@transaction = transaction |
|
3511
|
|
|
@extraOptions = extraOptions |
|
3512
|
|
|
end |
|
3513
|
|
|
end |
|
3514
|
|
|
|
|
3515
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileTransactionResponse |
|
3516
|
|
|
# refId - SOAP::SOAPString |
|
3517
|
|
|
# messages - MessagesType |
|
3518
|
|
|
# sessionToken - SOAP::SOAPString |
|
3519
|
|
|
# transactionResponse - TransactionResponse |
|
3520
|
|
|
# directResponse - SOAP::SOAPString |
|
3521
|
|
|
class CreateCustomerProfileTransactionResponse |
|
3522
|
|
View Code Duplication |
include ROXML |
|
|
|
|
|
|
3523
|
|
|
xml_accessor :refId |
|
3524
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3525
|
|
|
xml_accessor :sessionToken |
|
3526
|
|
|
xml_accessor :transactionResponse |
|
3527
|
|
|
xml_accessor :directResponse |
|
3528
|
|
|
|
|
3529
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, transactionResponse = nil, directResponse = nil) |
|
3530
|
|
|
@refId = refId |
|
3531
|
|
|
@messages = messages |
|
3532
|
|
|
@sessionToken = sessionToken |
|
3533
|
|
|
@transactionResponse = transactionResponse |
|
3534
|
|
|
@directResponse = directResponse |
|
3535
|
|
|
end |
|
3536
|
|
|
end |
|
3537
|
|
|
|
|
3538
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}validateCustomerPaymentProfileRequest |
|
3539
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3540
|
|
|
# refId - SOAP::SOAPString |
|
3541
|
|
|
# customerProfileId - (any) |
|
3542
|
|
|
# customerPaymentProfileId - (any) |
|
3543
|
|
|
# customerShippingAddressId - (any) |
|
3544
|
|
|
# cardCode - (any) |
|
3545
|
|
|
# validationMode - ValidationModeEnum |
|
3546
|
|
|
class ValidateCustomerPaymentProfileRequest |
|
3547
|
|
|
include ROXML |
|
3548
|
|
|
xml_accessor :merchantAuthentication |
|
3549
|
|
|
xml_accessor :refId |
|
3550
|
|
|
xml_accessor :customerProfileId |
|
3551
|
|
|
xml_accessor :customerPaymentProfileId |
|
3552
|
|
|
xml_accessor :customerShippingAddressId |
|
3553
|
|
|
xml_accessor :cardCode |
|
3554
|
|
|
xml_accessor :validationMode |
|
3555
|
|
|
|
|
3556
|
|
View Code Duplication |
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, cardCode = nil, validationMode = nil) |
|
|
|
|
|
|
3557
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3558
|
|
|
@refId = refId |
|
3559
|
|
|
@customerProfileId = customerProfileId |
|
3560
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
3561
|
|
|
@customerShippingAddressId = customerShippingAddressId |
|
3562
|
|
|
@cardCode = cardCode |
|
3563
|
|
|
@validationMode = validationMode |
|
3564
|
|
|
end |
|
3565
|
|
|
end |
|
3566
|
|
|
|
|
3567
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}validateCustomerPaymentProfileResponse |
|
3568
|
|
|
# refId - SOAP::SOAPString |
|
3569
|
|
|
# messages - MessagesType |
|
3570
|
|
|
# sessionToken - SOAP::SOAPString |
|
3571
|
|
|
# directResponse - SOAP::SOAPString |
|
3572
|
|
|
class ValidateCustomerPaymentProfileResponse |
|
3573
|
|
|
include ROXML |
|
3574
|
|
|
xml_accessor :refId |
|
3575
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3576
|
|
|
xml_accessor :sessionToken |
|
3577
|
|
|
xml_accessor :directResponse |
|
3578
|
|
|
|
|
3579
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, directResponse = nil) |
|
3580
|
|
|
@refId = refId |
|
3581
|
|
|
@messages = messages |
|
3582
|
|
|
@sessionToken = sessionToken |
|
3583
|
|
|
@directResponse = directResponse |
|
3584
|
|
|
end |
|
3585
|
|
|
end |
|
3586
|
|
|
|
|
3587
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileIdsRequest |
|
3588
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3589
|
|
|
# refId - SOAP::SOAPString |
|
3590
|
|
|
class GetCustomerProfileIdsRequest |
|
3591
|
|
|
include ROXML |
|
3592
|
|
|
xml_accessor :merchantAuthentication |
|
3593
|
|
|
xml_accessor :refId |
|
3594
|
|
|
|
|
3595
|
|
|
def initialize(merchantAuthentication = nil, refId = nil) |
|
3596
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3597
|
|
|
@refId = refId |
|
3598
|
|
|
end |
|
3599
|
|
|
end |
|
3600
|
|
|
|
|
3601
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileIdsResponse |
|
3602
|
|
|
# refId - SOAP::SOAPString |
|
3603
|
|
|
# messages - MessagesType |
|
3604
|
|
|
# sessionToken - SOAP::SOAPString |
|
3605
|
|
|
# ids - ArrayOfNumericString |
|
3606
|
|
|
class GetCustomerProfileIdsResponse |
|
3607
|
|
|
include ROXML |
|
3608
|
|
|
xml_accessor :refId |
|
3609
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3610
|
|
|
xml_accessor :sessionToken |
|
3611
|
|
|
xml_accessor :ids, :as => NumericStringsType |
|
3612
|
|
|
|
|
3613
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, ids = nil) |
|
3614
|
|
|
@refId = refId |
|
3615
|
|
|
@messages = messages |
|
3616
|
|
|
@sessionToken = sessionToken |
|
3617
|
|
|
@ids = ids |
|
3618
|
|
|
end |
|
3619
|
|
|
end |
|
3620
|
|
|
|
|
3621
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateSplitTenderGroupRequest |
|
3622
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3623
|
|
|
# refId - SOAP::SOAPString |
|
3624
|
|
|
# splitTenderId - SOAP::SOAPString |
|
3625
|
|
|
# splitTenderStatus - SplitTenderStatusEnum |
|
3626
|
|
|
class UpdateSplitTenderGroupRequest |
|
3627
|
|
|
include ROXML |
|
3628
|
|
|
xml_accessor :merchantAuthentication |
|
3629
|
|
|
xml_accessor :refId |
|
3630
|
|
View Code Duplication |
xml_accessor :splitTenderId |
|
|
|
|
|
|
3631
|
|
|
xml_accessor :splitTenderStatus |
|
3632
|
|
|
|
|
3633
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, splitTenderId = nil, splitTenderStatus = nil) |
|
3634
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3635
|
|
|
@refId = refId |
|
3636
|
|
|
@splitTenderId = splitTenderId |
|
3637
|
|
|
@splitTenderStatus = splitTenderStatus |
|
3638
|
|
|
end |
|
3639
|
|
|
end |
|
3640
|
|
|
|
|
3641
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateSplitTenderGroupResponse |
|
3642
|
|
|
# refId - SOAP::SOAPString |
|
3643
|
|
|
# messages - MessagesType |
|
3644
|
|
|
# sessionToken - SOAP::SOAPString |
|
3645
|
|
|
class UpdateSplitTenderGroupResponse |
|
3646
|
|
|
include ROXML |
|
3647
|
|
|
xml_accessor :refId |
|
3648
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3649
|
|
|
xml_accessor :sessionToken |
|
3650
|
|
|
|
|
3651
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
3652
|
|
|
@refId = refId |
|
3653
|
|
|
@messages = messages |
|
3654
|
|
|
@sessionToken = sessionToken |
|
3655
|
|
|
end |
|
3656
|
|
|
end |
|
3657
|
|
|
|
|
3658
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionDetailsRequest |
|
3659
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3660
|
|
|
# refId - SOAP::SOAPString |
|
3661
|
|
|
# transId - (any) |
|
3662
|
|
|
class GetTransactionDetailsRequest |
|
3663
|
|
|
include ROXML |
|
3664
|
|
|
xml_accessor :merchantAuthentication |
|
3665
|
|
|
xml_accessor :refId |
|
3666
|
|
|
xml_accessor :transId |
|
3667
|
|
|
|
|
3668
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, transId = nil) |
|
3669
|
|
View Code Duplication |
@merchantAuthentication = merchantAuthentication |
|
|
|
|
|
|
3670
|
|
|
@refId = refId |
|
3671
|
|
|
@transId = transId |
|
3672
|
|
|
end |
|
3673
|
|
|
end |
|
3674
|
|
|
|
|
3675
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionDetailsResponse |
|
3676
|
|
|
# refId - SOAP::SOAPString |
|
3677
|
|
|
# messages - MessagesType |
|
3678
|
|
|
# sessionToken - SOAP::SOAPString |
|
3679
|
|
|
# transaction - TransactionDetailsType |
|
3680
|
|
|
class GetTransactionDetailsResponse |
|
3681
|
|
|
include ROXML |
|
3682
|
|
|
xml_accessor :refId |
|
3683
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3684
|
|
|
xml_accessor :sessionToken |
|
3685
|
|
|
xml_accessor :transaction, :as => TransactionDetailsType |
|
3686
|
|
|
|
|
3687
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, transaction = nil) |
|
3688
|
|
|
@refId = refId |
|
3689
|
|
|
@messages = messages |
|
3690
|
|
|
@sessionToken = sessionToken |
|
3691
|
|
|
@transaction = transaction |
|
3692
|
|
|
end |
|
3693
|
|
|
end |
|
3694
|
|
|
|
|
3695
|
|
|
|
|
3696
|
|
|
|
|
3697
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getBatchStatisticsRequest |
|
3698
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3699
|
|
|
# refId - SOAP::SOAPString |
|
3700
|
|
|
# batchId - (any) |
|
3701
|
|
|
class GetBatchStatisticsRequest |
|
3702
|
|
|
include ROXML |
|
3703
|
|
|
xml_accessor :merchantAuthentication |
|
3704
|
|
|
xml_accessor :refId |
|
3705
|
|
|
xml_accessor :batchId |
|
3706
|
|
|
|
|
3707
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, batchId = nil) |
|
3708
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3709
|
|
|
@refId = refId |
|
3710
|
|
|
@batchId = batchId |
|
3711
|
|
|
end |
|
3712
|
|
View Code Duplication |
end |
|
|
|
|
|
|
3713
|
|
|
|
|
3714
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getBatchStatisticsResponse |
|
3715
|
|
|
# refId - SOAP::SOAPString |
|
3716
|
|
|
# messages - MessagesType |
|
3717
|
|
|
# sessionToken - SOAP::SOAPString |
|
3718
|
|
|
# batch - BatchDetailsType |
|
3719
|
|
|
class GetBatchStatisticsResponse |
|
3720
|
|
|
include ROXML |
|
3721
|
|
|
xml_accessor :refId |
|
3722
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3723
|
|
|
xml_accessor :sessionToken |
|
3724
|
|
|
xml_accessor :batch, :as=> BatchDetailsType |
|
3725
|
|
|
|
|
3726
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, batch = nil) |
|
3727
|
|
|
@refId = refId |
|
3728
|
|
|
@messages = messages |
|
3729
|
|
|
@sessionToken = sessionToken |
|
3730
|
|
|
@batch = batch |
|
3731
|
|
|
end |
|
3732
|
|
|
end |
|
3733
|
|
|
|
|
3734
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getSettledBatchListRequest |
|
3735
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3736
|
|
|
# refId - SOAP::SOAPString |
|
3737
|
|
|
# includeStatistics - SOAP::SOAPBoolean |
|
3738
|
|
|
# firstSettlementDate - SOAP::SOAPDateTime |
|
3739
|
|
|
# lastSettlementDate - SOAP::SOAPDateTime |
|
3740
|
|
|
class GetSettledBatchListRequest |
|
3741
|
|
|
include ROXML |
|
3742
|
|
|
xml_accessor :merchantAuthentication |
|
3743
|
|
|
xml_accessor :refId |
|
3744
|
|
|
xml_accessor :includeStatistics |
|
3745
|
|
|
xml_accessor :firstSettlementDate |
|
3746
|
|
|
xml_accessor :lastSettlementDate |
|
3747
|
|
|
|
|
3748
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, includeStatistics = nil, firstSettlementDate = nil, lastSettlementDate = nil) |
|
3749
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3750
|
|
|
@refId = refId |
|
3751
|
|
|
@includeStatistics = includeStatistics |
|
3752
|
|
|
@firstSettlementDate = firstSettlementDate |
|
3753
|
|
|
@lastSettlementDate = lastSettlementDate |
|
3754
|
|
|
end |
|
3755
|
|
|
end |
|
3756
|
|
|
|
|
3757
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getSettledBatchListResponse |
|
3758
|
|
|
# refId - SOAP::SOAPString |
|
3759
|
|
|
# messages - MessagesType |
|
3760
|
|
|
# sessionToken - SOAP::SOAPString |
|
3761
|
|
|
# batchList - ArrayOfBatchDetailsType |
|
3762
|
|
|
class GetSettledBatchListResponse |
|
3763
|
|
|
include ROXML |
|
3764
|
|
|
xml_accessor :refId |
|
3765
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3766
|
|
|
xml_accessor :sessionToken |
|
3767
|
|
|
xml_accessor :batchList, :as => ArrayOfBatchDetailsType |
|
3768
|
|
|
|
|
3769
|
|
View Code Duplication |
def initialize(refId = nil, messages = nil, sessionToken = nil, batchList = nil) |
|
|
|
|
|
|
3770
|
|
|
@refId = refId |
|
3771
|
|
|
@messages = messages |
|
3772
|
|
|
@sessionToken = sessionToken |
|
3773
|
|
|
@batchList = batchList |
|
3774
|
|
|
end |
|
3775
|
|
|
end |
|
3776
|
|
|
|
|
3777
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}TransactionListOrderFieldEnum |
|
3778
|
|
|
class TransactionListOrderFieldEnum < ::String |
|
3779
|
|
|
Id = TransactionListOrderFieldEnum.new("id") |
|
3780
|
|
|
SubmitTimeUTC = TransactionListOrderFieldEnum.new("submitTimeUTC") |
|
3781
|
|
|
end |
|
3782
|
|
|
|
|
3783
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}TransactionListSorting |
|
3784
|
|
|
class TransactionListSorting |
|
3785
|
|
|
include ROXML |
|
3786
|
|
|
xml_accessor :orderBy |
|
3787
|
|
|
xml_accessor :orderDescending |
|
3788
|
|
|
|
|
3789
|
|
View Code Duplication |
def initialize(orderBy = nil, orderDescending = nil) |
|
|
|
|
|
|
3790
|
|
|
@orderBy = orderBy |
|
3791
|
|
|
@orderDescending = orderDescending |
|
3792
|
|
|
end |
|
3793
|
|
|
end |
|
3794
|
|
|
|
|
3795
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListRequest |
|
3796
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3797
|
|
|
# refId - SOAP::SOAPString |
|
3798
|
|
|
# batchId - (any) |
|
3799
|
|
|
class GetTransactionListRequest |
|
3800
|
|
|
include ROXML |
|
3801
|
|
|
xml_accessor :merchantAuthentication |
|
3802
|
|
|
xml_accessor :refId |
|
3803
|
|
|
xml_accessor :batchId |
|
3804
|
|
|
xml_accessor :sorting, :as => TransactionListSorting |
|
3805
|
|
|
xml_accessor :paging, :as => Paging |
|
3806
|
|
|
|
|
3807
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, batchId = nil, sorting = nil, paging = nil) |
|
3808
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3809
|
|
|
@refId = refId |
|
3810
|
|
|
@batchId = batchId |
|
3811
|
|
|
@sorting = sorting |
|
3812
|
|
|
@paging = paging |
|
3813
|
|
|
end |
|
3814
|
|
|
end |
|
3815
|
|
|
|
|
3816
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListResponse |
|
3817
|
|
|
# refId - SOAP::SOAPString |
|
3818
|
|
|
# messages - MessagesType |
|
3819
|
|
|
# sessionToken - SOAP::SOAPString |
|
3820
|
|
|
# transactions - ArrayOfTransactionSummaryType |
|
3821
|
|
|
class GetTransactionListResponse |
|
3822
|
|
|
include ROXML |
|
3823
|
|
|
xml_accessor :refId |
|
3824
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3825
|
|
|
xml_accessor :sessionToken |
|
3826
|
|
|
xml_accessor :transactions, :as => ArrayOfTransactionSummaryType |
|
3827
|
|
|
xml_accessor :totalNumInResultSet |
|
3828
|
|
|
|
|
3829
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil, totalNumInResultSet = nil) |
|
3830
|
|
|
@refId = refId |
|
3831
|
|
|
@messages = messages |
|
3832
|
|
|
@sessionToken = sessionToken |
|
3833
|
|
|
@transactions = transactions |
|
3834
|
|
|
@totalNumInResultSet = totalNumInResultSet |
|
3835
|
|
|
end |
|
3836
|
|
|
end |
|
3837
|
|
|
|
|
3838
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedProfilePageRequest |
|
3839
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3840
|
|
|
# refId - SOAP::SOAPString |
|
3841
|
|
|
# customerProfileId - (any) |
|
3842
|
|
|
# hostedProfileSettings - ArrayOfSetting |
|
3843
|
|
|
class GetHostedProfilePageRequest |
|
3844
|
|
|
include ROXML |
|
3845
|
|
|
xml_accessor :merchantAuthentication |
|
3846
|
|
|
xml_accessor :refId |
|
3847
|
|
|
xml_accessor :customerProfileId |
|
3848
|
|
|
xml_accessor :hostedProfileSettings, :as => Settings |
|
3849
|
|
|
|
|
3850
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, hostedProfileSettings = nil) |
|
3851
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3852
|
|
|
@refId = refId |
|
3853
|
|
|
@customerProfileId = customerProfileId |
|
3854
|
|
|
@hostedProfileSettings = hostedProfileSettings |
|
3855
|
|
|
end |
|
3856
|
|
|
end |
|
3857
|
|
|
|
|
3858
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedProfilePageResponse |
|
3859
|
|
|
# refId - SOAP::SOAPString |
|
3860
|
|
|
# messages - MessagesType |
|
3861
|
|
|
# sessionToken - SOAP::SOAPString |
|
3862
|
|
|
# token - SOAP::SOAPString |
|
3863
|
|
|
class GetHostedProfilePageResponse |
|
3864
|
|
|
include ROXML |
|
3865
|
|
|
xml_accessor :refId |
|
3866
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3867
|
|
|
xml_accessor :sessionToken |
|
3868
|
|
|
xml_accessor :token |
|
3869
|
|
|
|
|
3870
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, token = nil) |
|
3871
|
|
|
@refId = refId |
|
3872
|
|
|
@messages = messages |
|
3873
|
|
|
@sessionToken = sessionToken |
|
3874
|
|
|
@token = token |
|
3875
|
|
|
end |
|
3876
|
|
|
end |
|
3877
|
|
|
|
|
3878
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}TransactionGroupStatusEnum |
|
3879
|
|
|
class TransactionGroupStatusEnum < ::String |
|
3880
|
|
|
ANY = TransactionGroupStatusEnum.new("any") |
|
3881
|
|
|
PENDINGAPPROVAL = TransactionGroupStatusEnum.new("pendingApproval") |
|
3882
|
|
|
end |
|
3883
|
|
|
|
|
3884
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getUnsettledTransactionListRequest |
|
3885
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3886
|
|
|
# refId - SOAP::SOAPString |
|
3887
|
|
|
class GetUnsettledTransactionListRequest |
|
3888
|
|
|
include ROXML |
|
3889
|
|
|
xml_accessor :merchantAuthentication |
|
3890
|
|
|
xml_accessor :refId |
|
3891
|
|
|
xml_accessor :status |
|
3892
|
|
|
xml_accessor :sorting, :as => TransactionListSorting |
|
3893
|
|
View Code Duplication |
xml_accessor :paging, :as => Paging |
|
|
|
|
|
|
3894
|
|
|
|
|
3895
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, status = nil, sorting = nil, paging = nil) |
|
3896
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3897
|
|
|
@refId = refId |
|
3898
|
|
|
@status = status |
|
3899
|
|
|
@sorting = sorting |
|
3900
|
|
|
@paging = paging |
|
3901
|
|
|
end |
|
3902
|
|
|
end |
|
3903
|
|
|
|
|
3904
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getUnsettledTransactionListResponse |
|
3905
|
|
|
# refId - SOAP::SOAPString |
|
3906
|
|
|
# messages - MessagesType |
|
3907
|
|
|
# sessionToken - SOAP::SOAPString |
|
3908
|
|
|
# transactions - ArrayOfTransactionSummaryType |
|
3909
|
|
|
class GetUnsettledTransactionListResponse |
|
3910
|
|
|
include ROXML |
|
3911
|
|
|
xml_accessor :refId |
|
3912
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3913
|
|
|
xml_accessor :sessionToken |
|
3914
|
|
|
xml_accessor :transactions, :as => ArrayOfTransactionSummaryType |
|
3915
|
|
|
xml_accessor :totalNumInResultSet |
|
3916
|
|
|
|
|
3917
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil, totalNumInResultSet = nil) |
|
3918
|
|
|
@refId = refId |
|
3919
|
|
|
@messages = messages |
|
3920
|
|
|
@sessionToken = sessionToken |
|
3921
|
|
|
@transactions = transactions |
|
3922
|
|
|
@totalNumInResultSet = totalNumInResultSet |
|
3923
|
|
|
end |
|
3924
|
|
|
end |
|
3925
|
|
|
|
|
3926
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationRequest |
|
3927
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3928
|
|
|
# refId - SOAP::SOAPString |
|
3929
|
|
|
# mobileDevice - MobileDeviceType |
|
3930
|
|
|
class MobileDeviceRegistrationRequest |
|
3931
|
|
|
include ROXML |
|
3932
|
|
|
xml_accessor :merchantAuthentication |
|
3933
|
|
|
xml_accessor :refId |
|
3934
|
|
|
xml_accessor :mobileDevice |
|
3935
|
|
|
|
|
3936
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, mobileDevice = nil) |
|
3937
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3938
|
|
|
@refId = refId |
|
3939
|
|
|
@mobileDevice = mobileDevice |
|
3940
|
|
|
end |
|
3941
|
|
|
end |
|
3942
|
|
|
|
|
3943
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationResponse |
|
3944
|
|
|
# refId - SOAP::SOAPString |
|
3945
|
|
|
# messages - MessagesType |
|
3946
|
|
|
# sessionToken - SOAP::SOAPString |
|
3947
|
|
|
class MobileDeviceRegistrationResponse |
|
3948
|
|
|
include ROXML |
|
3949
|
|
|
xml_accessor :refId |
|
3950
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3951
|
|
|
xml_accessor :sessionToken |
|
3952
|
|
|
|
|
3953
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
3954
|
|
|
@refId = refId |
|
3955
|
|
|
@messages = messages |
|
3956
|
|
|
@sessionToken = sessionToken |
|
3957
|
|
|
end |
|
3958
|
|
|
end |
|
3959
|
|
|
|
|
3960
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceLoginRequest |
|
3961
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
3962
|
|
|
# refId - SOAP::SOAPString |
|
3963
|
|
|
class MobileDeviceLoginRequest |
|
3964
|
|
|
include ROXML |
|
3965
|
|
|
xml_accessor :merchantAuthentication |
|
3966
|
|
|
xml_accessor :refId |
|
3967
|
|
|
|
|
3968
|
|
|
def initialize(merchantAuthentication = nil, refId = nil) |
|
3969
|
|
|
@merchantAuthentication = merchantAuthentication |
|
3970
|
|
|
@refId = refId |
|
3971
|
|
|
end |
|
3972
|
|
|
end |
|
3973
|
|
|
|
|
3974
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceLoginResponse |
|
3975
|
|
|
# refId - SOAP::SOAPString |
|
3976
|
|
|
# messages - MessagesType |
|
3977
|
|
|
# sessionToken - SOAP::SOAPString |
|
3978
|
|
|
# merchantContact - MerchantContactType |
|
3979
|
|
|
# userPermissions - ArrayOfPermissionType |
|
3980
|
|
|
# merchantAccount - TransRetailInfoType |
|
3981
|
|
|
class MobileDeviceLoginResponse |
|
3982
|
|
|
include ROXML |
|
3983
|
|
|
xml_accessor :refId |
|
3984
|
|
|
xml_accessor :messages, :as => MessagesType |
|
3985
|
|
|
xml_accessor :sessionToken |
|
3986
|
|
|
xml_accessor :merchantContact |
|
3987
|
|
|
xml_accessor :userPermissions |
|
3988
|
|
|
xml_accessor :merchantAccount |
|
3989
|
|
View Code Duplication |
|
|
|
|
|
|
|
3990
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, merchantContact = nil, userPermissions = nil, merchantAccount = nil) |
|
3991
|
|
|
@refId = refId |
|
3992
|
|
|
@messages = messages |
|
3993
|
|
|
@sessionToken = sessionToken |
|
3994
|
|
|
@merchantContact = merchantContact |
|
3995
|
|
|
@userPermissions = userPermissions |
|
3996
|
|
|
@merchantAccount = merchantAccount |
|
3997
|
|
|
end |
|
3998
|
|
|
end |
|
3999
|
|
|
|
|
4000
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}logoutRequest |
|
4001
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4002
|
|
|
# refId - SOAP::SOAPString |
|
4003
|
|
|
class LogoutRequest |
|
4004
|
|
|
include ROXML |
|
4005
|
|
|
xml_accessor :merchantAuthentication |
|
4006
|
|
|
xml_accessor :refId |
|
4007
|
|
|
|
|
4008
|
|
|
def initialize(merchantAuthentication = nil, refId = nil) |
|
4009
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4010
|
|
|
@refId = refId |
|
4011
|
|
|
end |
|
4012
|
|
View Code Duplication |
end |
|
|
|
|
|
|
4013
|
|
|
|
|
4014
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}logoutResponse |
|
4015
|
|
|
# refId - SOAP::SOAPString |
|
4016
|
|
|
# messages - MessagesType |
|
4017
|
|
|
# sessionToken - SOAP::SOAPString |
|
4018
|
|
|
class LogoutResponse |
|
4019
|
|
|
include ROXML |
|
4020
|
|
|
xml_accessor :refId |
|
4021
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4022
|
|
|
xml_accessor :sessionToken |
|
4023
|
|
|
|
|
4024
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
4025
|
|
|
@refId = refId |
|
4026
|
|
|
@messages = messages |
|
4027
|
|
|
@sessionToken = sessionToken |
|
4028
|
|
|
end |
|
4029
|
|
|
end |
|
4030
|
|
|
|
|
4031
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}sendCustomerTransactionReceiptRequest |
|
4032
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4033
|
|
|
# refId - SOAP::SOAPString |
|
4034
|
|
View Code Duplication |
# transId - (any) |
|
|
|
|
|
|
4035
|
|
|
# customerEmail - SOAP::SOAPString |
|
4036
|
|
|
# emailSettings - EmailSettingsType |
|
4037
|
|
|
class SendCustomerTransactionReceiptRequest |
|
4038
|
|
|
include ROXML |
|
4039
|
|
|
xml_accessor :merchantAuthentication |
|
4040
|
|
|
xml_accessor :refId |
|
4041
|
|
|
xml_accessor :transId |
|
4042
|
|
|
xml_accessor :customerEmail |
|
4043
|
|
|
xml_accessor :emailSettings |
|
4044
|
|
|
|
|
4045
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, transId = nil, customerEmail = nil, emailSettings = nil) |
|
4046
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4047
|
|
|
@refId = refId |
|
4048
|
|
|
@transId = transId |
|
4049
|
|
|
@customerEmail = customerEmail |
|
4050
|
|
|
@emailSettings = emailSettings |
|
4051
|
|
|
end |
|
4052
|
|
|
end |
|
4053
|
|
|
|
|
4054
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}sendCustomerTransactionReceiptResponse |
|
4055
|
|
|
# refId - SOAP::SOAPString |
|
4056
|
|
|
# messages - MessagesType |
|
4057
|
|
|
# sessionToken - SOAP::SOAPString |
|
4058
|
|
|
class SendCustomerTransactionReceiptResponse |
|
4059
|
|
|
include ROXML |
|
4060
|
|
|
xml_accessor :refId |
|
4061
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4062
|
|
|
xml_accessor :sessionToken |
|
4063
|
|
|
|
|
4064
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil) |
|
4065
|
|
|
@refId = refId |
|
4066
|
|
|
@messages = messages |
|
4067
|
|
|
@sessionToken = sessionToken |
|
4068
|
|
|
end |
|
4069
|
|
|
end |
|
4070
|
|
|
|
|
4071
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListRequest |
|
4072
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4073
|
|
|
# refId - SOAP::SOAPString |
|
4074
|
|
|
# searchType - ARBGetSubscriptionListSearchTypeEnum |
|
4075
|
|
|
# sorting - ARBGetSubscriptionListSorting |
|
4076
|
|
|
# paging - Paging |
|
4077
|
|
|
class ARBGetSubscriptionListRequest |
|
4078
|
|
|
include ROXML |
|
4079
|
|
|
xml_accessor :merchantAuthentication |
|
4080
|
|
|
xml_accessor :refId |
|
4081
|
|
|
xml_accessor :searchType |
|
4082
|
|
|
xml_accessor :sorting, :as => ARBGetSubscriptionListSorting |
|
4083
|
|
|
xml_accessor :paging, :as => Paging |
|
4084
|
|
|
|
|
4085
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, searchType = nil, sorting = nil, paging = nil) |
|
4086
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4087
|
|
|
@refId = refId |
|
4088
|
|
|
@searchType = searchType |
|
4089
|
|
|
@sorting = sorting |
|
4090
|
|
|
@paging = paging |
|
4091
|
|
|
end |
|
4092
|
|
|
end |
|
4093
|
|
|
|
|
4094
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListResponse |
|
4095
|
|
|
# refId - SOAP::SOAPString |
|
4096
|
|
|
# messages - MessagesType |
|
4097
|
|
|
# sessionToken - SOAP::SOAPString |
|
4098
|
|
|
# totalNumInResultSet - SOAP::SOAPInt |
|
4099
|
|
|
# subscriptionDetails - ArrayOfSubscription |
|
4100
|
|
|
class ARBGetSubscriptionListResponse |
|
4101
|
|
|
include ROXML |
|
4102
|
|
|
xml_accessor :refId |
|
4103
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4104
|
|
|
xml_accessor :sessionToken |
|
4105
|
|
|
xml_accessor :totalNumInResultSet |
|
4106
|
|
|
xml_accessor :subscriptionDetails, :as => ArrayOfSubscription |
|
4107
|
|
|
|
|
4108
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, totalNumInResultSet = nil, subscriptionDetails = nil) |
|
4109
|
|
|
@refId = refId |
|
4110
|
|
|
@messages = messages |
|
4111
|
|
|
@sessionToken = sessionToken |
|
4112
|
|
|
@totalNumInResultSet = totalNumInResultSet |
|
4113
|
|
|
@subscriptionDetails = subscriptionDetails |
|
4114
|
|
|
end |
|
4115
|
|
|
end |
|
4116
|
|
|
|
|
4117
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}decryptPaymentDataRequest |
|
4118
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4119
|
|
|
# refId - SOAP::SOAPString |
|
4120
|
|
|
# opaqueData - OpaqueDataType |
|
4121
|
|
|
# callId - SOAP::SOAPString |
|
4122
|
|
|
class DecryptPaymentDataRequest |
|
4123
|
|
|
include ROXML |
|
4124
|
|
|
xml_accessor :merchantAuthentication |
|
4125
|
|
|
xml_accessor :refId |
|
4126
|
|
|
xml_accessor :opaqueData, :as => OpaqueDataType |
|
4127
|
|
|
xml_accessor :callId |
|
4128
|
|
|
|
|
4129
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, opaqueData = nil, callId = nil) |
|
4130
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4131
|
|
|
@refId = refId |
|
4132
|
|
|
@opaqueData = opaqueData |
|
4133
|
|
|
@callId = callId |
|
4134
|
|
|
end |
|
4135
|
|
|
end |
|
4136
|
|
|
|
|
4137
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}decryptPaymentDataResponse |
|
4138
|
|
|
# refId - SOAP::SOAPString |
|
4139
|
|
|
# messages - MessagesType |
|
4140
|
|
|
# sessionToken - SOAP::SOAPString |
|
4141
|
|
|
# shippingInfo - CustomerAddressType |
|
4142
|
|
|
# billingInfo - CustomerAddressType |
|
4143
|
|
|
# cardInfo - CreditCardMaskedType |
|
4144
|
|
|
# paymentDetails - PaymentDetails |
|
4145
|
|
|
class DecryptPaymentDataResponse |
|
4146
|
|
|
include ROXML |
|
4147
|
|
|
xml_accessor :refId |
|
4148
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4149
|
|
|
xml_accessor :sessionToken |
|
4150
|
|
|
xml_accessor :shippingInfo, :as => CustomerAddressType |
|
4151
|
|
|
xml_accessor :billingInfo, :as => CustomerAddressType |
|
4152
|
|
|
xml_accessor :cardInfo, :as => CreditCardMaskedType |
|
4153
|
|
|
xml_accessor :paymentDetails, :as => PaymentDetails |
|
4154
|
|
|
|
|
4155
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, shippingInfo = nil, billingInfo = nil, cardInfo = nil, paymentDetails = nil) |
|
4156
|
|
|
@refId = refId |
|
4157
|
|
|
@messages = messages |
|
4158
|
|
|
@sessionToken = sessionToken |
|
4159
|
|
|
@shippingInfo = shippingInfo |
|
4160
|
|
|
@billingInfo = billingInfo |
|
4161
|
|
|
@cardInfo = cardInfo |
|
4162
|
|
|
@paymentDetails = paymentDetails |
|
4163
|
|
|
end |
|
4164
|
|
|
end |
|
4165
|
|
|
|
|
4166
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EnumCollection |
|
4167
|
|
|
# customerProfileSummaryType - CustomerProfileSummaryType |
|
4168
|
|
|
# paymentSimpleType - PaymentSimpleType |
|
4169
|
|
|
# accountTypeEnum - AccountTypeEnum |
|
4170
|
|
|
# cardTypeEnum - CardTypeEnum |
|
4171
|
|
|
# fDSFilterActionEnum - FDSFilterActionEnum |
|
4172
|
|
|
# permissionsEnum - PermissionsEnum |
|
4173
|
|
|
# settingNameEnum - SettingNameEnum |
|
4174
|
|
|
# settlementStateEnum - SettlementStateEnum |
|
4175
|
|
|
# transactionStatusEnum - TransactionStatusEnum |
|
4176
|
|
|
# transactionTypeEnum - TransactionTypeEnum |
|
4177
|
|
|
class EnumCollection |
|
4178
|
|
|
include ROXML |
|
4179
|
|
|
xml_accessor :customerProfileSummaryType |
|
4180
|
|
|
xml_accessor :paymentSimpleType |
|
4181
|
|
|
xml_accessor :accountTypeEnum |
|
4182
|
|
|
xml_accessor :cardTypeEnum |
|
4183
|
|
|
xml_accessor :fDSFilterActionEnum |
|
4184
|
|
|
xml_accessor :permissionsEnum |
|
4185
|
|
|
xml_accessor :settingNameEnum |
|
4186
|
|
|
xml_accessor :settlementStateEnum |
|
4187
|
|
|
xml_accessor :transactionStatusEnum |
|
4188
|
|
|
xml_accessor :transactionTypeEnum |
|
4189
|
|
|
|
|
4190
|
|
|
def initialize(customerProfileSummaryType = nil, paymentSimpleType = nil, accountTypeEnum = nil, cardTypeEnum = nil, fDSFilterActionEnum = nil, permissionsEnum = nil, settingNameEnum = nil, settlementStateEnum = nil, transactionStatusEnum = nil, transactionTypeEnum = nil) |
|
4191
|
|
|
@customerProfileSummaryType = customerProfileSummaryType |
|
4192
|
|
|
@paymentSimpleType = paymentSimpleType |
|
4193
|
|
|
@accountTypeEnum = accountTypeEnum |
|
4194
|
|
|
@cardTypeEnum = cardTypeEnum |
|
4195
|
|
|
@fDSFilterActionEnum = fDSFilterActionEnum |
|
4196
|
|
|
@permissionsEnum = permissionsEnum |
|
4197
|
|
|
@settingNameEnum = settingNameEnum |
|
4198
|
|
|
@settlementStateEnum = settlementStateEnum |
|
4199
|
|
|
@transactionStatusEnum = transactionStatusEnum |
|
4200
|
|
|
@transactionTypeEnum = transactionTypeEnum |
|
4201
|
|
|
end |
|
4202
|
|
|
end |
|
4203
|
|
View Code Duplication |
|
|
|
|
|
|
|
4204
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionRequestType |
|
4205
|
|
|
# transactionType - SOAP::SOAPString |
|
4206
|
|
|
# amount - SOAP::SOAPDecimal |
|
4207
|
|
|
# currencyCode - SOAP::SOAPString |
|
4208
|
|
|
# payment - PaymentType |
|
4209
|
|
|
# profile - CustomerProfilePaymentType |
|
4210
|
|
|
# solution - SolutionType |
|
4211
|
|
|
# callId - SOAP::SOAPString |
|
4212
|
|
|
# authCode - SOAP::SOAPString |
|
4213
|
|
|
# refTransId - SOAP::SOAPString |
|
4214
|
|
|
# splitTenderId - SOAP::SOAPString |
|
4215
|
|
|
# order - OrderType |
|
4216
|
|
|
# lineItems - ArrayOfLineItem |
|
4217
|
|
|
# tax - ExtendedAmountType |
|
4218
|
|
|
# duty - ExtendedAmountType |
|
4219
|
|
|
# shipping - ExtendedAmountType |
|
4220
|
|
|
# taxExempt - SOAP::SOAPBoolean |
|
4221
|
|
|
# poNumber - SOAP::SOAPString |
|
4222
|
|
View Code Duplication |
# customer - CustomerDataType |
|
|
|
|
|
|
4223
|
|
|
# billTo - CustomerAddressType |
|
4224
|
|
|
# shipTo - NameAndAddressType |
|
4225
|
|
|
# customerIP - SOAP::SOAPString |
|
4226
|
|
|
# cardholderAuthentication - CcAuthenticationType |
|
4227
|
|
|
# retail - TransRetailInfoType |
|
4228
|
|
|
# transactionSettings - ArrayOfSetting |
|
4229
|
|
|
# userFields - TransactionRequestType::UserFields |
|
4230
|
|
|
class TransactionRequestType |
|
4231
|
|
|
include ROXML |
|
4232
|
|
|
xml_accessor :transactionType |
|
4233
|
|
|
xml_accessor :amount, :as => BigDecimal |
|
4234
|
|
|
xml_accessor :currencyCode |
|
4235
|
|
|
xml_accessor :payment, :as => PaymentType |
|
4236
|
|
|
xml_accessor :profile, :as => CustomerProfilePaymentType |
|
4237
|
|
|
xml_accessor :solution, :as => SolutionType |
|
4238
|
|
|
xml_accessor :callId |
|
4239
|
|
|
xml_accessor :authCode |
|
4240
|
|
|
xml_accessor :refTransId |
|
4241
|
|
|
xml_accessor :splitTenderId |
|
4242
|
|
|
xml_accessor :order, :as => OrderType |
|
4243
|
|
|
xml_accessor :lineItems, :as => LineItems |
|
4244
|
|
|
xml_accessor :tax, :as => ExtendedAmountType |
|
4245
|
|
|
xml_accessor :duty, :as => ExtendedAmountType |
|
4246
|
|
|
xml_accessor :shipping, :as => ExtendedAmountType |
|
4247
|
|
|
xml_accessor :taxExempt |
|
4248
|
|
|
xml_accessor :poNumber |
|
4249
|
|
|
xml_accessor :customer, :as => CustomerDataType |
|
4250
|
|
|
xml_accessor :billTo, :as => CustomerAddressType |
|
4251
|
|
|
xml_accessor :shipTo, :as => NameAndAddressType |
|
4252
|
|
|
xml_accessor :customerIP |
|
4253
|
|
|
xml_accessor :cardholderAuthentication, :as => CcAuthenticationType |
|
4254
|
|
|
xml_accessor :retail, :as => TransRetailInfoType |
|
4255
|
|
|
xml_accessor :transactionSettings, :as => Settings |
|
4256
|
|
|
xml_accessor :userFields, :as => UserFields |
|
4257
|
|
|
|
|
4258
|
|
|
def initialize(transactionType = nil, amount = nil, currencyCode = nil, payment = nil, profile = nil, solution = nil, callId = nil, authCode = nil, refTransId = nil, splitTenderId = nil, order = nil, lineItems = nil, tax = nil, duty = nil, shipping = nil, taxExempt = nil, poNumber = nil, customer = nil, billTo = nil, shipTo = nil, customerIP = nil, cardholderAuthentication = nil, retail = nil, transactionSettings = nil, userFields = nil) |
|
4259
|
|
|
@transactionType = transactionType |
|
4260
|
|
|
@amount = amount |
|
4261
|
|
|
@currencyCode = currencyCode |
|
4262
|
|
|
@payment = payment |
|
4263
|
|
|
@profile = profile |
|
4264
|
|
|
@solution = solution |
|
4265
|
|
|
@callId = callId |
|
4266
|
|
|
@authCode = authCode |
|
4267
|
|
|
@refTransId = refTransId |
|
4268
|
|
|
@splitTenderId = splitTenderId |
|
4269
|
|
|
@order = order |
|
4270
|
|
|
@lineItems = lineItems |
|
4271
|
|
|
@tax = tax |
|
4272
|
|
|
@duty = duty |
|
4273
|
|
|
@shipping = shipping |
|
4274
|
|
|
@taxExempt = taxExempt |
|
4275
|
|
|
@poNumber = poNumber |
|
4276
|
|
|
@customer = customer |
|
4277
|
|
|
@billTo = billTo |
|
4278
|
|
|
@shipTo = shipTo |
|
4279
|
|
|
@customerIP = customerIP |
|
4280
|
|
|
@cardholderAuthentication = cardholderAuthentication |
|
4281
|
|
|
@retail = retail |
|
4282
|
|
|
@transactionSettings = transactionSettings |
|
4283
|
|
|
@userFields = userFields |
|
4284
|
|
|
end |
|
4285
|
|
|
end |
|
4286
|
|
|
|
|
4287
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createTransactionRequest |
|
4288
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4289
|
|
|
# refId - SOAP::SOAPString |
|
4290
|
|
|
# transactionRequest - TransactionRequestType |
|
4291
|
|
|
class CreateTransactionRequest |
|
4292
|
|
|
include ROXML |
|
4293
|
|
|
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType |
|
4294
|
|
|
xml_accessor :refId |
|
4295
|
|
|
xml_accessor :transactionRequest, :as => TransactionRequestType |
|
4296
|
|
|
|
|
4297
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, transactionRequest = nil) |
|
4298
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4299
|
|
|
@refId = refId |
|
4300
|
|
View Code Duplication |
@transactionRequest = transactionRequest |
|
|
|
|
|
|
4301
|
|
|
end |
|
4302
|
|
|
end |
|
4303
|
|
|
|
|
4304
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createTransactionResponse |
|
4305
|
|
|
# refId - SOAP::SOAPString |
|
4306
|
|
|
# messages - MessagesType |
|
4307
|
|
|
# sessionToken - SOAP::SOAPString |
|
4308
|
|
|
# transactionResponse - TransactionResponse |
|
4309
|
|
|
# profileResponse - CreateProfileResponse |
|
4310
|
|
|
class CreateTransactionResponse |
|
4311
|
|
|
include ROXML |
|
4312
|
|
|
xml_accessor :refId |
|
4313
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4314
|
|
|
xml_accessor :sessionToken |
|
4315
|
|
|
xml_accessor :transactionResponse, :as => TransactionResponse |
|
4316
|
|
|
xml_accessor :profileResponse, :as => CreateProfileResponse |
|
4317
|
|
|
|
|
4318
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, transactionResponse = nil, profileResponse = nil) |
|
4319
|
|
|
@refId = refId |
|
4320
|
|
|
@messages = messages |
|
4321
|
|
|
@sessionToken = sessionToken |
|
4322
|
|
|
@transactionResponse = transactionResponse |
|
4323
|
|
|
@profileResponse = profileResponse |
|
4324
|
|
|
end |
|
4325
|
|
|
end |
|
4326
|
|
View Code Duplication |
|
|
|
|
|
|
|
4327
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileListItemType |
|
4328
|
|
|
# customerPaymentProfileId - SOAP::SOAPInt |
|
4329
|
|
|
# customerProfileId - SOAP::SOAPInt |
|
4330
|
|
|
# billTo - CustomerAddressType |
|
4331
|
|
|
# payment - PaymentMaskedType |
|
4332
|
|
|
class CustomerPaymentProfileListItemType |
|
4333
|
|
|
include ROXML |
|
4334
|
|
|
xml_accessor :defaultPaymentProfile |
|
4335
|
|
|
xml_accessor :customerPaymentProfileId |
|
4336
|
|
|
xml_accessor :customerProfileId |
|
4337
|
|
|
xml_accessor :billTo, :as => CustomerAddressType |
|
4338
|
|
|
xml_accessor :payment, :as => PaymentMaskedType |
|
4339
|
|
|
|
|
4340
|
|
|
def initialize(customerPaymentProfileId = nil, customerProfileId = nil, billTo = nil, payment = nil, defaultPaymentProfile = nil) |
|
4341
|
|
|
@customerPaymentProfileId = customerPaymentProfileId |
|
4342
|
|
|
@customerProfileId = customerProfileId |
|
4343
|
|
|
@billTo = billTo |
|
4344
|
|
|
@payment = payment |
|
4345
|
|
|
@defaultPaymentProfile = defaultPaymentProfile |
|
4346
|
|
|
end |
|
4347
|
|
|
end |
|
4348
|
|
|
|
|
4349
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfCustomerPaymentProfileListItemType |
|
4350
|
|
View Code Duplication |
class ArrayOfCustomerPaymentProfileListItemType < ::Array |
|
|
|
|
|
|
4351
|
|
|
include ROXML |
|
4352
|
|
|
xml_accessor :paymentProfile, :as => [CustomerPaymentProfileListItemType] |
|
4353
|
|
|
|
|
4354
|
|
|
def initialize(paymentProfile = []) |
|
4355
|
|
|
@paymentProfile = paymentProfile |
|
4356
|
|
|
end |
|
4357
|
|
|
end |
|
4358
|
|
|
|
|
4359
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}CustomerPaymentProfileOrderFieldEnum |
|
4360
|
|
|
class CustomerPaymentProfileOrderFieldEnum < ::String |
|
4361
|
|
|
Id = CustomerPaymentProfileOrderFieldEnum.new("id") |
|
4362
|
|
|
end |
|
4363
|
|
|
|
|
4364
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}CustomerPaymentProfileSearchTypeEnum |
|
4365
|
|
|
class CustomerPaymentProfileSearchTypeEnum < ::String |
|
4366
|
|
|
CardsExpiringInMonth = CustomerPaymentProfileSearchTypeEnum.new("cardsExpiringInMonth") |
|
4367
|
|
|
end |
|
4368
|
|
|
|
|
4369
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}CustomerPaymentProfileSorting |
|
4370
|
|
|
# orderBy - CustomerPaymentProfileOrderFieldEnum |
|
4371
|
|
|
# orderDescending - SOAP::SOAPBoolean |
|
4372
|
|
|
class CustomerPaymentProfileSorting |
|
4373
|
|
|
include ROXML |
|
4374
|
|
|
xml_accessor :orderBy |
|
4375
|
|
|
xml_accessor :orderDescending |
|
4376
|
|
|
|
|
4377
|
|
|
def initialize(orderBy = nil, orderDescending = nil) |
|
4378
|
|
|
@orderBy = orderBy |
|
4379
|
|
|
@orderDescending = orderDescending |
|
4380
|
|
|
end |
|
4381
|
|
|
end |
|
4382
|
|
|
|
|
4383
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileListRequest |
|
4384
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4385
|
|
|
# refId - SOAP::SOAPString |
|
4386
|
|
|
# searchType - CustomerPaymentProfileSearchTypeEnum |
|
4387
|
|
|
# month - SOAP::SOAPString |
|
4388
|
|
|
# sorting - CustomerPaymentProfileSorting |
|
4389
|
|
|
# paging - Paging |
|
4390
|
|
|
class GetCustomerPaymentProfileListRequest |
|
4391
|
|
|
include ROXML |
|
4392
|
|
|
xml_accessor :merchantAuthentication |
|
4393
|
|
|
xml_accessor :refId |
|
4394
|
|
|
xml_accessor :searchType |
|
4395
|
|
|
xml_accessor :month |
|
4396
|
|
|
xml_accessor :sorting, :as => CustomerPaymentProfileSorting |
|
4397
|
|
|
xml_accessor :paging, :as => Paging |
|
4398
|
|
|
|
|
4399
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, searchType = nil, month = nil, sorting = nil, paging = nil) |
|
4400
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4401
|
|
|
@refId = refId |
|
4402
|
|
|
@searchType = searchType |
|
4403
|
|
|
@month = month |
|
4404
|
|
|
@sorting = sorting |
|
4405
|
|
|
@paging = paging |
|
4406
|
|
|
end |
|
4407
|
|
|
end |
|
4408
|
|
|
|
|
4409
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileListResponse |
|
4410
|
|
|
# refId - SOAP::SOAPString |
|
4411
|
|
|
# messages - MessagesType |
|
4412
|
|
|
# sessionToken - SOAP::SOAPString |
|
4413
|
|
|
# totalNumInResultSet - SOAP::SOAPInt |
|
4414
|
|
|
# paymentProfiles - ArrayOfCustomerPaymentProfileListItemType |
|
4415
|
|
|
|
|
4416
|
|
|
class GetCustomerPaymentProfileListResponse |
|
4417
|
|
|
include ROXML |
|
4418
|
|
|
xml_accessor :refId |
|
4419
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4420
|
|
View Code Duplication |
xml_accessor :sessionToken |
|
|
|
|
|
|
4421
|
|
|
xml_accessor :totalNumInResultSet |
|
4422
|
|
|
xml_accessor :paymentProfiles, :as => ArrayOfCustomerPaymentProfileListItemType |
|
4423
|
|
|
|
|
4424
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, totalNumInResultSet = nil, paymentProfiles = []) |
|
4425
|
|
|
@refId = refId |
|
4426
|
|
|
@messages = messages |
|
4427
|
|
|
@sessionToken = sessionToken |
|
4428
|
|
|
@totalNumInResultSet = totalNumInResultSet |
|
4429
|
|
|
@paymentProfiles = paymentProfiles |
|
4430
|
|
|
end |
|
4431
|
|
|
end |
|
4432
|
|
|
|
|
4433
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}subscriptionCustomerProfileType |
|
4434
|
|
|
# merchantCustomerId - SOAP::SOAPString |
|
4435
|
|
|
# description - SOAP::SOAPString |
|
4436
|
|
|
# email - SOAP::SOAPString |
|
4437
|
|
|
# customerProfileId - (any) |
|
4438
|
|
|
# paymentProfile - CustomerPaymentProfileMaskedType |
|
4439
|
|
|
# shippingProfile - CustomerAddressExType |
|
4440
|
|
|
class SubscriptionCustomerProfileType |
|
4441
|
|
|
include ROXML |
|
4442
|
|
|
xml_accessor :merchantCustomerId |
|
4443
|
|
|
xml_accessor :description |
|
4444
|
|
|
xml_accessor :email |
|
4445
|
|
|
xml_accessor :customerProfileId |
|
4446
|
|
|
xml_accessor :paymentProfile, :as => CustomerPaymentProfileMaskedType |
|
4447
|
|
|
xml_accessor :shippingProfile, :as => CustomerAddressExType |
|
4448
|
|
|
|
|
4449
|
|
|
def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil, paymentProfile = nil, shippingProfile = nil) |
|
4450
|
|
|
@merchantCustomerId = merchantCustomerId |
|
4451
|
|
|
@description = description |
|
4452
|
|
|
@email = email |
|
4453
|
|
|
@customerProfileId = customerProfileId |
|
4454
|
|
|
@paymentProfile = paymentProfile |
|
4455
|
|
|
@shippingProfile = shippingProfile |
|
4456
|
|
|
end |
|
4457
|
|
|
end |
|
4458
|
|
|
|
|
4459
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionMaskedType |
|
4460
|
|
|
# name - SOAP::SOAPString |
|
4461
|
|
|
# paymentSchedule - PaymentScheduleType |
|
4462
|
|
|
# amount - SOAP::SOAPDecimal |
|
4463
|
|
|
# trialAmount - SOAP::SOAPDecimal |
|
4464
|
|
|
# status - ARBSubscriptionStatusEnum |
|
4465
|
|
|
# profile - SubscriptionCustomerProfileType |
|
4466
|
|
|
# order - OrderType |
|
4467
|
|
|
class ARBSubscriptionMaskedType |
|
4468
|
|
|
include ROXML |
|
4469
|
|
|
xml_accessor :name |
|
4470
|
|
|
xml_accessor :paymentSchedule, :as => PaymentScheduleType |
|
4471
|
|
|
xml_accessor :amount, :as => BigDecimal |
|
4472
|
|
|
xml_accessor :trialAmount, :as => BigDecimal |
|
4473
|
|
|
xml_accessor :status |
|
4474
|
|
|
xml_accessor :profile, :as => SubscriptionCustomerProfileType |
|
4475
|
|
|
xml_accessor :order, :as => OrderType |
|
4476
|
|
|
|
|
4477
|
|
|
def initialize(name = nil, paymentSchedule = nil, amount = nil, trialAmount = nil, status = nil, profile = nil, order = nil) |
|
4478
|
|
|
@name = name |
|
4479
|
|
|
@paymentSchedule = paymentSchedule |
|
4480
|
|
|
@amount = amount |
|
4481
|
|
|
@trialAmount = trialAmount |
|
4482
|
|
|
@status = status |
|
4483
|
|
|
@profile = profile |
|
4484
|
|
|
@order = order |
|
4485
|
|
|
end |
|
4486
|
|
|
end |
|
4487
|
|
|
|
|
4488
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionRequest |
|
4489
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4490
|
|
|
# refId - SOAP::SOAPString |
|
4491
|
|
|
# subscriptionId - (any) |
|
4492
|
|
|
class ARBGetSubscriptionRequest |
|
4493
|
|
|
include ROXML |
|
4494
|
|
|
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType |
|
4495
|
|
|
xml_accessor :refId |
|
4496
|
|
|
xml_accessor :subscriptionId |
|
4497
|
|
|
|
|
4498
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil) |
|
4499
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4500
|
|
|
@refId = refId |
|
4501
|
|
|
@subscriptionId = subscriptionId |
|
4502
|
|
|
end |
|
4503
|
|
|
end |
|
4504
|
|
|
|
|
4505
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionResponse |
|
4506
|
|
|
# refId - SOAP::SOAPString |
|
4507
|
|
|
# messages - MessagesType |
|
4508
|
|
|
# sessionToken - SOAP::SOAPString |
|
4509
|
|
|
# subscription - ARBSubscriptionMaskedType |
|
4510
|
|
|
class ARBGetSubscriptionResponse |
|
4511
|
|
|
include ROXML |
|
4512
|
|
|
xml_accessor :refId |
|
4513
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4514
|
|
|
xml_accessor :sessionToken |
|
4515
|
|
|
xml_accessor :subscription, :as => ARBSubscriptionMaskedType |
|
4516
|
|
|
|
|
4517
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, subscription = nil) |
|
4518
|
|
|
@refId = refId |
|
4519
|
|
|
@messages = messages |
|
4520
|
|
|
@sessionToken = sessionToken |
|
4521
|
|
|
@subscription = subscription |
|
4522
|
|
|
end |
|
4523
|
|
|
end |
|
4524
|
|
|
|
|
4525
|
|
|
|
|
4526
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUResponseType |
|
4527
|
|
|
class AUResponseType |
|
4528
|
|
|
include ROXML |
|
4529
|
|
|
xml_accessor :auReasonCode |
|
4530
|
|
|
xml_accessor :profileCount |
|
4531
|
|
|
xml_accessor :reasonDescription |
|
4532
|
|
|
|
|
4533
|
|
|
def initialize(auReasonCode = nil, profileCount = nil, reasonDescription = nil) |
|
4534
|
|
|
@auReasonCode = auReasonCode |
|
4535
|
|
|
@profileCount = profileCount |
|
4536
|
|
|
@reasonDescription = reasonDescription |
|
4537
|
|
|
end |
|
4538
|
|
|
end |
|
4539
|
|
|
|
|
4540
|
|
|
|
|
4541
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfAUResponseType |
|
4542
|
|
|
class ArrayOfAUResponseType < ::Array |
|
4543
|
|
|
include ROXML |
|
4544
|
|
|
xml_accessor :auResponse, :as => [AUResponseType] |
|
4545
|
|
|
|
|
4546
|
|
|
def initialize(auResponse = []) |
|
4547
|
|
|
@auResponse = auResponse |
|
4548
|
|
|
end |
|
4549
|
|
|
end |
|
4550
|
|
|
|
|
4551
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUUpdateType |
|
4552
|
|
|
class AUUpdateType |
|
4553
|
|
|
include ROXML |
|
4554
|
|
|
xml_accessor :customerProfileID |
|
4555
|
|
|
xml_accessor :customerPaymentProfileID |
|
4556
|
|
|
xml_accessor :firstName |
|
4557
|
|
|
xml_accessor :lastName |
|
4558
|
|
|
xml_accessor :updateTimeUTC |
|
4559
|
|
|
xml_accessor :auReasonCode |
|
4560
|
|
|
xml_accessor :reasonDescription |
|
4561
|
|
|
xml_accessor :newCreditCard, :as => CreditCardMaskedType |
|
4562
|
|
|
xml_accessor :oldCreditCard, :as => CreditCardMaskedType |
|
4563
|
|
|
|
|
4564
|
|
|
def initialize(customerProfileID = nil, customerPaymentProfileID = nil, firstName = nil, lastName = nil, updateTimeUTC = nil, auReasonCode = nil, reasonDescription = nil, newCreditCard = nil, oldCreditCard = nil) |
|
4565
|
|
|
@customerProfileID = customerProfileID |
|
4566
|
|
|
@customerPaymentProfileID = customerPaymentProfileID |
|
4567
|
|
|
@firstName = firstName |
|
4568
|
|
|
@lastName = lastName |
|
4569
|
|
|
@updateTimeUTC = updateTimeUTC |
|
4570
|
|
|
@auReasonCode = auReasonCode |
|
4571
|
|
|
@reasonDescription = reasonDescription |
|
4572
|
|
|
@newCreditCard = newCreditCard |
|
4573
|
|
|
@oldCreditCard = oldCreditCard |
|
4574
|
|
View Code Duplication |
end |
|
|
|
|
|
|
4575
|
|
|
end |
|
4576
|
|
|
|
|
4577
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUDeleteType |
|
4578
|
|
|
class AUDeleteType |
|
4579
|
|
|
include ROXML |
|
4580
|
|
|
xml_accessor :customerProfileID |
|
4581
|
|
|
xml_accessor :customerPaymentProfileID |
|
4582
|
|
|
xml_accessor :firstName |
|
4583
|
|
|
xml_accessor :lastName |
|
4584
|
|
|
xml_accessor :updateTimeUTC |
|
4585
|
|
|
xml_accessor :auReasonCode |
|
4586
|
|
|
xml_accessor :reasonDescription |
|
4587
|
|
|
xml_accessor :creditCard, :as => CreditCardMaskedType |
|
4588
|
|
|
|
|
4589
|
|
|
def initialize(customerProfileID = nil, customerPaymentProfileID = nil, firstName = nil, lastName = nil, updateTimeUTC = nil, auReasonCode = nil, reasonDescription = nil, creditCard = nil) |
|
4590
|
|
|
@customerProfileID = customerProfileID |
|
4591
|
|
|
@customerPaymentProfileID = customerPaymentProfileID |
|
4592
|
|
|
@firstName = firstName |
|
4593
|
|
|
@lastName = lastName |
|
4594
|
|
|
@updateTimeUTC = updateTimeUTC |
|
4595
|
|
View Code Duplication |
@auReasonCode = auReasonCode |
|
|
|
|
|
|
4596
|
|
|
@reasonDescription = reasonDescription |
|
4597
|
|
|
@creditCard = creditCard |
|
4598
|
|
|
end |
|
4599
|
|
|
end |
|
4600
|
|
|
|
|
4601
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUDetailsType |
|
4602
|
|
|
class AUDetailsType |
|
4603
|
|
|
include ROXML |
|
4604
|
|
|
xml_accessor :customerProfileID |
|
4605
|
|
|
xml_accessor :customerPaymentProfileID |
|
4606
|
|
|
xml_accessor :firstName |
|
4607
|
|
|
xml_accessor :lastName |
|
4608
|
|
|
xml_accessor :updateTimeUTC |
|
4609
|
|
|
xml_accessor :auReasonCode |
|
4610
|
|
|
xml_accessor :reasonDescription |
|
4611
|
|
|
|
|
4612
|
|
|
def initialize(customerProfileID = nil, customerPaymentProfileID = nil, firstName = nil, lastName = nil, updateTimeUTC = nil, auReasonCode = nil, reasonDescription = nil) |
|
4613
|
|
|
@customerProfileID = customerProfileID |
|
4614
|
|
|
@customerPaymentProfileID = customerPaymentProfileID |
|
4615
|
|
|
@firstName = firstName |
|
4616
|
|
|
@lastName = lastName |
|
4617
|
|
|
@updateTimeUTC = updateTimeUTC |
|
4618
|
|
View Code Duplication |
@auReasonCode = auReasonCode |
|
|
|
|
|
|
4619
|
|
|
@reasonDescription = reasonDescription |
|
4620
|
|
|
end |
|
4621
|
|
|
end |
|
4622
|
|
|
|
|
4623
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ListOfAUDetailsType |
|
4624
|
|
|
class ListOfAUDetailsType |
|
4625
|
|
|
include ROXML |
|
4626
|
|
|
xml_accessor :auUpdate, :as => AUUpdateType |
|
4627
|
|
|
xml_accessor :auDelete, :as => AUDeleteType |
|
4628
|
|
|
|
|
4629
|
|
|
def initialize(auUpdate = nil, auDelete = nil) |
|
4630
|
|
|
@auUpdate = auUpdate |
|
4631
|
|
|
@auDelete = auDelete |
|
4632
|
|
|
end |
|
4633
|
|
|
end |
|
4634
|
|
|
|
|
4635
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUJobTypeEnum |
|
4636
|
|
|
class AUJobTypeEnum < ::String |
|
4637
|
|
|
All = BankAccountTypeEnum.new("all") |
|
4638
|
|
|
Updates = BankAccountTypeEnum.new("updates") |
|
4639
|
|
|
Deletes = BankAccountTypeEnum.new("deletes") |
|
4640
|
|
|
end |
|
4641
|
|
|
|
|
4642
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobSummaryRequest |
|
4643
|
|
|
# refId - SOAP::SOAPString |
|
4644
|
|
|
# messages - MessagesType |
|
4645
|
|
|
# month - SOAP::SOAPString |
|
4646
|
|
|
class GetAUJobSummaryRequest |
|
4647
|
|
|
include ROXML |
|
4648
|
|
|
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType |
|
4649
|
|
|
xml_accessor :refId |
|
4650
|
|
|
xml_accessor :month |
|
4651
|
|
|
|
|
4652
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, month = nil) |
|
4653
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4654
|
|
|
@refId = refId |
|
4655
|
|
|
@month = month |
|
4656
|
|
|
end |
|
4657
|
|
|
end |
|
4658
|
|
|
|
|
4659
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobSummaryResponse |
|
4660
|
|
|
# refId - SOAP::SOAPString |
|
4661
|
|
|
# messages - MessagesType |
|
4662
|
|
|
# sessionToken - SOAP::SOAPString |
|
4663
|
|
|
# auSummary - ARBSubscriptionMaskedType |
|
4664
|
|
|
class GetAUJobSummaryResponse |
|
4665
|
|
|
include ROXML |
|
4666
|
|
|
xml_accessor :refId |
|
4667
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4668
|
|
|
xml_accessor :sessionToken |
|
4669
|
|
|
xml_accessor :auSummary, :as => ArrayOfAUResponseType |
|
4670
|
|
|
|
|
4671
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, auSummary = nil) |
|
4672
|
|
|
@refId = refId |
|
4673
|
|
|
@messages = messages |
|
4674
|
|
|
@sessionToken = sessionToken |
|
4675
|
|
|
@auSummary = auSummary |
|
4676
|
|
|
end |
|
4677
|
|
|
end |
|
4678
|
|
|
|
|
4679
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobDetailsRequest |
|
4680
|
|
|
# refId - SOAP::SOAPString |
|
4681
|
|
|
# messages - MessagesType |
|
4682
|
|
|
# month - SOAP::SOAPString |
|
4683
|
|
|
# modifiedTypeFilter - AUJobTypeEnum |
|
4684
|
|
|
# paging - Paging |
|
4685
|
|
|
class GetAUJobDetailsRequest |
|
4686
|
|
|
include ROXML |
|
4687
|
|
|
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType |
|
4688
|
|
|
xml_accessor :refId |
|
4689
|
|
|
xml_accessor :month |
|
4690
|
|
|
xml_accessor :modifiedTypeFilter |
|
4691
|
|
|
xml_accessor :paging, :as => Paging |
|
4692
|
|
|
|
|
4693
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, month = nil, modifiedTypeFilter = nil, paging = nil) |
|
4694
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4695
|
|
|
@refId = refId |
|
4696
|
|
|
@month = month |
|
4697
|
|
|
@modifiedTypeFilter = modifiedTypeFilter |
|
4698
|
|
|
@paging = paging |
|
4699
|
|
|
end |
|
4700
|
|
|
end |
|
4701
|
|
|
|
|
4702
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobDetailsResponse |
|
4703
|
|
|
# refId - SOAP::SOAPString |
|
4704
|
|
|
# messages - MessagesType |
|
4705
|
|
|
# sessionToken - SOAP::SOAPString |
|
4706
|
|
|
# totalNumInResultSet - ListOfAUDetailsType |
|
4707
|
|
|
# auDetails - SOAP::SOAPInt |
|
4708
|
|
|
class GetAUJobDetailsResponse |
|
4709
|
|
|
include ROXML |
|
4710
|
|
|
xml_accessor :refId |
|
4711
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4712
|
|
|
xml_accessor :sessionToken |
|
4713
|
|
|
xml_accessor :totalNumInResultSet, :as => Integer |
|
4714
|
|
|
xml_accessor :auDetails, :as => [ListOfAUDetailsType] |
|
4715
|
|
|
|
|
4716
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, totalNumInResultSet = nil, auDetails = []) |
|
4717
|
|
|
@refId = refId |
|
4718
|
|
|
@messages = messages |
|
4719
|
|
|
@sessionToken = sessionToken |
|
4720
|
|
|
@totalNumInResultSet = totalNumInResultSet |
|
4721
|
|
|
@auDetails = auDetails |
|
4722
|
|
|
end |
|
4723
|
|
|
end |
|
4724
|
|
|
|
|
4725
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getMerchantDetailsRequest |
|
4726
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4727
|
|
|
# refId - SOAP::SOAPString |
|
4728
|
|
|
class GetMerchantDetailsRequest |
|
4729
|
|
|
include ROXML |
|
4730
|
|
|
xml_accessor :merchantAuthentication |
|
4731
|
|
|
xml_accessor :refId |
|
4732
|
|
|
|
|
4733
|
|
|
def initialize(merchantAuthentication = nil, refId = nil) |
|
4734
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4735
|
|
|
@refId = refId |
|
4736
|
|
|
end |
|
4737
|
|
|
end |
|
4738
|
|
|
|
|
4739
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ProcessorType |
|
4740
|
|
|
class ProcessorType |
|
4741
|
|
|
include ROXML |
|
4742
|
|
|
xml_accessor :name |
|
4743
|
|
|
|
|
4744
|
|
|
def initialize(name = nil) |
|
4745
|
|
|
@name = name |
|
4746
|
|
|
end |
|
4747
|
|
|
end |
|
4748
|
|
|
|
|
4749
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfProcessorType |
|
4750
|
|
|
class ArrayOfProcessorType < ::Array |
|
4751
|
|
|
include ROXML |
|
4752
|
|
|
xml_accessor :processor, :as => [ProcessorType] |
|
4753
|
|
|
|
|
4754
|
|
|
def initialize(processor = []) |
|
4755
|
|
|
@processor = processor |
|
4756
|
|
|
end |
|
4757
|
|
|
end |
|
4758
|
|
|
|
|
4759
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfMarketType |
|
4760
|
|
|
class ArrayOfMarketType < ::Array |
|
4761
|
|
|
include ROXML |
|
4762
|
|
|
xml_accessor :marketType |
|
4763
|
|
|
def initialize(marketType = []) |
|
4764
|
|
|
@marketType = marketType |
|
4765
|
|
|
end |
|
4766
|
|
|
end |
|
4767
|
|
|
|
|
4768
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfProductCode |
|
4769
|
|
|
class ArrayOfProductCode < ::Array |
|
4770
|
|
|
include ROXML |
|
4771
|
|
|
xml_accessor :productCode |
|
4772
|
|
|
|
|
4773
|
|
|
def initialize(productCode = []) |
|
4774
|
|
|
@productCode = productCode |
|
4775
|
|
|
end |
|
4776
|
|
|
end |
|
4777
|
|
|
|
|
4778
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}PaymentMethodsTypeEnum |
|
4779
|
|
|
class PaymentMethodsTypeEnum < ::String |
|
4780
|
|
|
Visa = PaymentMethodsTypeEnum.new("Visa") |
|
4781
|
|
|
MasterCard = PaymentMethodsTypeEnum.new("MasterCard") |
|
4782
|
|
|
Discover = PaymentMethodsTypeEnum.new("Discover") |
|
4783
|
|
|
AmericanExpress = PaymentMethodsTypeEnum.new("AmericanExpress") |
|
4784
|
|
|
DinersClub = PaymentMethodsTypeEnum.new("DinersClub") |
|
4785
|
|
|
JCB = PaymentMethodsTypeEnum.new("JCB") |
|
4786
|
|
|
EnRoute = PaymentMethodsTypeEnum.new("EnRoute") |
|
4787
|
|
|
Echeck = PaymentMethodsTypeEnum.new("Echeck") |
|
4788
|
|
|
Paypal = PaymentMethodsTypeEnum.new("Paypal") |
|
4789
|
|
|
VisaCheckout = PaymentMethodsTypeEnum.new("VisaCheckout") |
|
4790
|
|
|
ApplePay = PaymentMethodsTypeEnum.new("ApplePay") |
|
4791
|
|
|
AndroidPay = PaymentMethodsTypeEnum.new("AndroidPay") |
|
4792
|
|
|
end |
|
4793
|
|
|
|
|
4794
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfPaymentMethod |
|
4795
|
|
|
class ArrayOfPaymentMethod < ::Array |
|
4796
|
|
|
include ROXML |
|
4797
|
|
|
xml_accessor :paymentMethod |
|
4798
|
|
|
|
|
4799
|
|
|
def initialize(paymentMethod = []) |
|
4800
|
|
|
@paymentMethod = paymentMethod |
|
4801
|
|
|
end |
|
4802
|
|
|
end |
|
4803
|
|
|
|
|
4804
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfCurrencyCode |
|
4805
|
|
|
class ArrayOfCurrencyCode < ::Array |
|
4806
|
|
|
include ROXML |
|
4807
|
|
|
xml_accessor :currency |
|
4808
|
|
|
|
|
4809
|
|
|
def initialize(currency = []) |
|
4810
|
|
|
@currency = currency |
|
4811
|
|
|
end |
|
4812
|
|
|
end |
|
4813
|
|
|
|
|
4814
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getMerchantDetailsResponse |
|
4815
|
|
|
class GetMerchantDetailsResponse |
|
4816
|
|
|
include ROXML |
|
4817
|
|
|
xml_accessor :refId |
|
4818
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4819
|
|
|
xml_accessor :sessionToken |
|
4820
|
|
|
xml_accessor :isTestMode |
|
4821
|
|
|
xml_accessor :processors, :as => ArrayOfProcessorType |
|
4822
|
|
|
xml_accessor :merchantName |
|
4823
|
|
|
xml_accessor :gatewayId |
|
4824
|
|
|
xml_accessor :marketTypes, :as => ArrayOfMarketType |
|
4825
|
|
|
xml_accessor :productCodes, :as => ArrayOfProductCode |
|
4826
|
|
|
xml_accessor :paymentMethods, :as => ArrayOfPaymentMethod |
|
4827
|
|
|
xml_accessor :currencies, :as => ArrayOfCurrencyCode |
|
4828
|
|
|
|
|
4829
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, isTestMode = nil, processors = nil, merchantName = nil, gatewayId = nil, marketTypes = nil, productCodes = nil, paymentMethods = nil, currencies = nil) |
|
4830
|
|
|
@refId = refId |
|
4831
|
|
|
@messages = messages |
|
4832
|
|
|
@sessionToken = sessionToken |
|
4833
|
|
|
@isTestMode = isTestMode |
|
4834
|
|
|
@processors = processors |
|
4835
|
|
|
@merchantName = merchantName |
|
4836
|
|
|
@gatewayId = gatewayId |
|
4837
|
|
|
@marketTypes = marketTypes |
|
4838
|
|
|
@productCodes = productCodes |
|
4839
|
|
|
@paymentMethods = paymentMethods |
|
4840
|
|
|
@currencies = currencies |
|
4841
|
|
|
end |
|
4842
|
|
|
end |
|
4843
|
|
|
|
|
4844
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}PaymentMethodsTypeEnum |
|
4845
|
|
|
class AfdsTransactionEnum < ::String |
|
4846
|
|
|
Approve = AfdsTransactionEnum.new("approve") |
|
4847
|
|
|
Decline = AfdsTransactionEnum.new("decline") |
|
4848
|
|
|
end |
|
4849
|
|
|
|
|
4850
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}HeldTransactionRequestType |
|
4851
|
|
|
class HeldTransactionRequestType |
|
4852
|
|
|
include ROXML |
|
4853
|
|
|
xml_accessor :action |
|
4854
|
|
|
xml_accessor :refTransId |
|
4855
|
|
|
|
|
4856
|
|
|
def initialize(action = nil, refTransId = nil) |
|
4857
|
|
|
@action = action |
|
4858
|
|
|
@refTransId = refTransId |
|
4859
|
|
|
end |
|
4860
|
|
|
end |
|
4861
|
|
|
|
|
4862
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}UpdateHeldTransactionRequest |
|
4863
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4864
|
|
|
# refId - SOAP::SOAPString |
|
4865
|
|
|
class UpdateHeldTransactionRequest |
|
4866
|
|
|
include ROXML |
|
4867
|
|
|
xml_accessor :merchantAuthentication |
|
4868
|
|
|
xml_accessor :refId |
|
4869
|
|
|
xml_accessor :heldTransactionRequest, :as => HeldTransactionRequestType |
|
4870
|
|
|
|
|
4871
|
|
|
def initialize(merchantAuthentication = nil, refId = nil) |
|
4872
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4873
|
|
|
@refId = refId |
|
4874
|
|
|
end |
|
4875
|
|
|
end |
|
4876
|
|
|
|
|
4877
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}UpdateHeldTransactionResponse |
|
4878
|
|
|
# refId - SOAP::SOAPString |
|
4879
|
|
|
# messages - MessagesType |
|
4880
|
|
|
# sessionToken - SOAP::SOAPString |
|
4881
|
|
|
# transactionResponse - TransactionResponse |
|
4882
|
|
|
# profileResponse - CreateProfileResponse |
|
4883
|
|
View Code Duplication |
class UpdateHeldTransactionResponse |
|
|
|
|
|
|
4884
|
|
|
include ROXML |
|
4885
|
|
|
xml_accessor :refId |
|
4886
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4887
|
|
|
xml_accessor :sessionToken |
|
4888
|
|
|
xml_accessor :transactionResponse, :as => TransactionResponse |
|
4889
|
|
|
|
|
4890
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, transactionResponse = nil) |
|
4891
|
|
|
@refId = refId |
|
4892
|
|
|
@messages = messages |
|
4893
|
|
|
@sessionToken = sessionToken |
|
4894
|
|
|
@transactionResponse = transactionResponse |
|
4895
|
|
|
end |
|
4896
|
|
|
end |
|
4897
|
|
|
|
|
4898
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetHostedPaymentPageRequest |
|
4899
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4900
|
|
|
# refId - SOAP::SOAPString |
|
4901
|
|
View Code Duplication |
class GetHostedPaymentPageRequest |
|
|
|
|
|
|
4902
|
|
|
include ROXML |
|
4903
|
|
|
xml_accessor :merchantAuthentication |
|
4904
|
|
|
xml_accessor :refId |
|
4905
|
|
|
xml_accessor :transactionRequest, :as => TransactionRequestType |
|
4906
|
|
|
xml_accessor :hostedPaymentSettings, :as => Settings |
|
4907
|
|
|
|
|
4908
|
|
|
def initialize(merchantAuthentication = nil, refId = nil, transactionRequest = nil, hostedPaymentSettings = nil) |
|
4909
|
|
|
@merchantAuthentication = merchantAuthentication |
|
4910
|
|
|
@refId = refId |
|
4911
|
|
|
@transactionRequest = transactionRequest |
|
4912
|
|
|
@hostedPaymentSettings = hostedPaymentSettings |
|
4913
|
|
|
end |
|
4914
|
|
|
end |
|
4915
|
|
|
|
|
4916
|
|
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetHostedPaymentPageRequest |
|
4917
|
|
|
# merchantAuthentication - MerchantAuthenticationType |
|
4918
|
|
|
# refId - SOAP::SOAPString |
|
4919
|
|
|
class GetHostedPaymentPageResponse |
|
4920
|
|
|
include ROXML |
|
4921
|
|
|
xml_accessor :refId |
|
4922
|
|
|
xml_accessor :messages, :as => MessagesType |
|
4923
|
|
|
xml_accessor :sessionToken |
|
4924
|
|
|
xml_accessor :token |
|
4925
|
|
|
|
|
4926
|
|
|
def initialize(refId = nil, messages = nil, sessionToken = nil, token = nil) |
|
4927
|
|
|
@refId = refId |
|
4928
|
|
|
@messages = messages |
|
4929
|
|
|
@sessionToken = sessionToken |
|
4930
|
|
|
@token = token |
|
4931
|
|
|
end |
|
4932
|
|
|
end |
|
4933
|
|
|
end |
|
4934
|
|
|
|