@sniipwebmaster/checkout-service-client-grpcweb 26.2.273 → 26.2.279

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.
@@ -206,6 +206,128 @@ proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.settlementFiles
206
206
  };
207
207
 
208
208
 
209
+ /**
210
+ * @const
211
+ * @type {!grpc.web.MethodDescriptor<
212
+ * !proto.checkoutserviceapi.ProcessSettlementFileRequest,
213
+ * !proto.checkoutserviceapi.ResponseCode>}
214
+ */
215
+ const methodDescriptor_CheckoutService_ProcessSettlementFile = new grpc.web.MethodDescriptor(
216
+ '/checkoutserviceapi.CheckoutService/ProcessSettlementFile',
217
+ grpc.web.MethodType.UNARY,
218
+ proto.checkoutserviceapi.ProcessSettlementFileRequest,
219
+ proto.checkoutserviceapi.ResponseCode,
220
+ /**
221
+ * @param {!proto.checkoutserviceapi.ProcessSettlementFileRequest} request
222
+ * @return {!Uint8Array}
223
+ */
224
+ function(request) {
225
+ return request.serializeBinary();
226
+ },
227
+ proto.checkoutserviceapi.ResponseCode.deserializeBinary
228
+ );
229
+
230
+
231
+ /**
232
+ * @param {!proto.checkoutserviceapi.ProcessSettlementFileRequest} request The
233
+ * request proto
234
+ * @param {?Object<string, string>} metadata User defined
235
+ * call metadata
236
+ * @param {function(?grpc.web.RpcError, ?proto.checkoutserviceapi.ResponseCode)}
237
+ * callback The callback function(error, response)
238
+ * @return {!grpc.web.ClientReadableStream<!proto.checkoutserviceapi.ResponseCode>|undefined}
239
+ * The XHR Node Readable Stream
240
+ */
241
+ proto.checkoutserviceapi.CheckoutServiceClient.prototype.processSettlementFile =
242
+ function(request, metadata, callback) {
243
+ return this.client_.rpcCall(this.hostname_ +
244
+ '/checkoutserviceapi.CheckoutService/ProcessSettlementFile',
245
+ request,
246
+ metadata || {},
247
+ methodDescriptor_CheckoutService_ProcessSettlementFile,
248
+ callback);
249
+ };
250
+
251
+
252
+ /**
253
+ * @param {!proto.checkoutserviceapi.ProcessSettlementFileRequest} request The
254
+ * request proto
255
+ * @param {?Object<string, string>=} metadata User defined
256
+ * call metadata
257
+ * @return {!Promise<!proto.checkoutserviceapi.ResponseCode>}
258
+ * Promise that resolves to the response
259
+ */
260
+ proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.processSettlementFile =
261
+ function(request, metadata) {
262
+ return this.client_.unaryCall(this.hostname_ +
263
+ '/checkoutserviceapi.CheckoutService/ProcessSettlementFile',
264
+ request,
265
+ metadata || {},
266
+ methodDescriptor_CheckoutService_ProcessSettlementFile);
267
+ };
268
+
269
+
270
+ /**
271
+ * @const
272
+ * @type {!grpc.web.MethodDescriptor<
273
+ * !proto.checkoutserviceapi.SettlementFileDetailsRequest,
274
+ * !proto.checkoutserviceapi.SettleFileDetailsResponse>}
275
+ */
276
+ const methodDescriptor_CheckoutService_SettlementFileDetails = new grpc.web.MethodDescriptor(
277
+ '/checkoutserviceapi.CheckoutService/SettlementFileDetails',
278
+ grpc.web.MethodType.UNARY,
279
+ proto.checkoutserviceapi.SettlementFileDetailsRequest,
280
+ proto.checkoutserviceapi.SettleFileDetailsResponse,
281
+ /**
282
+ * @param {!proto.checkoutserviceapi.SettlementFileDetailsRequest} request
283
+ * @return {!Uint8Array}
284
+ */
285
+ function(request) {
286
+ return request.serializeBinary();
287
+ },
288
+ proto.checkoutserviceapi.SettleFileDetailsResponse.deserializeBinary
289
+ );
290
+
291
+
292
+ /**
293
+ * @param {!proto.checkoutserviceapi.SettlementFileDetailsRequest} request The
294
+ * request proto
295
+ * @param {?Object<string, string>} metadata User defined
296
+ * call metadata
297
+ * @param {function(?grpc.web.RpcError, ?proto.checkoutserviceapi.SettleFileDetailsResponse)}
298
+ * callback The callback function(error, response)
299
+ * @return {!grpc.web.ClientReadableStream<!proto.checkoutserviceapi.SettleFileDetailsResponse>|undefined}
300
+ * The XHR Node Readable Stream
301
+ */
302
+ proto.checkoutserviceapi.CheckoutServiceClient.prototype.settlementFileDetails =
303
+ function(request, metadata, callback) {
304
+ return this.client_.rpcCall(this.hostname_ +
305
+ '/checkoutserviceapi.CheckoutService/SettlementFileDetails',
306
+ request,
307
+ metadata || {},
308
+ methodDescriptor_CheckoutService_SettlementFileDetails,
309
+ callback);
310
+ };
311
+
312
+
313
+ /**
314
+ * @param {!proto.checkoutserviceapi.SettlementFileDetailsRequest} request The
315
+ * request proto
316
+ * @param {?Object<string, string>=} metadata User defined
317
+ * call metadata
318
+ * @return {!Promise<!proto.checkoutserviceapi.SettleFileDetailsResponse>}
319
+ * Promise that resolves to the response
320
+ */
321
+ proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.settlementFileDetails =
322
+ function(request, metadata) {
323
+ return this.client_.unaryCall(this.hostname_ +
324
+ '/checkoutserviceapi.CheckoutService/SettlementFileDetails',
325
+ request,
326
+ metadata || {},
327
+ methodDescriptor_CheckoutService_SettlementFileDetails);
328
+ };
329
+
330
+
209
331
  /**
210
332
  * @const
211
333
  * @type {!grpc.web.MethodDescriptor<
@@ -38,11 +38,15 @@ goog.exportSymbol('proto.checkoutserviceapi.PaymentRequest', null, global);
38
38
  goog.exportSymbol('proto.checkoutserviceapi.PaymentResponse', null, global);
39
39
  goog.exportSymbol('proto.checkoutserviceapi.PaymentStatusRequest', null, global);
40
40
  goog.exportSymbol('proto.checkoutserviceapi.PaymentStatusResponse', null, global);
41
+ goog.exportSymbol('proto.checkoutserviceapi.ProcessSettlementFileRequest', null, global);
41
42
  goog.exportSymbol('proto.checkoutserviceapi.ResponseCode', null, global);
42
43
  goog.exportSymbol('proto.checkoutserviceapi.Scope', null, global);
43
44
  goog.exportSymbol('proto.checkoutserviceapi.SettleFile', null, global);
45
+ goog.exportSymbol('proto.checkoutserviceapi.SettleFileDetailsResponse', null, global);
44
46
  goog.exportSymbol('proto.checkoutserviceapi.SettleFilesResponse', null, global);
47
+ goog.exportSymbol('proto.checkoutserviceapi.SettlementFileDetailsRequest', null, global);
45
48
  goog.exportSymbol('proto.checkoutserviceapi.SettlementFilesRequest', null, global);
49
+ goog.exportSymbol('proto.checkoutserviceapi.SettlementTransaction', null, global);
46
50
  goog.exportSymbol('proto.checkoutserviceapi.WalletToken', null, global);
47
51
  goog.exportSymbol('proto.checkoutserviceapi.Webhook3DS', null, global);
48
52
  goog.exportSymbol('proto.checkoutserviceapi.WebhookBalances', null, global);
@@ -666,6 +670,90 @@ if (goog.DEBUG && !COMPILED) {
666
670
  */
667
671
  proto.checkoutserviceapi.SettleFile.displayName = 'proto.checkoutserviceapi.SettleFile';
668
672
  }
673
+ /**
674
+ * Generated by JsPbCodeGenerator.
675
+ * @param {Array=} opt_data Optional initial data array, typically from a
676
+ * server response, or constructed directly in Javascript. The array is used
677
+ * in place and becomes part of the constructed object. It is not cloned.
678
+ * If no data is provided, the constructed object will be empty, but still
679
+ * valid.
680
+ * @extends {jspb.Message}
681
+ * @constructor
682
+ */
683
+ proto.checkoutserviceapi.ProcessSettlementFileRequest = function(opt_data) {
684
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
685
+ };
686
+ goog.inherits(proto.checkoutserviceapi.ProcessSettlementFileRequest, jspb.Message);
687
+ if (goog.DEBUG && !COMPILED) {
688
+ /**
689
+ * @public
690
+ * @override
691
+ */
692
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.displayName = 'proto.checkoutserviceapi.ProcessSettlementFileRequest';
693
+ }
694
+ /**
695
+ * Generated by JsPbCodeGenerator.
696
+ * @param {Array=} opt_data Optional initial data array, typically from a
697
+ * server response, or constructed directly in Javascript. The array is used
698
+ * in place and becomes part of the constructed object. It is not cloned.
699
+ * If no data is provided, the constructed object will be empty, but still
700
+ * valid.
701
+ * @extends {jspb.Message}
702
+ * @constructor
703
+ */
704
+ proto.checkoutserviceapi.SettlementFileDetailsRequest = function(opt_data) {
705
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
706
+ };
707
+ goog.inherits(proto.checkoutserviceapi.SettlementFileDetailsRequest, jspb.Message);
708
+ if (goog.DEBUG && !COMPILED) {
709
+ /**
710
+ * @public
711
+ * @override
712
+ */
713
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.displayName = 'proto.checkoutserviceapi.SettlementFileDetailsRequest';
714
+ }
715
+ /**
716
+ * Generated by JsPbCodeGenerator.
717
+ * @param {Array=} opt_data Optional initial data array, typically from a
718
+ * server response, or constructed directly in Javascript. The array is used
719
+ * in place and becomes part of the constructed object. It is not cloned.
720
+ * If no data is provided, the constructed object will be empty, but still
721
+ * valid.
722
+ * @extends {jspb.Message}
723
+ * @constructor
724
+ */
725
+ proto.checkoutserviceapi.SettleFileDetailsResponse = function(opt_data) {
726
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.checkoutserviceapi.SettleFileDetailsResponse.repeatedFields_, null);
727
+ };
728
+ goog.inherits(proto.checkoutserviceapi.SettleFileDetailsResponse, jspb.Message);
729
+ if (goog.DEBUG && !COMPILED) {
730
+ /**
731
+ * @public
732
+ * @override
733
+ */
734
+ proto.checkoutserviceapi.SettleFileDetailsResponse.displayName = 'proto.checkoutserviceapi.SettleFileDetailsResponse';
735
+ }
736
+ /**
737
+ * Generated by JsPbCodeGenerator.
738
+ * @param {Array=} opt_data Optional initial data array, typically from a
739
+ * server response, or constructed directly in Javascript. The array is used
740
+ * in place and becomes part of the constructed object. It is not cloned.
741
+ * If no data is provided, the constructed object will be empty, but still
742
+ * valid.
743
+ * @extends {jspb.Message}
744
+ * @constructor
745
+ */
746
+ proto.checkoutserviceapi.SettlementTransaction = function(opt_data) {
747
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
748
+ };
749
+ goog.inherits(proto.checkoutserviceapi.SettlementTransaction, jspb.Message);
750
+ if (goog.DEBUG && !COMPILED) {
751
+ /**
752
+ * @public
753
+ * @override
754
+ */
755
+ proto.checkoutserviceapi.SettlementTransaction.displayName = 'proto.checkoutserviceapi.SettlementTransaction';
756
+ }
669
757
 
670
758
 
671
759
 
@@ -8749,8 +8837,7 @@ proto.checkoutserviceapi.SettlementFilesRequest.prototype.toObject = function(op
8749
8837
  */
8750
8838
  proto.checkoutserviceapi.SettlementFilesRequest.toObject = function(includeInstance, msg) {
8751
8839
  var f, obj = {
8752
- paymentprocessor: jspb.Message.getFieldWithDefault(msg, 1, ""),
8753
- scope: jspb.Message.getFieldWithDefault(msg, 2, 0)
8840
+
8754
8841
  };
8755
8842
 
8756
8843
  if (includeInstance) {
@@ -8787,14 +8874,6 @@ proto.checkoutserviceapi.SettlementFilesRequest.deserializeBinaryFromReader = fu
8787
8874
  }
8788
8875
  var field = reader.getFieldNumber();
8789
8876
  switch (field) {
8790
- case 1:
8791
- var value = /** @type {string} */ (reader.readString());
8792
- msg.setPaymentprocessor(value);
8793
- break;
8794
- case 2:
8795
- var value = /** @type {!proto.checkoutserviceapi.Scope} */ (reader.readEnum());
8796
- msg.setScope(value);
8797
- break;
8798
8877
  default:
8799
8878
  reader.skipField();
8800
8879
  break;
@@ -8824,56 +8903,6 @@ proto.checkoutserviceapi.SettlementFilesRequest.prototype.serializeBinary = func
8824
8903
  */
8825
8904
  proto.checkoutserviceapi.SettlementFilesRequest.serializeBinaryToWriter = function(message, writer) {
8826
8905
  var f = undefined;
8827
- f = message.getPaymentprocessor();
8828
- if (f.length > 0) {
8829
- writer.writeString(
8830
- 1,
8831
- f
8832
- );
8833
- }
8834
- f = message.getScope();
8835
- if (f !== 0.0) {
8836
- writer.writeEnum(
8837
- 2,
8838
- f
8839
- );
8840
- }
8841
- };
8842
-
8843
-
8844
- /**
8845
- * optional string paymentProcessor = 1;
8846
- * @return {string}
8847
- */
8848
- proto.checkoutserviceapi.SettlementFilesRequest.prototype.getPaymentprocessor = function() {
8849
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8850
- };
8851
-
8852
-
8853
- /**
8854
- * @param {string} value
8855
- * @return {!proto.checkoutserviceapi.SettlementFilesRequest} returns this
8856
- */
8857
- proto.checkoutserviceapi.SettlementFilesRequest.prototype.setPaymentprocessor = function(value) {
8858
- return jspb.Message.setProto3StringField(this, 1, value);
8859
- };
8860
-
8861
-
8862
- /**
8863
- * optional Scope scope = 2;
8864
- * @return {!proto.checkoutserviceapi.Scope}
8865
- */
8866
- proto.checkoutserviceapi.SettlementFilesRequest.prototype.getScope = function() {
8867
- return /** @type {!proto.checkoutserviceapi.Scope} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
8868
- };
8869
-
8870
-
8871
- /**
8872
- * @param {!proto.checkoutserviceapi.Scope} value
8873
- * @return {!proto.checkoutserviceapi.SettlementFilesRequest} returns this
8874
- */
8875
- proto.checkoutserviceapi.SettlementFilesRequest.prototype.setScope = function(value) {
8876
- return jspb.Message.setProto3EnumField(this, 2, value);
8877
8906
  };
8878
8907
 
8879
8908
 
@@ -9123,7 +9152,7 @@ proto.checkoutserviceapi.SettleFile.toObject = function(includeInstance, msg) {
9123
9152
  processdate: jspb.Message.getFieldWithDefault(msg, 2, ""),
9124
9153
  creationtimestamp: jspb.Message.getFieldWithDefault(msg, 3, ""),
9125
9154
  settlementfileid: jspb.Message.getFieldWithDefault(msg, 4, 0),
9126
- paymentprocessor: jspb.Message.getFieldWithDefault(msg, 5, "")
9155
+ filename: jspb.Message.getFieldWithDefault(msg, 5, "")
9127
9156
  };
9128
9157
 
9129
9158
  if (includeInstance) {
@@ -9174,7 +9203,7 @@ proto.checkoutserviceapi.SettleFile.deserializeBinaryFromReader = function(msg,
9174
9203
  break;
9175
9204
  case 5:
9176
9205
  var value = /** @type {string} */ (reader.readString());
9177
- msg.setPaymentprocessor(value);
9206
+ msg.setFilename(value);
9178
9207
  break;
9179
9208
  default:
9180
9209
  reader.skipField();
@@ -9226,7 +9255,7 @@ proto.checkoutserviceapi.SettleFile.serializeBinaryToWriter = function(message,
9226
9255
  f
9227
9256
  );
9228
9257
  }
9229
- f = message.getPaymentprocessor();
9258
+ f = message.getFilename();
9230
9259
  if (f.length > 0) {
9231
9260
  writer.writeString(
9232
9261
  5,
@@ -9291,10 +9320,10 @@ proto.checkoutserviceapi.SettleFile.prototype.setSettlementfileid = function(val
9291
9320
 
9292
9321
 
9293
9322
  /**
9294
- * optional string paymentProcessor = 5;
9323
+ * optional string fileName = 5;
9295
9324
  * @return {string}
9296
9325
  */
9297
- proto.checkoutserviceapi.SettleFile.prototype.getPaymentprocessor = function() {
9326
+ proto.checkoutserviceapi.SettleFile.prototype.getFilename = function() {
9298
9327
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
9299
9328
  };
9300
9329
 
@@ -9303,11 +9332,942 @@ proto.checkoutserviceapi.SettleFile.prototype.getPaymentprocessor = function() {
9303
9332
  * @param {string} value
9304
9333
  * @return {!proto.checkoutserviceapi.SettleFile} returns this
9305
9334
  */
9306
- proto.checkoutserviceapi.SettleFile.prototype.setPaymentprocessor = function(value) {
9335
+ proto.checkoutserviceapi.SettleFile.prototype.setFilename = function(value) {
9307
9336
  return jspb.Message.setProto3StringField(this, 5, value);
9308
9337
  };
9309
9338
 
9310
9339
 
9340
+
9341
+
9342
+
9343
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9344
+ /**
9345
+ * Creates an object representation of this proto.
9346
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9347
+ * Optional fields that are not set will be set to undefined.
9348
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9349
+ * For the list of reserved names please see:
9350
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9351
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9352
+ * JSPB instance for transitional soy proto support:
9353
+ * http://goto/soy-param-migration
9354
+ * @return {!Object}
9355
+ */
9356
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.prototype.toObject = function(opt_includeInstance) {
9357
+ return proto.checkoutserviceapi.ProcessSettlementFileRequest.toObject(opt_includeInstance, this);
9358
+ };
9359
+
9360
+
9361
+ /**
9362
+ * Static version of the {@see toObject} method.
9363
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9364
+ * the JSPB instance for transitional soy proto support:
9365
+ * http://goto/soy-param-migration
9366
+ * @param {!proto.checkoutserviceapi.ProcessSettlementFileRequest} msg The msg instance to transform.
9367
+ * @return {!Object}
9368
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9369
+ */
9370
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.toObject = function(includeInstance, msg) {
9371
+ var f, obj = {
9372
+ settlementfileid: jspb.Message.getFieldWithDefault(msg, 1, 0)
9373
+ };
9374
+
9375
+ if (includeInstance) {
9376
+ obj.$jspbMessageInstance = msg;
9377
+ }
9378
+ return obj;
9379
+ };
9380
+ }
9381
+
9382
+
9383
+ /**
9384
+ * Deserializes binary data (in protobuf wire format).
9385
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9386
+ * @return {!proto.checkoutserviceapi.ProcessSettlementFileRequest}
9387
+ */
9388
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.deserializeBinary = function(bytes) {
9389
+ var reader = new jspb.BinaryReader(bytes);
9390
+ var msg = new proto.checkoutserviceapi.ProcessSettlementFileRequest;
9391
+ return proto.checkoutserviceapi.ProcessSettlementFileRequest.deserializeBinaryFromReader(msg, reader);
9392
+ };
9393
+
9394
+
9395
+ /**
9396
+ * Deserializes binary data (in protobuf wire format) from the
9397
+ * given reader into the given message object.
9398
+ * @param {!proto.checkoutserviceapi.ProcessSettlementFileRequest} msg The message object to deserialize into.
9399
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9400
+ * @return {!proto.checkoutserviceapi.ProcessSettlementFileRequest}
9401
+ */
9402
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.deserializeBinaryFromReader = function(msg, reader) {
9403
+ while (reader.nextField()) {
9404
+ if (reader.isEndGroup()) {
9405
+ break;
9406
+ }
9407
+ var field = reader.getFieldNumber();
9408
+ switch (field) {
9409
+ case 1:
9410
+ var value = /** @type {number} */ (reader.readInt64());
9411
+ msg.setSettlementfileid(value);
9412
+ break;
9413
+ default:
9414
+ reader.skipField();
9415
+ break;
9416
+ }
9417
+ }
9418
+ return msg;
9419
+ };
9420
+
9421
+
9422
+ /**
9423
+ * Serializes the message to binary data (in protobuf wire format).
9424
+ * @return {!Uint8Array}
9425
+ */
9426
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.prototype.serializeBinary = function() {
9427
+ var writer = new jspb.BinaryWriter();
9428
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.serializeBinaryToWriter(this, writer);
9429
+ return writer.getResultBuffer();
9430
+ };
9431
+
9432
+
9433
+ /**
9434
+ * Serializes the given message to binary data (in protobuf wire
9435
+ * format), writing to the given BinaryWriter.
9436
+ * @param {!proto.checkoutserviceapi.ProcessSettlementFileRequest} message
9437
+ * @param {!jspb.BinaryWriter} writer
9438
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9439
+ */
9440
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.serializeBinaryToWriter = function(message, writer) {
9441
+ var f = undefined;
9442
+ f = message.getSettlementfileid();
9443
+ if (f !== 0) {
9444
+ writer.writeInt64(
9445
+ 1,
9446
+ f
9447
+ );
9448
+ }
9449
+ };
9450
+
9451
+
9452
+ /**
9453
+ * optional int64 settlementFileId = 1;
9454
+ * @return {number}
9455
+ */
9456
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.prototype.getSettlementfileid = function() {
9457
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
9458
+ };
9459
+
9460
+
9461
+ /**
9462
+ * @param {number} value
9463
+ * @return {!proto.checkoutserviceapi.ProcessSettlementFileRequest} returns this
9464
+ */
9465
+ proto.checkoutserviceapi.ProcessSettlementFileRequest.prototype.setSettlementfileid = function(value) {
9466
+ return jspb.Message.setProto3IntField(this, 1, value);
9467
+ };
9468
+
9469
+
9470
+
9471
+
9472
+
9473
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9474
+ /**
9475
+ * Creates an object representation of this proto.
9476
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9477
+ * Optional fields that are not set will be set to undefined.
9478
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9479
+ * For the list of reserved names please see:
9480
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9481
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9482
+ * JSPB instance for transitional soy proto support:
9483
+ * http://goto/soy-param-migration
9484
+ * @return {!Object}
9485
+ */
9486
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.toObject = function(opt_includeInstance) {
9487
+ return proto.checkoutserviceapi.SettlementFileDetailsRequest.toObject(opt_includeInstance, this);
9488
+ };
9489
+
9490
+
9491
+ /**
9492
+ * Static version of the {@see toObject} method.
9493
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9494
+ * the JSPB instance for transitional soy proto support:
9495
+ * http://goto/soy-param-migration
9496
+ * @param {!proto.checkoutserviceapi.SettlementFileDetailsRequest} msg The msg instance to transform.
9497
+ * @return {!Object}
9498
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9499
+ */
9500
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.toObject = function(includeInstance, msg) {
9501
+ var f, obj = {
9502
+ settlementfileid: jspb.Message.getFieldWithDefault(msg, 1, 0)
9503
+ };
9504
+
9505
+ if (includeInstance) {
9506
+ obj.$jspbMessageInstance = msg;
9507
+ }
9508
+ return obj;
9509
+ };
9510
+ }
9511
+
9512
+
9513
+ /**
9514
+ * Deserializes binary data (in protobuf wire format).
9515
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9516
+ * @return {!proto.checkoutserviceapi.SettlementFileDetailsRequest}
9517
+ */
9518
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.deserializeBinary = function(bytes) {
9519
+ var reader = new jspb.BinaryReader(bytes);
9520
+ var msg = new proto.checkoutserviceapi.SettlementFileDetailsRequest;
9521
+ return proto.checkoutserviceapi.SettlementFileDetailsRequest.deserializeBinaryFromReader(msg, reader);
9522
+ };
9523
+
9524
+
9525
+ /**
9526
+ * Deserializes binary data (in protobuf wire format) from the
9527
+ * given reader into the given message object.
9528
+ * @param {!proto.checkoutserviceapi.SettlementFileDetailsRequest} msg The message object to deserialize into.
9529
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9530
+ * @return {!proto.checkoutserviceapi.SettlementFileDetailsRequest}
9531
+ */
9532
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
9533
+ while (reader.nextField()) {
9534
+ if (reader.isEndGroup()) {
9535
+ break;
9536
+ }
9537
+ var field = reader.getFieldNumber();
9538
+ switch (field) {
9539
+ case 1:
9540
+ var value = /** @type {number} */ (reader.readInt64());
9541
+ msg.setSettlementfileid(value);
9542
+ break;
9543
+ default:
9544
+ reader.skipField();
9545
+ break;
9546
+ }
9547
+ }
9548
+ return msg;
9549
+ };
9550
+
9551
+
9552
+ /**
9553
+ * Serializes the message to binary data (in protobuf wire format).
9554
+ * @return {!Uint8Array}
9555
+ */
9556
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.serializeBinary = function() {
9557
+ var writer = new jspb.BinaryWriter();
9558
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.serializeBinaryToWriter(this, writer);
9559
+ return writer.getResultBuffer();
9560
+ };
9561
+
9562
+
9563
+ /**
9564
+ * Serializes the given message to binary data (in protobuf wire
9565
+ * format), writing to the given BinaryWriter.
9566
+ * @param {!proto.checkoutserviceapi.SettlementFileDetailsRequest} message
9567
+ * @param {!jspb.BinaryWriter} writer
9568
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9569
+ */
9570
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.serializeBinaryToWriter = function(message, writer) {
9571
+ var f = undefined;
9572
+ f = message.getSettlementfileid();
9573
+ if (f !== 0) {
9574
+ writer.writeInt64(
9575
+ 1,
9576
+ f
9577
+ );
9578
+ }
9579
+ };
9580
+
9581
+
9582
+ /**
9583
+ * optional int64 settlementFileId = 1;
9584
+ * @return {number}
9585
+ */
9586
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.getSettlementfileid = function() {
9587
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
9588
+ };
9589
+
9590
+
9591
+ /**
9592
+ * @param {number} value
9593
+ * @return {!proto.checkoutserviceapi.SettlementFileDetailsRequest} returns this
9594
+ */
9595
+ proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.setSettlementfileid = function(value) {
9596
+ return jspb.Message.setProto3IntField(this, 1, value);
9597
+ };
9598
+
9599
+
9600
+
9601
+ /**
9602
+ * List of repeated fields within this message type.
9603
+ * @private {!Array<number>}
9604
+ * @const
9605
+ */
9606
+ proto.checkoutserviceapi.SettleFileDetailsResponse.repeatedFields_ = [6];
9607
+
9608
+
9609
+
9610
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9611
+ /**
9612
+ * Creates an object representation of this proto.
9613
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9614
+ * Optional fields that are not set will be set to undefined.
9615
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9616
+ * For the list of reserved names please see:
9617
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9618
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9619
+ * JSPB instance for transitional soy proto support:
9620
+ * http://goto/soy-param-migration
9621
+ * @return {!Object}
9622
+ */
9623
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.toObject = function(opt_includeInstance) {
9624
+ return proto.checkoutserviceapi.SettleFileDetailsResponse.toObject(opt_includeInstance, this);
9625
+ };
9626
+
9627
+
9628
+ /**
9629
+ * Static version of the {@see toObject} method.
9630
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9631
+ * the JSPB instance for transitional soy proto support:
9632
+ * http://goto/soy-param-migration
9633
+ * @param {!proto.checkoutserviceapi.SettleFileDetailsResponse} msg The msg instance to transform.
9634
+ * @return {!Object}
9635
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9636
+ */
9637
+ proto.checkoutserviceapi.SettleFileDetailsResponse.toObject = function(includeInstance, msg) {
9638
+ var f, obj = {
9639
+ responsecode: (f = msg.getResponsecode()) && proto.checkoutserviceapi.ResponseCode.toObject(includeInstance, f),
9640
+ settlementfileid: jspb.Message.getFieldWithDefault(msg, 2, 0),
9641
+ processdate: jspb.Message.getFieldWithDefault(msg, 3, ""),
9642
+ totalsettlementamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
9643
+ numberofpayments: jspb.Message.getFieldWithDefault(msg, 5, 0),
9644
+ settlementtransactionsList: jspb.Message.toObjectList(msg.getSettlementtransactionsList(),
9645
+ proto.checkoutserviceapi.SettlementTransaction.toObject, includeInstance)
9646
+ };
9647
+
9648
+ if (includeInstance) {
9649
+ obj.$jspbMessageInstance = msg;
9650
+ }
9651
+ return obj;
9652
+ };
9653
+ }
9654
+
9655
+
9656
+ /**
9657
+ * Deserializes binary data (in protobuf wire format).
9658
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9659
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse}
9660
+ */
9661
+ proto.checkoutserviceapi.SettleFileDetailsResponse.deserializeBinary = function(bytes) {
9662
+ var reader = new jspb.BinaryReader(bytes);
9663
+ var msg = new proto.checkoutserviceapi.SettleFileDetailsResponse;
9664
+ return proto.checkoutserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader(msg, reader);
9665
+ };
9666
+
9667
+
9668
+ /**
9669
+ * Deserializes binary data (in protobuf wire format) from the
9670
+ * given reader into the given message object.
9671
+ * @param {!proto.checkoutserviceapi.SettleFileDetailsResponse} msg The message object to deserialize into.
9672
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9673
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse}
9674
+ */
9675
+ proto.checkoutserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
9676
+ while (reader.nextField()) {
9677
+ if (reader.isEndGroup()) {
9678
+ break;
9679
+ }
9680
+ var field = reader.getFieldNumber();
9681
+ switch (field) {
9682
+ case 1:
9683
+ var value = new proto.checkoutserviceapi.ResponseCode;
9684
+ reader.readMessage(value,proto.checkoutserviceapi.ResponseCode.deserializeBinaryFromReader);
9685
+ msg.setResponsecode(value);
9686
+ break;
9687
+ case 2:
9688
+ var value = /** @type {number} */ (reader.readInt64());
9689
+ msg.setSettlementfileid(value);
9690
+ break;
9691
+ case 3:
9692
+ var value = /** @type {string} */ (reader.readString());
9693
+ msg.setProcessdate(value);
9694
+ break;
9695
+ case 4:
9696
+ var value = /** @type {number} */ (reader.readDouble());
9697
+ msg.setTotalsettlementamount(value);
9698
+ break;
9699
+ case 5:
9700
+ var value = /** @type {number} */ (reader.readInt32());
9701
+ msg.setNumberofpayments(value);
9702
+ break;
9703
+ case 6:
9704
+ var value = new proto.checkoutserviceapi.SettlementTransaction;
9705
+ reader.readMessage(value,proto.checkoutserviceapi.SettlementTransaction.deserializeBinaryFromReader);
9706
+ msg.addSettlementtransactions(value);
9707
+ break;
9708
+ default:
9709
+ reader.skipField();
9710
+ break;
9711
+ }
9712
+ }
9713
+ return msg;
9714
+ };
9715
+
9716
+
9717
+ /**
9718
+ * Serializes the message to binary data (in protobuf wire format).
9719
+ * @return {!Uint8Array}
9720
+ */
9721
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.serializeBinary = function() {
9722
+ var writer = new jspb.BinaryWriter();
9723
+ proto.checkoutserviceapi.SettleFileDetailsResponse.serializeBinaryToWriter(this, writer);
9724
+ return writer.getResultBuffer();
9725
+ };
9726
+
9727
+
9728
+ /**
9729
+ * Serializes the given message to binary data (in protobuf wire
9730
+ * format), writing to the given BinaryWriter.
9731
+ * @param {!proto.checkoutserviceapi.SettleFileDetailsResponse} message
9732
+ * @param {!jspb.BinaryWriter} writer
9733
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9734
+ */
9735
+ proto.checkoutserviceapi.SettleFileDetailsResponse.serializeBinaryToWriter = function(message, writer) {
9736
+ var f = undefined;
9737
+ f = message.getResponsecode();
9738
+ if (f != null) {
9739
+ writer.writeMessage(
9740
+ 1,
9741
+ f,
9742
+ proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
9743
+ );
9744
+ }
9745
+ f = message.getSettlementfileid();
9746
+ if (f !== 0) {
9747
+ writer.writeInt64(
9748
+ 2,
9749
+ f
9750
+ );
9751
+ }
9752
+ f = message.getProcessdate();
9753
+ if (f.length > 0) {
9754
+ writer.writeString(
9755
+ 3,
9756
+ f
9757
+ );
9758
+ }
9759
+ f = message.getTotalsettlementamount();
9760
+ if (f !== 0.0) {
9761
+ writer.writeDouble(
9762
+ 4,
9763
+ f
9764
+ );
9765
+ }
9766
+ f = message.getNumberofpayments();
9767
+ if (f !== 0) {
9768
+ writer.writeInt32(
9769
+ 5,
9770
+ f
9771
+ );
9772
+ }
9773
+ f = message.getSettlementtransactionsList();
9774
+ if (f.length > 0) {
9775
+ writer.writeRepeatedMessage(
9776
+ 6,
9777
+ f,
9778
+ proto.checkoutserviceapi.SettlementTransaction.serializeBinaryToWriter
9779
+ );
9780
+ }
9781
+ };
9782
+
9783
+
9784
+ /**
9785
+ * optional ResponseCode responseCode = 1;
9786
+ * @return {?proto.checkoutserviceapi.ResponseCode}
9787
+ */
9788
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getResponsecode = function() {
9789
+ return /** @type{?proto.checkoutserviceapi.ResponseCode} */ (
9790
+ jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 1));
9791
+ };
9792
+
9793
+
9794
+ /**
9795
+ * @param {?proto.checkoutserviceapi.ResponseCode|undefined} value
9796
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
9797
+ */
9798
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setResponsecode = function(value) {
9799
+ return jspb.Message.setWrapperField(this, 1, value);
9800
+ };
9801
+
9802
+
9803
+ /**
9804
+ * Clears the message field making it undefined.
9805
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
9806
+ */
9807
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.clearResponsecode = function() {
9808
+ return this.setResponsecode(undefined);
9809
+ };
9810
+
9811
+
9812
+ /**
9813
+ * Returns whether this field is set.
9814
+ * @return {boolean}
9815
+ */
9816
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.hasResponsecode = function() {
9817
+ return jspb.Message.getField(this, 1) != null;
9818
+ };
9819
+
9820
+
9821
+ /**
9822
+ * optional int64 settlementFileId = 2;
9823
+ * @return {number}
9824
+ */
9825
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getSettlementfileid = function() {
9826
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
9827
+ };
9828
+
9829
+
9830
+ /**
9831
+ * @param {number} value
9832
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
9833
+ */
9834
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setSettlementfileid = function(value) {
9835
+ return jspb.Message.setProto3IntField(this, 2, value);
9836
+ };
9837
+
9838
+
9839
+ /**
9840
+ * optional string processDate = 3;
9841
+ * @return {string}
9842
+ */
9843
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getProcessdate = function() {
9844
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9845
+ };
9846
+
9847
+
9848
+ /**
9849
+ * @param {string} value
9850
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
9851
+ */
9852
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setProcessdate = function(value) {
9853
+ return jspb.Message.setProto3StringField(this, 3, value);
9854
+ };
9855
+
9856
+
9857
+ /**
9858
+ * optional double totalSettlementAmount = 4;
9859
+ * @return {number}
9860
+ */
9861
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getTotalsettlementamount = function() {
9862
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
9863
+ };
9864
+
9865
+
9866
+ /**
9867
+ * @param {number} value
9868
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
9869
+ */
9870
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setTotalsettlementamount = function(value) {
9871
+ return jspb.Message.setProto3FloatField(this, 4, value);
9872
+ };
9873
+
9874
+
9875
+ /**
9876
+ * optional int32 numberOfPayments = 5;
9877
+ * @return {number}
9878
+ */
9879
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getNumberofpayments = function() {
9880
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
9881
+ };
9882
+
9883
+
9884
+ /**
9885
+ * @param {number} value
9886
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
9887
+ */
9888
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setNumberofpayments = function(value) {
9889
+ return jspb.Message.setProto3IntField(this, 5, value);
9890
+ };
9891
+
9892
+
9893
+ /**
9894
+ * repeated SettlementTransaction settlementTransactions = 6;
9895
+ * @return {!Array<!proto.checkoutserviceapi.SettlementTransaction>}
9896
+ */
9897
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getSettlementtransactionsList = function() {
9898
+ return /** @type{!Array<!proto.checkoutserviceapi.SettlementTransaction>} */ (
9899
+ jspb.Message.getRepeatedWrapperField(this, proto.checkoutserviceapi.SettlementTransaction, 6));
9900
+ };
9901
+
9902
+
9903
+ /**
9904
+ * @param {!Array<!proto.checkoutserviceapi.SettlementTransaction>} value
9905
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
9906
+ */
9907
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setSettlementtransactionsList = function(value) {
9908
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
9909
+ };
9910
+
9911
+
9912
+ /**
9913
+ * @param {!proto.checkoutserviceapi.SettlementTransaction=} opt_value
9914
+ * @param {number=} opt_index
9915
+ * @return {!proto.checkoutserviceapi.SettlementTransaction}
9916
+ */
9917
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.addSettlementtransactions = function(opt_value, opt_index) {
9918
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.checkoutserviceapi.SettlementTransaction, opt_index);
9919
+ };
9920
+
9921
+
9922
+ /**
9923
+ * Clears the list making it empty but non-null.
9924
+ * @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
9925
+ */
9926
+ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.clearSettlementtransactionsList = function() {
9927
+ return this.setSettlementtransactionsList([]);
9928
+ };
9929
+
9930
+
9931
+
9932
+
9933
+
9934
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9935
+ /**
9936
+ * Creates an object representation of this proto.
9937
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9938
+ * Optional fields that are not set will be set to undefined.
9939
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9940
+ * For the list of reserved names please see:
9941
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9942
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9943
+ * JSPB instance for transitional soy proto support:
9944
+ * http://goto/soy-param-migration
9945
+ * @return {!Object}
9946
+ */
9947
+ proto.checkoutserviceapi.SettlementTransaction.prototype.toObject = function(opt_includeInstance) {
9948
+ return proto.checkoutserviceapi.SettlementTransaction.toObject(opt_includeInstance, this);
9949
+ };
9950
+
9951
+
9952
+ /**
9953
+ * Static version of the {@see toObject} method.
9954
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9955
+ * the JSPB instance for transitional soy proto support:
9956
+ * http://goto/soy-param-migration
9957
+ * @param {!proto.checkoutserviceapi.SettlementTransaction} msg The msg instance to transform.
9958
+ * @return {!Object}
9959
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9960
+ */
9961
+ proto.checkoutserviceapi.SettlementTransaction.toObject = function(includeInstance, msg) {
9962
+ var f, obj = {
9963
+ transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
9964
+ transactiondate: jspb.Message.getFieldWithDefault(msg, 2, ""),
9965
+ paymentamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
9966
+ surchargeamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
9967
+ paidamountincludingsurcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
9968
+ billercode: jspb.Message.getFieldWithDefault(msg, 6, ""),
9969
+ billername: jspb.Message.getFieldWithDefault(msg, 7, ""),
9970
+ status: jspb.Message.getFieldWithDefault(msg, 8, "")
9971
+ };
9972
+
9973
+ if (includeInstance) {
9974
+ obj.$jspbMessageInstance = msg;
9975
+ }
9976
+ return obj;
9977
+ };
9978
+ }
9979
+
9980
+
9981
+ /**
9982
+ * Deserializes binary data (in protobuf wire format).
9983
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9984
+ * @return {!proto.checkoutserviceapi.SettlementTransaction}
9985
+ */
9986
+ proto.checkoutserviceapi.SettlementTransaction.deserializeBinary = function(bytes) {
9987
+ var reader = new jspb.BinaryReader(bytes);
9988
+ var msg = new proto.checkoutserviceapi.SettlementTransaction;
9989
+ return proto.checkoutserviceapi.SettlementTransaction.deserializeBinaryFromReader(msg, reader);
9990
+ };
9991
+
9992
+
9993
+ /**
9994
+ * Deserializes binary data (in protobuf wire format) from the
9995
+ * given reader into the given message object.
9996
+ * @param {!proto.checkoutserviceapi.SettlementTransaction} msg The message object to deserialize into.
9997
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9998
+ * @return {!proto.checkoutserviceapi.SettlementTransaction}
9999
+ */
10000
+ proto.checkoutserviceapi.SettlementTransaction.deserializeBinaryFromReader = function(msg, reader) {
10001
+ while (reader.nextField()) {
10002
+ if (reader.isEndGroup()) {
10003
+ break;
10004
+ }
10005
+ var field = reader.getFieldNumber();
10006
+ switch (field) {
10007
+ case 1:
10008
+ var value = /** @type {number} */ (reader.readInt64());
10009
+ msg.setTransactionid(value);
10010
+ break;
10011
+ case 2:
10012
+ var value = /** @type {string} */ (reader.readString());
10013
+ msg.setTransactiondate(value);
10014
+ break;
10015
+ case 3:
10016
+ var value = /** @type {number} */ (reader.readDouble());
10017
+ msg.setPaymentamount(value);
10018
+ break;
10019
+ case 4:
10020
+ var value = /** @type {number} */ (reader.readDouble());
10021
+ msg.setSurchargeamount(value);
10022
+ break;
10023
+ case 5:
10024
+ var value = /** @type {number} */ (reader.readDouble());
10025
+ msg.setPaidamountincludingsurcharge(value);
10026
+ break;
10027
+ case 6:
10028
+ var value = /** @type {string} */ (reader.readString());
10029
+ msg.setBillercode(value);
10030
+ break;
10031
+ case 7:
10032
+ var value = /** @type {string} */ (reader.readString());
10033
+ msg.setBillername(value);
10034
+ break;
10035
+ case 8:
10036
+ var value = /** @type {string} */ (reader.readString());
10037
+ msg.setStatus(value);
10038
+ break;
10039
+ default:
10040
+ reader.skipField();
10041
+ break;
10042
+ }
10043
+ }
10044
+ return msg;
10045
+ };
10046
+
10047
+
10048
+ /**
10049
+ * Serializes the message to binary data (in protobuf wire format).
10050
+ * @return {!Uint8Array}
10051
+ */
10052
+ proto.checkoutserviceapi.SettlementTransaction.prototype.serializeBinary = function() {
10053
+ var writer = new jspb.BinaryWriter();
10054
+ proto.checkoutserviceapi.SettlementTransaction.serializeBinaryToWriter(this, writer);
10055
+ return writer.getResultBuffer();
10056
+ };
10057
+
10058
+
10059
+ /**
10060
+ * Serializes the given message to binary data (in protobuf wire
10061
+ * format), writing to the given BinaryWriter.
10062
+ * @param {!proto.checkoutserviceapi.SettlementTransaction} message
10063
+ * @param {!jspb.BinaryWriter} writer
10064
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10065
+ */
10066
+ proto.checkoutserviceapi.SettlementTransaction.serializeBinaryToWriter = function(message, writer) {
10067
+ var f = undefined;
10068
+ f = message.getTransactionid();
10069
+ if (f !== 0) {
10070
+ writer.writeInt64(
10071
+ 1,
10072
+ f
10073
+ );
10074
+ }
10075
+ f = message.getTransactiondate();
10076
+ if (f.length > 0) {
10077
+ writer.writeString(
10078
+ 2,
10079
+ f
10080
+ );
10081
+ }
10082
+ f = message.getPaymentamount();
10083
+ if (f !== 0.0) {
10084
+ writer.writeDouble(
10085
+ 3,
10086
+ f
10087
+ );
10088
+ }
10089
+ f = message.getSurchargeamount();
10090
+ if (f !== 0.0) {
10091
+ writer.writeDouble(
10092
+ 4,
10093
+ f
10094
+ );
10095
+ }
10096
+ f = message.getPaidamountincludingsurcharge();
10097
+ if (f !== 0.0) {
10098
+ writer.writeDouble(
10099
+ 5,
10100
+ f
10101
+ );
10102
+ }
10103
+ f = message.getBillercode();
10104
+ if (f.length > 0) {
10105
+ writer.writeString(
10106
+ 6,
10107
+ f
10108
+ );
10109
+ }
10110
+ f = message.getBillername();
10111
+ if (f.length > 0) {
10112
+ writer.writeString(
10113
+ 7,
10114
+ f
10115
+ );
10116
+ }
10117
+ f = message.getStatus();
10118
+ if (f.length > 0) {
10119
+ writer.writeString(
10120
+ 8,
10121
+ f
10122
+ );
10123
+ }
10124
+ };
10125
+
10126
+
10127
+ /**
10128
+ * optional int64 transactionId = 1;
10129
+ * @return {number}
10130
+ */
10131
+ proto.checkoutserviceapi.SettlementTransaction.prototype.getTransactionid = function() {
10132
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10133
+ };
10134
+
10135
+
10136
+ /**
10137
+ * @param {number} value
10138
+ * @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
10139
+ */
10140
+ proto.checkoutserviceapi.SettlementTransaction.prototype.setTransactionid = function(value) {
10141
+ return jspb.Message.setProto3IntField(this, 1, value);
10142
+ };
10143
+
10144
+
10145
+ /**
10146
+ * optional string transactionDate = 2;
10147
+ * @return {string}
10148
+ */
10149
+ proto.checkoutserviceapi.SettlementTransaction.prototype.getTransactiondate = function() {
10150
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10151
+ };
10152
+
10153
+
10154
+ /**
10155
+ * @param {string} value
10156
+ * @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
10157
+ */
10158
+ proto.checkoutserviceapi.SettlementTransaction.prototype.setTransactiondate = function(value) {
10159
+ return jspb.Message.setProto3StringField(this, 2, value);
10160
+ };
10161
+
10162
+
10163
+ /**
10164
+ * optional double paymentAmount = 3;
10165
+ * @return {number}
10166
+ */
10167
+ proto.checkoutserviceapi.SettlementTransaction.prototype.getPaymentamount = function() {
10168
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
10169
+ };
10170
+
10171
+
10172
+ /**
10173
+ * @param {number} value
10174
+ * @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
10175
+ */
10176
+ proto.checkoutserviceapi.SettlementTransaction.prototype.setPaymentamount = function(value) {
10177
+ return jspb.Message.setProto3FloatField(this, 3, value);
10178
+ };
10179
+
10180
+
10181
+ /**
10182
+ * optional double surchargeAmount = 4;
10183
+ * @return {number}
10184
+ */
10185
+ proto.checkoutserviceapi.SettlementTransaction.prototype.getSurchargeamount = function() {
10186
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
10187
+ };
10188
+
10189
+
10190
+ /**
10191
+ * @param {number} value
10192
+ * @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
10193
+ */
10194
+ proto.checkoutserviceapi.SettlementTransaction.prototype.setSurchargeamount = function(value) {
10195
+ return jspb.Message.setProto3FloatField(this, 4, value);
10196
+ };
10197
+
10198
+
10199
+ /**
10200
+ * optional double paidAmountIncludingSurcharge = 5;
10201
+ * @return {number}
10202
+ */
10203
+ proto.checkoutserviceapi.SettlementTransaction.prototype.getPaidamountincludingsurcharge = function() {
10204
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
10205
+ };
10206
+
10207
+
10208
+ /**
10209
+ * @param {number} value
10210
+ * @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
10211
+ */
10212
+ proto.checkoutserviceapi.SettlementTransaction.prototype.setPaidamountincludingsurcharge = function(value) {
10213
+ return jspb.Message.setProto3FloatField(this, 5, value);
10214
+ };
10215
+
10216
+
10217
+ /**
10218
+ * optional string billerCode = 6;
10219
+ * @return {string}
10220
+ */
10221
+ proto.checkoutserviceapi.SettlementTransaction.prototype.getBillercode = function() {
10222
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
10223
+ };
10224
+
10225
+
10226
+ /**
10227
+ * @param {string} value
10228
+ * @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
10229
+ */
10230
+ proto.checkoutserviceapi.SettlementTransaction.prototype.setBillercode = function(value) {
10231
+ return jspb.Message.setProto3StringField(this, 6, value);
10232
+ };
10233
+
10234
+
10235
+ /**
10236
+ * optional string billerName = 7;
10237
+ * @return {string}
10238
+ */
10239
+ proto.checkoutserviceapi.SettlementTransaction.prototype.getBillername = function() {
10240
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
10241
+ };
10242
+
10243
+
10244
+ /**
10245
+ * @param {string} value
10246
+ * @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
10247
+ */
10248
+ proto.checkoutserviceapi.SettlementTransaction.prototype.setBillername = function(value) {
10249
+ return jspb.Message.setProto3StringField(this, 7, value);
10250
+ };
10251
+
10252
+
10253
+ /**
10254
+ * optional string status = 8;
10255
+ * @return {string}
10256
+ */
10257
+ proto.checkoutserviceapi.SettlementTransaction.prototype.getStatus = function() {
10258
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
10259
+ };
10260
+
10261
+
10262
+ /**
10263
+ * @param {string} value
10264
+ * @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
10265
+ */
10266
+ proto.checkoutserviceapi.SettlementTransaction.prototype.setStatus = function(value) {
10267
+ return jspb.Message.setProto3StringField(this, 8, value);
10268
+ };
10269
+
10270
+
9311
10271
  /**
9312
10272
  * @enum {number}
9313
10273
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/checkout-service-client-grpcweb",
3
- "version": "26.2.273",
3
+ "version": "26.2.279",
4
4
  "description": "checkout-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",