@sniipwebmaster/payment-methods-client-grpcweb 26.4.8339 → 26.4.8348
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_pb.js +30 -1
- package/package.json +1 -1
|
@@ -18662,7 +18662,7 @@ proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.prototype.toObject = fun
|
|
|
18662
18662
|
*/
|
|
18663
18663
|
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.toObject = function(includeInstance, msg) {
|
|
18664
18664
|
var f, obj = {
|
|
18665
|
-
|
|
18665
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
18666
18666
|
};
|
|
18667
18667
|
|
|
18668
18668
|
if (includeInstance) {
|
|
@@ -18699,6 +18699,10 @@ proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.deserializeBinaryFromRea
|
|
|
18699
18699
|
}
|
|
18700
18700
|
var field = reader.getFieldNumber();
|
|
18701
18701
|
switch (field) {
|
|
18702
|
+
case 1:
|
|
18703
|
+
var value = /** @type {!proto.sniippaymentmethodsserviceapi.PaymentProcessor} */ (reader.readEnum());
|
|
18704
|
+
msg.setPaymentprocessor(value);
|
|
18705
|
+
break;
|
|
18702
18706
|
default:
|
|
18703
18707
|
reader.skipField();
|
|
18704
18708
|
break;
|
|
@@ -18728,6 +18732,31 @@ proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.prototype.serializeBinar
|
|
|
18728
18732
|
*/
|
|
18729
18733
|
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18730
18734
|
var f = undefined;
|
|
18735
|
+
f = message.getPaymentprocessor();
|
|
18736
|
+
if (f !== 0.0) {
|
|
18737
|
+
writer.writeEnum(
|
|
18738
|
+
1,
|
|
18739
|
+
f
|
|
18740
|
+
);
|
|
18741
|
+
}
|
|
18742
|
+
};
|
|
18743
|
+
|
|
18744
|
+
|
|
18745
|
+
/**
|
|
18746
|
+
* optional PaymentProcessor paymentProcessor = 1;
|
|
18747
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentProcessor}
|
|
18748
|
+
*/
|
|
18749
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.prototype.getPaymentprocessor = function() {
|
|
18750
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.PaymentProcessor} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18751
|
+
};
|
|
18752
|
+
|
|
18753
|
+
|
|
18754
|
+
/**
|
|
18755
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentProcessor} value
|
|
18756
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayRequest} returns this
|
|
18757
|
+
*/
|
|
18758
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.prototype.setPaymentprocessor = function(value) {
|
|
18759
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
18731
18760
|
};
|
|
18732
18761
|
|
|
18733
18762
|
|