@sniipwebmaster/payment-methods-client-grpcweb 0.2.1609 → 0.2.1802
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 +123 -3
- package/package.json +1 -1
|
@@ -3595,7 +3595,9 @@ proto.sniippaymentmethodsserviceapi.CreditCard.toObject = function(includeInstan
|
|
|
3595
3595
|
banklogoname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3596
3596
|
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f),
|
|
3597
3597
|
iscreditcard: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
3598
|
-
isdebitcard: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
|
|
3598
|
+
isdebitcard: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
3599
|
+
isverified: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
3600
|
+
attemptedverification: jspb.Message.getBooleanFieldWithDefault(msg, 15, false)
|
|
3599
3601
|
};
|
|
3600
3602
|
|
|
3601
3603
|
if (includeInstance) {
|
|
@@ -3685,6 +3687,14 @@ proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader = fun
|
|
|
3685
3687
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3686
3688
|
msg.setIsdebitcard(value);
|
|
3687
3689
|
break;
|
|
3690
|
+
case 14:
|
|
3691
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3692
|
+
msg.setIsverified(value);
|
|
3693
|
+
break;
|
|
3694
|
+
case 15:
|
|
3695
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3696
|
+
msg.setAttemptedverification(value);
|
|
3697
|
+
break;
|
|
3688
3698
|
default:
|
|
3689
3699
|
reader.skipField();
|
|
3690
3700
|
break;
|
|
@@ -3806,6 +3816,20 @@ proto.sniippaymentmethodsserviceapi.CreditCard.serializeBinaryToWriter = functio
|
|
|
3806
3816
|
f
|
|
3807
3817
|
);
|
|
3808
3818
|
}
|
|
3819
|
+
f = message.getIsverified();
|
|
3820
|
+
if (f) {
|
|
3821
|
+
writer.writeBool(
|
|
3822
|
+
14,
|
|
3823
|
+
f
|
|
3824
|
+
);
|
|
3825
|
+
}
|
|
3826
|
+
f = message.getAttemptedverification();
|
|
3827
|
+
if (f) {
|
|
3828
|
+
writer.writeBool(
|
|
3829
|
+
15,
|
|
3830
|
+
f
|
|
3831
|
+
);
|
|
3832
|
+
}
|
|
3809
3833
|
};
|
|
3810
3834
|
|
|
3811
3835
|
|
|
@@ -4062,6 +4086,42 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIsdebitcard = functi
|
|
|
4062
4086
|
};
|
|
4063
4087
|
|
|
4064
4088
|
|
|
4089
|
+
/**
|
|
4090
|
+
* optional bool isVerified = 14;
|
|
4091
|
+
* @return {boolean}
|
|
4092
|
+
*/
|
|
4093
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIsverified = function() {
|
|
4094
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
4095
|
+
};
|
|
4096
|
+
|
|
4097
|
+
|
|
4098
|
+
/**
|
|
4099
|
+
* @param {boolean} value
|
|
4100
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CreditCard} returns this
|
|
4101
|
+
*/
|
|
4102
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIsverified = function(value) {
|
|
4103
|
+
return jspb.Message.setProto3BooleanField(this, 14, value);
|
|
4104
|
+
};
|
|
4105
|
+
|
|
4106
|
+
|
|
4107
|
+
/**
|
|
4108
|
+
* optional bool attemptedVerification = 15;
|
|
4109
|
+
* @return {boolean}
|
|
4110
|
+
*/
|
|
4111
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getAttemptedverification = function() {
|
|
4112
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
|
|
4113
|
+
};
|
|
4114
|
+
|
|
4115
|
+
|
|
4116
|
+
/**
|
|
4117
|
+
* @param {boolean} value
|
|
4118
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CreditCard} returns this
|
|
4119
|
+
*/
|
|
4120
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setAttemptedverification = function(value) {
|
|
4121
|
+
return jspb.Message.setProto3BooleanField(this, 15, value);
|
|
4122
|
+
};
|
|
4123
|
+
|
|
4124
|
+
|
|
4065
4125
|
|
|
4066
4126
|
|
|
4067
4127
|
|
|
@@ -4289,7 +4349,8 @@ proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest.toObject = fu
|
|
|
4289
4349
|
yearexpiry: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4290
4350
|
nickname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4291
4351
|
creditcardid: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
4292
|
-
accesstoken: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
4352
|
+
accesstoken: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4353
|
+
cvv: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
4293
4354
|
};
|
|
4294
4355
|
|
|
4295
4356
|
if (includeInstance) {
|
|
@@ -4350,6 +4411,10 @@ proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest.deserializeBi
|
|
|
4350
4411
|
var value = /** @type {string} */ (reader.readString());
|
|
4351
4412
|
msg.setAccesstoken(value);
|
|
4352
4413
|
break;
|
|
4414
|
+
case 7:
|
|
4415
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4416
|
+
msg.setCvv(value);
|
|
4417
|
+
break;
|
|
4353
4418
|
default:
|
|
4354
4419
|
reader.skipField();
|
|
4355
4420
|
break;
|
|
@@ -4421,6 +4486,13 @@ proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest.serializeBina
|
|
|
4421
4486
|
f
|
|
4422
4487
|
);
|
|
4423
4488
|
}
|
|
4489
|
+
f = message.getCvv();
|
|
4490
|
+
if (f.length > 0) {
|
|
4491
|
+
writer.writeString(
|
|
4492
|
+
7,
|
|
4493
|
+
f
|
|
4494
|
+
);
|
|
4495
|
+
}
|
|
4424
4496
|
};
|
|
4425
4497
|
|
|
4426
4498
|
|
|
@@ -4532,6 +4604,24 @@ proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest.prototype.set
|
|
|
4532
4604
|
};
|
|
4533
4605
|
|
|
4534
4606
|
|
|
4607
|
+
/**
|
|
4608
|
+
* optional string cvv = 7;
|
|
4609
|
+
* @return {string}
|
|
4610
|
+
*/
|
|
4611
|
+
proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest.prototype.getCvv = function() {
|
|
4612
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4613
|
+
};
|
|
4614
|
+
|
|
4615
|
+
|
|
4616
|
+
/**
|
|
4617
|
+
* @param {string} value
|
|
4618
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest} returns this
|
|
4619
|
+
*/
|
|
4620
|
+
proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest.prototype.setCvv = function(value) {
|
|
4621
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4622
|
+
};
|
|
4623
|
+
|
|
4624
|
+
|
|
4535
4625
|
|
|
4536
4626
|
|
|
4537
4627
|
|
|
@@ -9854,7 +9944,8 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject = function(include
|
|
|
9854
9944
|
monthexpiry: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9855
9945
|
yearexpiry: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
9856
9946
|
nickname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9857
|
-
colourscheme: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
9947
|
+
colourscheme: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
9948
|
+
cvv: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
9858
9949
|
};
|
|
9859
9950
|
|
|
9860
9951
|
if (includeInstance) {
|
|
@@ -9911,6 +10002,10 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.deserializeBinaryFromReader
|
|
|
9911
10002
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9912
10003
|
msg.setColourscheme(value);
|
|
9913
10004
|
break;
|
|
10005
|
+
case 6:
|
|
10006
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10007
|
+
msg.setCvv(value);
|
|
10008
|
+
break;
|
|
9914
10009
|
default:
|
|
9915
10010
|
reader.skipField();
|
|
9916
10011
|
break;
|
|
@@ -9975,6 +10070,13 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.serializeBinaryToWriter = f
|
|
|
9975
10070
|
f
|
|
9976
10071
|
);
|
|
9977
10072
|
}
|
|
10073
|
+
f = message.getCvv();
|
|
10074
|
+
if (f.length > 0) {
|
|
10075
|
+
writer.writeString(
|
|
10076
|
+
6,
|
|
10077
|
+
f
|
|
10078
|
+
);
|
|
10079
|
+
}
|
|
9978
10080
|
};
|
|
9979
10081
|
|
|
9980
10082
|
|
|
@@ -10068,6 +10170,24 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setColourscheme =
|
|
|
10068
10170
|
};
|
|
10069
10171
|
|
|
10070
10172
|
|
|
10173
|
+
/**
|
|
10174
|
+
* optional string cvv = 6;
|
|
10175
|
+
* @return {string}
|
|
10176
|
+
*/
|
|
10177
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.getCvv = function() {
|
|
10178
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
10179
|
+
};
|
|
10180
|
+
|
|
10181
|
+
|
|
10182
|
+
/**
|
|
10183
|
+
* @param {string} value
|
|
10184
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateCreditCard} returns this
|
|
10185
|
+
*/
|
|
10186
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setCvv = function(value) {
|
|
10187
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
10188
|
+
};
|
|
10189
|
+
|
|
10190
|
+
|
|
10071
10191
|
|
|
10072
10192
|
|
|
10073
10193
|
|