@sniipwebmaster/payment-methods-client-grpcweb 22.12.4556 → 22.12.4574
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 +59 -1
- package/package.json +1 -1
|
@@ -9018,7 +9018,9 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
|
|
|
9018
9018
|
iseftpos: msg.getIseftpos(),
|
|
9019
9019
|
isinternational: msg.getIsinternational(),
|
|
9020
9020
|
isprepaid: msg.getIsprepaid(),
|
|
9021
|
-
requires3ds: msg.getRequires3ds()
|
|
9021
|
+
requires3ds: msg.getRequires3ds(),
|
|
9022
|
+
iscorporate: msg.getIscorporate(),
|
|
9023
|
+
issmallbusiness: msg.getIssmallbusiness()
|
|
9022
9024
|
};
|
|
9023
9025
|
|
|
9024
9026
|
if (includeInstance) {
|
|
@@ -9136,6 +9138,14 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
|
|
|
9136
9138
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
9137
9139
|
msg.setRequires3ds(value);
|
|
9138
9140
|
break;
|
|
9141
|
+
case 21:
|
|
9142
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9143
|
+
msg.setIscorporate(value);
|
|
9144
|
+
break;
|
|
9145
|
+
case 22:
|
|
9146
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9147
|
+
msg.setIssmallbusiness(value);
|
|
9148
|
+
break;
|
|
9139
9149
|
default:
|
|
9140
9150
|
reader.skipField();
|
|
9141
9151
|
break;
|
|
@@ -9315,6 +9325,20 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.serializeBinaryTo
|
|
|
9315
9325
|
f
|
|
9316
9326
|
);
|
|
9317
9327
|
}
|
|
9328
|
+
f = this.getIscorporate();
|
|
9329
|
+
if (f) {
|
|
9330
|
+
writer.writeBool(
|
|
9331
|
+
21,
|
|
9332
|
+
f
|
|
9333
|
+
);
|
|
9334
|
+
}
|
|
9335
|
+
f = this.getIssmallbusiness();
|
|
9336
|
+
if (f) {
|
|
9337
|
+
writer.writeBool(
|
|
9338
|
+
22,
|
|
9339
|
+
f
|
|
9340
|
+
);
|
|
9341
|
+
}
|
|
9318
9342
|
};
|
|
9319
9343
|
|
|
9320
9344
|
|
|
@@ -9658,6 +9682,40 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setRequires3ds =
|
|
|
9658
9682
|
};
|
|
9659
9683
|
|
|
9660
9684
|
|
|
9685
|
+
/**
|
|
9686
|
+
* optional bool isCorporate = 21;
|
|
9687
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
9688
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
9689
|
+
* @return {boolean}
|
|
9690
|
+
*/
|
|
9691
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIscorporate = function() {
|
|
9692
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 21, false));
|
|
9693
|
+
};
|
|
9694
|
+
|
|
9695
|
+
|
|
9696
|
+
/** @param {boolean} value */
|
|
9697
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIscorporate = function(value) {
|
|
9698
|
+
jspb.Message.setField(this, 21, value);
|
|
9699
|
+
};
|
|
9700
|
+
|
|
9701
|
+
|
|
9702
|
+
/**
|
|
9703
|
+
* optional bool isSmallBusiness = 22;
|
|
9704
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
9705
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
9706
|
+
* @return {boolean}
|
|
9707
|
+
*/
|
|
9708
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIssmallbusiness = function() {
|
|
9709
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 22, false));
|
|
9710
|
+
};
|
|
9711
|
+
|
|
9712
|
+
|
|
9713
|
+
/** @param {boolean} value */
|
|
9714
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIssmallbusiness = function(value) {
|
|
9715
|
+
jspb.Message.setField(this, 22, value);
|
|
9716
|
+
};
|
|
9717
|
+
|
|
9718
|
+
|
|
9661
9719
|
|
|
9662
9720
|
/**
|
|
9663
9721
|
* Generated by JsPbCodeGenerator.
|