@sniipwebmaster/payment-methods-client-grpcweb 25.3.6382 → 25.3.6391
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.
|
@@ -2457,5 +2457,66 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
2457
2457
|
};
|
|
2458
2458
|
|
|
2459
2459
|
|
|
2460
|
+
/**
|
|
2461
|
+
* @const
|
|
2462
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2463
|
+
* !proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest,
|
|
2464
|
+
* !proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse>}
|
|
2465
|
+
*/
|
|
2466
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_CardPayerAuthentication = new grpc.web.MethodDescriptor(
|
|
2467
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/CardPayerAuthentication',
|
|
2468
|
+
grpc.web.MethodType.UNARY,
|
|
2469
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest,
|
|
2470
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse,
|
|
2471
|
+
/**
|
|
2472
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} request
|
|
2473
|
+
* @return {!Uint8Array}
|
|
2474
|
+
*/
|
|
2475
|
+
function(request) {
|
|
2476
|
+
return request.serializeBinary();
|
|
2477
|
+
},
|
|
2478
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.deserializeBinary
|
|
2479
|
+
);
|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
/**
|
|
2483
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} request The
|
|
2484
|
+
* request proto
|
|
2485
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2486
|
+
* call metadata
|
|
2487
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse)}
|
|
2488
|
+
* callback The callback function(error, response)
|
|
2489
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse>|undefined}
|
|
2490
|
+
* The XHR Node Readable Stream
|
|
2491
|
+
*/
|
|
2492
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.cardPayerAuthentication =
|
|
2493
|
+
function(request, metadata, callback) {
|
|
2494
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2495
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/CardPayerAuthentication',
|
|
2496
|
+
request,
|
|
2497
|
+
metadata || {},
|
|
2498
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_CardPayerAuthentication,
|
|
2499
|
+
callback);
|
|
2500
|
+
};
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} request The
|
|
2505
|
+
* request proto
|
|
2506
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2507
|
+
* call metadata
|
|
2508
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse>}
|
|
2509
|
+
* Promise that resolves to the response
|
|
2510
|
+
*/
|
|
2511
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.cardPayerAuthentication =
|
|
2512
|
+
function(request, metadata) {
|
|
2513
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2514
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/CardPayerAuthentication',
|
|
2515
|
+
request,
|
|
2516
|
+
metadata || {},
|
|
2517
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_CardPayerAuthentication);
|
|
2518
|
+
};
|
|
2519
|
+
|
|
2520
|
+
|
|
2460
2521
|
module.exports = proto.sniippaymentmethodsserviceapi;
|
|
2461
2522
|
|
|
@@ -72,6 +72,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GooglePay', null, global)
|
|
|
72
72
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GooglePayDetail', null, global);
|
|
73
73
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MaskedCreditCard', null, global);
|
|
74
74
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest', null, global);
|
|
75
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest', null, global);
|
|
76
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse', null, global);
|
|
75
77
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethod', null, global);
|
|
76
78
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest', null, global);
|
|
77
79
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodExpiringForScheduledPaymentsNotificationRequest', null, global);
|
|
@@ -2090,6 +2092,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2090
2092
|
*/
|
|
2091
2093
|
proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse.displayName = 'proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse';
|
|
2092
2094
|
}
|
|
2095
|
+
/**
|
|
2096
|
+
* Generated by JsPbCodeGenerator.
|
|
2097
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2098
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2099
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2100
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2101
|
+
* valid.
|
|
2102
|
+
* @extends {jspb.Message}
|
|
2103
|
+
* @constructor
|
|
2104
|
+
*/
|
|
2105
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest = function(opt_data) {
|
|
2106
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2107
|
+
};
|
|
2108
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest, jspb.Message);
|
|
2109
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2110
|
+
/**
|
|
2111
|
+
* @public
|
|
2112
|
+
* @override
|
|
2113
|
+
*/
|
|
2114
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest';
|
|
2115
|
+
}
|
|
2116
|
+
/**
|
|
2117
|
+
* Generated by JsPbCodeGenerator.
|
|
2118
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2119
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2120
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2121
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2122
|
+
* valid.
|
|
2123
|
+
* @extends {jspb.Message}
|
|
2124
|
+
* @constructor
|
|
2125
|
+
*/
|
|
2126
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse = function(opt_data) {
|
|
2127
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2128
|
+
};
|
|
2129
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse, jspb.Message);
|
|
2130
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2131
|
+
/**
|
|
2132
|
+
* @public
|
|
2133
|
+
* @override
|
|
2134
|
+
*/
|
|
2135
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.displayName = 'proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse';
|
|
2136
|
+
}
|
|
2093
2137
|
|
|
2094
2138
|
|
|
2095
2139
|
|
|
@@ -13411,7 +13455,8 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
|
|
|
13411
13455
|
iscryptocomcard: jspb.Message.getBooleanFieldWithDefault(msg, 23, false),
|
|
13412
13456
|
verificationmessage: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
13413
13457
|
cardvalidationresult: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
13414
|
-
cardvalidationresulturl: jspb.Message.getFieldWithDefault(msg, 26, "")
|
|
13458
|
+
cardvalidationresulturl: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
13459
|
+
redirecturlafterverification: jspb.Message.getFieldWithDefault(msg, 27, "")
|
|
13415
13460
|
};
|
|
13416
13461
|
|
|
13417
13462
|
if (includeInstance) {
|
|
@@ -13553,6 +13598,10 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
|
|
|
13553
13598
|
var value = /** @type {string} */ (reader.readString());
|
|
13554
13599
|
msg.setCardvalidationresulturl(value);
|
|
13555
13600
|
break;
|
|
13601
|
+
case 27:
|
|
13602
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13603
|
+
msg.setRedirecturlafterverification(value);
|
|
13604
|
+
break;
|
|
13556
13605
|
default:
|
|
13557
13606
|
reader.skipField();
|
|
13558
13607
|
break;
|
|
@@ -13765,6 +13814,13 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.serializeBinaryToWriter = f
|
|
|
13765
13814
|
f
|
|
13766
13815
|
);
|
|
13767
13816
|
}
|
|
13817
|
+
f = message.getRedirecturlafterverification();
|
|
13818
|
+
if (f.length > 0) {
|
|
13819
|
+
writer.writeString(
|
|
13820
|
+
27,
|
|
13821
|
+
f
|
|
13822
|
+
);
|
|
13823
|
+
}
|
|
13768
13824
|
};
|
|
13769
13825
|
|
|
13770
13826
|
|
|
@@ -14255,6 +14311,24 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setCardvalidation
|
|
|
14255
14311
|
};
|
|
14256
14312
|
|
|
14257
14313
|
|
|
14314
|
+
/**
|
|
14315
|
+
* optional string redirectUrlAfterVerification = 27;
|
|
14316
|
+
* @return {string}
|
|
14317
|
+
*/
|
|
14318
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getRedirecturlafterverification = function() {
|
|
14319
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
14320
|
+
};
|
|
14321
|
+
|
|
14322
|
+
|
|
14323
|
+
/**
|
|
14324
|
+
* @param {string} value
|
|
14325
|
+
* @return {!proto.sniippaymentmethodsserviceapi.MaskedCreditCard} returns this
|
|
14326
|
+
*/
|
|
14327
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setRedirecturlafterverification = function(value) {
|
|
14328
|
+
return jspb.Message.setProto3StringField(this, 27, value);
|
|
14329
|
+
};
|
|
14330
|
+
|
|
14331
|
+
|
|
14258
14332
|
|
|
14259
14333
|
|
|
14260
14334
|
|
|
@@ -24445,6 +24519,407 @@ proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse.prototype.setZenithto
|
|
|
24445
24519
|
};
|
|
24446
24520
|
|
|
24447
24521
|
|
|
24522
|
+
|
|
24523
|
+
|
|
24524
|
+
|
|
24525
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24526
|
+
/**
|
|
24527
|
+
* Creates an object representation of this proto.
|
|
24528
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24529
|
+
* Optional fields that are not set will be set to undefined.
|
|
24530
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24531
|
+
* For the list of reserved names please see:
|
|
24532
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24533
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24534
|
+
* JSPB instance for transitional soy proto support:
|
|
24535
|
+
* http://goto/soy-param-migration
|
|
24536
|
+
* @return {!Object}
|
|
24537
|
+
*/
|
|
24538
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
24539
|
+
return proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.toObject(opt_includeInstance, this);
|
|
24540
|
+
};
|
|
24541
|
+
|
|
24542
|
+
|
|
24543
|
+
/**
|
|
24544
|
+
* Static version of the {@see toObject} method.
|
|
24545
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24546
|
+
* the JSPB instance for transitional soy proto support:
|
|
24547
|
+
* http://goto/soy-param-migration
|
|
24548
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} msg The msg instance to transform.
|
|
24549
|
+
* @return {!Object}
|
|
24550
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24551
|
+
*/
|
|
24552
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.toObject = function(includeInstance, msg) {
|
|
24553
|
+
var f, obj = {
|
|
24554
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
24555
|
+
};
|
|
24556
|
+
|
|
24557
|
+
if (includeInstance) {
|
|
24558
|
+
obj.$jspbMessageInstance = msg;
|
|
24559
|
+
}
|
|
24560
|
+
return obj;
|
|
24561
|
+
};
|
|
24562
|
+
}
|
|
24563
|
+
|
|
24564
|
+
|
|
24565
|
+
/**
|
|
24566
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24567
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24568
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest}
|
|
24569
|
+
*/
|
|
24570
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.deserializeBinary = function(bytes) {
|
|
24571
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24572
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest;
|
|
24573
|
+
return proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.deserializeBinaryFromReader(msg, reader);
|
|
24574
|
+
};
|
|
24575
|
+
|
|
24576
|
+
|
|
24577
|
+
/**
|
|
24578
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24579
|
+
* given reader into the given message object.
|
|
24580
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} msg The message object to deserialize into.
|
|
24581
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24582
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest}
|
|
24583
|
+
*/
|
|
24584
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
24585
|
+
while (reader.nextField()) {
|
|
24586
|
+
if (reader.isEndGroup()) {
|
|
24587
|
+
break;
|
|
24588
|
+
}
|
|
24589
|
+
var field = reader.getFieldNumber();
|
|
24590
|
+
switch (field) {
|
|
24591
|
+
case 1:
|
|
24592
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
24593
|
+
msg.setPaymentmethodid(value);
|
|
24594
|
+
break;
|
|
24595
|
+
default:
|
|
24596
|
+
reader.skipField();
|
|
24597
|
+
break;
|
|
24598
|
+
}
|
|
24599
|
+
}
|
|
24600
|
+
return msg;
|
|
24601
|
+
};
|
|
24602
|
+
|
|
24603
|
+
|
|
24604
|
+
/**
|
|
24605
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24606
|
+
* @return {!Uint8Array}
|
|
24607
|
+
*/
|
|
24608
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.serializeBinary = function() {
|
|
24609
|
+
var writer = new jspb.BinaryWriter();
|
|
24610
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.serializeBinaryToWriter(this, writer);
|
|
24611
|
+
return writer.getResultBuffer();
|
|
24612
|
+
};
|
|
24613
|
+
|
|
24614
|
+
|
|
24615
|
+
/**
|
|
24616
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24617
|
+
* format), writing to the given BinaryWriter.
|
|
24618
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} message
|
|
24619
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24620
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24621
|
+
*/
|
|
24622
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
24623
|
+
var f = undefined;
|
|
24624
|
+
f = message.getPaymentmethodid();
|
|
24625
|
+
if (f !== 0) {
|
|
24626
|
+
writer.writeInt64(
|
|
24627
|
+
1,
|
|
24628
|
+
f
|
|
24629
|
+
);
|
|
24630
|
+
}
|
|
24631
|
+
};
|
|
24632
|
+
|
|
24633
|
+
|
|
24634
|
+
/**
|
|
24635
|
+
* optional int64 paymentMethodId = 1;
|
|
24636
|
+
* @return {number}
|
|
24637
|
+
*/
|
|
24638
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.getPaymentmethodid = function() {
|
|
24639
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
24640
|
+
};
|
|
24641
|
+
|
|
24642
|
+
|
|
24643
|
+
/**
|
|
24644
|
+
* @param {number} value
|
|
24645
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} returns this
|
|
24646
|
+
*/
|
|
24647
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.setPaymentmethodid = function(value) {
|
|
24648
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
24649
|
+
};
|
|
24650
|
+
|
|
24651
|
+
|
|
24652
|
+
|
|
24653
|
+
|
|
24654
|
+
|
|
24655
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24656
|
+
/**
|
|
24657
|
+
* Creates an object representation of this proto.
|
|
24658
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24659
|
+
* Optional fields that are not set will be set to undefined.
|
|
24660
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24661
|
+
* For the list of reserved names please see:
|
|
24662
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24663
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24664
|
+
* JSPB instance for transitional soy proto support:
|
|
24665
|
+
* http://goto/soy-param-migration
|
|
24666
|
+
* @return {!Object}
|
|
24667
|
+
*/
|
|
24668
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
24669
|
+
return proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.toObject(opt_includeInstance, this);
|
|
24670
|
+
};
|
|
24671
|
+
|
|
24672
|
+
|
|
24673
|
+
/**
|
|
24674
|
+
* Static version of the {@see toObject} method.
|
|
24675
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24676
|
+
* the JSPB instance for transitional soy proto support:
|
|
24677
|
+
* http://goto/soy-param-migration
|
|
24678
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse} msg The msg instance to transform.
|
|
24679
|
+
* @return {!Object}
|
|
24680
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24681
|
+
*/
|
|
24682
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.toObject = function(includeInstance, msg) {
|
|
24683
|
+
var f, obj = {
|
|
24684
|
+
is3dsenrolled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
24685
|
+
threedsissuerurl: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
24686
|
+
cardvalidationid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
24687
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
24688
|
+
redirecturlafterverification: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
24689
|
+
};
|
|
24690
|
+
|
|
24691
|
+
if (includeInstance) {
|
|
24692
|
+
obj.$jspbMessageInstance = msg;
|
|
24693
|
+
}
|
|
24694
|
+
return obj;
|
|
24695
|
+
};
|
|
24696
|
+
}
|
|
24697
|
+
|
|
24698
|
+
|
|
24699
|
+
/**
|
|
24700
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24701
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24702
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse}
|
|
24703
|
+
*/
|
|
24704
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.deserializeBinary = function(bytes) {
|
|
24705
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24706
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse;
|
|
24707
|
+
return proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.deserializeBinaryFromReader(msg, reader);
|
|
24708
|
+
};
|
|
24709
|
+
|
|
24710
|
+
|
|
24711
|
+
/**
|
|
24712
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24713
|
+
* given reader into the given message object.
|
|
24714
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse} msg The message object to deserialize into.
|
|
24715
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24716
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse}
|
|
24717
|
+
*/
|
|
24718
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
24719
|
+
while (reader.nextField()) {
|
|
24720
|
+
if (reader.isEndGroup()) {
|
|
24721
|
+
break;
|
|
24722
|
+
}
|
|
24723
|
+
var field = reader.getFieldNumber();
|
|
24724
|
+
switch (field) {
|
|
24725
|
+
case 1:
|
|
24726
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
24727
|
+
msg.setIs3dsenrolled(value);
|
|
24728
|
+
break;
|
|
24729
|
+
case 2:
|
|
24730
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24731
|
+
msg.setThreedsissuerurl(value);
|
|
24732
|
+
break;
|
|
24733
|
+
case 3:
|
|
24734
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
24735
|
+
msg.setCardvalidationid(value);
|
|
24736
|
+
break;
|
|
24737
|
+
case 4:
|
|
24738
|
+
var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
24739
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
24740
|
+
msg.setResponsecode(value);
|
|
24741
|
+
break;
|
|
24742
|
+
case 5:
|
|
24743
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24744
|
+
msg.setRedirecturlafterverification(value);
|
|
24745
|
+
break;
|
|
24746
|
+
default:
|
|
24747
|
+
reader.skipField();
|
|
24748
|
+
break;
|
|
24749
|
+
}
|
|
24750
|
+
}
|
|
24751
|
+
return msg;
|
|
24752
|
+
};
|
|
24753
|
+
|
|
24754
|
+
|
|
24755
|
+
/**
|
|
24756
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24757
|
+
* @return {!Uint8Array}
|
|
24758
|
+
*/
|
|
24759
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.serializeBinary = function() {
|
|
24760
|
+
var writer = new jspb.BinaryWriter();
|
|
24761
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.serializeBinaryToWriter(this, writer);
|
|
24762
|
+
return writer.getResultBuffer();
|
|
24763
|
+
};
|
|
24764
|
+
|
|
24765
|
+
|
|
24766
|
+
/**
|
|
24767
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24768
|
+
* format), writing to the given BinaryWriter.
|
|
24769
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse} message
|
|
24770
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24771
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24772
|
+
*/
|
|
24773
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
24774
|
+
var f = undefined;
|
|
24775
|
+
f = message.getIs3dsenrolled();
|
|
24776
|
+
if (f) {
|
|
24777
|
+
writer.writeBool(
|
|
24778
|
+
1,
|
|
24779
|
+
f
|
|
24780
|
+
);
|
|
24781
|
+
}
|
|
24782
|
+
f = message.getThreedsissuerurl();
|
|
24783
|
+
if (f.length > 0) {
|
|
24784
|
+
writer.writeString(
|
|
24785
|
+
2,
|
|
24786
|
+
f
|
|
24787
|
+
);
|
|
24788
|
+
}
|
|
24789
|
+
f = message.getCardvalidationid();
|
|
24790
|
+
if (f !== 0) {
|
|
24791
|
+
writer.writeInt64(
|
|
24792
|
+
3,
|
|
24793
|
+
f
|
|
24794
|
+
);
|
|
24795
|
+
}
|
|
24796
|
+
f = message.getResponsecode();
|
|
24797
|
+
if (f != null) {
|
|
24798
|
+
writer.writeMessage(
|
|
24799
|
+
4,
|
|
24800
|
+
f,
|
|
24801
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
24802
|
+
);
|
|
24803
|
+
}
|
|
24804
|
+
f = message.getRedirecturlafterverification();
|
|
24805
|
+
if (f.length > 0) {
|
|
24806
|
+
writer.writeString(
|
|
24807
|
+
5,
|
|
24808
|
+
f
|
|
24809
|
+
);
|
|
24810
|
+
}
|
|
24811
|
+
};
|
|
24812
|
+
|
|
24813
|
+
|
|
24814
|
+
/**
|
|
24815
|
+
* optional bool is3dsEnrolled = 1;
|
|
24816
|
+
* @return {boolean}
|
|
24817
|
+
*/
|
|
24818
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.getIs3dsenrolled = function() {
|
|
24819
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
24820
|
+
};
|
|
24821
|
+
|
|
24822
|
+
|
|
24823
|
+
/**
|
|
24824
|
+
* @param {boolean} value
|
|
24825
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse} returns this
|
|
24826
|
+
*/
|
|
24827
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.setIs3dsenrolled = function(value) {
|
|
24828
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
24829
|
+
};
|
|
24830
|
+
|
|
24831
|
+
|
|
24832
|
+
/**
|
|
24833
|
+
* optional string ThreeDsIssuerUrl = 2;
|
|
24834
|
+
* @return {string}
|
|
24835
|
+
*/
|
|
24836
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.getThreedsissuerurl = function() {
|
|
24837
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
24838
|
+
};
|
|
24839
|
+
|
|
24840
|
+
|
|
24841
|
+
/**
|
|
24842
|
+
* @param {string} value
|
|
24843
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse} returns this
|
|
24844
|
+
*/
|
|
24845
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.setThreedsissuerurl = function(value) {
|
|
24846
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
24847
|
+
};
|
|
24848
|
+
|
|
24849
|
+
|
|
24850
|
+
/**
|
|
24851
|
+
* optional int64 cardValidationId = 3;
|
|
24852
|
+
* @return {number}
|
|
24853
|
+
*/
|
|
24854
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.getCardvalidationid = function() {
|
|
24855
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
24856
|
+
};
|
|
24857
|
+
|
|
24858
|
+
|
|
24859
|
+
/**
|
|
24860
|
+
* @param {number} value
|
|
24861
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse} returns this
|
|
24862
|
+
*/
|
|
24863
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.setCardvalidationid = function(value) {
|
|
24864
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
24865
|
+
};
|
|
24866
|
+
|
|
24867
|
+
|
|
24868
|
+
/**
|
|
24869
|
+
* optional ResponseCode responseCode = 4;
|
|
24870
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
24871
|
+
*/
|
|
24872
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.getResponsecode = function() {
|
|
24873
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
|
|
24874
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 4));
|
|
24875
|
+
};
|
|
24876
|
+
|
|
24877
|
+
|
|
24878
|
+
/**
|
|
24879
|
+
* @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
|
|
24880
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse} returns this
|
|
24881
|
+
*/
|
|
24882
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.setResponsecode = function(value) {
|
|
24883
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
24884
|
+
};
|
|
24885
|
+
|
|
24886
|
+
|
|
24887
|
+
/**
|
|
24888
|
+
* Clears the message field making it undefined.
|
|
24889
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse} returns this
|
|
24890
|
+
*/
|
|
24891
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.clearResponsecode = function() {
|
|
24892
|
+
return this.setResponsecode(undefined);
|
|
24893
|
+
};
|
|
24894
|
+
|
|
24895
|
+
|
|
24896
|
+
/**
|
|
24897
|
+
* Returns whether this field is set.
|
|
24898
|
+
* @return {boolean}
|
|
24899
|
+
*/
|
|
24900
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.hasResponsecode = function() {
|
|
24901
|
+
return jspb.Message.getField(this, 4) != null;
|
|
24902
|
+
};
|
|
24903
|
+
|
|
24904
|
+
|
|
24905
|
+
/**
|
|
24906
|
+
* optional string redirectUrlAfterVerification = 5;
|
|
24907
|
+
* @return {string}
|
|
24908
|
+
*/
|
|
24909
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.getRedirecturlafterverification = function() {
|
|
24910
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
24911
|
+
};
|
|
24912
|
+
|
|
24913
|
+
|
|
24914
|
+
/**
|
|
24915
|
+
* @param {string} value
|
|
24916
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse} returns this
|
|
24917
|
+
*/
|
|
24918
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse.prototype.setRedirecturlafterverification = function(value) {
|
|
24919
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
24920
|
+
};
|
|
24921
|
+
|
|
24922
|
+
|
|
24448
24923
|
/**
|
|
24449
24924
|
* @enum {number}
|
|
24450
24925
|
*/
|
|
@@ -24474,7 +24949,8 @@ proto.sniippaymentmethodsserviceapi.CardValidationResult = {
|
|
|
24474
24949
|
FAILED: 3,
|
|
24475
24950
|
NOT_ENROLLED: 4,
|
|
24476
24951
|
IGNORE: 5,
|
|
24477
|
-
VALIDATION_EXPIRED_REMOVE_CARD: 6
|
|
24952
|
+
VALIDATION_EXPIRED_REMOVE_CARD: 6,
|
|
24953
|
+
FORCE_VERIFICATION: 7
|
|
24478
24954
|
};
|
|
24479
24955
|
|
|
24480
24956
|
goog.object.extend(exports, proto.sniippaymentmethodsserviceapi);
|