@sniipwebmaster/payment-methods-client-grpcweb 0.2.1516 → 0.2.1533
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 +118 -2
- package/package.json +1 -1
|
@@ -2299,7 +2299,9 @@ proto.sniippaymentmethodsserviceapi.CreditCard.toObject = function(includeInstan
|
|
|
2299
2299
|
tokenisedcreditcardid: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
2300
2300
|
bankname: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2301
2301
|
banklogoname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2302
|
-
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f)
|
|
2302
|
+
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f),
|
|
2303
|
+
iscreditcard: jspb.Message.getFieldWithDefault(msg, 12, false),
|
|
2304
|
+
isdebitcard: jspb.Message.getFieldWithDefault(msg, 13, false)
|
|
2303
2305
|
};
|
|
2304
2306
|
|
|
2305
2307
|
if (includeInstance) {
|
|
@@ -2381,6 +2383,14 @@ proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader = fun
|
|
|
2381
2383
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader);
|
|
2382
2384
|
msg.setColourscheme(value);
|
|
2383
2385
|
break;
|
|
2386
|
+
case 12:
|
|
2387
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2388
|
+
msg.setIscreditcard(value);
|
|
2389
|
+
break;
|
|
2390
|
+
case 13:
|
|
2391
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2392
|
+
msg.setIsdebitcard(value);
|
|
2393
|
+
break;
|
|
2384
2394
|
default:
|
|
2385
2395
|
reader.skipField();
|
|
2386
2396
|
break;
|
|
@@ -2488,6 +2498,20 @@ proto.sniippaymentmethodsserviceapi.CreditCard.serializeBinaryToWriter = functio
|
|
|
2488
2498
|
proto.sniippaymentmethodsserviceapi.ColourScheme.serializeBinaryToWriter
|
|
2489
2499
|
);
|
|
2490
2500
|
}
|
|
2501
|
+
f = message.getIscreditcard();
|
|
2502
|
+
if (f) {
|
|
2503
|
+
writer.writeBool(
|
|
2504
|
+
12,
|
|
2505
|
+
f
|
|
2506
|
+
);
|
|
2507
|
+
}
|
|
2508
|
+
f = message.getIsdebitcard();
|
|
2509
|
+
if (f) {
|
|
2510
|
+
writer.writeBool(
|
|
2511
|
+
13,
|
|
2512
|
+
f
|
|
2513
|
+
);
|
|
2514
|
+
}
|
|
2491
2515
|
};
|
|
2492
2516
|
|
|
2493
2517
|
|
|
@@ -2671,6 +2695,40 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.hasColourscheme = funct
|
|
|
2671
2695
|
};
|
|
2672
2696
|
|
|
2673
2697
|
|
|
2698
|
+
/**
|
|
2699
|
+
* optional bool isCreditCard = 12;
|
|
2700
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2701
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2702
|
+
* @return {boolean}
|
|
2703
|
+
*/
|
|
2704
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIscreditcard = function() {
|
|
2705
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 12, false));
|
|
2706
|
+
};
|
|
2707
|
+
|
|
2708
|
+
|
|
2709
|
+
/** @param {boolean} value */
|
|
2710
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIscreditcard = function(value) {
|
|
2711
|
+
jspb.Message.setProto3BooleanField(this, 12, value);
|
|
2712
|
+
};
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* optional bool isDebitCard = 13;
|
|
2717
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2718
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2719
|
+
* @return {boolean}
|
|
2720
|
+
*/
|
|
2721
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIsdebitcard = function() {
|
|
2722
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 13, false));
|
|
2723
|
+
};
|
|
2724
|
+
|
|
2725
|
+
|
|
2726
|
+
/** @param {boolean} value */
|
|
2727
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIsdebitcard = function(value) {
|
|
2728
|
+
jspb.Message.setProto3BooleanField(this, 13, value);
|
|
2729
|
+
};
|
|
2730
|
+
|
|
2731
|
+
|
|
2674
2732
|
|
|
2675
2733
|
/**
|
|
2676
2734
|
* Generated by JsPbCodeGenerator.
|
|
@@ -5300,7 +5358,9 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
|
|
|
5300
5358
|
bankname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5301
5359
|
banklogoname: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5302
5360
|
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f),
|
|
5303
|
-
isdeleted: jspb.Message.getFieldWithDefault(msg, 13, false)
|
|
5361
|
+
isdeleted: jspb.Message.getFieldWithDefault(msg, 13, false),
|
|
5362
|
+
iscreditcard: jspb.Message.getFieldWithDefault(msg, 14, false),
|
|
5363
|
+
isdebitcard: jspb.Message.getFieldWithDefault(msg, 15, false)
|
|
5304
5364
|
};
|
|
5305
5365
|
|
|
5306
5366
|
if (includeInstance) {
|
|
@@ -5390,6 +5450,14 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
|
|
|
5390
5450
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
5391
5451
|
msg.setIsdeleted(value);
|
|
5392
5452
|
break;
|
|
5453
|
+
case 14:
|
|
5454
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5455
|
+
msg.setIscreditcard(value);
|
|
5456
|
+
break;
|
|
5457
|
+
case 15:
|
|
5458
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5459
|
+
msg.setIsdebitcard(value);
|
|
5460
|
+
break;
|
|
5393
5461
|
default:
|
|
5394
5462
|
reader.skipField();
|
|
5395
5463
|
break;
|
|
@@ -5511,6 +5579,20 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.serializeBinaryToWriter = f
|
|
|
5511
5579
|
f
|
|
5512
5580
|
);
|
|
5513
5581
|
}
|
|
5582
|
+
f = message.getIscreditcard();
|
|
5583
|
+
if (f) {
|
|
5584
|
+
writer.writeBool(
|
|
5585
|
+
14,
|
|
5586
|
+
f
|
|
5587
|
+
);
|
|
5588
|
+
}
|
|
5589
|
+
f = message.getIsdebitcard();
|
|
5590
|
+
if (f) {
|
|
5591
|
+
writer.writeBool(
|
|
5592
|
+
15,
|
|
5593
|
+
f
|
|
5594
|
+
);
|
|
5595
|
+
}
|
|
5514
5596
|
};
|
|
5515
5597
|
|
|
5516
5598
|
|
|
@@ -5726,6 +5808,40 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIsdeleted = fu
|
|
|
5726
5808
|
};
|
|
5727
5809
|
|
|
5728
5810
|
|
|
5811
|
+
/**
|
|
5812
|
+
* optional bool isCreditCard = 14;
|
|
5813
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
5814
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
5815
|
+
* @return {boolean}
|
|
5816
|
+
*/
|
|
5817
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIscreditcard = function() {
|
|
5818
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 14, false));
|
|
5819
|
+
};
|
|
5820
|
+
|
|
5821
|
+
|
|
5822
|
+
/** @param {boolean} value */
|
|
5823
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIscreditcard = function(value) {
|
|
5824
|
+
jspb.Message.setProto3BooleanField(this, 14, value);
|
|
5825
|
+
};
|
|
5826
|
+
|
|
5827
|
+
|
|
5828
|
+
/**
|
|
5829
|
+
* optional bool isDebitCard = 15;
|
|
5830
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
5831
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
5832
|
+
* @return {boolean}
|
|
5833
|
+
*/
|
|
5834
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIsdebitcard = function() {
|
|
5835
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 15, false));
|
|
5836
|
+
};
|
|
5837
|
+
|
|
5838
|
+
|
|
5839
|
+
/** @param {boolean} value */
|
|
5840
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIsdebitcard = function(value) {
|
|
5841
|
+
jspb.Message.setProto3BooleanField(this, 15, value);
|
|
5842
|
+
};
|
|
5843
|
+
|
|
5844
|
+
|
|
5729
5845
|
|
|
5730
5846
|
/**
|
|
5731
5847
|
* Generated by JsPbCodeGenerator.
|