@sniipwebmaster/payment-methods-client-grpcweb 25.5.6912 → 25.5.6924

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.
@@ -28,6 +28,9 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.Activation', null, global
28
28
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddPaymentMethod', null, global);
29
29
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest', null, global);
30
30
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest', null, global);
31
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod', null, global);
32
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail', null, global);
33
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType', null, global);
31
34
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ApplePay', null, global);
32
35
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ApplePayDetail', null, global);
33
36
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankAccount', null, global);
@@ -377,6 +380,27 @@ if (goog.DEBUG && !COMPILED) {
377
380
  */
378
381
  proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.displayName = 'proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest';
379
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.sniippaymentmethodsserviceapi.AlternativePaymentMethod = function(opt_data) {
394
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
395
+ };
396
+ goog.inherits(proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod, jspb.Message);
397
+ if (goog.DEBUG && !COMPILED) {
398
+ /**
399
+ * @public
400
+ * @override
401
+ */
402
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.displayName = 'proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod';
403
+ }
380
404
  /**
381
405
  * Generated by JsPbCodeGenerator.
382
406
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1280,6 +1304,27 @@ if (goog.DEBUG && !COMPILED) {
1280
1304
  */
1281
1305
  proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest';
1282
1306
  }
1307
+ /**
1308
+ * Generated by JsPbCodeGenerator.
1309
+ * @param {Array=} opt_data Optional initial data array, typically from a
1310
+ * server response, or constructed directly in Javascript. The array is used
1311
+ * in place and becomes part of the constructed object. It is not cloned.
1312
+ * If no data is provided, the constructed object will be empty, but still
1313
+ * valid.
1314
+ * @extends {jspb.Message}
1315
+ * @constructor
1316
+ */
1317
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail = function(opt_data) {
1318
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1319
+ };
1320
+ goog.inherits(proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail, jspb.Message);
1321
+ if (goog.DEBUG && !COMPILED) {
1322
+ /**
1323
+ * @public
1324
+ * @override
1325
+ */
1326
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.displayName = 'proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail';
1327
+ }
1283
1328
  /**
1284
1329
  * Generated by JsPbCodeGenerator.
1285
1330
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4072,7 +4117,8 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.toObject = function(include
4072
4117
  accesstoken: jspb.Message.getFieldWithDefault(msg, 4, ""),
4073
4118
  applepay: (f = msg.getApplepay()) && proto.sniippaymentmethodsserviceapi.ApplePay.toObject(includeInstance, f),
4074
4119
  googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f),
4075
- wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.WexCard.toObject(includeInstance, f)
4120
+ wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.WexCard.toObject(includeInstance, f),
4121
+ alternativepaymentmethod: (f = msg.getAlternativepaymentmethod()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.toObject(includeInstance, f)
4076
4122
  };
4077
4123
 
4078
4124
  if (includeInstance) {
@@ -4142,6 +4188,11 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.deserializeBinaryFromReader
4142
4188
  reader.readMessage(value,proto.sniippaymentmethodsserviceapi.WexCard.deserializeBinaryFromReader);
4143
4189
  msg.setWexcard(value);
4144
4190
  break;
4191
+ case 8:
4192
+ var value = new proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod;
4193
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.deserializeBinaryFromReader);
4194
+ msg.setAlternativepaymentmethod(value);
4195
+ break;
4145
4196
  default:
4146
4197
  reader.skipField();
4147
4198
  break;
@@ -4225,6 +4276,14 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.serializeBinaryToWriter = f
4225
4276
  proto.sniippaymentmethodsserviceapi.WexCard.serializeBinaryToWriter
4226
4277
  );
4227
4278
  }
4279
+ f = message.getAlternativepaymentmethod();
4280
+ if (f != null) {
4281
+ writer.writeMessage(
4282
+ 8,
4283
+ f,
4284
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.serializeBinaryToWriter
4285
+ );
4286
+ }
4228
4287
  };
4229
4288
 
4230
4289
 
@@ -4449,6 +4508,43 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasWexcard = func
4449
4508
  };
4450
4509
 
4451
4510
 
4511
+ /**
4512
+ * optional AlternativePaymentMethod AlternativePaymentMethod = 8;
4513
+ * @return {?proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod}
4514
+ */
4515
+ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.getAlternativepaymentmethod = function() {
4516
+ return /** @type{?proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod} */ (
4517
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod, 8));
4518
+ };
4519
+
4520
+
4521
+ /**
4522
+ * @param {?proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod|undefined} value
4523
+ * @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
4524
+ */
4525
+ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setAlternativepaymentmethod = function(value) {
4526
+ return jspb.Message.setWrapperField(this, 8, value);
4527
+ };
4528
+
4529
+
4530
+ /**
4531
+ * Clears the message field making it undefined.
4532
+ * @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
4533
+ */
4534
+ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.clearAlternativepaymentmethod = function() {
4535
+ return this.setAlternativepaymentmethod(undefined);
4536
+ };
4537
+
4538
+
4539
+ /**
4540
+ * Returns whether this field is set.
4541
+ * @return {boolean}
4542
+ */
4543
+ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasAlternativepaymentmethod = function() {
4544
+ return jspb.Message.getField(this, 8) != null;
4545
+ };
4546
+
4547
+
4452
4548
 
4453
4549
 
4454
4550
 
@@ -4754,6 +4850,136 @@ proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.hasData = fu
4754
4850
 
4755
4851
 
4756
4852
 
4853
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4854
+ /**
4855
+ * Creates an object representation of this proto.
4856
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4857
+ * Optional fields that are not set will be set to undefined.
4858
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4859
+ * For the list of reserved names please see:
4860
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4861
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4862
+ * JSPB instance for transitional soy proto support:
4863
+ * http://goto/soy-param-migration
4864
+ * @return {!Object}
4865
+ */
4866
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.prototype.toObject = function(opt_includeInstance) {
4867
+ return proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.toObject(opt_includeInstance, this);
4868
+ };
4869
+
4870
+
4871
+ /**
4872
+ * Static version of the {@see toObject} method.
4873
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4874
+ * the JSPB instance for transitional soy proto support:
4875
+ * http://goto/soy-param-migration
4876
+ * @param {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod} msg The msg instance to transform.
4877
+ * @return {!Object}
4878
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4879
+ */
4880
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.toObject = function(includeInstance, msg) {
4881
+ var f, obj = {
4882
+ alternativepaymentmethodtype: jspb.Message.getFieldWithDefault(msg, 1, 0)
4883
+ };
4884
+
4885
+ if (includeInstance) {
4886
+ obj.$jspbMessageInstance = msg;
4887
+ }
4888
+ return obj;
4889
+ };
4890
+ }
4891
+
4892
+
4893
+ /**
4894
+ * Deserializes binary data (in protobuf wire format).
4895
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4896
+ * @return {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod}
4897
+ */
4898
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.deserializeBinary = function(bytes) {
4899
+ var reader = new jspb.BinaryReader(bytes);
4900
+ var msg = new proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod;
4901
+ return proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.deserializeBinaryFromReader(msg, reader);
4902
+ };
4903
+
4904
+
4905
+ /**
4906
+ * Deserializes binary data (in protobuf wire format) from the
4907
+ * given reader into the given message object.
4908
+ * @param {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod} msg The message object to deserialize into.
4909
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4910
+ * @return {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod}
4911
+ */
4912
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.deserializeBinaryFromReader = function(msg, reader) {
4913
+ while (reader.nextField()) {
4914
+ if (reader.isEndGroup()) {
4915
+ break;
4916
+ }
4917
+ var field = reader.getFieldNumber();
4918
+ switch (field) {
4919
+ case 1:
4920
+ var value = /** @type {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType} */ (reader.readEnum());
4921
+ msg.setAlternativepaymentmethodtype(value);
4922
+ break;
4923
+ default:
4924
+ reader.skipField();
4925
+ break;
4926
+ }
4927
+ }
4928
+ return msg;
4929
+ };
4930
+
4931
+
4932
+ /**
4933
+ * Serializes the message to binary data (in protobuf wire format).
4934
+ * @return {!Uint8Array}
4935
+ */
4936
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.prototype.serializeBinary = function() {
4937
+ var writer = new jspb.BinaryWriter();
4938
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.serializeBinaryToWriter(this, writer);
4939
+ return writer.getResultBuffer();
4940
+ };
4941
+
4942
+
4943
+ /**
4944
+ * Serializes the given message to binary data (in protobuf wire
4945
+ * format), writing to the given BinaryWriter.
4946
+ * @param {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod} message
4947
+ * @param {!jspb.BinaryWriter} writer
4948
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4949
+ */
4950
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.serializeBinaryToWriter = function(message, writer) {
4951
+ var f = undefined;
4952
+ f = message.getAlternativepaymentmethodtype();
4953
+ if (f !== 0.0) {
4954
+ writer.writeEnum(
4955
+ 1,
4956
+ f
4957
+ );
4958
+ }
4959
+ };
4960
+
4961
+
4962
+ /**
4963
+ * optional AlternativePaymentMethodType alternativePaymentMethodType = 1;
4964
+ * @return {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType}
4965
+ */
4966
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.prototype.getAlternativepaymentmethodtype = function() {
4967
+ return /** @type {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4968
+ };
4969
+
4970
+
4971
+ /**
4972
+ * @param {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType} value
4973
+ * @return {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod} returns this
4974
+ */
4975
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.prototype.setAlternativepaymentmethodtype = function(value) {
4976
+ return jspb.Message.setProto3EnumField(this, 1, value);
4977
+ };
4978
+
4979
+
4980
+
4981
+
4982
+
4757
4983
  if (jspb.Message.GENERATE_TO_OBJECT) {
4758
4984
  /**
4759
4985
  * Creates an object representation of this proto.
@@ -15615,7 +15841,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.toObject = function(includeIns
15615
15841
  proto.sniippaymentmethodsserviceapi.Activation.toObject, includeInstance),
15616
15842
  applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f),
15617
15843
  googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f),
15618
- wexcarddetail: (f = msg.getWexcarddetail()) && proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject(includeInstance, f)
15844
+ wexcarddetail: (f = msg.getWexcarddetail()) && proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject(includeInstance, f),
15845
+ alternativepaymentmethoddetail: (f = msg.getAlternativepaymentmethoddetail()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.toObject(includeInstance, f)
15619
15846
  };
15620
15847
 
15621
15848
  if (includeInstance) {
@@ -15690,6 +15917,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.deserializeBinaryFromReader =
15690
15917
  reader.readMessage(value,proto.sniippaymentmethodsserviceapi.WexCardDetail.deserializeBinaryFromReader);
15691
15918
  msg.setWexcarddetail(value);
15692
15919
  break;
15920
+ case 11:
15921
+ var value = new proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail;
15922
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.deserializeBinaryFromReader);
15923
+ msg.setAlternativepaymentmethoddetail(value);
15924
+ break;
15693
15925
  default:
15694
15926
  reader.skipField();
15695
15927
  break;
@@ -15781,6 +16013,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.serializeBinaryToWriter = func
15781
16013
  proto.sniippaymentmethodsserviceapi.WexCardDetail.serializeBinaryToWriter
15782
16014
  );
15783
16015
  }
16016
+ f = message.getAlternativepaymentmethoddetail();
16017
+ if (f != null) {
16018
+ writer.writeMessage(
16019
+ 11,
16020
+ f,
16021
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.serializeBinaryToWriter
16022
+ );
16023
+ }
15784
16024
  };
15785
16025
 
15786
16026
 
@@ -16043,6 +16283,43 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasWexcarddetail = f
16043
16283
  };
16044
16284
 
16045
16285
 
16286
+ /**
16287
+ * optional AlternativePaymentMethodDetail AlternativePaymentMethodDetail = 11;
16288
+ * @return {?proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail}
16289
+ */
16290
+ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.getAlternativepaymentmethoddetail = function() {
16291
+ return /** @type{?proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail} */ (
16292
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail, 11));
16293
+ };
16294
+
16295
+
16296
+ /**
16297
+ * @param {?proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail|undefined} value
16298
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod} returns this
16299
+ */
16300
+ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.setAlternativepaymentmethoddetail = function(value) {
16301
+ return jspb.Message.setWrapperField(this, 11, value);
16302
+ };
16303
+
16304
+
16305
+ /**
16306
+ * Clears the message field making it undefined.
16307
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod} returns this
16308
+ */
16309
+ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.clearAlternativepaymentmethoddetail = function() {
16310
+ return this.setAlternativepaymentmethoddetail(undefined);
16311
+ };
16312
+
16313
+
16314
+ /**
16315
+ * Returns whether this field is set.
16316
+ * @return {boolean}
16317
+ */
16318
+ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasAlternativepaymentmethoddetail = function() {
16319
+ return jspb.Message.getField(this, 11) != null;
16320
+ };
16321
+
16322
+
16046
16323
 
16047
16324
 
16048
16325
 
@@ -16234,6 +16511,136 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.prototype.setIsco
16234
16511
 
16235
16512
 
16236
16513
 
16514
+
16515
+
16516
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16517
+ /**
16518
+ * Creates an object representation of this proto.
16519
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16520
+ * Optional fields that are not set will be set to undefined.
16521
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16522
+ * For the list of reserved names please see:
16523
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16524
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16525
+ * JSPB instance for transitional soy proto support:
16526
+ * http://goto/soy-param-migration
16527
+ * @return {!Object}
16528
+ */
16529
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.prototype.toObject = function(opt_includeInstance) {
16530
+ return proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.toObject(opt_includeInstance, this);
16531
+ };
16532
+
16533
+
16534
+ /**
16535
+ * Static version of the {@see toObject} method.
16536
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16537
+ * the JSPB instance for transitional soy proto support:
16538
+ * http://goto/soy-param-migration
16539
+ * @param {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail} msg The msg instance to transform.
16540
+ * @return {!Object}
16541
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16542
+ */
16543
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.toObject = function(includeInstance, msg) {
16544
+ var f, obj = {
16545
+ alternativepaymentmethodtype: jspb.Message.getFieldWithDefault(msg, 1, 0)
16546
+ };
16547
+
16548
+ if (includeInstance) {
16549
+ obj.$jspbMessageInstance = msg;
16550
+ }
16551
+ return obj;
16552
+ };
16553
+ }
16554
+
16555
+
16556
+ /**
16557
+ * Deserializes binary data (in protobuf wire format).
16558
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16559
+ * @return {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail}
16560
+ */
16561
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.deserializeBinary = function(bytes) {
16562
+ var reader = new jspb.BinaryReader(bytes);
16563
+ var msg = new proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail;
16564
+ return proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.deserializeBinaryFromReader(msg, reader);
16565
+ };
16566
+
16567
+
16568
+ /**
16569
+ * Deserializes binary data (in protobuf wire format) from the
16570
+ * given reader into the given message object.
16571
+ * @param {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail} msg The message object to deserialize into.
16572
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16573
+ * @return {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail}
16574
+ */
16575
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.deserializeBinaryFromReader = function(msg, reader) {
16576
+ while (reader.nextField()) {
16577
+ if (reader.isEndGroup()) {
16578
+ break;
16579
+ }
16580
+ var field = reader.getFieldNumber();
16581
+ switch (field) {
16582
+ case 1:
16583
+ var value = /** @type {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType} */ (reader.readEnum());
16584
+ msg.setAlternativepaymentmethodtype(value);
16585
+ break;
16586
+ default:
16587
+ reader.skipField();
16588
+ break;
16589
+ }
16590
+ }
16591
+ return msg;
16592
+ };
16593
+
16594
+
16595
+ /**
16596
+ * Serializes the message to binary data (in protobuf wire format).
16597
+ * @return {!Uint8Array}
16598
+ */
16599
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.prototype.serializeBinary = function() {
16600
+ var writer = new jspb.BinaryWriter();
16601
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.serializeBinaryToWriter(this, writer);
16602
+ return writer.getResultBuffer();
16603
+ };
16604
+
16605
+
16606
+ /**
16607
+ * Serializes the given message to binary data (in protobuf wire
16608
+ * format), writing to the given BinaryWriter.
16609
+ * @param {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail} message
16610
+ * @param {!jspb.BinaryWriter} writer
16611
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16612
+ */
16613
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.serializeBinaryToWriter = function(message, writer) {
16614
+ var f = undefined;
16615
+ f = message.getAlternativepaymentmethodtype();
16616
+ if (f !== 0.0) {
16617
+ writer.writeEnum(
16618
+ 1,
16619
+ f
16620
+ );
16621
+ }
16622
+ };
16623
+
16624
+
16625
+ /**
16626
+ * optional AlternativePaymentMethodType AlternativePaymentMethodType = 1;
16627
+ * @return {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType}
16628
+ */
16629
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.prototype.getAlternativepaymentmethodtype = function() {
16630
+ return /** @type {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16631
+ };
16632
+
16633
+
16634
+ /**
16635
+ * @param {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType} value
16636
+ * @return {!proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail} returns this
16637
+ */
16638
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.prototype.setAlternativepaymentmethodtype = function(value) {
16639
+ return jspb.Message.setProto3EnumField(this, 1, value);
16640
+ };
16641
+
16642
+
16643
+
16237
16644
  /**
16238
16645
  * List of repeated fields within this message type.
16239
16646
  * @private {!Array<number>}
@@ -26305,6 +26712,14 @@ proto.sniippaymentmethodsserviceapi.Gateway = {
26305
26712
  CYBERSOURCE: 3
26306
26713
  };
26307
26714
 
26715
+ /**
26716
+ * @enum {number}
26717
+ */
26718
+ proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType = {
26719
+ ALTERNATIVE_PAYMENT_METHOD_TYPE_ALIPAY: 0,
26720
+ ALTERNATIVE_PAYMENT_METHOD_TYPE_WE_CHAT_PAY: 1
26721
+ };
26722
+
26308
26723
  /**
26309
26724
  * @enum {number}
26310
26725
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "25.5.6912",
3
+ "version": "25.5.6924",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",