@sniipwebmaster/payment-methods-client-grpcweb 25.3.6324 → 25.3.6334
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 +75 -1
- package/package.json +1 -1
|
@@ -41,6 +41,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashRequest', null, g
|
|
|
41
41
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashResponse', null, global);
|
|
42
42
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashesForUserRequest', null, global);
|
|
43
43
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashesForUserResponse', null, global);
|
|
44
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardValidationResult', null, global);
|
|
44
45
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ColourScheme', null, global);
|
|
45
46
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest', null, global);
|
|
46
47
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCard', null, global);
|
|
@@ -13408,7 +13409,9 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
|
|
|
13408
13409
|
iscorporate: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
|
13409
13410
|
issmallbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
13410
13411
|
iscryptocomcard: jspb.Message.getBooleanFieldWithDefault(msg, 23, false),
|
|
13411
|
-
verificationmessage: jspb.Message.getFieldWithDefault(msg, 24, "")
|
|
13412
|
+
verificationmessage: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
13413
|
+
cardvalidationresult: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
13414
|
+
cardvalidationresulturl: jspb.Message.getFieldWithDefault(msg, 26, "")
|
|
13412
13415
|
};
|
|
13413
13416
|
|
|
13414
13417
|
if (includeInstance) {
|
|
@@ -13542,6 +13545,14 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
|
|
|
13542
13545
|
var value = /** @type {string} */ (reader.readString());
|
|
13543
13546
|
msg.setVerificationmessage(value);
|
|
13544
13547
|
break;
|
|
13548
|
+
case 25:
|
|
13549
|
+
var value = /** @type {!proto.sniippaymentmethodsserviceapi.CardValidationResult} */ (reader.readEnum());
|
|
13550
|
+
msg.setCardvalidationresult(value);
|
|
13551
|
+
break;
|
|
13552
|
+
case 26:
|
|
13553
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13554
|
+
msg.setCardvalidationresulturl(value);
|
|
13555
|
+
break;
|
|
13545
13556
|
default:
|
|
13546
13557
|
reader.skipField();
|
|
13547
13558
|
break;
|
|
@@ -13740,6 +13751,20 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.serializeBinaryToWriter = f
|
|
|
13740
13751
|
f
|
|
13741
13752
|
);
|
|
13742
13753
|
}
|
|
13754
|
+
f = message.getCardvalidationresult();
|
|
13755
|
+
if (f !== 0.0) {
|
|
13756
|
+
writer.writeEnum(
|
|
13757
|
+
25,
|
|
13758
|
+
f
|
|
13759
|
+
);
|
|
13760
|
+
}
|
|
13761
|
+
f = message.getCardvalidationresulturl();
|
|
13762
|
+
if (f.length > 0) {
|
|
13763
|
+
writer.writeString(
|
|
13764
|
+
26,
|
|
13765
|
+
f
|
|
13766
|
+
);
|
|
13767
|
+
}
|
|
13743
13768
|
};
|
|
13744
13769
|
|
|
13745
13770
|
|
|
@@ -14194,6 +14219,42 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setVerificationme
|
|
|
14194
14219
|
};
|
|
14195
14220
|
|
|
14196
14221
|
|
|
14222
|
+
/**
|
|
14223
|
+
* optional CardValidationResult cardValidationResult = 25;
|
|
14224
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CardValidationResult}
|
|
14225
|
+
*/
|
|
14226
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getCardvalidationresult = function() {
|
|
14227
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.CardValidationResult} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
|
|
14228
|
+
};
|
|
14229
|
+
|
|
14230
|
+
|
|
14231
|
+
/**
|
|
14232
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CardValidationResult} value
|
|
14233
|
+
* @return {!proto.sniippaymentmethodsserviceapi.MaskedCreditCard} returns this
|
|
14234
|
+
*/
|
|
14235
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setCardvalidationresult = function(value) {
|
|
14236
|
+
return jspb.Message.setProto3EnumField(this, 25, value);
|
|
14237
|
+
};
|
|
14238
|
+
|
|
14239
|
+
|
|
14240
|
+
/**
|
|
14241
|
+
* optional string CardValidationResultUrl = 26;
|
|
14242
|
+
* @return {string}
|
|
14243
|
+
*/
|
|
14244
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getCardvalidationresulturl = function() {
|
|
14245
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
|
14246
|
+
};
|
|
14247
|
+
|
|
14248
|
+
|
|
14249
|
+
/**
|
|
14250
|
+
* @param {string} value
|
|
14251
|
+
* @return {!proto.sniippaymentmethodsserviceapi.MaskedCreditCard} returns this
|
|
14252
|
+
*/
|
|
14253
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setCardvalidationresulturl = function(value) {
|
|
14254
|
+
return jspb.Message.setProto3StringField(this, 26, value);
|
|
14255
|
+
};
|
|
14256
|
+
|
|
14257
|
+
|
|
14197
14258
|
|
|
14198
14259
|
|
|
14199
14260
|
|
|
@@ -24403,4 +24464,17 @@ proto.sniippaymentmethodsserviceapi.PaymentProcessor = {
|
|
|
24403
24464
|
SNIIP: 2
|
|
24404
24465
|
};
|
|
24405
24466
|
|
|
24467
|
+
/**
|
|
24468
|
+
* @enum {number}
|
|
24469
|
+
*/
|
|
24470
|
+
proto.sniippaymentmethodsserviceapi.CardValidationResult = {
|
|
24471
|
+
UNKNOWN: 0,
|
|
24472
|
+
PENDING: 1,
|
|
24473
|
+
SUCCESS: 2,
|
|
24474
|
+
FAILED: 3,
|
|
24475
|
+
NOT_ENROLLED: 4,
|
|
24476
|
+
IGNORE: 5,
|
|
24477
|
+
VALIDATION_EXPIRED_REMOVE_CARD: 6
|
|
24478
|
+
};
|
|
24479
|
+
|
|
24406
24480
|
goog.object.extend(exports, proto.sniippaymentmethodsserviceapi);
|