@sniipwebmaster/payment-methods-client-grpcweb-ts 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.
|
@@ -2147,6 +2147,9 @@ export namespace Click2PayDetail {
|
|
|
2147
2147
|
}
|
|
2148
2148
|
|
|
2149
2149
|
export class AddClick2PayRequest extends jspb.Message {
|
|
2150
|
+
getPaymentprocessor(): PaymentProcessor;
|
|
2151
|
+
setPaymentprocessor(value: PaymentProcessor): AddClick2PayRequest;
|
|
2152
|
+
|
|
2150
2153
|
serializeBinary(): Uint8Array;
|
|
2151
2154
|
toObject(includeInstance?: boolean): AddClick2PayRequest.AsObject;
|
|
2152
2155
|
static toObject(includeInstance: boolean, msg: AddClick2PayRequest): AddClick2PayRequest.AsObject;
|
|
@@ -2157,6 +2160,7 @@ export class AddClick2PayRequest extends jspb.Message {
|
|
|
2157
2160
|
|
|
2158
2161
|
export namespace AddClick2PayRequest {
|
|
2159
2162
|
export type AsObject = {
|
|
2163
|
+
paymentprocessor: PaymentProcessor,
|
|
2160
2164
|
}
|
|
2161
2165
|
}
|
|
2162
2166
|
|
|
@@ -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
|
|