@sniipwebmaster/payment-methods-client-grpcweb 22.11.4532 → 22.12.4548
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 +92 -34
- package/package.json +1 -1
|
@@ -4639,7 +4639,9 @@ proto.sniippaymentmethodsserviceapi.CreditCard.toObject = function(includeInstan
|
|
|
4639
4639
|
iseftpos: msg.getIseftpos(),
|
|
4640
4640
|
isinternational: msg.getIsinternational(),
|
|
4641
4641
|
isprepaid: msg.getIsprepaid(),
|
|
4642
|
-
requires3ds: msg.getRequires3ds()
|
|
4642
|
+
requires3ds: msg.getRequires3ds(),
|
|
4643
|
+
iscorporate: msg.getIscorporate(),
|
|
4644
|
+
issmallbusiness: msg.getIssmallbusiness()
|
|
4643
4645
|
};
|
|
4644
4646
|
|
|
4645
4647
|
if (includeInstance) {
|
|
@@ -4753,6 +4755,14 @@ proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader = fun
|
|
|
4753
4755
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
4754
4756
|
msg.setRequires3ds(value);
|
|
4755
4757
|
break;
|
|
4758
|
+
case 20:
|
|
4759
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4760
|
+
msg.setIscorporate(value);
|
|
4761
|
+
break;
|
|
4762
|
+
case 21:
|
|
4763
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4764
|
+
msg.setIssmallbusiness(value);
|
|
4765
|
+
break;
|
|
4756
4766
|
default:
|
|
4757
4767
|
reader.skipField();
|
|
4758
4768
|
break;
|
|
@@ -4925,6 +4935,20 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.serializeBinaryToWriter
|
|
|
4925
4935
|
f
|
|
4926
4936
|
);
|
|
4927
4937
|
}
|
|
4938
|
+
f = this.getIscorporate();
|
|
4939
|
+
if (f) {
|
|
4940
|
+
writer.writeBool(
|
|
4941
|
+
20,
|
|
4942
|
+
f
|
|
4943
|
+
);
|
|
4944
|
+
}
|
|
4945
|
+
f = this.getIssmallbusiness();
|
|
4946
|
+
if (f) {
|
|
4947
|
+
writer.writeBool(
|
|
4948
|
+
21,
|
|
4949
|
+
f
|
|
4950
|
+
);
|
|
4951
|
+
}
|
|
4928
4952
|
};
|
|
4929
4953
|
|
|
4930
4954
|
|
|
@@ -5253,6 +5277,40 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setRequires3ds = functi
|
|
|
5253
5277
|
};
|
|
5254
5278
|
|
|
5255
5279
|
|
|
5280
|
+
/**
|
|
5281
|
+
* optional bool isCorporate = 20;
|
|
5282
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
5283
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
5284
|
+
* @return {boolean}
|
|
5285
|
+
*/
|
|
5286
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIscorporate = function() {
|
|
5287
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 20, false));
|
|
5288
|
+
};
|
|
5289
|
+
|
|
5290
|
+
|
|
5291
|
+
/** @param {boolean} value */
|
|
5292
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIscorporate = function(value) {
|
|
5293
|
+
jspb.Message.setField(this, 20, value);
|
|
5294
|
+
};
|
|
5295
|
+
|
|
5296
|
+
|
|
5297
|
+
/**
|
|
5298
|
+
* optional bool isSmallBusiness = 21;
|
|
5299
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
5300
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
5301
|
+
* @return {boolean}
|
|
5302
|
+
*/
|
|
5303
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIssmallbusiness = function() {
|
|
5304
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 21, false));
|
|
5305
|
+
};
|
|
5306
|
+
|
|
5307
|
+
|
|
5308
|
+
/** @param {boolean} value */
|
|
5309
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIssmallbusiness = function(value) {
|
|
5310
|
+
jspb.Message.setField(this, 21, value);
|
|
5311
|
+
};
|
|
5312
|
+
|
|
5313
|
+
|
|
5256
5314
|
|
|
5257
5315
|
/**
|
|
5258
5316
|
* Generated by JsPbCodeGenerator.
|
|
@@ -16086,8 +16144,8 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.to
|
|
|
16086
16144
|
*/
|
|
16087
16145
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.toObject = function(includeInstance, msg) {
|
|
16088
16146
|
var f, obj = {
|
|
16089
|
-
|
|
16090
|
-
|
|
16147
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.toObject(includeInstance, f),
|
|
16148
|
+
groupid: msg.getGroupid()
|
|
16091
16149
|
};
|
|
16092
16150
|
|
|
16093
16151
|
if (includeInstance) {
|
|
@@ -16125,14 +16183,14 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.deserializeB
|
|
|
16125
16183
|
var field = reader.getFieldNumber();
|
|
16126
16184
|
switch (field) {
|
|
16127
16185
|
case 1:
|
|
16128
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
16129
|
-
msg.setGroupid(value);
|
|
16130
|
-
break;
|
|
16131
|
-
case 2:
|
|
16132
16186
|
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest;
|
|
16133
16187
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.deserializeBinaryFromReader);
|
|
16134
16188
|
msg.setData(value);
|
|
16135
16189
|
break;
|
|
16190
|
+
case 2:
|
|
16191
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16192
|
+
msg.setGroupid(value);
|
|
16193
|
+
break;
|
|
16136
16194
|
default:
|
|
16137
16195
|
reader.skipField();
|
|
16138
16196
|
break;
|
|
@@ -16171,21 +16229,21 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.se
|
|
|
16171
16229
|
*/
|
|
16172
16230
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
16173
16231
|
var f = undefined;
|
|
16174
|
-
f = this.getGroupid();
|
|
16175
|
-
if (f !== 0) {
|
|
16176
|
-
writer.writeInt64(
|
|
16177
|
-
1,
|
|
16178
|
-
f
|
|
16179
|
-
);
|
|
16180
|
-
}
|
|
16181
16232
|
f = this.getData();
|
|
16182
16233
|
if (f != null) {
|
|
16183
16234
|
writer.writeMessage(
|
|
16184
|
-
|
|
16235
|
+
1,
|
|
16185
16236
|
f,
|
|
16186
16237
|
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.serializeBinaryToWriter
|
|
16187
16238
|
);
|
|
16188
16239
|
}
|
|
16240
|
+
f = this.getGroupid();
|
|
16241
|
+
if (f !== 0) {
|
|
16242
|
+
writer.writeInt64(
|
|
16243
|
+
2,
|
|
16244
|
+
f
|
|
16245
|
+
);
|
|
16246
|
+
}
|
|
16189
16247
|
};
|
|
16190
16248
|
|
|
16191
16249
|
|
|
@@ -16199,33 +16257,18 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.cl
|
|
|
16199
16257
|
|
|
16200
16258
|
|
|
16201
16259
|
/**
|
|
16202
|
-
* optional
|
|
16203
|
-
* @return {number}
|
|
16204
|
-
*/
|
|
16205
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.getGroupid = function() {
|
|
16206
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
16207
|
-
};
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
/** @param {number} value */
|
|
16211
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.setGroupid = function(value) {
|
|
16212
|
-
jspb.Message.setField(this, 1, value);
|
|
16213
|
-
};
|
|
16214
|
-
|
|
16215
|
-
|
|
16216
|
-
/**
|
|
16217
|
-
* optional PaymentMethodGroupPatchRequest data = 2;
|
|
16260
|
+
* optional PaymentMethodGroupPatchRequest data = 1;
|
|
16218
16261
|
* @return {proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest}
|
|
16219
16262
|
*/
|
|
16220
16263
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.getData = function() {
|
|
16221
16264
|
return /** @type{proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest} */ (
|
|
16222
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest,
|
|
16265
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest, 1));
|
|
16223
16266
|
};
|
|
16224
16267
|
|
|
16225
16268
|
|
|
16226
16269
|
/** @param {proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest|undefined} value */
|
|
16227
16270
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.setData = function(value) {
|
|
16228
|
-
jspb.Message.setWrapperField(this,
|
|
16271
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
16229
16272
|
};
|
|
16230
16273
|
|
|
16231
16274
|
|
|
@@ -16239,7 +16282,22 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.cl
|
|
|
16239
16282
|
* @return{!boolean}
|
|
16240
16283
|
*/
|
|
16241
16284
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.hasData = function() {
|
|
16242
|
-
return jspb.Message.getField(this,
|
|
16285
|
+
return jspb.Message.getField(this, 1) != null;
|
|
16286
|
+
};
|
|
16287
|
+
|
|
16288
|
+
|
|
16289
|
+
/**
|
|
16290
|
+
* optional int64 groupId = 2;
|
|
16291
|
+
* @return {number}
|
|
16292
|
+
*/
|
|
16293
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.getGroupid = function() {
|
|
16294
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
16295
|
+
};
|
|
16296
|
+
|
|
16297
|
+
|
|
16298
|
+
/** @param {number} value */
|
|
16299
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.setGroupid = function(value) {
|
|
16300
|
+
jspb.Message.setField(this, 2, value);
|
|
16243
16301
|
};
|
|
16244
16302
|
|
|
16245
16303
|
|