@sniipwebmaster/payment-methods-client-grpcweb-ts 26.9.8992 → 26.9.9010
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.
|
@@ -74,6 +74,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashRequest', null
|
|
|
74
74
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashesForUserRequest', null, global);
|
|
75
75
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest', null, global);
|
|
76
76
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest', null, global);
|
|
77
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest', null, global);
|
|
77
78
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodByPaymentMethodIdRequest', null, global);
|
|
78
79
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodByPaymentMethodIdResponse', null, global);
|
|
79
80
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest', null, global);
|
|
@@ -103,6 +104,9 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayToAgreementStatus', nu
|
|
|
103
104
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest', null, global);
|
|
104
105
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse', null, global);
|
|
105
106
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethod', null, global);
|
|
107
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability', null, global);
|
|
108
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest', null, global);
|
|
109
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse', null, global);
|
|
106
110
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodCategory', null, global);
|
|
107
111
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability', null, global);
|
|
108
112
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest', null, global);
|
|
@@ -726,6 +730,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
726
730
|
*/
|
|
727
731
|
proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse';
|
|
728
732
|
}
|
|
733
|
+
/**
|
|
734
|
+
* Generated by JsPbCodeGenerator.
|
|
735
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
736
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
737
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
738
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
739
|
+
* valid.
|
|
740
|
+
* @extends {jspb.Message}
|
|
741
|
+
* @constructor
|
|
742
|
+
*/
|
|
743
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest = function(opt_data) {
|
|
744
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.repeatedFields_, null);
|
|
745
|
+
};
|
|
746
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest, jspb.Message);
|
|
747
|
+
if (goog.DEBUG && !COMPILED) {
|
|
748
|
+
/**
|
|
749
|
+
* @public
|
|
750
|
+
* @override
|
|
751
|
+
*/
|
|
752
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest';
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* Generated by JsPbCodeGenerator.
|
|
756
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
757
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
758
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
759
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
760
|
+
* valid.
|
|
761
|
+
* @extends {jspb.Message}
|
|
762
|
+
* @constructor
|
|
763
|
+
*/
|
|
764
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest = function(opt_data) {
|
|
765
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
766
|
+
};
|
|
767
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest, jspb.Message);
|
|
768
|
+
if (goog.DEBUG && !COMPILED) {
|
|
769
|
+
/**
|
|
770
|
+
* @public
|
|
771
|
+
* @override
|
|
772
|
+
*/
|
|
773
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest';
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Generated by JsPbCodeGenerator.
|
|
777
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
778
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
779
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
780
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
781
|
+
* valid.
|
|
782
|
+
* @extends {jspb.Message}
|
|
783
|
+
* @constructor
|
|
784
|
+
*/
|
|
785
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability = function(opt_data) {
|
|
786
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
787
|
+
};
|
|
788
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability, jspb.Message);
|
|
789
|
+
if (goog.DEBUG && !COMPILED) {
|
|
790
|
+
/**
|
|
791
|
+
* @public
|
|
792
|
+
* @override
|
|
793
|
+
*/
|
|
794
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability';
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
* Generated by JsPbCodeGenerator.
|
|
798
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
799
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
800
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
801
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
802
|
+
* valid.
|
|
803
|
+
* @extends {jspb.Message}
|
|
804
|
+
* @constructor
|
|
805
|
+
*/
|
|
806
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse = function(opt_data) {
|
|
807
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.repeatedFields_, null);
|
|
808
|
+
};
|
|
809
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse, jspb.Message);
|
|
810
|
+
if (goog.DEBUG && !COMPILED) {
|
|
811
|
+
/**
|
|
812
|
+
* @public
|
|
813
|
+
* @override
|
|
814
|
+
*/
|
|
815
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse';
|
|
816
|
+
}
|
|
729
817
|
/**
|
|
730
818
|
* Generated by JsPbCodeGenerator.
|
|
731
819
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10328,6 +10416,989 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.pr
|
|
|
10328
10416
|
|
|
10329
10417
|
|
|
10330
10418
|
|
|
10419
|
+
/**
|
|
10420
|
+
* List of repeated fields within this message type.
|
|
10421
|
+
* @private {!Array<number>}
|
|
10422
|
+
* @const
|
|
10423
|
+
*/
|
|
10424
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.repeatedFields_ = [1,3];
|
|
10425
|
+
|
|
10426
|
+
|
|
10427
|
+
|
|
10428
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10429
|
+
/**
|
|
10430
|
+
* Creates an object representation of this proto.
|
|
10431
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10432
|
+
* Optional fields that are not set will be set to undefined.
|
|
10433
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10434
|
+
* For the list of reserved names please see:
|
|
10435
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10436
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10437
|
+
* JSPB instance for transitional soy proto support:
|
|
10438
|
+
* http://goto/soy-param-migration
|
|
10439
|
+
* @return {!Object}
|
|
10440
|
+
*/
|
|
10441
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10442
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.toObject(opt_includeInstance, this);
|
|
10443
|
+
};
|
|
10444
|
+
|
|
10445
|
+
|
|
10446
|
+
/**
|
|
10447
|
+
* Static version of the {@see toObject} method.
|
|
10448
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10449
|
+
* the JSPB instance for transitional soy proto support:
|
|
10450
|
+
* http://goto/soy-param-migration
|
|
10451
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} msg The msg instance to transform.
|
|
10452
|
+
* @return {!Object}
|
|
10453
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10454
|
+
*/
|
|
10455
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.toObject = function(includeInstance, msg) {
|
|
10456
|
+
var f, obj = {
|
|
10457
|
+
billidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
10458
|
+
userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
10459
|
+
paymentmethodidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
10460
|
+
isscheduled: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
10461
|
+
isbulk: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
10462
|
+
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f),
|
|
10463
|
+
googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f)
|
|
10464
|
+
};
|
|
10465
|
+
|
|
10466
|
+
if (includeInstance) {
|
|
10467
|
+
obj.$jspbMessageInstance = msg;
|
|
10468
|
+
}
|
|
10469
|
+
return obj;
|
|
10470
|
+
};
|
|
10471
|
+
}
|
|
10472
|
+
|
|
10473
|
+
|
|
10474
|
+
/**
|
|
10475
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10476
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10477
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest}
|
|
10478
|
+
*/
|
|
10479
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.deserializeBinary = function(bytes) {
|
|
10480
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10481
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest;
|
|
10482
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.deserializeBinaryFromReader(msg, reader);
|
|
10483
|
+
};
|
|
10484
|
+
|
|
10485
|
+
|
|
10486
|
+
/**
|
|
10487
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10488
|
+
* given reader into the given message object.
|
|
10489
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} msg The message object to deserialize into.
|
|
10490
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10491
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest}
|
|
10492
|
+
*/
|
|
10493
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10494
|
+
while (reader.nextField()) {
|
|
10495
|
+
if (reader.isEndGroup()) {
|
|
10496
|
+
break;
|
|
10497
|
+
}
|
|
10498
|
+
var field = reader.getFieldNumber();
|
|
10499
|
+
switch (field) {
|
|
10500
|
+
case 1:
|
|
10501
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
10502
|
+
for (var i = 0; i < values.length; i++) {
|
|
10503
|
+
msg.addBillids(values[i]);
|
|
10504
|
+
}
|
|
10505
|
+
break;
|
|
10506
|
+
case 2:
|
|
10507
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10508
|
+
msg.setUserid(value);
|
|
10509
|
+
break;
|
|
10510
|
+
case 3:
|
|
10511
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
10512
|
+
for (var i = 0; i < values.length; i++) {
|
|
10513
|
+
msg.addPaymentmethodids(values[i]);
|
|
10514
|
+
}
|
|
10515
|
+
break;
|
|
10516
|
+
case 4:
|
|
10517
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10518
|
+
msg.setIsscheduled(value);
|
|
10519
|
+
break;
|
|
10520
|
+
case 5:
|
|
10521
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10522
|
+
msg.setIsbulk(value);
|
|
10523
|
+
break;
|
|
10524
|
+
case 6:
|
|
10525
|
+
var value = new proto.sniippaymentmethodsserviceapi.ApplePayDetail;
|
|
10526
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader);
|
|
10527
|
+
msg.setApplepaydetail(value);
|
|
10528
|
+
break;
|
|
10529
|
+
case 7:
|
|
10530
|
+
var value = new proto.sniippaymentmethodsserviceapi.GooglePayDetail;
|
|
10531
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader);
|
|
10532
|
+
msg.setGooglepaydetail(value);
|
|
10533
|
+
break;
|
|
10534
|
+
default:
|
|
10535
|
+
reader.skipField();
|
|
10536
|
+
break;
|
|
10537
|
+
}
|
|
10538
|
+
}
|
|
10539
|
+
return msg;
|
|
10540
|
+
};
|
|
10541
|
+
|
|
10542
|
+
|
|
10543
|
+
/**
|
|
10544
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10545
|
+
* @return {!Uint8Array}
|
|
10546
|
+
*/
|
|
10547
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.serializeBinary = function() {
|
|
10548
|
+
var writer = new jspb.BinaryWriter();
|
|
10549
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.serializeBinaryToWriter(this, writer);
|
|
10550
|
+
return writer.getResultBuffer();
|
|
10551
|
+
};
|
|
10552
|
+
|
|
10553
|
+
|
|
10554
|
+
/**
|
|
10555
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10556
|
+
* format), writing to the given BinaryWriter.
|
|
10557
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} message
|
|
10558
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10559
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10560
|
+
*/
|
|
10561
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10562
|
+
var f = undefined;
|
|
10563
|
+
f = message.getBillidsList();
|
|
10564
|
+
if (f.length > 0) {
|
|
10565
|
+
writer.writePackedInt64(
|
|
10566
|
+
1,
|
|
10567
|
+
f
|
|
10568
|
+
);
|
|
10569
|
+
}
|
|
10570
|
+
f = message.getUserid();
|
|
10571
|
+
if (f !== 0) {
|
|
10572
|
+
writer.writeInt64(
|
|
10573
|
+
2,
|
|
10574
|
+
f
|
|
10575
|
+
);
|
|
10576
|
+
}
|
|
10577
|
+
f = message.getPaymentmethodidsList();
|
|
10578
|
+
if (f.length > 0) {
|
|
10579
|
+
writer.writePackedInt64(
|
|
10580
|
+
3,
|
|
10581
|
+
f
|
|
10582
|
+
);
|
|
10583
|
+
}
|
|
10584
|
+
f = message.getIsscheduled();
|
|
10585
|
+
if (f) {
|
|
10586
|
+
writer.writeBool(
|
|
10587
|
+
4,
|
|
10588
|
+
f
|
|
10589
|
+
);
|
|
10590
|
+
}
|
|
10591
|
+
f = message.getIsbulk();
|
|
10592
|
+
if (f) {
|
|
10593
|
+
writer.writeBool(
|
|
10594
|
+
5,
|
|
10595
|
+
f
|
|
10596
|
+
);
|
|
10597
|
+
}
|
|
10598
|
+
f = message.getApplepaydetail();
|
|
10599
|
+
if (f != null) {
|
|
10600
|
+
writer.writeMessage(
|
|
10601
|
+
6,
|
|
10602
|
+
f,
|
|
10603
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.serializeBinaryToWriter
|
|
10604
|
+
);
|
|
10605
|
+
}
|
|
10606
|
+
f = message.getGooglepaydetail();
|
|
10607
|
+
if (f != null) {
|
|
10608
|
+
writer.writeMessage(
|
|
10609
|
+
7,
|
|
10610
|
+
f,
|
|
10611
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.serializeBinaryToWriter
|
|
10612
|
+
);
|
|
10613
|
+
}
|
|
10614
|
+
};
|
|
10615
|
+
|
|
10616
|
+
|
|
10617
|
+
/**
|
|
10618
|
+
* repeated int64 billIds = 1;
|
|
10619
|
+
* @return {!Array<number>}
|
|
10620
|
+
*/
|
|
10621
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.getBillidsList = function() {
|
|
10622
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
10623
|
+
};
|
|
10624
|
+
|
|
10625
|
+
|
|
10626
|
+
/**
|
|
10627
|
+
* @param {!Array<number>} value
|
|
10628
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10629
|
+
*/
|
|
10630
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.setBillidsList = function(value) {
|
|
10631
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
10632
|
+
};
|
|
10633
|
+
|
|
10634
|
+
|
|
10635
|
+
/**
|
|
10636
|
+
* @param {number} value
|
|
10637
|
+
* @param {number=} opt_index
|
|
10638
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10639
|
+
*/
|
|
10640
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.addBillids = function(value, opt_index) {
|
|
10641
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
10642
|
+
};
|
|
10643
|
+
|
|
10644
|
+
|
|
10645
|
+
/**
|
|
10646
|
+
* Clears the list making it empty but non-null.
|
|
10647
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10648
|
+
*/
|
|
10649
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.clearBillidsList = function() {
|
|
10650
|
+
return this.setBillidsList([]);
|
|
10651
|
+
};
|
|
10652
|
+
|
|
10653
|
+
|
|
10654
|
+
/**
|
|
10655
|
+
* optional int64 userId = 2;
|
|
10656
|
+
* @return {number}
|
|
10657
|
+
*/
|
|
10658
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.getUserid = function() {
|
|
10659
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
10660
|
+
};
|
|
10661
|
+
|
|
10662
|
+
|
|
10663
|
+
/**
|
|
10664
|
+
* @param {number} value
|
|
10665
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10666
|
+
*/
|
|
10667
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.setUserid = function(value) {
|
|
10668
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
10669
|
+
};
|
|
10670
|
+
|
|
10671
|
+
|
|
10672
|
+
/**
|
|
10673
|
+
* repeated int64 paymentMethodIds = 3;
|
|
10674
|
+
* @return {!Array<number>}
|
|
10675
|
+
*/
|
|
10676
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.getPaymentmethodidsList = function() {
|
|
10677
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
10678
|
+
};
|
|
10679
|
+
|
|
10680
|
+
|
|
10681
|
+
/**
|
|
10682
|
+
* @param {!Array<number>} value
|
|
10683
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10684
|
+
*/
|
|
10685
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.setPaymentmethodidsList = function(value) {
|
|
10686
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
10687
|
+
};
|
|
10688
|
+
|
|
10689
|
+
|
|
10690
|
+
/**
|
|
10691
|
+
* @param {number} value
|
|
10692
|
+
* @param {number=} opt_index
|
|
10693
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10694
|
+
*/
|
|
10695
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.addPaymentmethodids = function(value, opt_index) {
|
|
10696
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
10697
|
+
};
|
|
10698
|
+
|
|
10699
|
+
|
|
10700
|
+
/**
|
|
10701
|
+
* Clears the list making it empty but non-null.
|
|
10702
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10703
|
+
*/
|
|
10704
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.clearPaymentmethodidsList = function() {
|
|
10705
|
+
return this.setPaymentmethodidsList([]);
|
|
10706
|
+
};
|
|
10707
|
+
|
|
10708
|
+
|
|
10709
|
+
/**
|
|
10710
|
+
* optional bool isScheduled = 4;
|
|
10711
|
+
* @return {boolean}
|
|
10712
|
+
*/
|
|
10713
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.getIsscheduled = function() {
|
|
10714
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
10715
|
+
};
|
|
10716
|
+
|
|
10717
|
+
|
|
10718
|
+
/**
|
|
10719
|
+
* @param {boolean} value
|
|
10720
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10721
|
+
*/
|
|
10722
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.setIsscheduled = function(value) {
|
|
10723
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
10724
|
+
};
|
|
10725
|
+
|
|
10726
|
+
|
|
10727
|
+
/**
|
|
10728
|
+
* optional bool isBulk = 5;
|
|
10729
|
+
* @return {boolean}
|
|
10730
|
+
*/
|
|
10731
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.getIsbulk = function() {
|
|
10732
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
10733
|
+
};
|
|
10734
|
+
|
|
10735
|
+
|
|
10736
|
+
/**
|
|
10737
|
+
* @param {boolean} value
|
|
10738
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10739
|
+
*/
|
|
10740
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.setIsbulk = function(value) {
|
|
10741
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
10742
|
+
};
|
|
10743
|
+
|
|
10744
|
+
|
|
10745
|
+
/**
|
|
10746
|
+
* optional ApplePayDetail applePayDetail = 6;
|
|
10747
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ApplePayDetail}
|
|
10748
|
+
*/
|
|
10749
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.getApplepaydetail = function() {
|
|
10750
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ApplePayDetail} */ (
|
|
10751
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ApplePayDetail, 6));
|
|
10752
|
+
};
|
|
10753
|
+
|
|
10754
|
+
|
|
10755
|
+
/**
|
|
10756
|
+
* @param {?proto.sniippaymentmethodsserviceapi.ApplePayDetail|undefined} value
|
|
10757
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10758
|
+
*/
|
|
10759
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.setApplepaydetail = function(value) {
|
|
10760
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
10761
|
+
};
|
|
10762
|
+
|
|
10763
|
+
|
|
10764
|
+
/**
|
|
10765
|
+
* Clears the message field making it undefined.
|
|
10766
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10767
|
+
*/
|
|
10768
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.clearApplepaydetail = function() {
|
|
10769
|
+
return this.setApplepaydetail(undefined);
|
|
10770
|
+
};
|
|
10771
|
+
|
|
10772
|
+
|
|
10773
|
+
/**
|
|
10774
|
+
* Returns whether this field is set.
|
|
10775
|
+
* @return {boolean}
|
|
10776
|
+
*/
|
|
10777
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.hasApplepaydetail = function() {
|
|
10778
|
+
return jspb.Message.getField(this, 6) != null;
|
|
10779
|
+
};
|
|
10780
|
+
|
|
10781
|
+
|
|
10782
|
+
/**
|
|
10783
|
+
* optional GooglePayDetail googlePayDetail = 7;
|
|
10784
|
+
* @return {?proto.sniippaymentmethodsserviceapi.GooglePayDetail}
|
|
10785
|
+
*/
|
|
10786
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.getGooglepaydetail = function() {
|
|
10787
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.GooglePayDetail} */ (
|
|
10788
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.GooglePayDetail, 7));
|
|
10789
|
+
};
|
|
10790
|
+
|
|
10791
|
+
|
|
10792
|
+
/**
|
|
10793
|
+
* @param {?proto.sniippaymentmethodsserviceapi.GooglePayDetail|undefined} value
|
|
10794
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10795
|
+
*/
|
|
10796
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.setGooglepaydetail = function(value) {
|
|
10797
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
10798
|
+
};
|
|
10799
|
+
|
|
10800
|
+
|
|
10801
|
+
/**
|
|
10802
|
+
* Clears the message field making it undefined.
|
|
10803
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} returns this
|
|
10804
|
+
*/
|
|
10805
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.clearGooglepaydetail = function() {
|
|
10806
|
+
return this.setGooglepaydetail(undefined);
|
|
10807
|
+
};
|
|
10808
|
+
|
|
10809
|
+
|
|
10810
|
+
/**
|
|
10811
|
+
* Returns whether this field is set.
|
|
10812
|
+
* @return {boolean}
|
|
10813
|
+
*/
|
|
10814
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.prototype.hasGooglepaydetail = function() {
|
|
10815
|
+
return jspb.Message.getField(this, 7) != null;
|
|
10816
|
+
};
|
|
10817
|
+
|
|
10818
|
+
|
|
10819
|
+
|
|
10820
|
+
|
|
10821
|
+
|
|
10822
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10823
|
+
/**
|
|
10824
|
+
* Creates an object representation of this proto.
|
|
10825
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10826
|
+
* Optional fields that are not set will be set to undefined.
|
|
10827
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10828
|
+
* For the list of reserved names please see:
|
|
10829
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10830
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10831
|
+
* JSPB instance for transitional soy proto support:
|
|
10832
|
+
* http://goto/soy-param-migration
|
|
10833
|
+
* @return {!Object}
|
|
10834
|
+
*/
|
|
10835
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10836
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.toObject(opt_includeInstance, this);
|
|
10837
|
+
};
|
|
10838
|
+
|
|
10839
|
+
|
|
10840
|
+
/**
|
|
10841
|
+
* Static version of the {@see toObject} method.
|
|
10842
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10843
|
+
* the JSPB instance for transitional soy proto support:
|
|
10844
|
+
* http://goto/soy-param-migration
|
|
10845
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest} msg The msg instance to transform.
|
|
10846
|
+
* @return {!Object}
|
|
10847
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10848
|
+
*/
|
|
10849
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.toObject = function(includeInstance, msg) {
|
|
10850
|
+
var f, obj = {
|
|
10851
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.toObject(includeInstance, f)
|
|
10852
|
+
};
|
|
10853
|
+
|
|
10854
|
+
if (includeInstance) {
|
|
10855
|
+
obj.$jspbMessageInstance = msg;
|
|
10856
|
+
}
|
|
10857
|
+
return obj;
|
|
10858
|
+
};
|
|
10859
|
+
}
|
|
10860
|
+
|
|
10861
|
+
|
|
10862
|
+
/**
|
|
10863
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10864
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10865
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest}
|
|
10866
|
+
*/
|
|
10867
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.deserializeBinary = function(bytes) {
|
|
10868
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10869
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest;
|
|
10870
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.deserializeBinaryFromReader(msg, reader);
|
|
10871
|
+
};
|
|
10872
|
+
|
|
10873
|
+
|
|
10874
|
+
/**
|
|
10875
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10876
|
+
* given reader into the given message object.
|
|
10877
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest} msg The message object to deserialize into.
|
|
10878
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10879
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest}
|
|
10880
|
+
*/
|
|
10881
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10882
|
+
while (reader.nextField()) {
|
|
10883
|
+
if (reader.isEndGroup()) {
|
|
10884
|
+
break;
|
|
10885
|
+
}
|
|
10886
|
+
var field = reader.getFieldNumber();
|
|
10887
|
+
switch (field) {
|
|
10888
|
+
case 1:
|
|
10889
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest;
|
|
10890
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.deserializeBinaryFromReader);
|
|
10891
|
+
msg.setData(value);
|
|
10892
|
+
break;
|
|
10893
|
+
default:
|
|
10894
|
+
reader.skipField();
|
|
10895
|
+
break;
|
|
10896
|
+
}
|
|
10897
|
+
}
|
|
10898
|
+
return msg;
|
|
10899
|
+
};
|
|
10900
|
+
|
|
10901
|
+
|
|
10902
|
+
/**
|
|
10903
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10904
|
+
* @return {!Uint8Array}
|
|
10905
|
+
*/
|
|
10906
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.prototype.serializeBinary = function() {
|
|
10907
|
+
var writer = new jspb.BinaryWriter();
|
|
10908
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.serializeBinaryToWriter(this, writer);
|
|
10909
|
+
return writer.getResultBuffer();
|
|
10910
|
+
};
|
|
10911
|
+
|
|
10912
|
+
|
|
10913
|
+
/**
|
|
10914
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10915
|
+
* format), writing to the given BinaryWriter.
|
|
10916
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest} message
|
|
10917
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10918
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10919
|
+
*/
|
|
10920
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10921
|
+
var f = undefined;
|
|
10922
|
+
f = message.getData();
|
|
10923
|
+
if (f != null) {
|
|
10924
|
+
writer.writeMessage(
|
|
10925
|
+
1,
|
|
10926
|
+
f,
|
|
10927
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest.serializeBinaryToWriter
|
|
10928
|
+
);
|
|
10929
|
+
}
|
|
10930
|
+
};
|
|
10931
|
+
|
|
10932
|
+
|
|
10933
|
+
/**
|
|
10934
|
+
* optional PaymentMethodAvailabilityRequest data = 1;
|
|
10935
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest}
|
|
10936
|
+
*/
|
|
10937
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.prototype.getData = function() {
|
|
10938
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest} */ (
|
|
10939
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest, 1));
|
|
10940
|
+
};
|
|
10941
|
+
|
|
10942
|
+
|
|
10943
|
+
/**
|
|
10944
|
+
* @param {?proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityRequest|undefined} value
|
|
10945
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest} returns this
|
|
10946
|
+
*/
|
|
10947
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.prototype.setData = function(value) {
|
|
10948
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
10949
|
+
};
|
|
10950
|
+
|
|
10951
|
+
|
|
10952
|
+
/**
|
|
10953
|
+
* Clears the message field making it undefined.
|
|
10954
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest} returns this
|
|
10955
|
+
*/
|
|
10956
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.prototype.clearData = function() {
|
|
10957
|
+
return this.setData(undefined);
|
|
10958
|
+
};
|
|
10959
|
+
|
|
10960
|
+
|
|
10961
|
+
/**
|
|
10962
|
+
* Returns whether this field is set.
|
|
10963
|
+
* @return {boolean}
|
|
10964
|
+
*/
|
|
10965
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodAvailabilityRequest.prototype.hasData = function() {
|
|
10966
|
+
return jspb.Message.getField(this, 1) != null;
|
|
10967
|
+
};
|
|
10968
|
+
|
|
10969
|
+
|
|
10970
|
+
|
|
10971
|
+
|
|
10972
|
+
|
|
10973
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10974
|
+
/**
|
|
10975
|
+
* Creates an object representation of this proto.
|
|
10976
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10977
|
+
* Optional fields that are not set will be set to undefined.
|
|
10978
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10979
|
+
* For the list of reserved names please see:
|
|
10980
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10981
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10982
|
+
* JSPB instance for transitional soy proto support:
|
|
10983
|
+
* http://goto/soy-param-migration
|
|
10984
|
+
* @return {!Object}
|
|
10985
|
+
*/
|
|
10986
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.toObject = function(opt_includeInstance) {
|
|
10987
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.toObject(opt_includeInstance, this);
|
|
10988
|
+
};
|
|
10989
|
+
|
|
10990
|
+
|
|
10991
|
+
/**
|
|
10992
|
+
* Static version of the {@see toObject} method.
|
|
10993
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10994
|
+
* the JSPB instance for transitional soy proto support:
|
|
10995
|
+
* http://goto/soy-param-migration
|
|
10996
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability} msg The msg instance to transform.
|
|
10997
|
+
* @return {!Object}
|
|
10998
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10999
|
+
*/
|
|
11000
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.toObject = function(includeInstance, msg) {
|
|
11001
|
+
var f, obj = {
|
|
11002
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11003
|
+
paymenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11004
|
+
selectable: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
11005
|
+
rejectionreason: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
11006
|
+
};
|
|
11007
|
+
|
|
11008
|
+
if (includeInstance) {
|
|
11009
|
+
obj.$jspbMessageInstance = msg;
|
|
11010
|
+
}
|
|
11011
|
+
return obj;
|
|
11012
|
+
};
|
|
11013
|
+
}
|
|
11014
|
+
|
|
11015
|
+
|
|
11016
|
+
/**
|
|
11017
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11018
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11019
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability}
|
|
11020
|
+
*/
|
|
11021
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.deserializeBinary = function(bytes) {
|
|
11022
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11023
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability;
|
|
11024
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.deserializeBinaryFromReader(msg, reader);
|
|
11025
|
+
};
|
|
11026
|
+
|
|
11027
|
+
|
|
11028
|
+
/**
|
|
11029
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11030
|
+
* given reader into the given message object.
|
|
11031
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability} msg The message object to deserialize into.
|
|
11032
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11033
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability}
|
|
11034
|
+
*/
|
|
11035
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.deserializeBinaryFromReader = function(msg, reader) {
|
|
11036
|
+
while (reader.nextField()) {
|
|
11037
|
+
if (reader.isEndGroup()) {
|
|
11038
|
+
break;
|
|
11039
|
+
}
|
|
11040
|
+
var field = reader.getFieldNumber();
|
|
11041
|
+
switch (field) {
|
|
11042
|
+
case 1:
|
|
11043
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11044
|
+
msg.setPaymentmethodid(value);
|
|
11045
|
+
break;
|
|
11046
|
+
case 2:
|
|
11047
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11048
|
+
msg.setPaymenttype(value);
|
|
11049
|
+
break;
|
|
11050
|
+
case 3:
|
|
11051
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
11052
|
+
msg.setSelectable(value);
|
|
11053
|
+
break;
|
|
11054
|
+
case 4:
|
|
11055
|
+
var value = /** @type {!proto.sniippaymentmethodsserviceapi.BillConfigForPayment.RejectionReason} */ (reader.readEnum());
|
|
11056
|
+
msg.setRejectionreason(value);
|
|
11057
|
+
break;
|
|
11058
|
+
default:
|
|
11059
|
+
reader.skipField();
|
|
11060
|
+
break;
|
|
11061
|
+
}
|
|
11062
|
+
}
|
|
11063
|
+
return msg;
|
|
11064
|
+
};
|
|
11065
|
+
|
|
11066
|
+
|
|
11067
|
+
/**
|
|
11068
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11069
|
+
* @return {!Uint8Array}
|
|
11070
|
+
*/
|
|
11071
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.serializeBinary = function() {
|
|
11072
|
+
var writer = new jspb.BinaryWriter();
|
|
11073
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.serializeBinaryToWriter(this, writer);
|
|
11074
|
+
return writer.getResultBuffer();
|
|
11075
|
+
};
|
|
11076
|
+
|
|
11077
|
+
|
|
11078
|
+
/**
|
|
11079
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11080
|
+
* format), writing to the given BinaryWriter.
|
|
11081
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability} message
|
|
11082
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11083
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11084
|
+
*/
|
|
11085
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.serializeBinaryToWriter = function(message, writer) {
|
|
11086
|
+
var f = undefined;
|
|
11087
|
+
f = message.getPaymentmethodid();
|
|
11088
|
+
if (f !== 0) {
|
|
11089
|
+
writer.writeInt64(
|
|
11090
|
+
1,
|
|
11091
|
+
f
|
|
11092
|
+
);
|
|
11093
|
+
}
|
|
11094
|
+
f = message.getPaymenttype();
|
|
11095
|
+
if (f.length > 0) {
|
|
11096
|
+
writer.writeString(
|
|
11097
|
+
2,
|
|
11098
|
+
f
|
|
11099
|
+
);
|
|
11100
|
+
}
|
|
11101
|
+
f = message.getSelectable();
|
|
11102
|
+
if (f) {
|
|
11103
|
+
writer.writeBool(
|
|
11104
|
+
3,
|
|
11105
|
+
f
|
|
11106
|
+
);
|
|
11107
|
+
}
|
|
11108
|
+
f = message.getRejectionreason();
|
|
11109
|
+
if (f !== 0.0) {
|
|
11110
|
+
writer.writeEnum(
|
|
11111
|
+
4,
|
|
11112
|
+
f
|
|
11113
|
+
);
|
|
11114
|
+
}
|
|
11115
|
+
};
|
|
11116
|
+
|
|
11117
|
+
|
|
11118
|
+
/**
|
|
11119
|
+
* optional int64 paymentMethodId = 1;
|
|
11120
|
+
* @return {number}
|
|
11121
|
+
*/
|
|
11122
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.getPaymentmethodid = function() {
|
|
11123
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11124
|
+
};
|
|
11125
|
+
|
|
11126
|
+
|
|
11127
|
+
/**
|
|
11128
|
+
* @param {number} value
|
|
11129
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability} returns this
|
|
11130
|
+
*/
|
|
11131
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.setPaymentmethodid = function(value) {
|
|
11132
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
11133
|
+
};
|
|
11134
|
+
|
|
11135
|
+
|
|
11136
|
+
/**
|
|
11137
|
+
* optional string paymentType = 2;
|
|
11138
|
+
* @return {string}
|
|
11139
|
+
*/
|
|
11140
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.getPaymenttype = function() {
|
|
11141
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11142
|
+
};
|
|
11143
|
+
|
|
11144
|
+
|
|
11145
|
+
/**
|
|
11146
|
+
* @param {string} value
|
|
11147
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability} returns this
|
|
11148
|
+
*/
|
|
11149
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.setPaymenttype = function(value) {
|
|
11150
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11151
|
+
};
|
|
11152
|
+
|
|
11153
|
+
|
|
11154
|
+
/**
|
|
11155
|
+
* optional bool selectable = 3;
|
|
11156
|
+
* @return {boolean}
|
|
11157
|
+
*/
|
|
11158
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.getSelectable = function() {
|
|
11159
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
11160
|
+
};
|
|
11161
|
+
|
|
11162
|
+
|
|
11163
|
+
/**
|
|
11164
|
+
* @param {boolean} value
|
|
11165
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability} returns this
|
|
11166
|
+
*/
|
|
11167
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.setSelectable = function(value) {
|
|
11168
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
11169
|
+
};
|
|
11170
|
+
|
|
11171
|
+
|
|
11172
|
+
/**
|
|
11173
|
+
* optional BillConfigForPayment.RejectionReason rejectionReason = 4;
|
|
11174
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BillConfigForPayment.RejectionReason}
|
|
11175
|
+
*/
|
|
11176
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.getRejectionreason = function() {
|
|
11177
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.BillConfigForPayment.RejectionReason} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
11178
|
+
};
|
|
11179
|
+
|
|
11180
|
+
|
|
11181
|
+
/**
|
|
11182
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BillConfigForPayment.RejectionReason} value
|
|
11183
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability} returns this
|
|
11184
|
+
*/
|
|
11185
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.prototype.setRejectionreason = function(value) {
|
|
11186
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
11187
|
+
};
|
|
11188
|
+
|
|
11189
|
+
|
|
11190
|
+
|
|
11191
|
+
/**
|
|
11192
|
+
* List of repeated fields within this message type.
|
|
11193
|
+
* @private {!Array<number>}
|
|
11194
|
+
* @const
|
|
11195
|
+
*/
|
|
11196
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.repeatedFields_ = [2];
|
|
11197
|
+
|
|
11198
|
+
|
|
11199
|
+
|
|
11200
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11201
|
+
/**
|
|
11202
|
+
* Creates an object representation of this proto.
|
|
11203
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11204
|
+
* Optional fields that are not set will be set to undefined.
|
|
11205
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11206
|
+
* For the list of reserved names please see:
|
|
11207
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11208
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11209
|
+
* JSPB instance for transitional soy proto support:
|
|
11210
|
+
* http://goto/soy-param-migration
|
|
11211
|
+
* @return {!Object}
|
|
11212
|
+
*/
|
|
11213
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.toObject = function(opt_includeInstance) {
|
|
11214
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.toObject(opt_includeInstance, this);
|
|
11215
|
+
};
|
|
11216
|
+
|
|
11217
|
+
|
|
11218
|
+
/**
|
|
11219
|
+
* Static version of the {@see toObject} method.
|
|
11220
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11221
|
+
* the JSPB instance for transitional soy proto support:
|
|
11222
|
+
* http://goto/soy-param-migration
|
|
11223
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse} msg The msg instance to transform.
|
|
11224
|
+
* @return {!Object}
|
|
11225
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11226
|
+
*/
|
|
11227
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.toObject = function(includeInstance, msg) {
|
|
11228
|
+
var f, obj = {
|
|
11229
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
11230
|
+
paymentmethodsList: jspb.Message.toObjectList(msg.getPaymentmethodsList(),
|
|
11231
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.toObject, includeInstance)
|
|
11232
|
+
};
|
|
11233
|
+
|
|
11234
|
+
if (includeInstance) {
|
|
11235
|
+
obj.$jspbMessageInstance = msg;
|
|
11236
|
+
}
|
|
11237
|
+
return obj;
|
|
11238
|
+
};
|
|
11239
|
+
}
|
|
11240
|
+
|
|
11241
|
+
|
|
11242
|
+
/**
|
|
11243
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11244
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11245
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse}
|
|
11246
|
+
*/
|
|
11247
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.deserializeBinary = function(bytes) {
|
|
11248
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11249
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse;
|
|
11250
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.deserializeBinaryFromReader(msg, reader);
|
|
11251
|
+
};
|
|
11252
|
+
|
|
11253
|
+
|
|
11254
|
+
/**
|
|
11255
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11256
|
+
* given reader into the given message object.
|
|
11257
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse} msg The message object to deserialize into.
|
|
11258
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11259
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse}
|
|
11260
|
+
*/
|
|
11261
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
11262
|
+
while (reader.nextField()) {
|
|
11263
|
+
if (reader.isEndGroup()) {
|
|
11264
|
+
break;
|
|
11265
|
+
}
|
|
11266
|
+
var field = reader.getFieldNumber();
|
|
11267
|
+
switch (field) {
|
|
11268
|
+
case 1:
|
|
11269
|
+
var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
11270
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
11271
|
+
msg.setResponsecode(value);
|
|
11272
|
+
break;
|
|
11273
|
+
case 2:
|
|
11274
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability;
|
|
11275
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.deserializeBinaryFromReader);
|
|
11276
|
+
msg.addPaymentmethods(value);
|
|
11277
|
+
break;
|
|
11278
|
+
default:
|
|
11279
|
+
reader.skipField();
|
|
11280
|
+
break;
|
|
11281
|
+
}
|
|
11282
|
+
}
|
|
11283
|
+
return msg;
|
|
11284
|
+
};
|
|
11285
|
+
|
|
11286
|
+
|
|
11287
|
+
/**
|
|
11288
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11289
|
+
* @return {!Uint8Array}
|
|
11290
|
+
*/
|
|
11291
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.serializeBinary = function() {
|
|
11292
|
+
var writer = new jspb.BinaryWriter();
|
|
11293
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.serializeBinaryToWriter(this, writer);
|
|
11294
|
+
return writer.getResultBuffer();
|
|
11295
|
+
};
|
|
11296
|
+
|
|
11297
|
+
|
|
11298
|
+
/**
|
|
11299
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11300
|
+
* format), writing to the given BinaryWriter.
|
|
11301
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse} message
|
|
11302
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11303
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11304
|
+
*/
|
|
11305
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.serializeBinaryToWriter = function(message, writer) {
|
|
11306
|
+
var f = undefined;
|
|
11307
|
+
f = message.getResponsecode();
|
|
11308
|
+
if (f != null) {
|
|
11309
|
+
writer.writeMessage(
|
|
11310
|
+
1,
|
|
11311
|
+
f,
|
|
11312
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
11313
|
+
);
|
|
11314
|
+
}
|
|
11315
|
+
f = message.getPaymentmethodsList();
|
|
11316
|
+
if (f.length > 0) {
|
|
11317
|
+
writer.writeRepeatedMessage(
|
|
11318
|
+
2,
|
|
11319
|
+
f,
|
|
11320
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability.serializeBinaryToWriter
|
|
11321
|
+
);
|
|
11322
|
+
}
|
|
11323
|
+
};
|
|
11324
|
+
|
|
11325
|
+
|
|
11326
|
+
/**
|
|
11327
|
+
* optional ResponseCode responseCode = 1;
|
|
11328
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
11329
|
+
*/
|
|
11330
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.getResponsecode = function() {
|
|
11331
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
|
|
11332
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
|
|
11333
|
+
};
|
|
11334
|
+
|
|
11335
|
+
|
|
11336
|
+
/**
|
|
11337
|
+
* @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
|
|
11338
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse} returns this
|
|
11339
|
+
*/
|
|
11340
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.setResponsecode = function(value) {
|
|
11341
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
11342
|
+
};
|
|
11343
|
+
|
|
11344
|
+
|
|
11345
|
+
/**
|
|
11346
|
+
* Clears the message field making it undefined.
|
|
11347
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse} returns this
|
|
11348
|
+
*/
|
|
11349
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.clearResponsecode = function() {
|
|
11350
|
+
return this.setResponsecode(undefined);
|
|
11351
|
+
};
|
|
11352
|
+
|
|
11353
|
+
|
|
11354
|
+
/**
|
|
11355
|
+
* Returns whether this field is set.
|
|
11356
|
+
* @return {boolean}
|
|
11357
|
+
*/
|
|
11358
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.hasResponsecode = function() {
|
|
11359
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11360
|
+
};
|
|
11361
|
+
|
|
11362
|
+
|
|
11363
|
+
/**
|
|
11364
|
+
* repeated PaymentMethodAvailability paymentMethods = 2;
|
|
11365
|
+
* @return {!Array<!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability>}
|
|
11366
|
+
*/
|
|
11367
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.getPaymentmethodsList = function() {
|
|
11368
|
+
return /** @type{!Array<!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability>} */ (
|
|
11369
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability, 2));
|
|
11370
|
+
};
|
|
11371
|
+
|
|
11372
|
+
|
|
11373
|
+
/**
|
|
11374
|
+
* @param {!Array<!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability>} value
|
|
11375
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse} returns this
|
|
11376
|
+
*/
|
|
11377
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.setPaymentmethodsList = function(value) {
|
|
11378
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
11379
|
+
};
|
|
11380
|
+
|
|
11381
|
+
|
|
11382
|
+
/**
|
|
11383
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability=} opt_value
|
|
11384
|
+
* @param {number=} opt_index
|
|
11385
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability}
|
|
11386
|
+
*/
|
|
11387
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.addPaymentmethods = function(opt_value, opt_index) {
|
|
11388
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniippaymentmethodsserviceapi.PaymentMethodAvailability, opt_index);
|
|
11389
|
+
};
|
|
11390
|
+
|
|
11391
|
+
|
|
11392
|
+
/**
|
|
11393
|
+
* Clears the list making it empty but non-null.
|
|
11394
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse} returns this
|
|
11395
|
+
*/
|
|
11396
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodAvailabilityResponse.prototype.clearPaymentmethodsList = function() {
|
|
11397
|
+
return this.setPaymentmethodsList([]);
|
|
11398
|
+
};
|
|
11399
|
+
|
|
11400
|
+
|
|
11401
|
+
|
|
10331
11402
|
|
|
10332
11403
|
|
|
10333
11404
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -33260,7 +34331,12 @@ proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.toObject = fu
|
|
|
33260
34331
|
revokedbyuserid: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
33261
34332
|
revokedat: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
33262
34333
|
revokereason: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
33263
|
-
active: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
|
34334
|
+
active: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
34335
|
+
billername: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
34336
|
+
billerconfigcode: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
34337
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
34338
|
+
createdbyname: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
34339
|
+
revokedbyname: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
33264
34340
|
};
|
|
33265
34341
|
|
|
33266
34342
|
if (includeInstance) {
|
|
@@ -33353,6 +34429,26 @@ proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.deserializeBi
|
|
|
33353
34429
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
33354
34430
|
msg.setActive(value);
|
|
33355
34431
|
break;
|
|
34432
|
+
case 15:
|
|
34433
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34434
|
+
msg.setBillername(value);
|
|
34435
|
+
break;
|
|
34436
|
+
case 16:
|
|
34437
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34438
|
+
msg.setBillerconfigcode(value);
|
|
34439
|
+
break;
|
|
34440
|
+
case 17:
|
|
34441
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34442
|
+
msg.setPaymentprocessor(value);
|
|
34443
|
+
break;
|
|
34444
|
+
case 18:
|
|
34445
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34446
|
+
msg.setCreatedbyname(value);
|
|
34447
|
+
break;
|
|
34448
|
+
case 19:
|
|
34449
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34450
|
+
msg.setRevokedbyname(value);
|
|
34451
|
+
break;
|
|
33356
34452
|
default:
|
|
33357
34453
|
reader.skipField();
|
|
33358
34454
|
break;
|
|
@@ -33480,6 +34576,41 @@ proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.serializeBina
|
|
|
33480
34576
|
f
|
|
33481
34577
|
);
|
|
33482
34578
|
}
|
|
34579
|
+
f = message.getBillername();
|
|
34580
|
+
if (f.length > 0) {
|
|
34581
|
+
writer.writeString(
|
|
34582
|
+
15,
|
|
34583
|
+
f
|
|
34584
|
+
);
|
|
34585
|
+
}
|
|
34586
|
+
f = message.getBillerconfigcode();
|
|
34587
|
+
if (f.length > 0) {
|
|
34588
|
+
writer.writeString(
|
|
34589
|
+
16,
|
|
34590
|
+
f
|
|
34591
|
+
);
|
|
34592
|
+
}
|
|
34593
|
+
f = message.getPaymentprocessor();
|
|
34594
|
+
if (f.length > 0) {
|
|
34595
|
+
writer.writeString(
|
|
34596
|
+
17,
|
|
34597
|
+
f
|
|
34598
|
+
);
|
|
34599
|
+
}
|
|
34600
|
+
f = message.getCreatedbyname();
|
|
34601
|
+
if (f.length > 0) {
|
|
34602
|
+
writer.writeString(
|
|
34603
|
+
18,
|
|
34604
|
+
f
|
|
34605
|
+
);
|
|
34606
|
+
}
|
|
34607
|
+
f = message.getRevokedbyname();
|
|
34608
|
+
if (f.length > 0) {
|
|
34609
|
+
writer.writeString(
|
|
34610
|
+
19,
|
|
34611
|
+
f
|
|
34612
|
+
);
|
|
34613
|
+
}
|
|
33483
34614
|
};
|
|
33484
34615
|
|
|
33485
34616
|
|
|
@@ -33735,6 +34866,96 @@ proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.set
|
|
|
33735
34866
|
};
|
|
33736
34867
|
|
|
33737
34868
|
|
|
34869
|
+
/**
|
|
34870
|
+
* optional string billerName = 15;
|
|
34871
|
+
* @return {string}
|
|
34872
|
+
*/
|
|
34873
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.getBillername = function() {
|
|
34874
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
34875
|
+
};
|
|
34876
|
+
|
|
34877
|
+
|
|
34878
|
+
/**
|
|
34879
|
+
* @param {string} value
|
|
34880
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride} returns this
|
|
34881
|
+
*/
|
|
34882
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.setBillername = function(value) {
|
|
34883
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
34884
|
+
};
|
|
34885
|
+
|
|
34886
|
+
|
|
34887
|
+
/**
|
|
34888
|
+
* optional string billerConfigCode = 16;
|
|
34889
|
+
* @return {string}
|
|
34890
|
+
*/
|
|
34891
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.getBillerconfigcode = function() {
|
|
34892
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
34893
|
+
};
|
|
34894
|
+
|
|
34895
|
+
|
|
34896
|
+
/**
|
|
34897
|
+
* @param {string} value
|
|
34898
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride} returns this
|
|
34899
|
+
*/
|
|
34900
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.setBillerconfigcode = function(value) {
|
|
34901
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
34902
|
+
};
|
|
34903
|
+
|
|
34904
|
+
|
|
34905
|
+
/**
|
|
34906
|
+
* optional string paymentProcessor = 17;
|
|
34907
|
+
* @return {string}
|
|
34908
|
+
*/
|
|
34909
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.getPaymentprocessor = function() {
|
|
34910
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
34911
|
+
};
|
|
34912
|
+
|
|
34913
|
+
|
|
34914
|
+
/**
|
|
34915
|
+
* @param {string} value
|
|
34916
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride} returns this
|
|
34917
|
+
*/
|
|
34918
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.setPaymentprocessor = function(value) {
|
|
34919
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
34920
|
+
};
|
|
34921
|
+
|
|
34922
|
+
|
|
34923
|
+
/**
|
|
34924
|
+
* optional string createdByName = 18;
|
|
34925
|
+
* @return {string}
|
|
34926
|
+
*/
|
|
34927
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.getCreatedbyname = function() {
|
|
34928
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
34929
|
+
};
|
|
34930
|
+
|
|
34931
|
+
|
|
34932
|
+
/**
|
|
34933
|
+
* @param {string} value
|
|
34934
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride} returns this
|
|
34935
|
+
*/
|
|
34936
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.setCreatedbyname = function(value) {
|
|
34937
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
34938
|
+
};
|
|
34939
|
+
|
|
34940
|
+
|
|
34941
|
+
/**
|
|
34942
|
+
* optional string revokedByName = 19;
|
|
34943
|
+
* @return {string}
|
|
34944
|
+
*/
|
|
34945
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.getRevokedbyname = function() {
|
|
34946
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
34947
|
+
};
|
|
34948
|
+
|
|
34949
|
+
|
|
34950
|
+
/**
|
|
34951
|
+
* @param {string} value
|
|
34952
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride} returns this
|
|
34953
|
+
*/
|
|
34954
|
+
proto.sniippaymentmethodsserviceapi.UserPaymentMethodGroupOverride.prototype.setRevokedbyname = function(value) {
|
|
34955
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
34956
|
+
};
|
|
34957
|
+
|
|
34958
|
+
|
|
33738
34959
|
|
|
33739
34960
|
|
|
33740
34961
|
|