protobuf-platform 1.2.548 → 1.2.553

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.
@@ -47,6 +47,7 @@ goog.exportSymbol('proto.payment.CurrencyMetadataResponse', null, global);
47
47
  goog.exportSymbol('proto.payment.CurrencyResponse', null, global);
48
48
  goog.exportSymbol('proto.payment.DepositItem', null, global);
49
49
  goog.exportSymbol('proto.payment.DepositItemsResponse', null, global);
50
+ goog.exportSymbol('proto.payment.DepositReconciliationRequest', null, global);
50
51
  goog.exportSymbol('proto.payment.DepositRedirectFormRequest', null, global);
51
52
  goog.exportSymbol('proto.payment.DepositRedirectFormResponse', null, global);
52
53
  goog.exportSymbol('proto.payment.DepositResponse', null, global);
@@ -2210,6 +2211,27 @@ if (goog.DEBUG && !COMPILED) {
2210
2211
  */
2211
2212
  proto.payment.ManualDepositRequest.displayName = 'proto.payment.ManualDepositRequest';
2212
2213
  }
2214
+ /**
2215
+ * Generated by JsPbCodeGenerator.
2216
+ * @param {Array=} opt_data Optional initial data array, typically from a
2217
+ * server response, or constructed directly in Javascript. The array is used
2218
+ * in place and becomes part of the constructed object. It is not cloned.
2219
+ * If no data is provided, the constructed object will be empty, but still
2220
+ * valid.
2221
+ * @extends {jspb.Message}
2222
+ * @constructor
2223
+ */
2224
+ proto.payment.DepositReconciliationRequest = function(opt_data) {
2225
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2226
+ };
2227
+ goog.inherits(proto.payment.DepositReconciliationRequest, jspb.Message);
2228
+ if (goog.DEBUG && !COMPILED) {
2229
+ /**
2230
+ * @public
2231
+ * @override
2232
+ */
2233
+ proto.payment.DepositReconciliationRequest.displayName = 'proto.payment.DepositReconciliationRequest';
2234
+ }
2213
2235
  /**
2214
2236
  * Generated by JsPbCodeGenerator.
2215
2237
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3488,7 +3510,12 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
3488
3510
  operationStatusCodeList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
3489
3511
  withdrawalStatusCodeList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f,
3490
3512
  configIsActive: jspb.Message.getFieldWithDefault(msg, 19, 0),
3491
- currencyTypeList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f
3513
+ currencyTypeList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f,
3514
+ externalRef: jspb.Message.getFieldWithDefault(msg, 21, ""),
3515
+ createdAtFrom: jspb.Message.getFieldWithDefault(msg, 22, ""),
3516
+ createdAtTo: jspb.Message.getFieldWithDefault(msg, 23, ""),
3517
+ completedAtFrom: jspb.Message.getFieldWithDefault(msg, 24, ""),
3518
+ completedAtTo: jspb.Message.getFieldWithDefault(msg, 25, "")
3492
3519
  };
3493
3520
 
3494
3521
  if (includeInstance) {
@@ -3613,6 +3640,26 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
3613
3640
  var value = /** @type {string} */ (reader.readString());
3614
3641
  msg.addCurrencyType(value);
3615
3642
  break;
3643
+ case 21:
3644
+ var value = /** @type {string} */ (reader.readString());
3645
+ msg.setExternalRef(value);
3646
+ break;
3647
+ case 22:
3648
+ var value = /** @type {string} */ (reader.readString());
3649
+ msg.setCreatedAtFrom(value);
3650
+ break;
3651
+ case 23:
3652
+ var value = /** @type {string} */ (reader.readString());
3653
+ msg.setCreatedAtTo(value);
3654
+ break;
3655
+ case 24:
3656
+ var value = /** @type {string} */ (reader.readString());
3657
+ msg.setCompletedAtFrom(value);
3658
+ break;
3659
+ case 25:
3660
+ var value = /** @type {string} */ (reader.readString());
3661
+ msg.setCompletedAtTo(value);
3662
+ break;
3616
3663
  default:
3617
3664
  reader.skipField();
3618
3665
  break;
@@ -3782,6 +3829,41 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
3782
3829
  f
3783
3830
  );
3784
3831
  }
3832
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
3833
+ if (f != null) {
3834
+ writer.writeString(
3835
+ 21,
3836
+ f
3837
+ );
3838
+ }
3839
+ f = /** @type {string} */ (jspb.Message.getField(message, 22));
3840
+ if (f != null) {
3841
+ writer.writeString(
3842
+ 22,
3843
+ f
3844
+ );
3845
+ }
3846
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
3847
+ if (f != null) {
3848
+ writer.writeString(
3849
+ 23,
3850
+ f
3851
+ );
3852
+ }
3853
+ f = /** @type {string} */ (jspb.Message.getField(message, 24));
3854
+ if (f != null) {
3855
+ writer.writeString(
3856
+ 24,
3857
+ f
3858
+ );
3859
+ }
3860
+ f = /** @type {string} */ (jspb.Message.getField(message, 25));
3861
+ if (f != null) {
3862
+ writer.writeString(
3863
+ 25,
3864
+ f
3865
+ );
3866
+ }
3785
3867
  };
3786
3868
 
3787
3869
 
@@ -4516,6 +4598,186 @@ proto.payment.PaymentSearchRequest.prototype.clearCurrencyTypeList = function()
4516
4598
  };
4517
4599
 
4518
4600
 
4601
+ /**
4602
+ * optional string external_ref = 21;
4603
+ * @return {string}
4604
+ */
4605
+ proto.payment.PaymentSearchRequest.prototype.getExternalRef = function() {
4606
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
4607
+ };
4608
+
4609
+
4610
+ /**
4611
+ * @param {string} value
4612
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4613
+ */
4614
+ proto.payment.PaymentSearchRequest.prototype.setExternalRef = function(value) {
4615
+ return jspb.Message.setField(this, 21, value);
4616
+ };
4617
+
4618
+
4619
+ /**
4620
+ * Clears the field making it undefined.
4621
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4622
+ */
4623
+ proto.payment.PaymentSearchRequest.prototype.clearExternalRef = function() {
4624
+ return jspb.Message.setField(this, 21, undefined);
4625
+ };
4626
+
4627
+
4628
+ /**
4629
+ * Returns whether this field is set.
4630
+ * @return {boolean}
4631
+ */
4632
+ proto.payment.PaymentSearchRequest.prototype.hasExternalRef = function() {
4633
+ return jspb.Message.getField(this, 21) != null;
4634
+ };
4635
+
4636
+
4637
+ /**
4638
+ * optional string created_at_from = 22;
4639
+ * @return {string}
4640
+ */
4641
+ proto.payment.PaymentSearchRequest.prototype.getCreatedAtFrom = function() {
4642
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
4643
+ };
4644
+
4645
+
4646
+ /**
4647
+ * @param {string} value
4648
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4649
+ */
4650
+ proto.payment.PaymentSearchRequest.prototype.setCreatedAtFrom = function(value) {
4651
+ return jspb.Message.setField(this, 22, value);
4652
+ };
4653
+
4654
+
4655
+ /**
4656
+ * Clears the field making it undefined.
4657
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4658
+ */
4659
+ proto.payment.PaymentSearchRequest.prototype.clearCreatedAtFrom = function() {
4660
+ return jspb.Message.setField(this, 22, undefined);
4661
+ };
4662
+
4663
+
4664
+ /**
4665
+ * Returns whether this field is set.
4666
+ * @return {boolean}
4667
+ */
4668
+ proto.payment.PaymentSearchRequest.prototype.hasCreatedAtFrom = function() {
4669
+ return jspb.Message.getField(this, 22) != null;
4670
+ };
4671
+
4672
+
4673
+ /**
4674
+ * optional string created_at_to = 23;
4675
+ * @return {string}
4676
+ */
4677
+ proto.payment.PaymentSearchRequest.prototype.getCreatedAtTo = function() {
4678
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
4679
+ };
4680
+
4681
+
4682
+ /**
4683
+ * @param {string} value
4684
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4685
+ */
4686
+ proto.payment.PaymentSearchRequest.prototype.setCreatedAtTo = function(value) {
4687
+ return jspb.Message.setField(this, 23, value);
4688
+ };
4689
+
4690
+
4691
+ /**
4692
+ * Clears the field making it undefined.
4693
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4694
+ */
4695
+ proto.payment.PaymentSearchRequest.prototype.clearCreatedAtTo = function() {
4696
+ return jspb.Message.setField(this, 23, undefined);
4697
+ };
4698
+
4699
+
4700
+ /**
4701
+ * Returns whether this field is set.
4702
+ * @return {boolean}
4703
+ */
4704
+ proto.payment.PaymentSearchRequest.prototype.hasCreatedAtTo = function() {
4705
+ return jspb.Message.getField(this, 23) != null;
4706
+ };
4707
+
4708
+
4709
+ /**
4710
+ * optional string completed_at_from = 24;
4711
+ * @return {string}
4712
+ */
4713
+ proto.payment.PaymentSearchRequest.prototype.getCompletedAtFrom = function() {
4714
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
4715
+ };
4716
+
4717
+
4718
+ /**
4719
+ * @param {string} value
4720
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4721
+ */
4722
+ proto.payment.PaymentSearchRequest.prototype.setCompletedAtFrom = function(value) {
4723
+ return jspb.Message.setField(this, 24, value);
4724
+ };
4725
+
4726
+
4727
+ /**
4728
+ * Clears the field making it undefined.
4729
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4730
+ */
4731
+ proto.payment.PaymentSearchRequest.prototype.clearCompletedAtFrom = function() {
4732
+ return jspb.Message.setField(this, 24, undefined);
4733
+ };
4734
+
4735
+
4736
+ /**
4737
+ * Returns whether this field is set.
4738
+ * @return {boolean}
4739
+ */
4740
+ proto.payment.PaymentSearchRequest.prototype.hasCompletedAtFrom = function() {
4741
+ return jspb.Message.getField(this, 24) != null;
4742
+ };
4743
+
4744
+
4745
+ /**
4746
+ * optional string completed_at_to = 25;
4747
+ * @return {string}
4748
+ */
4749
+ proto.payment.PaymentSearchRequest.prototype.getCompletedAtTo = function() {
4750
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
4751
+ };
4752
+
4753
+
4754
+ /**
4755
+ * @param {string} value
4756
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4757
+ */
4758
+ proto.payment.PaymentSearchRequest.prototype.setCompletedAtTo = function(value) {
4759
+ return jspb.Message.setField(this, 25, value);
4760
+ };
4761
+
4762
+
4763
+ /**
4764
+ * Clears the field making it undefined.
4765
+ * @return {!proto.payment.PaymentSearchRequest} returns this
4766
+ */
4767
+ proto.payment.PaymentSearchRequest.prototype.clearCompletedAtTo = function() {
4768
+ return jspb.Message.setField(this, 25, undefined);
4769
+ };
4770
+
4771
+
4772
+ /**
4773
+ * Returns whether this field is set.
4774
+ * @return {boolean}
4775
+ */
4776
+ proto.payment.PaymentSearchRequest.prototype.hasCompletedAtTo = function() {
4777
+ return jspb.Message.getField(this, 25) != null;
4778
+ };
4779
+
4780
+
4519
4781
 
4520
4782
  /**
4521
4783
  * List of repeated fields within this message type.
@@ -19523,7 +19785,8 @@ proto.payment.DepositItem.toObject = function(includeInstance, msg) {
19523
19785
  externalRef: jspb.Message.getFieldWithDefault(msg, 18, ""),
19524
19786
  isFtd: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
19525
19787
  completed: jspb.Message.getFieldWithDefault(msg, 20, ""),
19526
- paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 21, "")
19788
+ paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 21, ""),
19789
+ externalTransactionId: jspb.Message.getFieldWithDefault(msg, 22, "")
19527
19790
  };
19528
19791
 
19529
19792
  if (includeInstance) {
@@ -19644,6 +19907,10 @@ proto.payment.DepositItem.deserializeBinaryFromReader = function(msg, reader) {
19644
19907
  var value = /** @type {string} */ (reader.readString());
19645
19908
  msg.setPaymentMethodImage(value);
19646
19909
  break;
19910
+ case 22:
19911
+ var value = /** @type {string} */ (reader.readString());
19912
+ msg.setExternalTransactionId(value);
19913
+ break;
19647
19914
  default:
19648
19915
  reader.skipField();
19649
19916
  break;
@@ -19820,6 +20087,13 @@ proto.payment.DepositItem.serializeBinaryToWriter = function(message, writer) {
19820
20087
  f
19821
20088
  );
19822
20089
  }
20090
+ f = /** @type {string} */ (jspb.Message.getField(message, 22));
20091
+ if (f != null) {
20092
+ writer.writeString(
20093
+ 22,
20094
+ f
20095
+ );
20096
+ }
19823
20097
  };
19824
20098
 
19825
20099
 
@@ -20453,6 +20727,42 @@ proto.payment.DepositItem.prototype.hasPaymentMethodImage = function() {
20453
20727
  };
20454
20728
 
20455
20729
 
20730
+ /**
20731
+ * optional string external_transaction_id = 22;
20732
+ * @return {string}
20733
+ */
20734
+ proto.payment.DepositItem.prototype.getExternalTransactionId = function() {
20735
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
20736
+ };
20737
+
20738
+
20739
+ /**
20740
+ * @param {string} value
20741
+ * @return {!proto.payment.DepositItem} returns this
20742
+ */
20743
+ proto.payment.DepositItem.prototype.setExternalTransactionId = function(value) {
20744
+ return jspb.Message.setField(this, 22, value);
20745
+ };
20746
+
20747
+
20748
+ /**
20749
+ * Clears the field making it undefined.
20750
+ * @return {!proto.payment.DepositItem} returns this
20751
+ */
20752
+ proto.payment.DepositItem.prototype.clearExternalTransactionId = function() {
20753
+ return jspb.Message.setField(this, 22, undefined);
20754
+ };
20755
+
20756
+
20757
+ /**
20758
+ * Returns whether this field is set.
20759
+ * @return {boolean}
20760
+ */
20761
+ proto.payment.DepositItem.prototype.hasExternalTransactionId = function() {
20762
+ return jspb.Message.getField(this, 22) != null;
20763
+ };
20764
+
20765
+
20456
20766
 
20457
20767
  /**
20458
20768
  * List of repeated fields within this message type.
@@ -24688,7 +24998,8 @@ proto.payment.WithdrawalItem.toObject = function(includeInstance, msg) {
24688
24998
  paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 17, ""),
24689
24999
  paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 18, ""),
24690
25000
  paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
24691
- paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, "")
25001
+ paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, ""),
25002
+ completedAt: jspb.Message.getFieldWithDefault(msg, 21, "")
24692
25003
  };
24693
25004
 
24694
25005
  if (includeInstance) {
@@ -24805,6 +25116,10 @@ proto.payment.WithdrawalItem.deserializeBinaryFromReader = function(msg, reader)
24805
25116
  var value = /** @type {string} */ (reader.readString());
24806
25117
  msg.setPaymentMethodImageCdn(value);
24807
25118
  break;
25119
+ case 21:
25120
+ var value = /** @type {string} */ (reader.readString());
25121
+ msg.setCompletedAt(value);
25122
+ break;
24808
25123
  default:
24809
25124
  reader.skipField();
24810
25125
  break;
@@ -24974,6 +25289,13 @@ proto.payment.WithdrawalItem.serializeBinaryToWriter = function(message, writer)
24974
25289
  f
24975
25290
  );
24976
25291
  }
25292
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
25293
+ if (f != null) {
25294
+ writer.writeString(
25295
+ 21,
25296
+ f
25297
+ );
25298
+ }
24977
25299
  };
24978
25300
 
24979
25301
 
@@ -25589,6 +25911,42 @@ proto.payment.WithdrawalItem.prototype.hasPaymentMethodImageCdn = function() {
25589
25911
  };
25590
25912
 
25591
25913
 
25914
+ /**
25915
+ * optional string completed_at = 21;
25916
+ * @return {string}
25917
+ */
25918
+ proto.payment.WithdrawalItem.prototype.getCompletedAt = function() {
25919
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
25920
+ };
25921
+
25922
+
25923
+ /**
25924
+ * @param {string} value
25925
+ * @return {!proto.payment.WithdrawalItem} returns this
25926
+ */
25927
+ proto.payment.WithdrawalItem.prototype.setCompletedAt = function(value) {
25928
+ return jspb.Message.setField(this, 21, value);
25929
+ };
25930
+
25931
+
25932
+ /**
25933
+ * Clears the field making it undefined.
25934
+ * @return {!proto.payment.WithdrawalItem} returns this
25935
+ */
25936
+ proto.payment.WithdrawalItem.prototype.clearCompletedAt = function() {
25937
+ return jspb.Message.setField(this, 21, undefined);
25938
+ };
25939
+
25940
+
25941
+ /**
25942
+ * Returns whether this field is set.
25943
+ * @return {boolean}
25944
+ */
25945
+ proto.payment.WithdrawalItem.prototype.hasCompletedAt = function() {
25946
+ return jspb.Message.getField(this, 21) != null;
25947
+ };
25948
+
25949
+
25592
25950
 
25593
25951
  /**
25594
25952
  * List of repeated fields within this message type.
@@ -40505,6 +40863,466 @@ proto.payment.ManualDepositRequest.prototype.hasExternalTransactionId = function
40505
40863
 
40506
40864
 
40507
40865
 
40866
+ if (jspb.Message.GENERATE_TO_OBJECT) {
40867
+ /**
40868
+ * Creates an object representation of this proto.
40869
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
40870
+ * Optional fields that are not set will be set to undefined.
40871
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
40872
+ * For the list of reserved names please see:
40873
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
40874
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
40875
+ * JSPB instance for transitional soy proto support:
40876
+ * http://goto/soy-param-migration
40877
+ * @return {!Object}
40878
+ */
40879
+ proto.payment.DepositReconciliationRequest.prototype.toObject = function(opt_includeInstance) {
40880
+ return proto.payment.DepositReconciliationRequest.toObject(opt_includeInstance, this);
40881
+ };
40882
+
40883
+
40884
+ /**
40885
+ * Static version of the {@see toObject} method.
40886
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40887
+ * the JSPB instance for transitional soy proto support:
40888
+ * http://goto/soy-param-migration
40889
+ * @param {!proto.payment.DepositReconciliationRequest} msg The msg instance to transform.
40890
+ * @return {!Object}
40891
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40892
+ */
40893
+ proto.payment.DepositReconciliationRequest.toObject = function(includeInstance, msg) {
40894
+ var f, obj = {
40895
+ depositId: jspb.Message.getFieldWithDefault(msg, 1, 0),
40896
+ amountPaid: jspb.Message.getFieldWithDefault(msg, 2, ""),
40897
+ externalPaymentId: jspb.Message.getFieldWithDefault(msg, 3, ""),
40898
+ externalTransactionId: jspb.Message.getFieldWithDefault(msg, 4, ""),
40899
+ providerCompletedAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
40900
+ reason: jspb.Message.getFieldWithDefault(msg, 6, ""),
40901
+ internalComment: jspb.Message.getFieldWithDefault(msg, 7, ""),
40902
+ transactionCode: jspb.Message.getFieldWithDefault(msg, 8, ""),
40903
+ idempotencyId: jspb.Message.getFieldWithDefault(msg, 9, "")
40904
+ };
40905
+
40906
+ if (includeInstance) {
40907
+ obj.$jspbMessageInstance = msg;
40908
+ }
40909
+ return obj;
40910
+ };
40911
+ }
40912
+
40913
+
40914
+ /**
40915
+ * Deserializes binary data (in protobuf wire format).
40916
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
40917
+ * @return {!proto.payment.DepositReconciliationRequest}
40918
+ */
40919
+ proto.payment.DepositReconciliationRequest.deserializeBinary = function(bytes) {
40920
+ var reader = new jspb.BinaryReader(bytes);
40921
+ var msg = new proto.payment.DepositReconciliationRequest;
40922
+ return proto.payment.DepositReconciliationRequest.deserializeBinaryFromReader(msg, reader);
40923
+ };
40924
+
40925
+
40926
+ /**
40927
+ * Deserializes binary data (in protobuf wire format) from the
40928
+ * given reader into the given message object.
40929
+ * @param {!proto.payment.DepositReconciliationRequest} msg The message object to deserialize into.
40930
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40931
+ * @return {!proto.payment.DepositReconciliationRequest}
40932
+ */
40933
+ proto.payment.DepositReconciliationRequest.deserializeBinaryFromReader = function(msg, reader) {
40934
+ while (reader.nextField()) {
40935
+ if (reader.isEndGroup()) {
40936
+ break;
40937
+ }
40938
+ var field = reader.getFieldNumber();
40939
+ switch (field) {
40940
+ case 1:
40941
+ var value = /** @type {number} */ (reader.readInt32());
40942
+ msg.setDepositId(value);
40943
+ break;
40944
+ case 2:
40945
+ var value = /** @type {string} */ (reader.readString());
40946
+ msg.setAmountPaid(value);
40947
+ break;
40948
+ case 3:
40949
+ var value = /** @type {string} */ (reader.readString());
40950
+ msg.setExternalPaymentId(value);
40951
+ break;
40952
+ case 4:
40953
+ var value = /** @type {string} */ (reader.readString());
40954
+ msg.setExternalTransactionId(value);
40955
+ break;
40956
+ case 5:
40957
+ var value = /** @type {string} */ (reader.readString());
40958
+ msg.setProviderCompletedAt(value);
40959
+ break;
40960
+ case 6:
40961
+ var value = /** @type {string} */ (reader.readString());
40962
+ msg.setReason(value);
40963
+ break;
40964
+ case 7:
40965
+ var value = /** @type {string} */ (reader.readString());
40966
+ msg.setInternalComment(value);
40967
+ break;
40968
+ case 8:
40969
+ var value = /** @type {string} */ (reader.readString());
40970
+ msg.setTransactionCode(value);
40971
+ break;
40972
+ case 9:
40973
+ var value = /** @type {string} */ (reader.readString());
40974
+ msg.setIdempotencyId(value);
40975
+ break;
40976
+ default:
40977
+ reader.skipField();
40978
+ break;
40979
+ }
40980
+ }
40981
+ return msg;
40982
+ };
40983
+
40984
+
40985
+ /**
40986
+ * Serializes the message to binary data (in protobuf wire format).
40987
+ * @return {!Uint8Array}
40988
+ */
40989
+ proto.payment.DepositReconciliationRequest.prototype.serializeBinary = function() {
40990
+ var writer = new jspb.BinaryWriter();
40991
+ proto.payment.DepositReconciliationRequest.serializeBinaryToWriter(this, writer);
40992
+ return writer.getResultBuffer();
40993
+ };
40994
+
40995
+
40996
+ /**
40997
+ * Serializes the given message to binary data (in protobuf wire
40998
+ * format), writing to the given BinaryWriter.
40999
+ * @param {!proto.payment.DepositReconciliationRequest} message
41000
+ * @param {!jspb.BinaryWriter} writer
41001
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41002
+ */
41003
+ proto.payment.DepositReconciliationRequest.serializeBinaryToWriter = function(message, writer) {
41004
+ var f = undefined;
41005
+ f = message.getDepositId();
41006
+ if (f !== 0) {
41007
+ writer.writeInt32(
41008
+ 1,
41009
+ f
41010
+ );
41011
+ }
41012
+ f = message.getAmountPaid();
41013
+ if (f.length > 0) {
41014
+ writer.writeString(
41015
+ 2,
41016
+ f
41017
+ );
41018
+ }
41019
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
41020
+ if (f != null) {
41021
+ writer.writeString(
41022
+ 3,
41023
+ f
41024
+ );
41025
+ }
41026
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
41027
+ if (f != null) {
41028
+ writer.writeString(
41029
+ 4,
41030
+ f
41031
+ );
41032
+ }
41033
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
41034
+ if (f != null) {
41035
+ writer.writeString(
41036
+ 5,
41037
+ f
41038
+ );
41039
+ }
41040
+ f = message.getReason();
41041
+ if (f.length > 0) {
41042
+ writer.writeString(
41043
+ 6,
41044
+ f
41045
+ );
41046
+ }
41047
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
41048
+ if (f != null) {
41049
+ writer.writeString(
41050
+ 7,
41051
+ f
41052
+ );
41053
+ }
41054
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
41055
+ if (f != null) {
41056
+ writer.writeString(
41057
+ 8,
41058
+ f
41059
+ );
41060
+ }
41061
+ f = message.getIdempotencyId();
41062
+ if (f.length > 0) {
41063
+ writer.writeString(
41064
+ 9,
41065
+ f
41066
+ );
41067
+ }
41068
+ };
41069
+
41070
+
41071
+ /**
41072
+ * optional int32 deposit_id = 1;
41073
+ * @return {number}
41074
+ */
41075
+ proto.payment.DepositReconciliationRequest.prototype.getDepositId = function() {
41076
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
41077
+ };
41078
+
41079
+
41080
+ /**
41081
+ * @param {number} value
41082
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41083
+ */
41084
+ proto.payment.DepositReconciliationRequest.prototype.setDepositId = function(value) {
41085
+ return jspb.Message.setProto3IntField(this, 1, value);
41086
+ };
41087
+
41088
+
41089
+ /**
41090
+ * optional string amount_paid = 2;
41091
+ * @return {string}
41092
+ */
41093
+ proto.payment.DepositReconciliationRequest.prototype.getAmountPaid = function() {
41094
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
41095
+ };
41096
+
41097
+
41098
+ /**
41099
+ * @param {string} value
41100
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41101
+ */
41102
+ proto.payment.DepositReconciliationRequest.prototype.setAmountPaid = function(value) {
41103
+ return jspb.Message.setProto3StringField(this, 2, value);
41104
+ };
41105
+
41106
+
41107
+ /**
41108
+ * optional string external_payment_id = 3;
41109
+ * @return {string}
41110
+ */
41111
+ proto.payment.DepositReconciliationRequest.prototype.getExternalPaymentId = function() {
41112
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
41113
+ };
41114
+
41115
+
41116
+ /**
41117
+ * @param {string} value
41118
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41119
+ */
41120
+ proto.payment.DepositReconciliationRequest.prototype.setExternalPaymentId = function(value) {
41121
+ return jspb.Message.setField(this, 3, value);
41122
+ };
41123
+
41124
+
41125
+ /**
41126
+ * Clears the field making it undefined.
41127
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41128
+ */
41129
+ proto.payment.DepositReconciliationRequest.prototype.clearExternalPaymentId = function() {
41130
+ return jspb.Message.setField(this, 3, undefined);
41131
+ };
41132
+
41133
+
41134
+ /**
41135
+ * Returns whether this field is set.
41136
+ * @return {boolean}
41137
+ */
41138
+ proto.payment.DepositReconciliationRequest.prototype.hasExternalPaymentId = function() {
41139
+ return jspb.Message.getField(this, 3) != null;
41140
+ };
41141
+
41142
+
41143
+ /**
41144
+ * optional string external_transaction_id = 4;
41145
+ * @return {string}
41146
+ */
41147
+ proto.payment.DepositReconciliationRequest.prototype.getExternalTransactionId = function() {
41148
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
41149
+ };
41150
+
41151
+
41152
+ /**
41153
+ * @param {string} value
41154
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41155
+ */
41156
+ proto.payment.DepositReconciliationRequest.prototype.setExternalTransactionId = function(value) {
41157
+ return jspb.Message.setField(this, 4, value);
41158
+ };
41159
+
41160
+
41161
+ /**
41162
+ * Clears the field making it undefined.
41163
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41164
+ */
41165
+ proto.payment.DepositReconciliationRequest.prototype.clearExternalTransactionId = function() {
41166
+ return jspb.Message.setField(this, 4, undefined);
41167
+ };
41168
+
41169
+
41170
+ /**
41171
+ * Returns whether this field is set.
41172
+ * @return {boolean}
41173
+ */
41174
+ proto.payment.DepositReconciliationRequest.prototype.hasExternalTransactionId = function() {
41175
+ return jspb.Message.getField(this, 4) != null;
41176
+ };
41177
+
41178
+
41179
+ /**
41180
+ * optional string provider_completed_at = 5;
41181
+ * @return {string}
41182
+ */
41183
+ proto.payment.DepositReconciliationRequest.prototype.getProviderCompletedAt = function() {
41184
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
41185
+ };
41186
+
41187
+
41188
+ /**
41189
+ * @param {string} value
41190
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41191
+ */
41192
+ proto.payment.DepositReconciliationRequest.prototype.setProviderCompletedAt = function(value) {
41193
+ return jspb.Message.setField(this, 5, value);
41194
+ };
41195
+
41196
+
41197
+ /**
41198
+ * Clears the field making it undefined.
41199
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41200
+ */
41201
+ proto.payment.DepositReconciliationRequest.prototype.clearProviderCompletedAt = function() {
41202
+ return jspb.Message.setField(this, 5, undefined);
41203
+ };
41204
+
41205
+
41206
+ /**
41207
+ * Returns whether this field is set.
41208
+ * @return {boolean}
41209
+ */
41210
+ proto.payment.DepositReconciliationRequest.prototype.hasProviderCompletedAt = function() {
41211
+ return jspb.Message.getField(this, 5) != null;
41212
+ };
41213
+
41214
+
41215
+ /**
41216
+ * optional string reason = 6;
41217
+ * @return {string}
41218
+ */
41219
+ proto.payment.DepositReconciliationRequest.prototype.getReason = function() {
41220
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
41221
+ };
41222
+
41223
+
41224
+ /**
41225
+ * @param {string} value
41226
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41227
+ */
41228
+ proto.payment.DepositReconciliationRequest.prototype.setReason = function(value) {
41229
+ return jspb.Message.setProto3StringField(this, 6, value);
41230
+ };
41231
+
41232
+
41233
+ /**
41234
+ * optional string internal_comment = 7;
41235
+ * @return {string}
41236
+ */
41237
+ proto.payment.DepositReconciliationRequest.prototype.getInternalComment = function() {
41238
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
41239
+ };
41240
+
41241
+
41242
+ /**
41243
+ * @param {string} value
41244
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41245
+ */
41246
+ proto.payment.DepositReconciliationRequest.prototype.setInternalComment = function(value) {
41247
+ return jspb.Message.setField(this, 7, value);
41248
+ };
41249
+
41250
+
41251
+ /**
41252
+ * Clears the field making it undefined.
41253
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41254
+ */
41255
+ proto.payment.DepositReconciliationRequest.prototype.clearInternalComment = function() {
41256
+ return jspb.Message.setField(this, 7, undefined);
41257
+ };
41258
+
41259
+
41260
+ /**
41261
+ * Returns whether this field is set.
41262
+ * @return {boolean}
41263
+ */
41264
+ proto.payment.DepositReconciliationRequest.prototype.hasInternalComment = function() {
41265
+ return jspb.Message.getField(this, 7) != null;
41266
+ };
41267
+
41268
+
41269
+ /**
41270
+ * optional string transaction_code = 8;
41271
+ * @return {string}
41272
+ */
41273
+ proto.payment.DepositReconciliationRequest.prototype.getTransactionCode = function() {
41274
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
41275
+ };
41276
+
41277
+
41278
+ /**
41279
+ * @param {string} value
41280
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41281
+ */
41282
+ proto.payment.DepositReconciliationRequest.prototype.setTransactionCode = function(value) {
41283
+ return jspb.Message.setField(this, 8, value);
41284
+ };
41285
+
41286
+
41287
+ /**
41288
+ * Clears the field making it undefined.
41289
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41290
+ */
41291
+ proto.payment.DepositReconciliationRequest.prototype.clearTransactionCode = function() {
41292
+ return jspb.Message.setField(this, 8, undefined);
41293
+ };
41294
+
41295
+
41296
+ /**
41297
+ * Returns whether this field is set.
41298
+ * @return {boolean}
41299
+ */
41300
+ proto.payment.DepositReconciliationRequest.prototype.hasTransactionCode = function() {
41301
+ return jspb.Message.getField(this, 8) != null;
41302
+ };
41303
+
41304
+
41305
+ /**
41306
+ * optional string idempotency_id = 9;
41307
+ * @return {string}
41308
+ */
41309
+ proto.payment.DepositReconciliationRequest.prototype.getIdempotencyId = function() {
41310
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
41311
+ };
41312
+
41313
+
41314
+ /**
41315
+ * @param {string} value
41316
+ * @return {!proto.payment.DepositReconciliationRequest} returns this
41317
+ */
41318
+ proto.payment.DepositReconciliationRequest.prototype.setIdempotencyId = function(value) {
41319
+ return jspb.Message.setProto3StringField(this, 9, value);
41320
+ };
41321
+
41322
+
41323
+
41324
+
41325
+
40508
41326
  if (jspb.Message.GENERATE_TO_OBJECT) {
40509
41327
  /**
40510
41328
  * Creates an object representation of this proto.