@sniipwebmaster/payment-methods-client-grpcweb 25.3.6470 → 25.3.6489
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 +61 -1
- package/package.json +1 -1
|
@@ -4700,7 +4700,9 @@ proto.sniippaymentmethodsserviceapi.ApplePay.toObject = function(includeInstance
|
|
|
4700
4700
|
transactionidentifier: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4701
4701
|
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4702
4702
|
merchantid: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4703
|
-
gateway: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
4703
|
+
gateway: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4704
|
+
isbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
4705
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
4704
4706
|
};
|
|
4705
4707
|
|
|
4706
4708
|
if (includeInstance) {
|
|
@@ -4765,6 +4767,14 @@ proto.sniippaymentmethodsserviceapi.ApplePay.deserializeBinaryFromReader = funct
|
|
|
4765
4767
|
var value = /** @type {string} */ (reader.readString());
|
|
4766
4768
|
msg.setGateway(value);
|
|
4767
4769
|
break;
|
|
4770
|
+
case 8:
|
|
4771
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4772
|
+
msg.setIsbusiness(value);
|
|
4773
|
+
break;
|
|
4774
|
+
case 9:
|
|
4775
|
+
var value = /** @type {!proto.sniippaymentmethodsserviceapi.PaymentProcessor} */ (reader.readEnum());
|
|
4776
|
+
msg.setPaymentprocessor(value);
|
|
4777
|
+
break;
|
|
4768
4778
|
default:
|
|
4769
4779
|
reader.skipField();
|
|
4770
4780
|
break;
|
|
@@ -4843,6 +4853,20 @@ proto.sniippaymentmethodsserviceapi.ApplePay.serializeBinaryToWriter = function(
|
|
|
4843
4853
|
f
|
|
4844
4854
|
);
|
|
4845
4855
|
}
|
|
4856
|
+
f = message.getIsbusiness();
|
|
4857
|
+
if (f) {
|
|
4858
|
+
writer.writeBool(
|
|
4859
|
+
8,
|
|
4860
|
+
f
|
|
4861
|
+
);
|
|
4862
|
+
}
|
|
4863
|
+
f = message.getPaymentprocessor();
|
|
4864
|
+
if (f !== 0.0) {
|
|
4865
|
+
writer.writeEnum(
|
|
4866
|
+
9,
|
|
4867
|
+
f
|
|
4868
|
+
);
|
|
4869
|
+
}
|
|
4846
4870
|
};
|
|
4847
4871
|
|
|
4848
4872
|
|
|
@@ -4972,6 +4996,42 @@ proto.sniippaymentmethodsserviceapi.ApplePay.prototype.setGateway = function(val
|
|
|
4972
4996
|
};
|
|
4973
4997
|
|
|
4974
4998
|
|
|
4999
|
+
/**
|
|
5000
|
+
* optional bool isBusiness = 8;
|
|
5001
|
+
* @return {boolean}
|
|
5002
|
+
*/
|
|
5003
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.getIsbusiness = function() {
|
|
5004
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
5005
|
+
};
|
|
5006
|
+
|
|
5007
|
+
|
|
5008
|
+
/**
|
|
5009
|
+
* @param {boolean} value
|
|
5010
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ApplePay} returns this
|
|
5011
|
+
*/
|
|
5012
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.setIsbusiness = function(value) {
|
|
5013
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
5014
|
+
};
|
|
5015
|
+
|
|
5016
|
+
|
|
5017
|
+
/**
|
|
5018
|
+
* optional PaymentProcessor paymentProcessor = 9;
|
|
5019
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentProcessor}
|
|
5020
|
+
*/
|
|
5021
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.getPaymentprocessor = function() {
|
|
5022
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.PaymentProcessor} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
5023
|
+
};
|
|
5024
|
+
|
|
5025
|
+
|
|
5026
|
+
/**
|
|
5027
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentProcessor} value
|
|
5028
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ApplePay} returns this
|
|
5029
|
+
*/
|
|
5030
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.setPaymentprocessor = function(value) {
|
|
5031
|
+
return jspb.Message.setProto3EnumField(this, 9, value);
|
|
5032
|
+
};
|
|
5033
|
+
|
|
5034
|
+
|
|
4975
5035
|
|
|
4976
5036
|
|
|
4977
5037
|
|