@sniipwebmaster/worldpay-service-client-grpcweb 25.10.199 → 26.1.263
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_grpc_web_pb.js +183 -0
- package/dependancies/service_pb.js +2235 -12
- package/package.json +1 -1
|
@@ -32,7 +32,17 @@ goog.exportSymbol('proto.worldpayserviceapi.PaymentResponse', null, global);
|
|
|
32
32
|
goog.exportSymbol('proto.worldpayserviceapi.PaymentStatusRequest', null, global);
|
|
33
33
|
goog.exportSymbol('proto.worldpayserviceapi.PaymentStatusResponse', null, global);
|
|
34
34
|
goog.exportSymbol('proto.worldpayserviceapi.PostRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.worldpayserviceapi.ProcessSettlementFileRequest', null, global);
|
|
35
36
|
goog.exportSymbol('proto.worldpayserviceapi.ResponseCode', null, global);
|
|
37
|
+
goog.exportSymbol('proto.worldpayserviceapi.SettleFile', null, global);
|
|
38
|
+
goog.exportSymbol('proto.worldpayserviceapi.SettleFileDetailsResponse', null, global);
|
|
39
|
+
goog.exportSymbol('proto.worldpayserviceapi.SettleFilesResponse', null, global);
|
|
40
|
+
goog.exportSymbol('proto.worldpayserviceapi.SettlementFileRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.worldpayserviceapi.SettlementFilesDetailsRequest', null, global);
|
|
42
|
+
goog.exportSymbol('proto.worldpayserviceapi.SettlementFilesRequest', null, global);
|
|
43
|
+
goog.exportSymbol('proto.worldpayserviceapi.SettlementMidType', null, global);
|
|
44
|
+
goog.exportSymbol('proto.worldpayserviceapi.SettlementTransaction', null, global);
|
|
45
|
+
goog.exportSymbol('proto.worldpayserviceapi.SettlementTransactionStatus', null, global);
|
|
36
46
|
goog.exportSymbol('proto.worldpayserviceapi.WorldPayPaymentType', null, global);
|
|
37
47
|
/**
|
|
38
48
|
* Generated by JsPbCodeGenerator.
|
|
@@ -223,6 +233,174 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
223
233
|
*/
|
|
224
234
|
proto.worldpayserviceapi.GetTransactionResponse.displayName = 'proto.worldpayserviceapi.GetTransactionResponse';
|
|
225
235
|
}
|
|
236
|
+
/**
|
|
237
|
+
* Generated by JsPbCodeGenerator.
|
|
238
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
239
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
240
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
241
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
242
|
+
* valid.
|
|
243
|
+
* @extends {jspb.Message}
|
|
244
|
+
* @constructor
|
|
245
|
+
*/
|
|
246
|
+
proto.worldpayserviceapi.SettleFile = function(opt_data) {
|
|
247
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
248
|
+
};
|
|
249
|
+
goog.inherits(proto.worldpayserviceapi.SettleFile, jspb.Message);
|
|
250
|
+
if (goog.DEBUG && !COMPILED) {
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
* @override
|
|
254
|
+
*/
|
|
255
|
+
proto.worldpayserviceapi.SettleFile.displayName = 'proto.worldpayserviceapi.SettleFile';
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Generated by JsPbCodeGenerator.
|
|
259
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
260
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
261
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
262
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
263
|
+
* valid.
|
|
264
|
+
* @extends {jspb.Message}
|
|
265
|
+
* @constructor
|
|
266
|
+
*/
|
|
267
|
+
proto.worldpayserviceapi.SettleFilesResponse = function(opt_data) {
|
|
268
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.worldpayserviceapi.SettleFilesResponse.repeatedFields_, null);
|
|
269
|
+
};
|
|
270
|
+
goog.inherits(proto.worldpayserviceapi.SettleFilesResponse, jspb.Message);
|
|
271
|
+
if (goog.DEBUG && !COMPILED) {
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
* @override
|
|
275
|
+
*/
|
|
276
|
+
proto.worldpayserviceapi.SettleFilesResponse.displayName = 'proto.worldpayserviceapi.SettleFilesResponse';
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Generated by JsPbCodeGenerator.
|
|
280
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
281
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
282
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
283
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
284
|
+
* valid.
|
|
285
|
+
* @extends {jspb.Message}
|
|
286
|
+
* @constructor
|
|
287
|
+
*/
|
|
288
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest = function(opt_data) {
|
|
289
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
290
|
+
};
|
|
291
|
+
goog.inherits(proto.worldpayserviceapi.SettlementFilesDetailsRequest, jspb.Message);
|
|
292
|
+
if (goog.DEBUG && !COMPILED) {
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
* @override
|
|
296
|
+
*/
|
|
297
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.displayName = 'proto.worldpayserviceapi.SettlementFilesDetailsRequest';
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Generated by JsPbCodeGenerator.
|
|
301
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
302
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
303
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
304
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
305
|
+
* valid.
|
|
306
|
+
* @extends {jspb.Message}
|
|
307
|
+
* @constructor
|
|
308
|
+
*/
|
|
309
|
+
proto.worldpayserviceapi.SettlementTransaction = function(opt_data) {
|
|
310
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
311
|
+
};
|
|
312
|
+
goog.inherits(proto.worldpayserviceapi.SettlementTransaction, jspb.Message);
|
|
313
|
+
if (goog.DEBUG && !COMPILED) {
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
* @override
|
|
317
|
+
*/
|
|
318
|
+
proto.worldpayserviceapi.SettlementTransaction.displayName = 'proto.worldpayserviceapi.SettlementTransaction';
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Generated by JsPbCodeGenerator.
|
|
322
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
323
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
324
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
325
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
326
|
+
* valid.
|
|
327
|
+
* @extends {jspb.Message}
|
|
328
|
+
* @constructor
|
|
329
|
+
*/
|
|
330
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse = function(opt_data) {
|
|
331
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.worldpayserviceapi.SettleFileDetailsResponse.repeatedFields_, null);
|
|
332
|
+
};
|
|
333
|
+
goog.inherits(proto.worldpayserviceapi.SettleFileDetailsResponse, jspb.Message);
|
|
334
|
+
if (goog.DEBUG && !COMPILED) {
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
* @override
|
|
338
|
+
*/
|
|
339
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.displayName = 'proto.worldpayserviceapi.SettleFileDetailsResponse';
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Generated by JsPbCodeGenerator.
|
|
343
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
344
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
345
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
346
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
347
|
+
* valid.
|
|
348
|
+
* @extends {jspb.Message}
|
|
349
|
+
* @constructor
|
|
350
|
+
*/
|
|
351
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest = function(opt_data) {
|
|
352
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
353
|
+
};
|
|
354
|
+
goog.inherits(proto.worldpayserviceapi.ProcessSettlementFileRequest, jspb.Message);
|
|
355
|
+
if (goog.DEBUG && !COMPILED) {
|
|
356
|
+
/**
|
|
357
|
+
* @public
|
|
358
|
+
* @override
|
|
359
|
+
*/
|
|
360
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.displayName = 'proto.worldpayserviceapi.ProcessSettlementFileRequest';
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Generated by JsPbCodeGenerator.
|
|
364
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
365
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
366
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
367
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
368
|
+
* valid.
|
|
369
|
+
* @extends {jspb.Message}
|
|
370
|
+
* @constructor
|
|
371
|
+
*/
|
|
372
|
+
proto.worldpayserviceapi.SettlementFilesRequest = function(opt_data) {
|
|
373
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
374
|
+
};
|
|
375
|
+
goog.inherits(proto.worldpayserviceapi.SettlementFilesRequest, jspb.Message);
|
|
376
|
+
if (goog.DEBUG && !COMPILED) {
|
|
377
|
+
/**
|
|
378
|
+
* @public
|
|
379
|
+
* @override
|
|
380
|
+
*/
|
|
381
|
+
proto.worldpayserviceapi.SettlementFilesRequest.displayName = 'proto.worldpayserviceapi.SettlementFilesRequest';
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Generated by JsPbCodeGenerator.
|
|
385
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
386
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
387
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
388
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
389
|
+
* valid.
|
|
390
|
+
* @extends {jspb.Message}
|
|
391
|
+
* @constructor
|
|
392
|
+
*/
|
|
393
|
+
proto.worldpayserviceapi.SettlementFileRequest = function(opt_data) {
|
|
394
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
395
|
+
};
|
|
396
|
+
goog.inherits(proto.worldpayserviceapi.SettlementFileRequest, jspb.Message);
|
|
397
|
+
if (goog.DEBUG && !COMPILED) {
|
|
398
|
+
/**
|
|
399
|
+
* @public
|
|
400
|
+
* @override
|
|
401
|
+
*/
|
|
402
|
+
proto.worldpayserviceapi.SettlementFileRequest.displayName = 'proto.worldpayserviceapi.SettlementFileRequest';
|
|
403
|
+
}
|
|
226
404
|
|
|
227
405
|
|
|
228
406
|
|
|
@@ -2662,24 +2840,2069 @@ proto.worldpayserviceapi.GetTransactionResponse.prototype.hasResponsecode = func
|
|
|
2662
2840
|
};
|
|
2663
2841
|
|
|
2664
2842
|
|
|
2843
|
+
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2665
2847
|
/**
|
|
2666
|
-
*
|
|
2848
|
+
* Creates an object representation of this proto.
|
|
2849
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2850
|
+
* Optional fields that are not set will be set to undefined.
|
|
2851
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2852
|
+
* For the list of reserved names please see:
|
|
2853
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2854
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2855
|
+
* JSPB instance for transitional soy proto support:
|
|
2856
|
+
* http://goto/soy-param-migration
|
|
2857
|
+
* @return {!Object}
|
|
2667
2858
|
*/
|
|
2668
|
-
proto.worldpayserviceapi.
|
|
2669
|
-
|
|
2670
|
-
PAYMENT_PROCESSOR_MID_TYPE_SME: 1,
|
|
2671
|
-
PAYMENT_PROCESSOR_MID_TYPE_BPAY: 2,
|
|
2672
|
-
PAYMENT_PROCESSOR_MID_TYPE_SNIIP: 3
|
|
2859
|
+
proto.worldpayserviceapi.SettleFile.prototype.toObject = function(opt_includeInstance) {
|
|
2860
|
+
return proto.worldpayserviceapi.SettleFile.toObject(opt_includeInstance, this);
|
|
2673
2861
|
};
|
|
2674
2862
|
|
|
2863
|
+
|
|
2675
2864
|
/**
|
|
2676
|
-
* @
|
|
2865
|
+
* Static version of the {@see toObject} method.
|
|
2866
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2867
|
+
* the JSPB instance for transitional soy proto support:
|
|
2868
|
+
* http://goto/soy-param-migration
|
|
2869
|
+
* @param {!proto.worldpayserviceapi.SettleFile} msg The msg instance to transform.
|
|
2870
|
+
* @return {!Object}
|
|
2871
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2677
2872
|
*/
|
|
2678
|
-
proto.worldpayserviceapi.
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2873
|
+
proto.worldpayserviceapi.SettleFile.toObject = function(includeInstance, msg) {
|
|
2874
|
+
var f, obj = {
|
|
2875
|
+
processdate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2876
|
+
creationtimestamp: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2877
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2878
|
+
filename: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
2879
|
+
};
|
|
2880
|
+
|
|
2881
|
+
if (includeInstance) {
|
|
2882
|
+
obj.$jspbMessageInstance = msg;
|
|
2883
|
+
}
|
|
2884
|
+
return obj;
|
|
2885
|
+
};
|
|
2886
|
+
}
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
/**
|
|
2890
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2891
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2892
|
+
* @return {!proto.worldpayserviceapi.SettleFile}
|
|
2893
|
+
*/
|
|
2894
|
+
proto.worldpayserviceapi.SettleFile.deserializeBinary = function(bytes) {
|
|
2895
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2896
|
+
var msg = new proto.worldpayserviceapi.SettleFile;
|
|
2897
|
+
return proto.worldpayserviceapi.SettleFile.deserializeBinaryFromReader(msg, reader);
|
|
2898
|
+
};
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
/**
|
|
2902
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2903
|
+
* given reader into the given message object.
|
|
2904
|
+
* @param {!proto.worldpayserviceapi.SettleFile} msg The message object to deserialize into.
|
|
2905
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2906
|
+
* @return {!proto.worldpayserviceapi.SettleFile}
|
|
2907
|
+
*/
|
|
2908
|
+
proto.worldpayserviceapi.SettleFile.deserializeBinaryFromReader = function(msg, reader) {
|
|
2909
|
+
while (reader.nextField()) {
|
|
2910
|
+
if (reader.isEndGroup()) {
|
|
2911
|
+
break;
|
|
2912
|
+
}
|
|
2913
|
+
var field = reader.getFieldNumber();
|
|
2914
|
+
switch (field) {
|
|
2915
|
+
case 2:
|
|
2916
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2917
|
+
msg.setProcessdate(value);
|
|
2918
|
+
break;
|
|
2919
|
+
case 3:
|
|
2920
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2921
|
+
msg.setCreationtimestamp(value);
|
|
2922
|
+
break;
|
|
2923
|
+
case 4:
|
|
2924
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2925
|
+
msg.setSettlementfileid(value);
|
|
2926
|
+
break;
|
|
2927
|
+
case 5:
|
|
2928
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2929
|
+
msg.setFilename(value);
|
|
2930
|
+
break;
|
|
2931
|
+
default:
|
|
2932
|
+
reader.skipField();
|
|
2933
|
+
break;
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
return msg;
|
|
2937
|
+
};
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
/**
|
|
2941
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2942
|
+
* @return {!Uint8Array}
|
|
2943
|
+
*/
|
|
2944
|
+
proto.worldpayserviceapi.SettleFile.prototype.serializeBinary = function() {
|
|
2945
|
+
var writer = new jspb.BinaryWriter();
|
|
2946
|
+
proto.worldpayserviceapi.SettleFile.serializeBinaryToWriter(this, writer);
|
|
2947
|
+
return writer.getResultBuffer();
|
|
2948
|
+
};
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
/**
|
|
2952
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2953
|
+
* format), writing to the given BinaryWriter.
|
|
2954
|
+
* @param {!proto.worldpayserviceapi.SettleFile} message
|
|
2955
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2956
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2957
|
+
*/
|
|
2958
|
+
proto.worldpayserviceapi.SettleFile.serializeBinaryToWriter = function(message, writer) {
|
|
2959
|
+
var f = undefined;
|
|
2960
|
+
f = message.getProcessdate();
|
|
2961
|
+
if (f.length > 0) {
|
|
2962
|
+
writer.writeString(
|
|
2963
|
+
2,
|
|
2964
|
+
f
|
|
2965
|
+
);
|
|
2966
|
+
}
|
|
2967
|
+
f = message.getCreationtimestamp();
|
|
2968
|
+
if (f.length > 0) {
|
|
2969
|
+
writer.writeString(
|
|
2970
|
+
3,
|
|
2971
|
+
f
|
|
2972
|
+
);
|
|
2973
|
+
}
|
|
2974
|
+
f = message.getSettlementfileid();
|
|
2975
|
+
if (f !== 0) {
|
|
2976
|
+
writer.writeInt64(
|
|
2977
|
+
4,
|
|
2978
|
+
f
|
|
2979
|
+
);
|
|
2980
|
+
}
|
|
2981
|
+
f = message.getFilename();
|
|
2982
|
+
if (f.length > 0) {
|
|
2983
|
+
writer.writeString(
|
|
2984
|
+
5,
|
|
2985
|
+
f
|
|
2986
|
+
);
|
|
2987
|
+
}
|
|
2988
|
+
};
|
|
2989
|
+
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* optional string processDate = 2;
|
|
2993
|
+
* @return {string}
|
|
2994
|
+
*/
|
|
2995
|
+
proto.worldpayserviceapi.SettleFile.prototype.getProcessdate = function() {
|
|
2996
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2997
|
+
};
|
|
2998
|
+
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* @param {string} value
|
|
3002
|
+
* @return {!proto.worldpayserviceapi.SettleFile} returns this
|
|
3003
|
+
*/
|
|
3004
|
+
proto.worldpayserviceapi.SettleFile.prototype.setProcessdate = function(value) {
|
|
3005
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3006
|
+
};
|
|
3007
|
+
|
|
3008
|
+
|
|
3009
|
+
/**
|
|
3010
|
+
* optional string creationTimeStamp = 3;
|
|
3011
|
+
* @return {string}
|
|
3012
|
+
*/
|
|
3013
|
+
proto.worldpayserviceapi.SettleFile.prototype.getCreationtimestamp = function() {
|
|
3014
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3015
|
+
};
|
|
3016
|
+
|
|
3017
|
+
|
|
3018
|
+
/**
|
|
3019
|
+
* @param {string} value
|
|
3020
|
+
* @return {!proto.worldpayserviceapi.SettleFile} returns this
|
|
3021
|
+
*/
|
|
3022
|
+
proto.worldpayserviceapi.SettleFile.prototype.setCreationtimestamp = function(value) {
|
|
3023
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3024
|
+
};
|
|
3025
|
+
|
|
3026
|
+
|
|
3027
|
+
/**
|
|
3028
|
+
* optional int64 settlementFileId = 4;
|
|
3029
|
+
* @return {number}
|
|
3030
|
+
*/
|
|
3031
|
+
proto.worldpayserviceapi.SettleFile.prototype.getSettlementfileid = function() {
|
|
3032
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
3033
|
+
};
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
/**
|
|
3037
|
+
* @param {number} value
|
|
3038
|
+
* @return {!proto.worldpayserviceapi.SettleFile} returns this
|
|
3039
|
+
*/
|
|
3040
|
+
proto.worldpayserviceapi.SettleFile.prototype.setSettlementfileid = function(value) {
|
|
3041
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
3042
|
+
};
|
|
3043
|
+
|
|
3044
|
+
|
|
3045
|
+
/**
|
|
3046
|
+
* optional string fileName = 5;
|
|
3047
|
+
* @return {string}
|
|
3048
|
+
*/
|
|
3049
|
+
proto.worldpayserviceapi.SettleFile.prototype.getFilename = function() {
|
|
3050
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3051
|
+
};
|
|
3052
|
+
|
|
3053
|
+
|
|
3054
|
+
/**
|
|
3055
|
+
* @param {string} value
|
|
3056
|
+
* @return {!proto.worldpayserviceapi.SettleFile} returns this
|
|
3057
|
+
*/
|
|
3058
|
+
proto.worldpayserviceapi.SettleFile.prototype.setFilename = function(value) {
|
|
3059
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3060
|
+
};
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
/**
|
|
3065
|
+
* List of repeated fields within this message type.
|
|
3066
|
+
* @private {!Array<number>}
|
|
3067
|
+
* @const
|
|
3068
|
+
*/
|
|
3069
|
+
proto.worldpayserviceapi.SettleFilesResponse.repeatedFields_ = [2];
|
|
3070
|
+
|
|
3071
|
+
|
|
3072
|
+
|
|
3073
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3074
|
+
/**
|
|
3075
|
+
* Creates an object representation of this proto.
|
|
3076
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3077
|
+
* Optional fields that are not set will be set to undefined.
|
|
3078
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3079
|
+
* For the list of reserved names please see:
|
|
3080
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3081
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3082
|
+
* JSPB instance for transitional soy proto support:
|
|
3083
|
+
* http://goto/soy-param-migration
|
|
3084
|
+
* @return {!Object}
|
|
3085
|
+
*/
|
|
3086
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3087
|
+
return proto.worldpayserviceapi.SettleFilesResponse.toObject(opt_includeInstance, this);
|
|
3088
|
+
};
|
|
3089
|
+
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* Static version of the {@see toObject} method.
|
|
3093
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3094
|
+
* the JSPB instance for transitional soy proto support:
|
|
3095
|
+
* http://goto/soy-param-migration
|
|
3096
|
+
* @param {!proto.worldpayserviceapi.SettleFilesResponse} msg The msg instance to transform.
|
|
3097
|
+
* @return {!Object}
|
|
3098
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3099
|
+
*/
|
|
3100
|
+
proto.worldpayserviceapi.SettleFilesResponse.toObject = function(includeInstance, msg) {
|
|
3101
|
+
var f, obj = {
|
|
3102
|
+
responsecode: (f = msg.getResponsecode()) && proto.worldpayserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
3103
|
+
settlementfilesList: jspb.Message.toObjectList(msg.getSettlementfilesList(),
|
|
3104
|
+
proto.worldpayserviceapi.SettleFile.toObject, includeInstance)
|
|
3105
|
+
};
|
|
3106
|
+
|
|
3107
|
+
if (includeInstance) {
|
|
3108
|
+
obj.$jspbMessageInstance = msg;
|
|
3109
|
+
}
|
|
3110
|
+
return obj;
|
|
3111
|
+
};
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3117
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3118
|
+
* @return {!proto.worldpayserviceapi.SettleFilesResponse}
|
|
3119
|
+
*/
|
|
3120
|
+
proto.worldpayserviceapi.SettleFilesResponse.deserializeBinary = function(bytes) {
|
|
3121
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3122
|
+
var msg = new proto.worldpayserviceapi.SettleFilesResponse;
|
|
3123
|
+
return proto.worldpayserviceapi.SettleFilesResponse.deserializeBinaryFromReader(msg, reader);
|
|
3124
|
+
};
|
|
3125
|
+
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3129
|
+
* given reader into the given message object.
|
|
3130
|
+
* @param {!proto.worldpayserviceapi.SettleFilesResponse} msg The message object to deserialize into.
|
|
3131
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3132
|
+
* @return {!proto.worldpayserviceapi.SettleFilesResponse}
|
|
3133
|
+
*/
|
|
3134
|
+
proto.worldpayserviceapi.SettleFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3135
|
+
while (reader.nextField()) {
|
|
3136
|
+
if (reader.isEndGroup()) {
|
|
3137
|
+
break;
|
|
3138
|
+
}
|
|
3139
|
+
var field = reader.getFieldNumber();
|
|
3140
|
+
switch (field) {
|
|
3141
|
+
case 1:
|
|
3142
|
+
var value = new proto.worldpayserviceapi.ResponseCode;
|
|
3143
|
+
reader.readMessage(value,proto.worldpayserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
3144
|
+
msg.setResponsecode(value);
|
|
3145
|
+
break;
|
|
3146
|
+
case 2:
|
|
3147
|
+
var value = new proto.worldpayserviceapi.SettleFile;
|
|
3148
|
+
reader.readMessage(value,proto.worldpayserviceapi.SettleFile.deserializeBinaryFromReader);
|
|
3149
|
+
msg.addSettlementfiles(value);
|
|
3150
|
+
break;
|
|
3151
|
+
default:
|
|
3152
|
+
reader.skipField();
|
|
3153
|
+
break;
|
|
3154
|
+
}
|
|
3155
|
+
}
|
|
3156
|
+
return msg;
|
|
3157
|
+
};
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
/**
|
|
3161
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3162
|
+
* @return {!Uint8Array}
|
|
3163
|
+
*/
|
|
3164
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.serializeBinary = function() {
|
|
3165
|
+
var writer = new jspb.BinaryWriter();
|
|
3166
|
+
proto.worldpayserviceapi.SettleFilesResponse.serializeBinaryToWriter(this, writer);
|
|
3167
|
+
return writer.getResultBuffer();
|
|
3168
|
+
};
|
|
3169
|
+
|
|
3170
|
+
|
|
3171
|
+
/**
|
|
3172
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3173
|
+
* format), writing to the given BinaryWriter.
|
|
3174
|
+
* @param {!proto.worldpayserviceapi.SettleFilesResponse} message
|
|
3175
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3176
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3177
|
+
*/
|
|
3178
|
+
proto.worldpayserviceapi.SettleFilesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3179
|
+
var f = undefined;
|
|
3180
|
+
f = message.getResponsecode();
|
|
3181
|
+
if (f != null) {
|
|
3182
|
+
writer.writeMessage(
|
|
3183
|
+
1,
|
|
3184
|
+
f,
|
|
3185
|
+
proto.worldpayserviceapi.ResponseCode.serializeBinaryToWriter
|
|
3186
|
+
);
|
|
3187
|
+
}
|
|
3188
|
+
f = message.getSettlementfilesList();
|
|
3189
|
+
if (f.length > 0) {
|
|
3190
|
+
writer.writeRepeatedMessage(
|
|
3191
|
+
2,
|
|
3192
|
+
f,
|
|
3193
|
+
proto.worldpayserviceapi.SettleFile.serializeBinaryToWriter
|
|
3194
|
+
);
|
|
3195
|
+
}
|
|
3196
|
+
};
|
|
3197
|
+
|
|
3198
|
+
|
|
3199
|
+
/**
|
|
3200
|
+
* optional ResponseCode responseCode = 1;
|
|
3201
|
+
* @return {?proto.worldpayserviceapi.ResponseCode}
|
|
3202
|
+
*/
|
|
3203
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.getResponsecode = function() {
|
|
3204
|
+
return /** @type{?proto.worldpayserviceapi.ResponseCode} */ (
|
|
3205
|
+
jspb.Message.getWrapperField(this, proto.worldpayserviceapi.ResponseCode, 1));
|
|
3206
|
+
};
|
|
3207
|
+
|
|
3208
|
+
|
|
3209
|
+
/**
|
|
3210
|
+
* @param {?proto.worldpayserviceapi.ResponseCode|undefined} value
|
|
3211
|
+
* @return {!proto.worldpayserviceapi.SettleFilesResponse} returns this
|
|
3212
|
+
*/
|
|
3213
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.setResponsecode = function(value) {
|
|
3214
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3215
|
+
};
|
|
3216
|
+
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* Clears the message field making it undefined.
|
|
3220
|
+
* @return {!proto.worldpayserviceapi.SettleFilesResponse} returns this
|
|
3221
|
+
*/
|
|
3222
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.clearResponsecode = function() {
|
|
3223
|
+
return this.setResponsecode(undefined);
|
|
3224
|
+
};
|
|
3225
|
+
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* Returns whether this field is set.
|
|
3229
|
+
* @return {boolean}
|
|
3230
|
+
*/
|
|
3231
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.hasResponsecode = function() {
|
|
3232
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3233
|
+
};
|
|
3234
|
+
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* repeated SettleFile settlementFiles = 2;
|
|
3238
|
+
* @return {!Array<!proto.worldpayserviceapi.SettleFile>}
|
|
3239
|
+
*/
|
|
3240
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.getSettlementfilesList = function() {
|
|
3241
|
+
return /** @type{!Array<!proto.worldpayserviceapi.SettleFile>} */ (
|
|
3242
|
+
jspb.Message.getRepeatedWrapperField(this, proto.worldpayserviceapi.SettleFile, 2));
|
|
3243
|
+
};
|
|
3244
|
+
|
|
3245
|
+
|
|
3246
|
+
/**
|
|
3247
|
+
* @param {!Array<!proto.worldpayserviceapi.SettleFile>} value
|
|
3248
|
+
* @return {!proto.worldpayserviceapi.SettleFilesResponse} returns this
|
|
3249
|
+
*/
|
|
3250
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.setSettlementfilesList = function(value) {
|
|
3251
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3252
|
+
};
|
|
3253
|
+
|
|
3254
|
+
|
|
3255
|
+
/**
|
|
3256
|
+
* @param {!proto.worldpayserviceapi.SettleFile=} opt_value
|
|
3257
|
+
* @param {number=} opt_index
|
|
3258
|
+
* @return {!proto.worldpayserviceapi.SettleFile}
|
|
3259
|
+
*/
|
|
3260
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.addSettlementfiles = function(opt_value, opt_index) {
|
|
3261
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.worldpayserviceapi.SettleFile, opt_index);
|
|
3262
|
+
};
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
/**
|
|
3266
|
+
* Clears the list making it empty but non-null.
|
|
3267
|
+
* @return {!proto.worldpayserviceapi.SettleFilesResponse} returns this
|
|
3268
|
+
*/
|
|
3269
|
+
proto.worldpayserviceapi.SettleFilesResponse.prototype.clearSettlementfilesList = function() {
|
|
3270
|
+
return this.setSettlementfilesList([]);
|
|
3271
|
+
};
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3278
|
+
/**
|
|
3279
|
+
* Creates an object representation of this proto.
|
|
3280
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3281
|
+
* Optional fields that are not set will be set to undefined.
|
|
3282
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3283
|
+
* For the list of reserved names please see:
|
|
3284
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3285
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3286
|
+
* JSPB instance for transitional soy proto support:
|
|
3287
|
+
* http://goto/soy-param-migration
|
|
3288
|
+
* @return {!Object}
|
|
3289
|
+
*/
|
|
3290
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3291
|
+
return proto.worldpayserviceapi.SettlementFilesDetailsRequest.toObject(opt_includeInstance, this);
|
|
3292
|
+
};
|
|
3293
|
+
|
|
3294
|
+
|
|
3295
|
+
/**
|
|
3296
|
+
* Static version of the {@see toObject} method.
|
|
3297
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3298
|
+
* the JSPB instance for transitional soy proto support:
|
|
3299
|
+
* http://goto/soy-param-migration
|
|
3300
|
+
* @param {!proto.worldpayserviceapi.SettlementFilesDetailsRequest} msg The msg instance to transform.
|
|
3301
|
+
* @return {!Object}
|
|
3302
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3303
|
+
*/
|
|
3304
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.toObject = function(includeInstance, msg) {
|
|
3305
|
+
var f, obj = {
|
|
3306
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3307
|
+
};
|
|
3308
|
+
|
|
3309
|
+
if (includeInstance) {
|
|
3310
|
+
obj.$jspbMessageInstance = msg;
|
|
3311
|
+
}
|
|
3312
|
+
return obj;
|
|
3313
|
+
};
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
|
|
3317
|
+
/**
|
|
3318
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3319
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3320
|
+
* @return {!proto.worldpayserviceapi.SettlementFilesDetailsRequest}
|
|
3321
|
+
*/
|
|
3322
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.deserializeBinary = function(bytes) {
|
|
3323
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3324
|
+
var msg = new proto.worldpayserviceapi.SettlementFilesDetailsRequest;
|
|
3325
|
+
return proto.worldpayserviceapi.SettlementFilesDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3326
|
+
};
|
|
3327
|
+
|
|
3328
|
+
|
|
3329
|
+
/**
|
|
3330
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3331
|
+
* given reader into the given message object.
|
|
3332
|
+
* @param {!proto.worldpayserviceapi.SettlementFilesDetailsRequest} msg The message object to deserialize into.
|
|
3333
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3334
|
+
* @return {!proto.worldpayserviceapi.SettlementFilesDetailsRequest}
|
|
3335
|
+
*/
|
|
3336
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3337
|
+
while (reader.nextField()) {
|
|
3338
|
+
if (reader.isEndGroup()) {
|
|
3339
|
+
break;
|
|
3340
|
+
}
|
|
3341
|
+
var field = reader.getFieldNumber();
|
|
3342
|
+
switch (field) {
|
|
3343
|
+
case 1:
|
|
3344
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3345
|
+
msg.setSettlementfileid(value);
|
|
3346
|
+
break;
|
|
3347
|
+
default:
|
|
3348
|
+
reader.skipField();
|
|
3349
|
+
break;
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
return msg;
|
|
3353
|
+
};
|
|
3354
|
+
|
|
3355
|
+
|
|
3356
|
+
/**
|
|
3357
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3358
|
+
* @return {!Uint8Array}
|
|
3359
|
+
*/
|
|
3360
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.prototype.serializeBinary = function() {
|
|
3361
|
+
var writer = new jspb.BinaryWriter();
|
|
3362
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
3363
|
+
return writer.getResultBuffer();
|
|
3364
|
+
};
|
|
3365
|
+
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3369
|
+
* format), writing to the given BinaryWriter.
|
|
3370
|
+
* @param {!proto.worldpayserviceapi.SettlementFilesDetailsRequest} message
|
|
3371
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3372
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3373
|
+
*/
|
|
3374
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3375
|
+
var f = undefined;
|
|
3376
|
+
f = message.getSettlementfileid();
|
|
3377
|
+
if (f !== 0) {
|
|
3378
|
+
writer.writeInt64(
|
|
3379
|
+
1,
|
|
3380
|
+
f
|
|
3381
|
+
);
|
|
3382
|
+
}
|
|
3383
|
+
};
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
/**
|
|
3387
|
+
* optional int64 settlementFileId = 1;
|
|
3388
|
+
* @return {number}
|
|
3389
|
+
*/
|
|
3390
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.prototype.getSettlementfileid = function() {
|
|
3391
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3392
|
+
};
|
|
3393
|
+
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* @param {number} value
|
|
3397
|
+
* @return {!proto.worldpayserviceapi.SettlementFilesDetailsRequest} returns this
|
|
3398
|
+
*/
|
|
3399
|
+
proto.worldpayserviceapi.SettlementFilesDetailsRequest.prototype.setSettlementfileid = function(value) {
|
|
3400
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3401
|
+
};
|
|
3402
|
+
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
|
|
3406
|
+
|
|
3407
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3408
|
+
/**
|
|
3409
|
+
* Creates an object representation of this proto.
|
|
3410
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3411
|
+
* Optional fields that are not set will be set to undefined.
|
|
3412
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3413
|
+
* For the list of reserved names please see:
|
|
3414
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3415
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3416
|
+
* JSPB instance for transitional soy proto support:
|
|
3417
|
+
* http://goto/soy-param-migration
|
|
3418
|
+
* @return {!Object}
|
|
3419
|
+
*/
|
|
3420
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
3421
|
+
return proto.worldpayserviceapi.SettlementTransaction.toObject(opt_includeInstance, this);
|
|
3422
|
+
};
|
|
3423
|
+
|
|
3424
|
+
|
|
3425
|
+
/**
|
|
3426
|
+
* Static version of the {@see toObject} method.
|
|
3427
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3428
|
+
* the JSPB instance for transitional soy proto support:
|
|
3429
|
+
* http://goto/soy-param-migration
|
|
3430
|
+
* @param {!proto.worldpayserviceapi.SettlementTransaction} msg The msg instance to transform.
|
|
3431
|
+
* @return {!Object}
|
|
3432
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3433
|
+
*/
|
|
3434
|
+
proto.worldpayserviceapi.SettlementTransaction.toObject = function(includeInstance, msg) {
|
|
3435
|
+
var f, obj = {
|
|
3436
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3437
|
+
transactiondate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3438
|
+
paymentamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
3439
|
+
rewardsamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
3440
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3441
|
+
billername: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3442
|
+
fraudrisk: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3443
|
+
status: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
3444
|
+
userId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
3445
|
+
surchargeamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
3446
|
+
paidamountincludingsurcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
3447
|
+
};
|
|
3448
|
+
|
|
3449
|
+
if (includeInstance) {
|
|
3450
|
+
obj.$jspbMessageInstance = msg;
|
|
3451
|
+
}
|
|
3452
|
+
return obj;
|
|
3453
|
+
};
|
|
3454
|
+
}
|
|
3455
|
+
|
|
3456
|
+
|
|
3457
|
+
/**
|
|
3458
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3459
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3460
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction}
|
|
3461
|
+
*/
|
|
3462
|
+
proto.worldpayserviceapi.SettlementTransaction.deserializeBinary = function(bytes) {
|
|
3463
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3464
|
+
var msg = new proto.worldpayserviceapi.SettlementTransaction;
|
|
3465
|
+
return proto.worldpayserviceapi.SettlementTransaction.deserializeBinaryFromReader(msg, reader);
|
|
3466
|
+
};
|
|
3467
|
+
|
|
3468
|
+
|
|
3469
|
+
/**
|
|
3470
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3471
|
+
* given reader into the given message object.
|
|
3472
|
+
* @param {!proto.worldpayserviceapi.SettlementTransaction} msg The message object to deserialize into.
|
|
3473
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3474
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction}
|
|
3475
|
+
*/
|
|
3476
|
+
proto.worldpayserviceapi.SettlementTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
3477
|
+
while (reader.nextField()) {
|
|
3478
|
+
if (reader.isEndGroup()) {
|
|
3479
|
+
break;
|
|
3480
|
+
}
|
|
3481
|
+
var field = reader.getFieldNumber();
|
|
3482
|
+
switch (field) {
|
|
3483
|
+
case 1:
|
|
3484
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3485
|
+
msg.setTransactionid(value);
|
|
3486
|
+
break;
|
|
3487
|
+
case 2:
|
|
3488
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3489
|
+
msg.setTransactiondate(value);
|
|
3490
|
+
break;
|
|
3491
|
+
case 3:
|
|
3492
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3493
|
+
msg.setPaymentamount(value);
|
|
3494
|
+
break;
|
|
3495
|
+
case 4:
|
|
3496
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3497
|
+
msg.setRewardsamount(value);
|
|
3498
|
+
break;
|
|
3499
|
+
case 5:
|
|
3500
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3501
|
+
msg.setBillercode(value);
|
|
3502
|
+
break;
|
|
3503
|
+
case 6:
|
|
3504
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3505
|
+
msg.setBillername(value);
|
|
3506
|
+
break;
|
|
3507
|
+
case 7:
|
|
3508
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3509
|
+
msg.setFraudrisk(value);
|
|
3510
|
+
break;
|
|
3511
|
+
case 8:
|
|
3512
|
+
var value = /** @type {!proto.worldpayserviceapi.SettlementTransactionStatus} */ (reader.readEnum());
|
|
3513
|
+
msg.setStatus(value);
|
|
3514
|
+
break;
|
|
3515
|
+
case 9:
|
|
3516
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3517
|
+
msg.setUserId(value);
|
|
3518
|
+
break;
|
|
3519
|
+
case 10:
|
|
3520
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3521
|
+
msg.setSurchargeamount(value);
|
|
3522
|
+
break;
|
|
3523
|
+
case 11:
|
|
3524
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3525
|
+
msg.setPaidamountincludingsurcharge(value);
|
|
3526
|
+
break;
|
|
3527
|
+
default:
|
|
3528
|
+
reader.skipField();
|
|
3529
|
+
break;
|
|
3530
|
+
}
|
|
3531
|
+
}
|
|
3532
|
+
return msg;
|
|
3533
|
+
};
|
|
3534
|
+
|
|
3535
|
+
|
|
3536
|
+
/**
|
|
3537
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3538
|
+
* @return {!Uint8Array}
|
|
3539
|
+
*/
|
|
3540
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.serializeBinary = function() {
|
|
3541
|
+
var writer = new jspb.BinaryWriter();
|
|
3542
|
+
proto.worldpayserviceapi.SettlementTransaction.serializeBinaryToWriter(this, writer);
|
|
3543
|
+
return writer.getResultBuffer();
|
|
3544
|
+
};
|
|
3545
|
+
|
|
3546
|
+
|
|
3547
|
+
/**
|
|
3548
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3549
|
+
* format), writing to the given BinaryWriter.
|
|
3550
|
+
* @param {!proto.worldpayserviceapi.SettlementTransaction} message
|
|
3551
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3552
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3553
|
+
*/
|
|
3554
|
+
proto.worldpayserviceapi.SettlementTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
3555
|
+
var f = undefined;
|
|
3556
|
+
f = message.getTransactionid();
|
|
3557
|
+
if (f !== 0) {
|
|
3558
|
+
writer.writeInt64(
|
|
3559
|
+
1,
|
|
3560
|
+
f
|
|
3561
|
+
);
|
|
3562
|
+
}
|
|
3563
|
+
f = message.getTransactiondate();
|
|
3564
|
+
if (f.length > 0) {
|
|
3565
|
+
writer.writeString(
|
|
3566
|
+
2,
|
|
3567
|
+
f
|
|
3568
|
+
);
|
|
3569
|
+
}
|
|
3570
|
+
f = message.getPaymentamount();
|
|
3571
|
+
if (f !== 0.0) {
|
|
3572
|
+
writer.writeDouble(
|
|
3573
|
+
3,
|
|
3574
|
+
f
|
|
3575
|
+
);
|
|
3576
|
+
}
|
|
3577
|
+
f = message.getRewardsamount();
|
|
3578
|
+
if (f !== 0.0) {
|
|
3579
|
+
writer.writeDouble(
|
|
3580
|
+
4,
|
|
3581
|
+
f
|
|
3582
|
+
);
|
|
3583
|
+
}
|
|
3584
|
+
f = message.getBillercode();
|
|
3585
|
+
if (f.length > 0) {
|
|
3586
|
+
writer.writeString(
|
|
3587
|
+
5,
|
|
3588
|
+
f
|
|
3589
|
+
);
|
|
3590
|
+
}
|
|
3591
|
+
f = message.getBillername();
|
|
3592
|
+
if (f.length > 0) {
|
|
3593
|
+
writer.writeString(
|
|
3594
|
+
6,
|
|
3595
|
+
f
|
|
3596
|
+
);
|
|
3597
|
+
}
|
|
3598
|
+
f = message.getFraudrisk();
|
|
3599
|
+
if (f.length > 0) {
|
|
3600
|
+
writer.writeString(
|
|
3601
|
+
7,
|
|
3602
|
+
f
|
|
3603
|
+
);
|
|
3604
|
+
}
|
|
3605
|
+
f = message.getStatus();
|
|
3606
|
+
if (f !== 0.0) {
|
|
3607
|
+
writer.writeEnum(
|
|
3608
|
+
8,
|
|
3609
|
+
f
|
|
3610
|
+
);
|
|
3611
|
+
}
|
|
3612
|
+
f = message.getUserId();
|
|
3613
|
+
if (f !== 0) {
|
|
3614
|
+
writer.writeInt64(
|
|
3615
|
+
9,
|
|
3616
|
+
f
|
|
3617
|
+
);
|
|
3618
|
+
}
|
|
3619
|
+
f = message.getSurchargeamount();
|
|
3620
|
+
if (f !== 0.0) {
|
|
3621
|
+
writer.writeDouble(
|
|
3622
|
+
10,
|
|
3623
|
+
f
|
|
3624
|
+
);
|
|
3625
|
+
}
|
|
3626
|
+
f = message.getPaidamountincludingsurcharge();
|
|
3627
|
+
if (f !== 0.0) {
|
|
3628
|
+
writer.writeDouble(
|
|
3629
|
+
11,
|
|
3630
|
+
f
|
|
3631
|
+
);
|
|
3632
|
+
}
|
|
3633
|
+
};
|
|
3634
|
+
|
|
3635
|
+
|
|
3636
|
+
/**
|
|
3637
|
+
* optional int64 transactionId = 1;
|
|
3638
|
+
* @return {number}
|
|
3639
|
+
*/
|
|
3640
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getTransactionid = function() {
|
|
3641
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3642
|
+
};
|
|
3643
|
+
|
|
3644
|
+
|
|
3645
|
+
/**
|
|
3646
|
+
* @param {number} value
|
|
3647
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3648
|
+
*/
|
|
3649
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setTransactionid = function(value) {
|
|
3650
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3651
|
+
};
|
|
3652
|
+
|
|
3653
|
+
|
|
3654
|
+
/**
|
|
3655
|
+
* optional string transactionDate = 2;
|
|
3656
|
+
* @return {string}
|
|
3657
|
+
*/
|
|
3658
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getTransactiondate = function() {
|
|
3659
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3660
|
+
};
|
|
3661
|
+
|
|
3662
|
+
|
|
3663
|
+
/**
|
|
3664
|
+
* @param {string} value
|
|
3665
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3666
|
+
*/
|
|
3667
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setTransactiondate = function(value) {
|
|
3668
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3669
|
+
};
|
|
3670
|
+
|
|
3671
|
+
|
|
3672
|
+
/**
|
|
3673
|
+
* optional double paymentAmount = 3;
|
|
3674
|
+
* @return {number}
|
|
3675
|
+
*/
|
|
3676
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getPaymentamount = function() {
|
|
3677
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
3678
|
+
};
|
|
3679
|
+
|
|
3680
|
+
|
|
3681
|
+
/**
|
|
3682
|
+
* @param {number} value
|
|
3683
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3684
|
+
*/
|
|
3685
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setPaymentamount = function(value) {
|
|
3686
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
3687
|
+
};
|
|
3688
|
+
|
|
3689
|
+
|
|
3690
|
+
/**
|
|
3691
|
+
* optional double rewardsAmount = 4;
|
|
3692
|
+
* @return {number}
|
|
3693
|
+
*/
|
|
3694
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getRewardsamount = function() {
|
|
3695
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
3696
|
+
};
|
|
3697
|
+
|
|
3698
|
+
|
|
3699
|
+
/**
|
|
3700
|
+
* @param {number} value
|
|
3701
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3702
|
+
*/
|
|
3703
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setRewardsamount = function(value) {
|
|
3704
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
3705
|
+
};
|
|
3706
|
+
|
|
3707
|
+
|
|
3708
|
+
/**
|
|
3709
|
+
* optional string billerCode = 5;
|
|
3710
|
+
* @return {string}
|
|
3711
|
+
*/
|
|
3712
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getBillercode = function() {
|
|
3713
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3714
|
+
};
|
|
3715
|
+
|
|
3716
|
+
|
|
3717
|
+
/**
|
|
3718
|
+
* @param {string} value
|
|
3719
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3720
|
+
*/
|
|
3721
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setBillercode = function(value) {
|
|
3722
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3723
|
+
};
|
|
3724
|
+
|
|
3725
|
+
|
|
3726
|
+
/**
|
|
3727
|
+
* optional string billerName = 6;
|
|
3728
|
+
* @return {string}
|
|
3729
|
+
*/
|
|
3730
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getBillername = function() {
|
|
3731
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3732
|
+
};
|
|
3733
|
+
|
|
3734
|
+
|
|
3735
|
+
/**
|
|
3736
|
+
* @param {string} value
|
|
3737
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3738
|
+
*/
|
|
3739
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setBillername = function(value) {
|
|
3740
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3741
|
+
};
|
|
3742
|
+
|
|
3743
|
+
|
|
3744
|
+
/**
|
|
3745
|
+
* optional string fraudRisk = 7;
|
|
3746
|
+
* @return {string}
|
|
3747
|
+
*/
|
|
3748
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getFraudrisk = function() {
|
|
3749
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3750
|
+
};
|
|
3751
|
+
|
|
3752
|
+
|
|
3753
|
+
/**
|
|
3754
|
+
* @param {string} value
|
|
3755
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3756
|
+
*/
|
|
3757
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setFraudrisk = function(value) {
|
|
3758
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3759
|
+
};
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
/**
|
|
3763
|
+
* optional SettlementTransactionStatus status = 8;
|
|
3764
|
+
* @return {!proto.worldpayserviceapi.SettlementTransactionStatus}
|
|
3765
|
+
*/
|
|
3766
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getStatus = function() {
|
|
3767
|
+
return /** @type {!proto.worldpayserviceapi.SettlementTransactionStatus} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
3768
|
+
};
|
|
3769
|
+
|
|
3770
|
+
|
|
3771
|
+
/**
|
|
3772
|
+
* @param {!proto.worldpayserviceapi.SettlementTransactionStatus} value
|
|
3773
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3774
|
+
*/
|
|
3775
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setStatus = function(value) {
|
|
3776
|
+
return jspb.Message.setProto3EnumField(this, 8, value);
|
|
3777
|
+
};
|
|
3778
|
+
|
|
3779
|
+
|
|
3780
|
+
/**
|
|
3781
|
+
* optional int64 user_id = 9;
|
|
3782
|
+
* @return {number}
|
|
3783
|
+
*/
|
|
3784
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getUserId = function() {
|
|
3785
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
3786
|
+
};
|
|
3787
|
+
|
|
3788
|
+
|
|
3789
|
+
/**
|
|
3790
|
+
* @param {number} value
|
|
3791
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3792
|
+
*/
|
|
3793
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setUserId = function(value) {
|
|
3794
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
3795
|
+
};
|
|
3796
|
+
|
|
3797
|
+
|
|
3798
|
+
/**
|
|
3799
|
+
* optional double surchargeAmount = 10;
|
|
3800
|
+
* @return {number}
|
|
3801
|
+
*/
|
|
3802
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getSurchargeamount = function() {
|
|
3803
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
3804
|
+
};
|
|
3805
|
+
|
|
3806
|
+
|
|
3807
|
+
/**
|
|
3808
|
+
* @param {number} value
|
|
3809
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3810
|
+
*/
|
|
3811
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setSurchargeamount = function(value) {
|
|
3812
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
3813
|
+
};
|
|
3814
|
+
|
|
3815
|
+
|
|
3816
|
+
/**
|
|
3817
|
+
* optional double paidAmountIncludingSurcharge = 11;
|
|
3818
|
+
* @return {number}
|
|
3819
|
+
*/
|
|
3820
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.getPaidamountincludingsurcharge = function() {
|
|
3821
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
3822
|
+
};
|
|
3823
|
+
|
|
3824
|
+
|
|
3825
|
+
/**
|
|
3826
|
+
* @param {number} value
|
|
3827
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction} returns this
|
|
3828
|
+
*/
|
|
3829
|
+
proto.worldpayserviceapi.SettlementTransaction.prototype.setPaidamountincludingsurcharge = function(value) {
|
|
3830
|
+
return jspb.Message.setProto3FloatField(this, 11, value);
|
|
3831
|
+
};
|
|
3832
|
+
|
|
3833
|
+
|
|
3834
|
+
|
|
3835
|
+
/**
|
|
3836
|
+
* List of repeated fields within this message type.
|
|
3837
|
+
* @private {!Array<number>}
|
|
3838
|
+
* @const
|
|
3839
|
+
*/
|
|
3840
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.repeatedFields_ = [9,15];
|
|
3841
|
+
|
|
3842
|
+
|
|
3843
|
+
|
|
3844
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3845
|
+
/**
|
|
3846
|
+
* Creates an object representation of this proto.
|
|
3847
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3848
|
+
* Optional fields that are not set will be set to undefined.
|
|
3849
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3850
|
+
* For the list of reserved names please see:
|
|
3851
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3852
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3853
|
+
* JSPB instance for transitional soy proto support:
|
|
3854
|
+
* http://goto/soy-param-migration
|
|
3855
|
+
* @return {!Object}
|
|
3856
|
+
*/
|
|
3857
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3858
|
+
return proto.worldpayserviceapi.SettleFileDetailsResponse.toObject(opt_includeInstance, this);
|
|
3859
|
+
};
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
/**
|
|
3863
|
+
* Static version of the {@see toObject} method.
|
|
3864
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3865
|
+
* the JSPB instance for transitional soy proto support:
|
|
3866
|
+
* http://goto/soy-param-migration
|
|
3867
|
+
* @param {!proto.worldpayserviceapi.SettleFileDetailsResponse} msg The msg instance to transform.
|
|
3868
|
+
* @return {!Object}
|
|
3869
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3870
|
+
*/
|
|
3871
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.toObject = function(includeInstance, msg) {
|
|
3872
|
+
var f, obj = {
|
|
3873
|
+
responsecode: (f = msg.getResponsecode()) && proto.worldpayserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
3874
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3875
|
+
processdate: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3876
|
+
totalnetamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
3877
|
+
totalrewardsamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
3878
|
+
totalprocessingfee: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
3879
|
+
totalsettlementamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
3880
|
+
numberofpayments: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
3881
|
+
settlementtransactionsList: jspb.Message.toObjectList(msg.getSettlementtransactionsList(),
|
|
3882
|
+
proto.worldpayserviceapi.SettlementTransaction.toObject, includeInstance),
|
|
3883
|
+
refundtotalnetamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
3884
|
+
refundtotalrewardsamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
|
3885
|
+
refundtotalprocessingfee: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
|
3886
|
+
refundtotalsettlementamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
|
3887
|
+
refundnumberofpayments: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
3888
|
+
refundtransactionsList: jspb.Message.toObjectList(msg.getRefundtransactionsList(),
|
|
3889
|
+
proto.worldpayserviceapi.SettlementTransaction.toObject, includeInstance)
|
|
3890
|
+
};
|
|
3891
|
+
|
|
3892
|
+
if (includeInstance) {
|
|
3893
|
+
obj.$jspbMessageInstance = msg;
|
|
3894
|
+
}
|
|
3895
|
+
return obj;
|
|
3896
|
+
};
|
|
3897
|
+
}
|
|
3898
|
+
|
|
3899
|
+
|
|
3900
|
+
/**
|
|
3901
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3902
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3903
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse}
|
|
3904
|
+
*/
|
|
3905
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.deserializeBinary = function(bytes) {
|
|
3906
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3907
|
+
var msg = new proto.worldpayserviceapi.SettleFileDetailsResponse;
|
|
3908
|
+
return proto.worldpayserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
|
3909
|
+
};
|
|
3910
|
+
|
|
3911
|
+
|
|
3912
|
+
/**
|
|
3913
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3914
|
+
* given reader into the given message object.
|
|
3915
|
+
* @param {!proto.worldpayserviceapi.SettleFileDetailsResponse} msg The message object to deserialize into.
|
|
3916
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3917
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse}
|
|
3918
|
+
*/
|
|
3919
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3920
|
+
while (reader.nextField()) {
|
|
3921
|
+
if (reader.isEndGroup()) {
|
|
3922
|
+
break;
|
|
3923
|
+
}
|
|
3924
|
+
var field = reader.getFieldNumber();
|
|
3925
|
+
switch (field) {
|
|
3926
|
+
case 1:
|
|
3927
|
+
var value = new proto.worldpayserviceapi.ResponseCode;
|
|
3928
|
+
reader.readMessage(value,proto.worldpayserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
3929
|
+
msg.setResponsecode(value);
|
|
3930
|
+
break;
|
|
3931
|
+
case 2:
|
|
3932
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3933
|
+
msg.setSettlementfileid(value);
|
|
3934
|
+
break;
|
|
3935
|
+
case 3:
|
|
3936
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3937
|
+
msg.setProcessdate(value);
|
|
3938
|
+
break;
|
|
3939
|
+
case 4:
|
|
3940
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3941
|
+
msg.setTotalnetamount(value);
|
|
3942
|
+
break;
|
|
3943
|
+
case 5:
|
|
3944
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3945
|
+
msg.setTotalrewardsamount(value);
|
|
3946
|
+
break;
|
|
3947
|
+
case 6:
|
|
3948
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3949
|
+
msg.setTotalprocessingfee(value);
|
|
3950
|
+
break;
|
|
3951
|
+
case 7:
|
|
3952
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3953
|
+
msg.setTotalsettlementamount(value);
|
|
3954
|
+
break;
|
|
3955
|
+
case 8:
|
|
3956
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3957
|
+
msg.setNumberofpayments(value);
|
|
3958
|
+
break;
|
|
3959
|
+
case 9:
|
|
3960
|
+
var value = new proto.worldpayserviceapi.SettlementTransaction;
|
|
3961
|
+
reader.readMessage(value,proto.worldpayserviceapi.SettlementTransaction.deserializeBinaryFromReader);
|
|
3962
|
+
msg.addSettlementtransactions(value);
|
|
3963
|
+
break;
|
|
3964
|
+
case 10:
|
|
3965
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3966
|
+
msg.setRefundtotalnetamount(value);
|
|
3967
|
+
break;
|
|
3968
|
+
case 11:
|
|
3969
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3970
|
+
msg.setRefundtotalrewardsamount(value);
|
|
3971
|
+
break;
|
|
3972
|
+
case 12:
|
|
3973
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3974
|
+
msg.setRefundtotalprocessingfee(value);
|
|
3975
|
+
break;
|
|
3976
|
+
case 13:
|
|
3977
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3978
|
+
msg.setRefundtotalsettlementamount(value);
|
|
3979
|
+
break;
|
|
3980
|
+
case 14:
|
|
3981
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3982
|
+
msg.setRefundnumberofpayments(value);
|
|
3983
|
+
break;
|
|
3984
|
+
case 15:
|
|
3985
|
+
var value = new proto.worldpayserviceapi.SettlementTransaction;
|
|
3986
|
+
reader.readMessage(value,proto.worldpayserviceapi.SettlementTransaction.deserializeBinaryFromReader);
|
|
3987
|
+
msg.addRefundtransactions(value);
|
|
3988
|
+
break;
|
|
3989
|
+
default:
|
|
3990
|
+
reader.skipField();
|
|
3991
|
+
break;
|
|
3992
|
+
}
|
|
3993
|
+
}
|
|
3994
|
+
return msg;
|
|
3995
|
+
};
|
|
3996
|
+
|
|
3997
|
+
|
|
3998
|
+
/**
|
|
3999
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4000
|
+
* @return {!Uint8Array}
|
|
4001
|
+
*/
|
|
4002
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.serializeBinary = function() {
|
|
4003
|
+
var writer = new jspb.BinaryWriter();
|
|
4004
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.serializeBinaryToWriter(this, writer);
|
|
4005
|
+
return writer.getResultBuffer();
|
|
4006
|
+
};
|
|
4007
|
+
|
|
4008
|
+
|
|
4009
|
+
/**
|
|
4010
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4011
|
+
* format), writing to the given BinaryWriter.
|
|
4012
|
+
* @param {!proto.worldpayserviceapi.SettleFileDetailsResponse} message
|
|
4013
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4014
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4015
|
+
*/
|
|
4016
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4017
|
+
var f = undefined;
|
|
4018
|
+
f = message.getResponsecode();
|
|
4019
|
+
if (f != null) {
|
|
4020
|
+
writer.writeMessage(
|
|
4021
|
+
1,
|
|
4022
|
+
f,
|
|
4023
|
+
proto.worldpayserviceapi.ResponseCode.serializeBinaryToWriter
|
|
4024
|
+
);
|
|
4025
|
+
}
|
|
4026
|
+
f = message.getSettlementfileid();
|
|
4027
|
+
if (f !== 0) {
|
|
4028
|
+
writer.writeInt64(
|
|
4029
|
+
2,
|
|
4030
|
+
f
|
|
4031
|
+
);
|
|
4032
|
+
}
|
|
4033
|
+
f = message.getProcessdate();
|
|
4034
|
+
if (f.length > 0) {
|
|
4035
|
+
writer.writeString(
|
|
4036
|
+
3,
|
|
4037
|
+
f
|
|
4038
|
+
);
|
|
4039
|
+
}
|
|
4040
|
+
f = message.getTotalnetamount();
|
|
4041
|
+
if (f !== 0.0) {
|
|
4042
|
+
writer.writeDouble(
|
|
4043
|
+
4,
|
|
4044
|
+
f
|
|
4045
|
+
);
|
|
4046
|
+
}
|
|
4047
|
+
f = message.getTotalrewardsamount();
|
|
4048
|
+
if (f !== 0.0) {
|
|
4049
|
+
writer.writeDouble(
|
|
4050
|
+
5,
|
|
4051
|
+
f
|
|
4052
|
+
);
|
|
4053
|
+
}
|
|
4054
|
+
f = message.getTotalprocessingfee();
|
|
4055
|
+
if (f !== 0.0) {
|
|
4056
|
+
writer.writeDouble(
|
|
4057
|
+
6,
|
|
4058
|
+
f
|
|
4059
|
+
);
|
|
4060
|
+
}
|
|
4061
|
+
f = message.getTotalsettlementamount();
|
|
4062
|
+
if (f !== 0.0) {
|
|
4063
|
+
writer.writeDouble(
|
|
4064
|
+
7,
|
|
4065
|
+
f
|
|
4066
|
+
);
|
|
4067
|
+
}
|
|
4068
|
+
f = message.getNumberofpayments();
|
|
4069
|
+
if (f !== 0) {
|
|
4070
|
+
writer.writeInt32(
|
|
4071
|
+
8,
|
|
4072
|
+
f
|
|
4073
|
+
);
|
|
4074
|
+
}
|
|
4075
|
+
f = message.getSettlementtransactionsList();
|
|
4076
|
+
if (f.length > 0) {
|
|
4077
|
+
writer.writeRepeatedMessage(
|
|
4078
|
+
9,
|
|
4079
|
+
f,
|
|
4080
|
+
proto.worldpayserviceapi.SettlementTransaction.serializeBinaryToWriter
|
|
4081
|
+
);
|
|
4082
|
+
}
|
|
4083
|
+
f = message.getRefundtotalnetamount();
|
|
4084
|
+
if (f !== 0.0) {
|
|
4085
|
+
writer.writeDouble(
|
|
4086
|
+
10,
|
|
4087
|
+
f
|
|
4088
|
+
);
|
|
4089
|
+
}
|
|
4090
|
+
f = message.getRefundtotalrewardsamount();
|
|
4091
|
+
if (f !== 0.0) {
|
|
4092
|
+
writer.writeDouble(
|
|
4093
|
+
11,
|
|
4094
|
+
f
|
|
4095
|
+
);
|
|
4096
|
+
}
|
|
4097
|
+
f = message.getRefundtotalprocessingfee();
|
|
4098
|
+
if (f !== 0.0) {
|
|
4099
|
+
writer.writeDouble(
|
|
4100
|
+
12,
|
|
4101
|
+
f
|
|
4102
|
+
);
|
|
4103
|
+
}
|
|
4104
|
+
f = message.getRefundtotalsettlementamount();
|
|
4105
|
+
if (f !== 0.0) {
|
|
4106
|
+
writer.writeDouble(
|
|
4107
|
+
13,
|
|
4108
|
+
f
|
|
4109
|
+
);
|
|
4110
|
+
}
|
|
4111
|
+
f = message.getRefundnumberofpayments();
|
|
4112
|
+
if (f !== 0) {
|
|
4113
|
+
writer.writeInt32(
|
|
4114
|
+
14,
|
|
4115
|
+
f
|
|
4116
|
+
);
|
|
4117
|
+
}
|
|
4118
|
+
f = message.getRefundtransactionsList();
|
|
4119
|
+
if (f.length > 0) {
|
|
4120
|
+
writer.writeRepeatedMessage(
|
|
4121
|
+
15,
|
|
4122
|
+
f,
|
|
4123
|
+
proto.worldpayserviceapi.SettlementTransaction.serializeBinaryToWriter
|
|
4124
|
+
);
|
|
4125
|
+
}
|
|
4126
|
+
};
|
|
4127
|
+
|
|
4128
|
+
|
|
4129
|
+
/**
|
|
4130
|
+
* optional ResponseCode responseCode = 1;
|
|
4131
|
+
* @return {?proto.worldpayserviceapi.ResponseCode}
|
|
4132
|
+
*/
|
|
4133
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getResponsecode = function() {
|
|
4134
|
+
return /** @type{?proto.worldpayserviceapi.ResponseCode} */ (
|
|
4135
|
+
jspb.Message.getWrapperField(this, proto.worldpayserviceapi.ResponseCode, 1));
|
|
4136
|
+
};
|
|
4137
|
+
|
|
4138
|
+
|
|
4139
|
+
/**
|
|
4140
|
+
* @param {?proto.worldpayserviceapi.ResponseCode|undefined} value
|
|
4141
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4142
|
+
*/
|
|
4143
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setResponsecode = function(value) {
|
|
4144
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4145
|
+
};
|
|
4146
|
+
|
|
4147
|
+
|
|
4148
|
+
/**
|
|
4149
|
+
* Clears the message field making it undefined.
|
|
4150
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4151
|
+
*/
|
|
4152
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.clearResponsecode = function() {
|
|
4153
|
+
return this.setResponsecode(undefined);
|
|
4154
|
+
};
|
|
4155
|
+
|
|
4156
|
+
|
|
4157
|
+
/**
|
|
4158
|
+
* Returns whether this field is set.
|
|
4159
|
+
* @return {boolean}
|
|
4160
|
+
*/
|
|
4161
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.hasResponsecode = function() {
|
|
4162
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4163
|
+
};
|
|
4164
|
+
|
|
4165
|
+
|
|
4166
|
+
/**
|
|
4167
|
+
* optional int64 settlementFileId = 2;
|
|
4168
|
+
* @return {number}
|
|
4169
|
+
*/
|
|
4170
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getSettlementfileid = function() {
|
|
4171
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4172
|
+
};
|
|
4173
|
+
|
|
4174
|
+
|
|
4175
|
+
/**
|
|
4176
|
+
* @param {number} value
|
|
4177
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4178
|
+
*/
|
|
4179
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setSettlementfileid = function(value) {
|
|
4180
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
4181
|
+
};
|
|
4182
|
+
|
|
4183
|
+
|
|
4184
|
+
/**
|
|
4185
|
+
* optional string processDate = 3;
|
|
4186
|
+
* @return {string}
|
|
4187
|
+
*/
|
|
4188
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getProcessdate = function() {
|
|
4189
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4190
|
+
};
|
|
4191
|
+
|
|
4192
|
+
|
|
4193
|
+
/**
|
|
4194
|
+
* @param {string} value
|
|
4195
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4196
|
+
*/
|
|
4197
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setProcessdate = function(value) {
|
|
4198
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4199
|
+
};
|
|
4200
|
+
|
|
4201
|
+
|
|
4202
|
+
/**
|
|
4203
|
+
* optional double totalNetAmount = 4;
|
|
4204
|
+
* @return {number}
|
|
4205
|
+
*/
|
|
4206
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getTotalnetamount = function() {
|
|
4207
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
4208
|
+
};
|
|
4209
|
+
|
|
4210
|
+
|
|
4211
|
+
/**
|
|
4212
|
+
* @param {number} value
|
|
4213
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4214
|
+
*/
|
|
4215
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setTotalnetamount = function(value) {
|
|
4216
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
4217
|
+
};
|
|
4218
|
+
|
|
4219
|
+
|
|
4220
|
+
/**
|
|
4221
|
+
* optional double totalRewardsAmount = 5;
|
|
4222
|
+
* @return {number}
|
|
4223
|
+
*/
|
|
4224
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getTotalrewardsamount = function() {
|
|
4225
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
4226
|
+
};
|
|
4227
|
+
|
|
4228
|
+
|
|
4229
|
+
/**
|
|
4230
|
+
* @param {number} value
|
|
4231
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4232
|
+
*/
|
|
4233
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setTotalrewardsamount = function(value) {
|
|
4234
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
4235
|
+
};
|
|
4236
|
+
|
|
4237
|
+
|
|
4238
|
+
/**
|
|
4239
|
+
* optional double totalProcessingFee = 6;
|
|
4240
|
+
* @return {number}
|
|
4241
|
+
*/
|
|
4242
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getTotalprocessingfee = function() {
|
|
4243
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
4244
|
+
};
|
|
4245
|
+
|
|
4246
|
+
|
|
4247
|
+
/**
|
|
4248
|
+
* @param {number} value
|
|
4249
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4250
|
+
*/
|
|
4251
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setTotalprocessingfee = function(value) {
|
|
4252
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
4253
|
+
};
|
|
4254
|
+
|
|
4255
|
+
|
|
4256
|
+
/**
|
|
4257
|
+
* optional double totalSettlementAmount = 7;
|
|
4258
|
+
* @return {number}
|
|
4259
|
+
*/
|
|
4260
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getTotalsettlementamount = function() {
|
|
4261
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
4262
|
+
};
|
|
4263
|
+
|
|
4264
|
+
|
|
4265
|
+
/**
|
|
4266
|
+
* @param {number} value
|
|
4267
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4268
|
+
*/
|
|
4269
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setTotalsettlementamount = function(value) {
|
|
4270
|
+
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
4271
|
+
};
|
|
4272
|
+
|
|
4273
|
+
|
|
4274
|
+
/**
|
|
4275
|
+
* optional int32 numberOfPayments = 8;
|
|
4276
|
+
* @return {number}
|
|
4277
|
+
*/
|
|
4278
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getNumberofpayments = function() {
|
|
4279
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
4280
|
+
};
|
|
4281
|
+
|
|
4282
|
+
|
|
4283
|
+
/**
|
|
4284
|
+
* @param {number} value
|
|
4285
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4286
|
+
*/
|
|
4287
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setNumberofpayments = function(value) {
|
|
4288
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
4289
|
+
};
|
|
4290
|
+
|
|
4291
|
+
|
|
4292
|
+
/**
|
|
4293
|
+
* repeated SettlementTransaction settlementTransactions = 9;
|
|
4294
|
+
* @return {!Array<!proto.worldpayserviceapi.SettlementTransaction>}
|
|
4295
|
+
*/
|
|
4296
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getSettlementtransactionsList = function() {
|
|
4297
|
+
return /** @type{!Array<!proto.worldpayserviceapi.SettlementTransaction>} */ (
|
|
4298
|
+
jspb.Message.getRepeatedWrapperField(this, proto.worldpayserviceapi.SettlementTransaction, 9));
|
|
4299
|
+
};
|
|
4300
|
+
|
|
4301
|
+
|
|
4302
|
+
/**
|
|
4303
|
+
* @param {!Array<!proto.worldpayserviceapi.SettlementTransaction>} value
|
|
4304
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4305
|
+
*/
|
|
4306
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setSettlementtransactionsList = function(value) {
|
|
4307
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
4308
|
+
};
|
|
4309
|
+
|
|
4310
|
+
|
|
4311
|
+
/**
|
|
4312
|
+
* @param {!proto.worldpayserviceapi.SettlementTransaction=} opt_value
|
|
4313
|
+
* @param {number=} opt_index
|
|
4314
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction}
|
|
4315
|
+
*/
|
|
4316
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.addSettlementtransactions = function(opt_value, opt_index) {
|
|
4317
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.worldpayserviceapi.SettlementTransaction, opt_index);
|
|
4318
|
+
};
|
|
4319
|
+
|
|
4320
|
+
|
|
4321
|
+
/**
|
|
4322
|
+
* Clears the list making it empty but non-null.
|
|
4323
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4324
|
+
*/
|
|
4325
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.clearSettlementtransactionsList = function() {
|
|
4326
|
+
return this.setSettlementtransactionsList([]);
|
|
4327
|
+
};
|
|
4328
|
+
|
|
4329
|
+
|
|
4330
|
+
/**
|
|
4331
|
+
* optional double refundTotalNetAmount = 10;
|
|
4332
|
+
* @return {number}
|
|
4333
|
+
*/
|
|
4334
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getRefundtotalnetamount = function() {
|
|
4335
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
4336
|
+
};
|
|
4337
|
+
|
|
4338
|
+
|
|
4339
|
+
/**
|
|
4340
|
+
* @param {number} value
|
|
4341
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4342
|
+
*/
|
|
4343
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setRefundtotalnetamount = function(value) {
|
|
4344
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
4345
|
+
};
|
|
4346
|
+
|
|
4347
|
+
|
|
4348
|
+
/**
|
|
4349
|
+
* optional double refundTotalRewardsAmount = 11;
|
|
4350
|
+
* @return {number}
|
|
4351
|
+
*/
|
|
4352
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getRefundtotalrewardsamount = function() {
|
|
4353
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
4354
|
+
};
|
|
4355
|
+
|
|
4356
|
+
|
|
4357
|
+
/**
|
|
4358
|
+
* @param {number} value
|
|
4359
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4360
|
+
*/
|
|
4361
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setRefundtotalrewardsamount = function(value) {
|
|
4362
|
+
return jspb.Message.setProto3FloatField(this, 11, value);
|
|
4363
|
+
};
|
|
4364
|
+
|
|
4365
|
+
|
|
4366
|
+
/**
|
|
4367
|
+
* optional double refundTotalProcessingFee = 12;
|
|
4368
|
+
* @return {number}
|
|
4369
|
+
*/
|
|
4370
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getRefundtotalprocessingfee = function() {
|
|
4371
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
|
4372
|
+
};
|
|
4373
|
+
|
|
4374
|
+
|
|
4375
|
+
/**
|
|
4376
|
+
* @param {number} value
|
|
4377
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4378
|
+
*/
|
|
4379
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setRefundtotalprocessingfee = function(value) {
|
|
4380
|
+
return jspb.Message.setProto3FloatField(this, 12, value);
|
|
4381
|
+
};
|
|
4382
|
+
|
|
4383
|
+
|
|
4384
|
+
/**
|
|
4385
|
+
* optional double refundTotalSettlementAmount = 13;
|
|
4386
|
+
* @return {number}
|
|
4387
|
+
*/
|
|
4388
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getRefundtotalsettlementamount = function() {
|
|
4389
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
|
4390
|
+
};
|
|
4391
|
+
|
|
4392
|
+
|
|
4393
|
+
/**
|
|
4394
|
+
* @param {number} value
|
|
4395
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4396
|
+
*/
|
|
4397
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setRefundtotalsettlementamount = function(value) {
|
|
4398
|
+
return jspb.Message.setProto3FloatField(this, 13, value);
|
|
4399
|
+
};
|
|
4400
|
+
|
|
4401
|
+
|
|
4402
|
+
/**
|
|
4403
|
+
* optional int32 refundNumberOfPayments = 14;
|
|
4404
|
+
* @return {number}
|
|
4405
|
+
*/
|
|
4406
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getRefundnumberofpayments = function() {
|
|
4407
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
4408
|
+
};
|
|
4409
|
+
|
|
4410
|
+
|
|
4411
|
+
/**
|
|
4412
|
+
* @param {number} value
|
|
4413
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4414
|
+
*/
|
|
4415
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setRefundnumberofpayments = function(value) {
|
|
4416
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
4417
|
+
};
|
|
4418
|
+
|
|
4419
|
+
|
|
4420
|
+
/**
|
|
4421
|
+
* repeated SettlementTransaction refundTransactions = 15;
|
|
4422
|
+
* @return {!Array<!proto.worldpayserviceapi.SettlementTransaction>}
|
|
4423
|
+
*/
|
|
4424
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.getRefundtransactionsList = function() {
|
|
4425
|
+
return /** @type{!Array<!proto.worldpayserviceapi.SettlementTransaction>} */ (
|
|
4426
|
+
jspb.Message.getRepeatedWrapperField(this, proto.worldpayserviceapi.SettlementTransaction, 15));
|
|
4427
|
+
};
|
|
4428
|
+
|
|
4429
|
+
|
|
4430
|
+
/**
|
|
4431
|
+
* @param {!Array<!proto.worldpayserviceapi.SettlementTransaction>} value
|
|
4432
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4433
|
+
*/
|
|
4434
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.setRefundtransactionsList = function(value) {
|
|
4435
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
|
4436
|
+
};
|
|
4437
|
+
|
|
4438
|
+
|
|
4439
|
+
/**
|
|
4440
|
+
* @param {!proto.worldpayserviceapi.SettlementTransaction=} opt_value
|
|
4441
|
+
* @param {number=} opt_index
|
|
4442
|
+
* @return {!proto.worldpayserviceapi.SettlementTransaction}
|
|
4443
|
+
*/
|
|
4444
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.addRefundtransactions = function(opt_value, opt_index) {
|
|
4445
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.worldpayserviceapi.SettlementTransaction, opt_index);
|
|
4446
|
+
};
|
|
4447
|
+
|
|
4448
|
+
|
|
4449
|
+
/**
|
|
4450
|
+
* Clears the list making it empty but non-null.
|
|
4451
|
+
* @return {!proto.worldpayserviceapi.SettleFileDetailsResponse} returns this
|
|
4452
|
+
*/
|
|
4453
|
+
proto.worldpayserviceapi.SettleFileDetailsResponse.prototype.clearRefundtransactionsList = function() {
|
|
4454
|
+
return this.setRefundtransactionsList([]);
|
|
4455
|
+
};
|
|
4456
|
+
|
|
4457
|
+
|
|
4458
|
+
|
|
4459
|
+
|
|
4460
|
+
|
|
4461
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4462
|
+
/**
|
|
4463
|
+
* Creates an object representation of this proto.
|
|
4464
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4465
|
+
* Optional fields that are not set will be set to undefined.
|
|
4466
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4467
|
+
* For the list of reserved names please see:
|
|
4468
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4469
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4470
|
+
* JSPB instance for transitional soy proto support:
|
|
4471
|
+
* http://goto/soy-param-migration
|
|
4472
|
+
* @return {!Object}
|
|
4473
|
+
*/
|
|
4474
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4475
|
+
return proto.worldpayserviceapi.ProcessSettlementFileRequest.toObject(opt_includeInstance, this);
|
|
4476
|
+
};
|
|
4477
|
+
|
|
4478
|
+
|
|
4479
|
+
/**
|
|
4480
|
+
* Static version of the {@see toObject} method.
|
|
4481
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4482
|
+
* the JSPB instance for transitional soy proto support:
|
|
4483
|
+
* http://goto/soy-param-migration
|
|
4484
|
+
* @param {!proto.worldpayserviceapi.ProcessSettlementFileRequest} msg The msg instance to transform.
|
|
4485
|
+
* @return {!Object}
|
|
4486
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4487
|
+
*/
|
|
4488
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.toObject = function(includeInstance, msg) {
|
|
4489
|
+
var f, obj = {
|
|
4490
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
4491
|
+
};
|
|
4492
|
+
|
|
4493
|
+
if (includeInstance) {
|
|
4494
|
+
obj.$jspbMessageInstance = msg;
|
|
4495
|
+
}
|
|
4496
|
+
return obj;
|
|
4497
|
+
};
|
|
4498
|
+
}
|
|
4499
|
+
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4503
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4504
|
+
* @return {!proto.worldpayserviceapi.ProcessSettlementFileRequest}
|
|
4505
|
+
*/
|
|
4506
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.deserializeBinary = function(bytes) {
|
|
4507
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4508
|
+
var msg = new proto.worldpayserviceapi.ProcessSettlementFileRequest;
|
|
4509
|
+
return proto.worldpayserviceapi.ProcessSettlementFileRequest.deserializeBinaryFromReader(msg, reader);
|
|
4510
|
+
};
|
|
4511
|
+
|
|
4512
|
+
|
|
4513
|
+
/**
|
|
4514
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4515
|
+
* given reader into the given message object.
|
|
4516
|
+
* @param {!proto.worldpayserviceapi.ProcessSettlementFileRequest} msg The message object to deserialize into.
|
|
4517
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4518
|
+
* @return {!proto.worldpayserviceapi.ProcessSettlementFileRequest}
|
|
4519
|
+
*/
|
|
4520
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4521
|
+
while (reader.nextField()) {
|
|
4522
|
+
if (reader.isEndGroup()) {
|
|
4523
|
+
break;
|
|
4524
|
+
}
|
|
4525
|
+
var field = reader.getFieldNumber();
|
|
4526
|
+
switch (field) {
|
|
4527
|
+
case 1:
|
|
4528
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4529
|
+
msg.setSettlementfileid(value);
|
|
4530
|
+
break;
|
|
4531
|
+
default:
|
|
4532
|
+
reader.skipField();
|
|
4533
|
+
break;
|
|
4534
|
+
}
|
|
4535
|
+
}
|
|
4536
|
+
return msg;
|
|
4537
|
+
};
|
|
4538
|
+
|
|
4539
|
+
|
|
4540
|
+
/**
|
|
4541
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4542
|
+
* @return {!Uint8Array}
|
|
4543
|
+
*/
|
|
4544
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.prototype.serializeBinary = function() {
|
|
4545
|
+
var writer = new jspb.BinaryWriter();
|
|
4546
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.serializeBinaryToWriter(this, writer);
|
|
4547
|
+
return writer.getResultBuffer();
|
|
4548
|
+
};
|
|
4549
|
+
|
|
4550
|
+
|
|
4551
|
+
/**
|
|
4552
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4553
|
+
* format), writing to the given BinaryWriter.
|
|
4554
|
+
* @param {!proto.worldpayserviceapi.ProcessSettlementFileRequest} message
|
|
4555
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4556
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4557
|
+
*/
|
|
4558
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4559
|
+
var f = undefined;
|
|
4560
|
+
f = message.getSettlementfileid();
|
|
4561
|
+
if (f !== 0) {
|
|
4562
|
+
writer.writeInt64(
|
|
4563
|
+
1,
|
|
4564
|
+
f
|
|
4565
|
+
);
|
|
4566
|
+
}
|
|
4567
|
+
};
|
|
4568
|
+
|
|
4569
|
+
|
|
4570
|
+
/**
|
|
4571
|
+
* optional int64 settlementFileId = 1;
|
|
4572
|
+
* @return {number}
|
|
4573
|
+
*/
|
|
4574
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.prototype.getSettlementfileid = function() {
|
|
4575
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4576
|
+
};
|
|
4577
|
+
|
|
4578
|
+
|
|
4579
|
+
/**
|
|
4580
|
+
* @param {number} value
|
|
4581
|
+
* @return {!proto.worldpayserviceapi.ProcessSettlementFileRequest} returns this
|
|
4582
|
+
*/
|
|
4583
|
+
proto.worldpayserviceapi.ProcessSettlementFileRequest.prototype.setSettlementfileid = function(value) {
|
|
4584
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4585
|
+
};
|
|
4586
|
+
|
|
4587
|
+
|
|
4588
|
+
|
|
4589
|
+
|
|
4590
|
+
|
|
4591
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4592
|
+
/**
|
|
4593
|
+
* Creates an object representation of this proto.
|
|
4594
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4595
|
+
* Optional fields that are not set will be set to undefined.
|
|
4596
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4597
|
+
* For the list of reserved names please see:
|
|
4598
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4599
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4600
|
+
* JSPB instance for transitional soy proto support:
|
|
4601
|
+
* http://goto/soy-param-migration
|
|
4602
|
+
* @return {!Object}
|
|
4603
|
+
*/
|
|
4604
|
+
proto.worldpayserviceapi.SettlementFilesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4605
|
+
return proto.worldpayserviceapi.SettlementFilesRequest.toObject(opt_includeInstance, this);
|
|
4606
|
+
};
|
|
4607
|
+
|
|
4608
|
+
|
|
4609
|
+
/**
|
|
4610
|
+
* Static version of the {@see toObject} method.
|
|
4611
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4612
|
+
* the JSPB instance for transitional soy proto support:
|
|
4613
|
+
* http://goto/soy-param-migration
|
|
4614
|
+
* @param {!proto.worldpayserviceapi.SettlementFilesRequest} msg The msg instance to transform.
|
|
4615
|
+
* @return {!Object}
|
|
4616
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4617
|
+
*/
|
|
4618
|
+
proto.worldpayserviceapi.SettlementFilesRequest.toObject = function(includeInstance, msg) {
|
|
4619
|
+
var f, obj = {
|
|
4620
|
+
body: (f = msg.getBody()) && proto.worldpayserviceapi.SettlementFileRequest.toObject(includeInstance, f)
|
|
4621
|
+
};
|
|
4622
|
+
|
|
4623
|
+
if (includeInstance) {
|
|
4624
|
+
obj.$jspbMessageInstance = msg;
|
|
4625
|
+
}
|
|
4626
|
+
return obj;
|
|
4627
|
+
};
|
|
4628
|
+
}
|
|
4629
|
+
|
|
4630
|
+
|
|
4631
|
+
/**
|
|
4632
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4633
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4634
|
+
* @return {!proto.worldpayserviceapi.SettlementFilesRequest}
|
|
4635
|
+
*/
|
|
4636
|
+
proto.worldpayserviceapi.SettlementFilesRequest.deserializeBinary = function(bytes) {
|
|
4637
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4638
|
+
var msg = new proto.worldpayserviceapi.SettlementFilesRequest;
|
|
4639
|
+
return proto.worldpayserviceapi.SettlementFilesRequest.deserializeBinaryFromReader(msg, reader);
|
|
4640
|
+
};
|
|
4641
|
+
|
|
4642
|
+
|
|
4643
|
+
/**
|
|
4644
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4645
|
+
* given reader into the given message object.
|
|
4646
|
+
* @param {!proto.worldpayserviceapi.SettlementFilesRequest} msg The message object to deserialize into.
|
|
4647
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4648
|
+
* @return {!proto.worldpayserviceapi.SettlementFilesRequest}
|
|
4649
|
+
*/
|
|
4650
|
+
proto.worldpayserviceapi.SettlementFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4651
|
+
while (reader.nextField()) {
|
|
4652
|
+
if (reader.isEndGroup()) {
|
|
4653
|
+
break;
|
|
4654
|
+
}
|
|
4655
|
+
var field = reader.getFieldNumber();
|
|
4656
|
+
switch (field) {
|
|
4657
|
+
case 1:
|
|
4658
|
+
var value = new proto.worldpayserviceapi.SettlementFileRequest;
|
|
4659
|
+
reader.readMessage(value,proto.worldpayserviceapi.SettlementFileRequest.deserializeBinaryFromReader);
|
|
4660
|
+
msg.setBody(value);
|
|
4661
|
+
break;
|
|
4662
|
+
default:
|
|
4663
|
+
reader.skipField();
|
|
4664
|
+
break;
|
|
4665
|
+
}
|
|
4666
|
+
}
|
|
4667
|
+
return msg;
|
|
4668
|
+
};
|
|
4669
|
+
|
|
4670
|
+
|
|
4671
|
+
/**
|
|
4672
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4673
|
+
* @return {!Uint8Array}
|
|
4674
|
+
*/
|
|
4675
|
+
proto.worldpayserviceapi.SettlementFilesRequest.prototype.serializeBinary = function() {
|
|
4676
|
+
var writer = new jspb.BinaryWriter();
|
|
4677
|
+
proto.worldpayserviceapi.SettlementFilesRequest.serializeBinaryToWriter(this, writer);
|
|
4678
|
+
return writer.getResultBuffer();
|
|
4679
|
+
};
|
|
4680
|
+
|
|
4681
|
+
|
|
4682
|
+
/**
|
|
4683
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4684
|
+
* format), writing to the given BinaryWriter.
|
|
4685
|
+
* @param {!proto.worldpayserviceapi.SettlementFilesRequest} message
|
|
4686
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4687
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4688
|
+
*/
|
|
4689
|
+
proto.worldpayserviceapi.SettlementFilesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4690
|
+
var f = undefined;
|
|
4691
|
+
f = message.getBody();
|
|
4692
|
+
if (f != null) {
|
|
4693
|
+
writer.writeMessage(
|
|
4694
|
+
1,
|
|
4695
|
+
f,
|
|
4696
|
+
proto.worldpayserviceapi.SettlementFileRequest.serializeBinaryToWriter
|
|
4697
|
+
);
|
|
4698
|
+
}
|
|
4699
|
+
};
|
|
4700
|
+
|
|
4701
|
+
|
|
4702
|
+
/**
|
|
4703
|
+
* optional SettlementFileRequest body = 1;
|
|
4704
|
+
* @return {?proto.worldpayserviceapi.SettlementFileRequest}
|
|
4705
|
+
*/
|
|
4706
|
+
proto.worldpayserviceapi.SettlementFilesRequest.prototype.getBody = function() {
|
|
4707
|
+
return /** @type{?proto.worldpayserviceapi.SettlementFileRequest} */ (
|
|
4708
|
+
jspb.Message.getWrapperField(this, proto.worldpayserviceapi.SettlementFileRequest, 1));
|
|
4709
|
+
};
|
|
4710
|
+
|
|
4711
|
+
|
|
4712
|
+
/**
|
|
4713
|
+
* @param {?proto.worldpayserviceapi.SettlementFileRequest|undefined} value
|
|
4714
|
+
* @return {!proto.worldpayserviceapi.SettlementFilesRequest} returns this
|
|
4715
|
+
*/
|
|
4716
|
+
proto.worldpayserviceapi.SettlementFilesRequest.prototype.setBody = function(value) {
|
|
4717
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4718
|
+
};
|
|
4719
|
+
|
|
4720
|
+
|
|
4721
|
+
/**
|
|
4722
|
+
* Clears the message field making it undefined.
|
|
4723
|
+
* @return {!proto.worldpayserviceapi.SettlementFilesRequest} returns this
|
|
4724
|
+
*/
|
|
4725
|
+
proto.worldpayserviceapi.SettlementFilesRequest.prototype.clearBody = function() {
|
|
4726
|
+
return this.setBody(undefined);
|
|
4727
|
+
};
|
|
4728
|
+
|
|
4729
|
+
|
|
4730
|
+
/**
|
|
4731
|
+
* Returns whether this field is set.
|
|
4732
|
+
* @return {boolean}
|
|
4733
|
+
*/
|
|
4734
|
+
proto.worldpayserviceapi.SettlementFilesRequest.prototype.hasBody = function() {
|
|
4735
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4736
|
+
};
|
|
4737
|
+
|
|
4738
|
+
|
|
4739
|
+
|
|
4740
|
+
|
|
4741
|
+
|
|
4742
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4743
|
+
/**
|
|
4744
|
+
* Creates an object representation of this proto.
|
|
4745
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4746
|
+
* Optional fields that are not set will be set to undefined.
|
|
4747
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4748
|
+
* For the list of reserved names please see:
|
|
4749
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4750
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4751
|
+
* JSPB instance for transitional soy proto support:
|
|
4752
|
+
* http://goto/soy-param-migration
|
|
4753
|
+
* @return {!Object}
|
|
4754
|
+
*/
|
|
4755
|
+
proto.worldpayserviceapi.SettlementFileRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4756
|
+
return proto.worldpayserviceapi.SettlementFileRequest.toObject(opt_includeInstance, this);
|
|
4757
|
+
};
|
|
4758
|
+
|
|
4759
|
+
|
|
4760
|
+
/**
|
|
4761
|
+
* Static version of the {@see toObject} method.
|
|
4762
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4763
|
+
* the JSPB instance for transitional soy proto support:
|
|
4764
|
+
* http://goto/soy-param-migration
|
|
4765
|
+
* @param {!proto.worldpayserviceapi.SettlementFileRequest} msg The msg instance to transform.
|
|
4766
|
+
* @return {!Object}
|
|
4767
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4768
|
+
*/
|
|
4769
|
+
proto.worldpayserviceapi.SettlementFileRequest.toObject = function(includeInstance, msg) {
|
|
4770
|
+
var f, obj = {
|
|
4771
|
+
midtype: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
4772
|
+
};
|
|
4773
|
+
|
|
4774
|
+
if (includeInstance) {
|
|
4775
|
+
obj.$jspbMessageInstance = msg;
|
|
4776
|
+
}
|
|
4777
|
+
return obj;
|
|
4778
|
+
};
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
|
|
4782
|
+
/**
|
|
4783
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4784
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4785
|
+
* @return {!proto.worldpayserviceapi.SettlementFileRequest}
|
|
4786
|
+
*/
|
|
4787
|
+
proto.worldpayserviceapi.SettlementFileRequest.deserializeBinary = function(bytes) {
|
|
4788
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4789
|
+
var msg = new proto.worldpayserviceapi.SettlementFileRequest;
|
|
4790
|
+
return proto.worldpayserviceapi.SettlementFileRequest.deserializeBinaryFromReader(msg, reader);
|
|
4791
|
+
};
|
|
4792
|
+
|
|
4793
|
+
|
|
4794
|
+
/**
|
|
4795
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4796
|
+
* given reader into the given message object.
|
|
4797
|
+
* @param {!proto.worldpayserviceapi.SettlementFileRequest} msg The message object to deserialize into.
|
|
4798
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4799
|
+
* @return {!proto.worldpayserviceapi.SettlementFileRequest}
|
|
4800
|
+
*/
|
|
4801
|
+
proto.worldpayserviceapi.SettlementFileRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4802
|
+
while (reader.nextField()) {
|
|
4803
|
+
if (reader.isEndGroup()) {
|
|
4804
|
+
break;
|
|
4805
|
+
}
|
|
4806
|
+
var field = reader.getFieldNumber();
|
|
4807
|
+
switch (field) {
|
|
4808
|
+
case 1:
|
|
4809
|
+
var value = /** @type {!proto.worldpayserviceapi.SettlementMidType} */ (reader.readEnum());
|
|
4810
|
+
msg.setMidtype(value);
|
|
4811
|
+
break;
|
|
4812
|
+
default:
|
|
4813
|
+
reader.skipField();
|
|
4814
|
+
break;
|
|
4815
|
+
}
|
|
4816
|
+
}
|
|
4817
|
+
return msg;
|
|
4818
|
+
};
|
|
4819
|
+
|
|
4820
|
+
|
|
4821
|
+
/**
|
|
4822
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4823
|
+
* @return {!Uint8Array}
|
|
4824
|
+
*/
|
|
4825
|
+
proto.worldpayserviceapi.SettlementFileRequest.prototype.serializeBinary = function() {
|
|
4826
|
+
var writer = new jspb.BinaryWriter();
|
|
4827
|
+
proto.worldpayserviceapi.SettlementFileRequest.serializeBinaryToWriter(this, writer);
|
|
4828
|
+
return writer.getResultBuffer();
|
|
4829
|
+
};
|
|
4830
|
+
|
|
4831
|
+
|
|
4832
|
+
/**
|
|
4833
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4834
|
+
* format), writing to the given BinaryWriter.
|
|
4835
|
+
* @param {!proto.worldpayserviceapi.SettlementFileRequest} message
|
|
4836
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4837
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4838
|
+
*/
|
|
4839
|
+
proto.worldpayserviceapi.SettlementFileRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4840
|
+
var f = undefined;
|
|
4841
|
+
f = message.getMidtype();
|
|
4842
|
+
if (f !== 0.0) {
|
|
4843
|
+
writer.writeEnum(
|
|
4844
|
+
1,
|
|
4845
|
+
f
|
|
4846
|
+
);
|
|
4847
|
+
}
|
|
4848
|
+
};
|
|
4849
|
+
|
|
4850
|
+
|
|
4851
|
+
/**
|
|
4852
|
+
* optional SettlementMidType midType = 1;
|
|
4853
|
+
* @return {!proto.worldpayserviceapi.SettlementMidType}
|
|
4854
|
+
*/
|
|
4855
|
+
proto.worldpayserviceapi.SettlementFileRequest.prototype.getMidtype = function() {
|
|
4856
|
+
return /** @type {!proto.worldpayserviceapi.SettlementMidType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4857
|
+
};
|
|
4858
|
+
|
|
4859
|
+
|
|
4860
|
+
/**
|
|
4861
|
+
* @param {!proto.worldpayserviceapi.SettlementMidType} value
|
|
4862
|
+
* @return {!proto.worldpayserviceapi.SettlementFileRequest} returns this
|
|
4863
|
+
*/
|
|
4864
|
+
proto.worldpayserviceapi.SettlementFileRequest.prototype.setMidtype = function(value) {
|
|
4865
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
4866
|
+
};
|
|
4867
|
+
|
|
4868
|
+
|
|
4869
|
+
/**
|
|
4870
|
+
* @enum {number}
|
|
4871
|
+
*/
|
|
4872
|
+
proto.worldpayserviceapi.PaymentProcessorMidType = {
|
|
4873
|
+
PAYMENT_PROCESSOR_MID_TYPE_UNKNOWN: 0,
|
|
4874
|
+
PAYMENT_PROCESSOR_MID_TYPE_SME: 1,
|
|
4875
|
+
PAYMENT_PROCESSOR_MID_TYPE_BPAY: 2,
|
|
4876
|
+
PAYMENT_PROCESSOR_MID_TYPE_SNIIP: 3
|
|
4877
|
+
};
|
|
4878
|
+
|
|
4879
|
+
/**
|
|
4880
|
+
* @enum {number}
|
|
4881
|
+
*/
|
|
4882
|
+
proto.worldpayserviceapi.WorldPayPaymentType = {
|
|
4883
|
+
WORLD_PAY_PAYMENT_TYPE_UNKNOWN: 0,
|
|
4884
|
+
WORLD_PAY_PAYMENT_TYPE_WE_CHAT_PAY: 1,
|
|
4885
|
+
WORLD_PAY_PAYMENT_TYPE_UNION_PAY: 2,
|
|
4886
|
+
WORLD_PAY_PAYMENT_TYPE_ALI_PAY: 3
|
|
4887
|
+
};
|
|
4888
|
+
|
|
4889
|
+
/**
|
|
4890
|
+
* @enum {number}
|
|
4891
|
+
*/
|
|
4892
|
+
proto.worldpayserviceapi.SettlementTransactionStatus = {
|
|
4893
|
+
SETTLEMENT_SUCCESS: 0,
|
|
4894
|
+
SETTLEMENT_RECORD_NOT_FOUND: 1,
|
|
4895
|
+
PAYMENT_AMOUNT_DOES_NOT_MATCH: 2,
|
|
4896
|
+
SETTLEMENT_UNKNOWN: 3
|
|
4897
|
+
};
|
|
4898
|
+
|
|
4899
|
+
/**
|
|
4900
|
+
* @enum {number}
|
|
4901
|
+
*/
|
|
4902
|
+
proto.worldpayserviceapi.SettlementMidType = {
|
|
4903
|
+
SETTLEMENT_MID_TYPE_UNKNOWN: 0,
|
|
4904
|
+
SETTLEMENT_MID_TYPE_ALIPAY: 1,
|
|
4905
|
+
SETTLEMENT_MID_TYPE_WECHAT: 2
|
|
2683
4906
|
};
|
|
2684
4907
|
|
|
2685
4908
|
goog.object.extend(exports, proto.worldpayserviceapi);
|