@sniipwebmaster/payment-methods-client-grpcweb-ts 26.2.7749 → 26.2.7767
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.
|
@@ -25,6 +25,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AccessToken', null, globa
|
|
|
25
25
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ActivatePaymentDetailRequest', null, global);
|
|
26
26
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ActivateRequest', null, global);
|
|
27
27
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.Activation', null, global);
|
|
28
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddClick2PayRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddClick2PayResponse', null, global);
|
|
28
30
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddPaymentMethod', null, global);
|
|
29
31
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest', null, global);
|
|
30
32
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest', null, global);
|
|
@@ -48,7 +50,10 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashResponse', null,
|
|
|
48
50
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashesForUserRequest', null, global);
|
|
49
51
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashesForUserResponse', null, global);
|
|
50
52
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardValidationResult', null, global);
|
|
53
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.Click2PayDetail', null, global);
|
|
51
54
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ColourScheme', null, global);
|
|
55
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest', null, global);
|
|
56
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse', null, global);
|
|
52
57
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest', null, global);
|
|
53
58
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCard', null, global);
|
|
54
59
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest', null, global);
|
|
@@ -1311,6 +1316,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1311
1316
|
*/
|
|
1312
1317
|
proto.sniippaymentmethodsserviceapi.PaymentMethod.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethod';
|
|
1313
1318
|
}
|
|
1319
|
+
/**
|
|
1320
|
+
* Generated by JsPbCodeGenerator.
|
|
1321
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1322
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1323
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1324
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1325
|
+
* valid.
|
|
1326
|
+
* @extends {jspb.Message}
|
|
1327
|
+
* @constructor
|
|
1328
|
+
*/
|
|
1329
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail = function(opt_data) {
|
|
1330
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1331
|
+
};
|
|
1332
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.Click2PayDetail, jspb.Message);
|
|
1333
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1334
|
+
/**
|
|
1335
|
+
* @public
|
|
1336
|
+
* @override
|
|
1337
|
+
*/
|
|
1338
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.displayName = 'proto.sniippaymentmethodsserviceapi.Click2PayDetail';
|
|
1339
|
+
}
|
|
1340
|
+
/**
|
|
1341
|
+
* Generated by JsPbCodeGenerator.
|
|
1342
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1343
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1344
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1345
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1346
|
+
* valid.
|
|
1347
|
+
* @extends {jspb.Message}
|
|
1348
|
+
* @constructor
|
|
1349
|
+
*/
|
|
1350
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest = function(opt_data) {
|
|
1351
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1352
|
+
};
|
|
1353
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.AddClick2PayRequest, jspb.Message);
|
|
1354
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1355
|
+
/**
|
|
1356
|
+
* @public
|
|
1357
|
+
* @override
|
|
1358
|
+
*/
|
|
1359
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.displayName = 'proto.sniippaymentmethodsserviceapi.AddClick2PayRequest';
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* Generated by JsPbCodeGenerator.
|
|
1363
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1364
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1365
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1366
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1367
|
+
* valid.
|
|
1368
|
+
* @extends {jspb.Message}
|
|
1369
|
+
* @constructor
|
|
1370
|
+
*/
|
|
1371
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse = function(opt_data) {
|
|
1372
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1373
|
+
};
|
|
1374
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.AddClick2PayResponse, jspb.Message);
|
|
1375
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1376
|
+
/**
|
|
1377
|
+
* @public
|
|
1378
|
+
* @override
|
|
1379
|
+
*/
|
|
1380
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.displayName = 'proto.sniippaymentmethodsserviceapi.AddClick2PayResponse';
|
|
1381
|
+
}
|
|
1382
|
+
/**
|
|
1383
|
+
* Generated by JsPbCodeGenerator.
|
|
1384
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1385
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1386
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1387
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1388
|
+
* valid.
|
|
1389
|
+
* @extends {jspb.Message}
|
|
1390
|
+
* @constructor
|
|
1391
|
+
*/
|
|
1392
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest = function(opt_data) {
|
|
1393
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1394
|
+
};
|
|
1395
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest, jspb.Message);
|
|
1396
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1397
|
+
/**
|
|
1398
|
+
* @public
|
|
1399
|
+
* @override
|
|
1400
|
+
*/
|
|
1401
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.displayName = 'proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest';
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* Generated by JsPbCodeGenerator.
|
|
1405
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1406
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1407
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1408
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1409
|
+
* valid.
|
|
1410
|
+
* @extends {jspb.Message}
|
|
1411
|
+
* @constructor
|
|
1412
|
+
*/
|
|
1413
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse = function(opt_data) {
|
|
1414
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1415
|
+
};
|
|
1416
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse, jspb.Message);
|
|
1417
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1418
|
+
/**
|
|
1419
|
+
* @public
|
|
1420
|
+
* @override
|
|
1421
|
+
*/
|
|
1422
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.displayName = 'proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse';
|
|
1423
|
+
}
|
|
1314
1424
|
/**
|
|
1315
1425
|
* Generated by JsPbCodeGenerator.
|
|
1316
1426
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4282,7 +4392,8 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.toObject = function(include
|
|
|
4282
4392
|
googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f),
|
|
4283
4393
|
wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.WexCard.toObject(includeInstance, f),
|
|
4284
4394
|
alternativepaymentmethod: (f = msg.getAlternativepaymentmethod()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.toObject(includeInstance, f),
|
|
4285
|
-
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f)
|
|
4395
|
+
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f),
|
|
4396
|
+
userid: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
4286
4397
|
};
|
|
4287
4398
|
|
|
4288
4399
|
if (includeInstance) {
|
|
@@ -4362,6 +4473,10 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.deserializeBinaryFromReader
|
|
|
4362
4473
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader);
|
|
4363
4474
|
msg.setPaytobankaccount(value);
|
|
4364
4475
|
break;
|
|
4476
|
+
case 10:
|
|
4477
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4478
|
+
msg.setUserid(value);
|
|
4479
|
+
break;
|
|
4365
4480
|
default:
|
|
4366
4481
|
reader.skipField();
|
|
4367
4482
|
break;
|
|
@@ -4461,6 +4576,13 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.serializeBinaryToWriter = f
|
|
|
4461
4576
|
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter
|
|
4462
4577
|
);
|
|
4463
4578
|
}
|
|
4579
|
+
f = message.getUserid();
|
|
4580
|
+
if (f !== 0) {
|
|
4581
|
+
writer.writeInt64(
|
|
4582
|
+
10,
|
|
4583
|
+
f
|
|
4584
|
+
);
|
|
4585
|
+
}
|
|
4464
4586
|
};
|
|
4465
4587
|
|
|
4466
4588
|
|
|
@@ -4759,6 +4881,24 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasPaytobankaccou
|
|
|
4759
4881
|
};
|
|
4760
4882
|
|
|
4761
4883
|
|
|
4884
|
+
/**
|
|
4885
|
+
* optional int64 userId = 10;
|
|
4886
|
+
* @return {number}
|
|
4887
|
+
*/
|
|
4888
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.getUserid = function() {
|
|
4889
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
4890
|
+
};
|
|
4891
|
+
|
|
4892
|
+
|
|
4893
|
+
/**
|
|
4894
|
+
* @param {number} value
|
|
4895
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
|
|
4896
|
+
*/
|
|
4897
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setUserid = function(value) {
|
|
4898
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
4899
|
+
};
|
|
4900
|
+
|
|
4901
|
+
|
|
4762
4902
|
|
|
4763
4903
|
|
|
4764
4904
|
|
|
@@ -17114,7 +17254,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.toObject = function(includeIns
|
|
|
17114
17254
|
googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f),
|
|
17115
17255
|
wexcarddetail: (f = msg.getWexcarddetail()) && proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject(includeInstance, f),
|
|
17116
17256
|
alternativepaymentmethoddetail: (f = msg.getAlternativepaymentmethoddetail()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.toObject(includeInstance, f),
|
|
17117
|
-
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f)
|
|
17257
|
+
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f),
|
|
17258
|
+
click2paydetail: (f = msg.getClick2paydetail()) && proto.sniippaymentmethodsserviceapi.Click2PayDetail.toObject(includeInstance, f)
|
|
17118
17259
|
};
|
|
17119
17260
|
|
|
17120
17261
|
if (includeInstance) {
|
|
@@ -17199,6 +17340,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.deserializeBinaryFromReader =
|
|
|
17199
17340
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader);
|
|
17200
17341
|
msg.setPaytobankaccount(value);
|
|
17201
17342
|
break;
|
|
17343
|
+
case 13:
|
|
17344
|
+
var value = new proto.sniippaymentmethodsserviceapi.Click2PayDetail;
|
|
17345
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.Click2PayDetail.deserializeBinaryFromReader);
|
|
17346
|
+
msg.setClick2paydetail(value);
|
|
17347
|
+
break;
|
|
17202
17348
|
default:
|
|
17203
17349
|
reader.skipField();
|
|
17204
17350
|
break;
|
|
@@ -17306,6 +17452,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.serializeBinaryToWriter = func
|
|
|
17306
17452
|
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter
|
|
17307
17453
|
);
|
|
17308
17454
|
}
|
|
17455
|
+
f = message.getClick2paydetail();
|
|
17456
|
+
if (f != null) {
|
|
17457
|
+
writer.writeMessage(
|
|
17458
|
+
13,
|
|
17459
|
+
f,
|
|
17460
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.serializeBinaryToWriter
|
|
17461
|
+
);
|
|
17462
|
+
}
|
|
17309
17463
|
};
|
|
17310
17464
|
|
|
17311
17465
|
|
|
@@ -17642,6 +17796,1725 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasPaytobankaccount
|
|
|
17642
17796
|
};
|
|
17643
17797
|
|
|
17644
17798
|
|
|
17799
|
+
/**
|
|
17800
|
+
* optional Click2PayDetail click2PayDetail = 13;
|
|
17801
|
+
* @return {?proto.sniippaymentmethodsserviceapi.Click2PayDetail}
|
|
17802
|
+
*/
|
|
17803
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.getClick2paydetail = function() {
|
|
17804
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.Click2PayDetail} */ (
|
|
17805
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.Click2PayDetail, 13));
|
|
17806
|
+
};
|
|
17807
|
+
|
|
17808
|
+
|
|
17809
|
+
/**
|
|
17810
|
+
* @param {?proto.sniippaymentmethodsserviceapi.Click2PayDetail|undefined} value
|
|
17811
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod} returns this
|
|
17812
|
+
*/
|
|
17813
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.setClick2paydetail = function(value) {
|
|
17814
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
17815
|
+
};
|
|
17816
|
+
|
|
17817
|
+
|
|
17818
|
+
/**
|
|
17819
|
+
* Clears the message field making it undefined.
|
|
17820
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod} returns this
|
|
17821
|
+
*/
|
|
17822
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.clearClick2paydetail = function() {
|
|
17823
|
+
return this.setClick2paydetail(undefined);
|
|
17824
|
+
};
|
|
17825
|
+
|
|
17826
|
+
|
|
17827
|
+
/**
|
|
17828
|
+
* Returns whether this field is set.
|
|
17829
|
+
* @return {boolean}
|
|
17830
|
+
*/
|
|
17831
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasClick2paydetail = function() {
|
|
17832
|
+
return jspb.Message.getField(this, 13) != null;
|
|
17833
|
+
};
|
|
17834
|
+
|
|
17835
|
+
|
|
17836
|
+
|
|
17837
|
+
|
|
17838
|
+
|
|
17839
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17840
|
+
/**
|
|
17841
|
+
* Creates an object representation of this proto.
|
|
17842
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17843
|
+
* Optional fields that are not set will be set to undefined.
|
|
17844
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17845
|
+
* For the list of reserved names please see:
|
|
17846
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17847
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17848
|
+
* JSPB instance for transitional soy proto support:
|
|
17849
|
+
* http://goto/soy-param-migration
|
|
17850
|
+
* @return {!Object}
|
|
17851
|
+
*/
|
|
17852
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.toObject = function(opt_includeInstance) {
|
|
17853
|
+
return proto.sniippaymentmethodsserviceapi.Click2PayDetail.toObject(opt_includeInstance, this);
|
|
17854
|
+
};
|
|
17855
|
+
|
|
17856
|
+
|
|
17857
|
+
/**
|
|
17858
|
+
* Static version of the {@see toObject} method.
|
|
17859
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17860
|
+
* the JSPB instance for transitional soy proto support:
|
|
17861
|
+
* http://goto/soy-param-migration
|
|
17862
|
+
* @param {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} msg The msg instance to transform.
|
|
17863
|
+
* @return {!Object}
|
|
17864
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17865
|
+
*/
|
|
17866
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.toObject = function(includeInstance, msg) {
|
|
17867
|
+
var f, obj = {
|
|
17868
|
+
sessionid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17869
|
+
cardbrand: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17870
|
+
cardlastfour: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
17871
|
+
cardexpirymonth: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17872
|
+
cardexpiryyear: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
17873
|
+
cardfundingtype: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
17874
|
+
cardcountrycode: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
17875
|
+
isinternational: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
17876
|
+
cardarturi: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
17877
|
+
consumeremail: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
17878
|
+
tokenisationcreditcardid: jspb.Message.getFieldWithDefault(msg, 11, 0)
|
|
17879
|
+
};
|
|
17880
|
+
|
|
17881
|
+
if (includeInstance) {
|
|
17882
|
+
obj.$jspbMessageInstance = msg;
|
|
17883
|
+
}
|
|
17884
|
+
return obj;
|
|
17885
|
+
};
|
|
17886
|
+
}
|
|
17887
|
+
|
|
17888
|
+
|
|
17889
|
+
/**
|
|
17890
|
+
* Deserializes binary data (in protobuf wire format).
|
|
17891
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17892
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail}
|
|
17893
|
+
*/
|
|
17894
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.deserializeBinary = function(bytes) {
|
|
17895
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
17896
|
+
var msg = new proto.sniippaymentmethodsserviceapi.Click2PayDetail;
|
|
17897
|
+
return proto.sniippaymentmethodsserviceapi.Click2PayDetail.deserializeBinaryFromReader(msg, reader);
|
|
17898
|
+
};
|
|
17899
|
+
|
|
17900
|
+
|
|
17901
|
+
/**
|
|
17902
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
17903
|
+
* given reader into the given message object.
|
|
17904
|
+
* @param {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} msg The message object to deserialize into.
|
|
17905
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17906
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail}
|
|
17907
|
+
*/
|
|
17908
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
17909
|
+
while (reader.nextField()) {
|
|
17910
|
+
if (reader.isEndGroup()) {
|
|
17911
|
+
break;
|
|
17912
|
+
}
|
|
17913
|
+
var field = reader.getFieldNumber();
|
|
17914
|
+
switch (field) {
|
|
17915
|
+
case 1:
|
|
17916
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17917
|
+
msg.setSessionid(value);
|
|
17918
|
+
break;
|
|
17919
|
+
case 2:
|
|
17920
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17921
|
+
msg.setCardbrand(value);
|
|
17922
|
+
break;
|
|
17923
|
+
case 3:
|
|
17924
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17925
|
+
msg.setCardlastfour(value);
|
|
17926
|
+
break;
|
|
17927
|
+
case 4:
|
|
17928
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17929
|
+
msg.setCardexpirymonth(value);
|
|
17930
|
+
break;
|
|
17931
|
+
case 5:
|
|
17932
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17933
|
+
msg.setCardexpiryyear(value);
|
|
17934
|
+
break;
|
|
17935
|
+
case 6:
|
|
17936
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17937
|
+
msg.setCardfundingtype(value);
|
|
17938
|
+
break;
|
|
17939
|
+
case 7:
|
|
17940
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17941
|
+
msg.setCardcountrycode(value);
|
|
17942
|
+
break;
|
|
17943
|
+
case 8:
|
|
17944
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
17945
|
+
msg.setIsinternational(value);
|
|
17946
|
+
break;
|
|
17947
|
+
case 9:
|
|
17948
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17949
|
+
msg.setCardarturi(value);
|
|
17950
|
+
break;
|
|
17951
|
+
case 10:
|
|
17952
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17953
|
+
msg.setConsumeremail(value);
|
|
17954
|
+
break;
|
|
17955
|
+
case 11:
|
|
17956
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
17957
|
+
msg.setTokenisationcreditcardid(value);
|
|
17958
|
+
break;
|
|
17959
|
+
default:
|
|
17960
|
+
reader.skipField();
|
|
17961
|
+
break;
|
|
17962
|
+
}
|
|
17963
|
+
}
|
|
17964
|
+
return msg;
|
|
17965
|
+
};
|
|
17966
|
+
|
|
17967
|
+
|
|
17968
|
+
/**
|
|
17969
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
17970
|
+
* @return {!Uint8Array}
|
|
17971
|
+
*/
|
|
17972
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.serializeBinary = function() {
|
|
17973
|
+
var writer = new jspb.BinaryWriter();
|
|
17974
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.serializeBinaryToWriter(this, writer);
|
|
17975
|
+
return writer.getResultBuffer();
|
|
17976
|
+
};
|
|
17977
|
+
|
|
17978
|
+
|
|
17979
|
+
/**
|
|
17980
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
17981
|
+
* format), writing to the given BinaryWriter.
|
|
17982
|
+
* @param {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} message
|
|
17983
|
+
* @param {!jspb.BinaryWriter} writer
|
|
17984
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17985
|
+
*/
|
|
17986
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.serializeBinaryToWriter = function(message, writer) {
|
|
17987
|
+
var f = undefined;
|
|
17988
|
+
f = message.getSessionid();
|
|
17989
|
+
if (f.length > 0) {
|
|
17990
|
+
writer.writeString(
|
|
17991
|
+
1,
|
|
17992
|
+
f
|
|
17993
|
+
);
|
|
17994
|
+
}
|
|
17995
|
+
f = message.getCardbrand();
|
|
17996
|
+
if (f.length > 0) {
|
|
17997
|
+
writer.writeString(
|
|
17998
|
+
2,
|
|
17999
|
+
f
|
|
18000
|
+
);
|
|
18001
|
+
}
|
|
18002
|
+
f = message.getCardlastfour();
|
|
18003
|
+
if (f.length > 0) {
|
|
18004
|
+
writer.writeString(
|
|
18005
|
+
3,
|
|
18006
|
+
f
|
|
18007
|
+
);
|
|
18008
|
+
}
|
|
18009
|
+
f = message.getCardexpirymonth();
|
|
18010
|
+
if (f.length > 0) {
|
|
18011
|
+
writer.writeString(
|
|
18012
|
+
4,
|
|
18013
|
+
f
|
|
18014
|
+
);
|
|
18015
|
+
}
|
|
18016
|
+
f = message.getCardexpiryyear();
|
|
18017
|
+
if (f.length > 0) {
|
|
18018
|
+
writer.writeString(
|
|
18019
|
+
5,
|
|
18020
|
+
f
|
|
18021
|
+
);
|
|
18022
|
+
}
|
|
18023
|
+
f = message.getCardfundingtype();
|
|
18024
|
+
if (f.length > 0) {
|
|
18025
|
+
writer.writeString(
|
|
18026
|
+
6,
|
|
18027
|
+
f
|
|
18028
|
+
);
|
|
18029
|
+
}
|
|
18030
|
+
f = message.getCardcountrycode();
|
|
18031
|
+
if (f.length > 0) {
|
|
18032
|
+
writer.writeString(
|
|
18033
|
+
7,
|
|
18034
|
+
f
|
|
18035
|
+
);
|
|
18036
|
+
}
|
|
18037
|
+
f = message.getIsinternational();
|
|
18038
|
+
if (f) {
|
|
18039
|
+
writer.writeBool(
|
|
18040
|
+
8,
|
|
18041
|
+
f
|
|
18042
|
+
);
|
|
18043
|
+
}
|
|
18044
|
+
f = message.getCardarturi();
|
|
18045
|
+
if (f.length > 0) {
|
|
18046
|
+
writer.writeString(
|
|
18047
|
+
9,
|
|
18048
|
+
f
|
|
18049
|
+
);
|
|
18050
|
+
}
|
|
18051
|
+
f = message.getConsumeremail();
|
|
18052
|
+
if (f.length > 0) {
|
|
18053
|
+
writer.writeString(
|
|
18054
|
+
10,
|
|
18055
|
+
f
|
|
18056
|
+
);
|
|
18057
|
+
}
|
|
18058
|
+
f = message.getTokenisationcreditcardid();
|
|
18059
|
+
if (f !== 0) {
|
|
18060
|
+
writer.writeInt64(
|
|
18061
|
+
11,
|
|
18062
|
+
f
|
|
18063
|
+
);
|
|
18064
|
+
}
|
|
18065
|
+
};
|
|
18066
|
+
|
|
18067
|
+
|
|
18068
|
+
/**
|
|
18069
|
+
* optional string sessionId = 1;
|
|
18070
|
+
* @return {string}
|
|
18071
|
+
*/
|
|
18072
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getSessionid = function() {
|
|
18073
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
18074
|
+
};
|
|
18075
|
+
|
|
18076
|
+
|
|
18077
|
+
/**
|
|
18078
|
+
* @param {string} value
|
|
18079
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18080
|
+
*/
|
|
18081
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setSessionid = function(value) {
|
|
18082
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
18083
|
+
};
|
|
18084
|
+
|
|
18085
|
+
|
|
18086
|
+
/**
|
|
18087
|
+
* optional string cardBrand = 2;
|
|
18088
|
+
* @return {string}
|
|
18089
|
+
*/
|
|
18090
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getCardbrand = function() {
|
|
18091
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18092
|
+
};
|
|
18093
|
+
|
|
18094
|
+
|
|
18095
|
+
/**
|
|
18096
|
+
* @param {string} value
|
|
18097
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18098
|
+
*/
|
|
18099
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setCardbrand = function(value) {
|
|
18100
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
18101
|
+
};
|
|
18102
|
+
|
|
18103
|
+
|
|
18104
|
+
/**
|
|
18105
|
+
* optional string cardLastFour = 3;
|
|
18106
|
+
* @return {string}
|
|
18107
|
+
*/
|
|
18108
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getCardlastfour = function() {
|
|
18109
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
18110
|
+
};
|
|
18111
|
+
|
|
18112
|
+
|
|
18113
|
+
/**
|
|
18114
|
+
* @param {string} value
|
|
18115
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18116
|
+
*/
|
|
18117
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setCardlastfour = function(value) {
|
|
18118
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
18119
|
+
};
|
|
18120
|
+
|
|
18121
|
+
|
|
18122
|
+
/**
|
|
18123
|
+
* optional string cardExpiryMonth = 4;
|
|
18124
|
+
* @return {string}
|
|
18125
|
+
*/
|
|
18126
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getCardexpirymonth = function() {
|
|
18127
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
18128
|
+
};
|
|
18129
|
+
|
|
18130
|
+
|
|
18131
|
+
/**
|
|
18132
|
+
* @param {string} value
|
|
18133
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18134
|
+
*/
|
|
18135
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setCardexpirymonth = function(value) {
|
|
18136
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
18137
|
+
};
|
|
18138
|
+
|
|
18139
|
+
|
|
18140
|
+
/**
|
|
18141
|
+
* optional string cardExpiryYear = 5;
|
|
18142
|
+
* @return {string}
|
|
18143
|
+
*/
|
|
18144
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getCardexpiryyear = function() {
|
|
18145
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
18146
|
+
};
|
|
18147
|
+
|
|
18148
|
+
|
|
18149
|
+
/**
|
|
18150
|
+
* @param {string} value
|
|
18151
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18152
|
+
*/
|
|
18153
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setCardexpiryyear = function(value) {
|
|
18154
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
18155
|
+
};
|
|
18156
|
+
|
|
18157
|
+
|
|
18158
|
+
/**
|
|
18159
|
+
* optional string cardFundingType = 6;
|
|
18160
|
+
* @return {string}
|
|
18161
|
+
*/
|
|
18162
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getCardfundingtype = function() {
|
|
18163
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
18164
|
+
};
|
|
18165
|
+
|
|
18166
|
+
|
|
18167
|
+
/**
|
|
18168
|
+
* @param {string} value
|
|
18169
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18170
|
+
*/
|
|
18171
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setCardfundingtype = function(value) {
|
|
18172
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
18173
|
+
};
|
|
18174
|
+
|
|
18175
|
+
|
|
18176
|
+
/**
|
|
18177
|
+
* optional string cardCountryCode = 7;
|
|
18178
|
+
* @return {string}
|
|
18179
|
+
*/
|
|
18180
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getCardcountrycode = function() {
|
|
18181
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
18182
|
+
};
|
|
18183
|
+
|
|
18184
|
+
|
|
18185
|
+
/**
|
|
18186
|
+
* @param {string} value
|
|
18187
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18188
|
+
*/
|
|
18189
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setCardcountrycode = function(value) {
|
|
18190
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
18191
|
+
};
|
|
18192
|
+
|
|
18193
|
+
|
|
18194
|
+
/**
|
|
18195
|
+
* optional bool isInternational = 8;
|
|
18196
|
+
* @return {boolean}
|
|
18197
|
+
*/
|
|
18198
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getIsinternational = function() {
|
|
18199
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
18200
|
+
};
|
|
18201
|
+
|
|
18202
|
+
|
|
18203
|
+
/**
|
|
18204
|
+
* @param {boolean} value
|
|
18205
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18206
|
+
*/
|
|
18207
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setIsinternational = function(value) {
|
|
18208
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
18209
|
+
};
|
|
18210
|
+
|
|
18211
|
+
|
|
18212
|
+
/**
|
|
18213
|
+
* optional string cardArtUri = 9;
|
|
18214
|
+
* @return {string}
|
|
18215
|
+
*/
|
|
18216
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getCardarturi = function() {
|
|
18217
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
18218
|
+
};
|
|
18219
|
+
|
|
18220
|
+
|
|
18221
|
+
/**
|
|
18222
|
+
* @param {string} value
|
|
18223
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18224
|
+
*/
|
|
18225
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setCardarturi = function(value) {
|
|
18226
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
18227
|
+
};
|
|
18228
|
+
|
|
18229
|
+
|
|
18230
|
+
/**
|
|
18231
|
+
* optional string consumerEmail = 10;
|
|
18232
|
+
* @return {string}
|
|
18233
|
+
*/
|
|
18234
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getConsumeremail = function() {
|
|
18235
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
18236
|
+
};
|
|
18237
|
+
|
|
18238
|
+
|
|
18239
|
+
/**
|
|
18240
|
+
* @param {string} value
|
|
18241
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18242
|
+
*/
|
|
18243
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setConsumeremail = function(value) {
|
|
18244
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
18245
|
+
};
|
|
18246
|
+
|
|
18247
|
+
|
|
18248
|
+
/**
|
|
18249
|
+
* optional int64 tokenisationCreditCardId = 11;
|
|
18250
|
+
* @return {number}
|
|
18251
|
+
*/
|
|
18252
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.getTokenisationcreditcardid = function() {
|
|
18253
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
18254
|
+
};
|
|
18255
|
+
|
|
18256
|
+
|
|
18257
|
+
/**
|
|
18258
|
+
* @param {number} value
|
|
18259
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Click2PayDetail} returns this
|
|
18260
|
+
*/
|
|
18261
|
+
proto.sniippaymentmethodsserviceapi.Click2PayDetail.prototype.setTokenisationcreditcardid = function(value) {
|
|
18262
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
18263
|
+
};
|
|
18264
|
+
|
|
18265
|
+
|
|
18266
|
+
|
|
18267
|
+
|
|
18268
|
+
|
|
18269
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18270
|
+
/**
|
|
18271
|
+
* Creates an object representation of this proto.
|
|
18272
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18273
|
+
* Optional fields that are not set will be set to undefined.
|
|
18274
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18275
|
+
* For the list of reserved names please see:
|
|
18276
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18277
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18278
|
+
* JSPB instance for transitional soy proto support:
|
|
18279
|
+
* http://goto/soy-param-migration
|
|
18280
|
+
* @return {!Object}
|
|
18281
|
+
*/
|
|
18282
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.prototype.toObject = function(opt_includeInstance) {
|
|
18283
|
+
return proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.toObject(opt_includeInstance, this);
|
|
18284
|
+
};
|
|
18285
|
+
|
|
18286
|
+
|
|
18287
|
+
/**
|
|
18288
|
+
* Static version of the {@see toObject} method.
|
|
18289
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18290
|
+
* the JSPB instance for transitional soy proto support:
|
|
18291
|
+
* http://goto/soy-param-migration
|
|
18292
|
+
* @param {!proto.sniippaymentmethodsserviceapi.AddClick2PayRequest} msg The msg instance to transform.
|
|
18293
|
+
* @return {!Object}
|
|
18294
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18295
|
+
*/
|
|
18296
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.toObject = function(includeInstance, msg) {
|
|
18297
|
+
var f, obj = {
|
|
18298
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
18299
|
+
};
|
|
18300
|
+
|
|
18301
|
+
if (includeInstance) {
|
|
18302
|
+
obj.$jspbMessageInstance = msg;
|
|
18303
|
+
}
|
|
18304
|
+
return obj;
|
|
18305
|
+
};
|
|
18306
|
+
}
|
|
18307
|
+
|
|
18308
|
+
|
|
18309
|
+
/**
|
|
18310
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18311
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18312
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayRequest}
|
|
18313
|
+
*/
|
|
18314
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.deserializeBinary = function(bytes) {
|
|
18315
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18316
|
+
var msg = new proto.sniippaymentmethodsserviceapi.AddClick2PayRequest;
|
|
18317
|
+
return proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.deserializeBinaryFromReader(msg, reader);
|
|
18318
|
+
};
|
|
18319
|
+
|
|
18320
|
+
|
|
18321
|
+
/**
|
|
18322
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18323
|
+
* given reader into the given message object.
|
|
18324
|
+
* @param {!proto.sniippaymentmethodsserviceapi.AddClick2PayRequest} msg The message object to deserialize into.
|
|
18325
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18326
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayRequest}
|
|
18327
|
+
*/
|
|
18328
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
18329
|
+
while (reader.nextField()) {
|
|
18330
|
+
if (reader.isEndGroup()) {
|
|
18331
|
+
break;
|
|
18332
|
+
}
|
|
18333
|
+
var field = reader.getFieldNumber();
|
|
18334
|
+
switch (field) {
|
|
18335
|
+
case 1:
|
|
18336
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18337
|
+
msg.setUserid(value);
|
|
18338
|
+
break;
|
|
18339
|
+
default:
|
|
18340
|
+
reader.skipField();
|
|
18341
|
+
break;
|
|
18342
|
+
}
|
|
18343
|
+
}
|
|
18344
|
+
return msg;
|
|
18345
|
+
};
|
|
18346
|
+
|
|
18347
|
+
|
|
18348
|
+
/**
|
|
18349
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18350
|
+
* @return {!Uint8Array}
|
|
18351
|
+
*/
|
|
18352
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.prototype.serializeBinary = function() {
|
|
18353
|
+
var writer = new jspb.BinaryWriter();
|
|
18354
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.serializeBinaryToWriter(this, writer);
|
|
18355
|
+
return writer.getResultBuffer();
|
|
18356
|
+
};
|
|
18357
|
+
|
|
18358
|
+
|
|
18359
|
+
/**
|
|
18360
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18361
|
+
* format), writing to the given BinaryWriter.
|
|
18362
|
+
* @param {!proto.sniippaymentmethodsserviceapi.AddClick2PayRequest} message
|
|
18363
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18364
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18365
|
+
*/
|
|
18366
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18367
|
+
var f = undefined;
|
|
18368
|
+
f = message.getUserid();
|
|
18369
|
+
if (f !== 0) {
|
|
18370
|
+
writer.writeInt64(
|
|
18371
|
+
1,
|
|
18372
|
+
f
|
|
18373
|
+
);
|
|
18374
|
+
}
|
|
18375
|
+
};
|
|
18376
|
+
|
|
18377
|
+
|
|
18378
|
+
/**
|
|
18379
|
+
* optional int64 userId = 1;
|
|
18380
|
+
* @return {number}
|
|
18381
|
+
*/
|
|
18382
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.prototype.getUserid = function() {
|
|
18383
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18384
|
+
};
|
|
18385
|
+
|
|
18386
|
+
|
|
18387
|
+
/**
|
|
18388
|
+
* @param {number} value
|
|
18389
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayRequest} returns this
|
|
18390
|
+
*/
|
|
18391
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayRequest.prototype.setUserid = function(value) {
|
|
18392
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
18393
|
+
};
|
|
18394
|
+
|
|
18395
|
+
|
|
18396
|
+
|
|
18397
|
+
|
|
18398
|
+
|
|
18399
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18400
|
+
/**
|
|
18401
|
+
* Creates an object representation of this proto.
|
|
18402
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18403
|
+
* Optional fields that are not set will be set to undefined.
|
|
18404
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18405
|
+
* For the list of reserved names please see:
|
|
18406
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18407
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18408
|
+
* JSPB instance for transitional soy proto support:
|
|
18409
|
+
* http://goto/soy-param-migration
|
|
18410
|
+
* @return {!Object}
|
|
18411
|
+
*/
|
|
18412
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.toObject = function(opt_includeInstance) {
|
|
18413
|
+
return proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.toObject(opt_includeInstance, this);
|
|
18414
|
+
};
|
|
18415
|
+
|
|
18416
|
+
|
|
18417
|
+
/**
|
|
18418
|
+
* Static version of the {@see toObject} method.
|
|
18419
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18420
|
+
* the JSPB instance for transitional soy proto support:
|
|
18421
|
+
* http://goto/soy-param-migration
|
|
18422
|
+
* @param {!proto.sniippaymentmethodsserviceapi.AddClick2PayResponse} msg The msg instance to transform.
|
|
18423
|
+
* @return {!Object}
|
|
18424
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18425
|
+
*/
|
|
18426
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.toObject = function(includeInstance, msg) {
|
|
18427
|
+
var f, obj = {
|
|
18428
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
18429
|
+
checkouturl: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18430
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f)
|
|
18431
|
+
};
|
|
18432
|
+
|
|
18433
|
+
if (includeInstance) {
|
|
18434
|
+
obj.$jspbMessageInstance = msg;
|
|
18435
|
+
}
|
|
18436
|
+
return obj;
|
|
18437
|
+
};
|
|
18438
|
+
}
|
|
18439
|
+
|
|
18440
|
+
|
|
18441
|
+
/**
|
|
18442
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18443
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18444
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayResponse}
|
|
18445
|
+
*/
|
|
18446
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.deserializeBinary = function(bytes) {
|
|
18447
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18448
|
+
var msg = new proto.sniippaymentmethodsserviceapi.AddClick2PayResponse;
|
|
18449
|
+
return proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.deserializeBinaryFromReader(msg, reader);
|
|
18450
|
+
};
|
|
18451
|
+
|
|
18452
|
+
|
|
18453
|
+
/**
|
|
18454
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18455
|
+
* given reader into the given message object.
|
|
18456
|
+
* @param {!proto.sniippaymentmethodsserviceapi.AddClick2PayResponse} msg The message object to deserialize into.
|
|
18457
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18458
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayResponse}
|
|
18459
|
+
*/
|
|
18460
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
18461
|
+
while (reader.nextField()) {
|
|
18462
|
+
if (reader.isEndGroup()) {
|
|
18463
|
+
break;
|
|
18464
|
+
}
|
|
18465
|
+
var field = reader.getFieldNumber();
|
|
18466
|
+
switch (field) {
|
|
18467
|
+
case 1:
|
|
18468
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18469
|
+
msg.setPaymentmethodid(value);
|
|
18470
|
+
break;
|
|
18471
|
+
case 2:
|
|
18472
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18473
|
+
msg.setCheckouturl(value);
|
|
18474
|
+
break;
|
|
18475
|
+
case 3:
|
|
18476
|
+
var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
18477
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
18478
|
+
msg.setResponsecode(value);
|
|
18479
|
+
break;
|
|
18480
|
+
default:
|
|
18481
|
+
reader.skipField();
|
|
18482
|
+
break;
|
|
18483
|
+
}
|
|
18484
|
+
}
|
|
18485
|
+
return msg;
|
|
18486
|
+
};
|
|
18487
|
+
|
|
18488
|
+
|
|
18489
|
+
/**
|
|
18490
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18491
|
+
* @return {!Uint8Array}
|
|
18492
|
+
*/
|
|
18493
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.serializeBinary = function() {
|
|
18494
|
+
var writer = new jspb.BinaryWriter();
|
|
18495
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.serializeBinaryToWriter(this, writer);
|
|
18496
|
+
return writer.getResultBuffer();
|
|
18497
|
+
};
|
|
18498
|
+
|
|
18499
|
+
|
|
18500
|
+
/**
|
|
18501
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18502
|
+
* format), writing to the given BinaryWriter.
|
|
18503
|
+
* @param {!proto.sniippaymentmethodsserviceapi.AddClick2PayResponse} message
|
|
18504
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18505
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18506
|
+
*/
|
|
18507
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.serializeBinaryToWriter = function(message, writer) {
|
|
18508
|
+
var f = undefined;
|
|
18509
|
+
f = message.getPaymentmethodid();
|
|
18510
|
+
if (f !== 0) {
|
|
18511
|
+
writer.writeInt64(
|
|
18512
|
+
1,
|
|
18513
|
+
f
|
|
18514
|
+
);
|
|
18515
|
+
}
|
|
18516
|
+
f = message.getCheckouturl();
|
|
18517
|
+
if (f.length > 0) {
|
|
18518
|
+
writer.writeString(
|
|
18519
|
+
2,
|
|
18520
|
+
f
|
|
18521
|
+
);
|
|
18522
|
+
}
|
|
18523
|
+
f = message.getResponsecode();
|
|
18524
|
+
if (f != null) {
|
|
18525
|
+
writer.writeMessage(
|
|
18526
|
+
3,
|
|
18527
|
+
f,
|
|
18528
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
18529
|
+
);
|
|
18530
|
+
}
|
|
18531
|
+
};
|
|
18532
|
+
|
|
18533
|
+
|
|
18534
|
+
/**
|
|
18535
|
+
* optional int64 paymentMethodId = 1;
|
|
18536
|
+
* @return {number}
|
|
18537
|
+
*/
|
|
18538
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.getPaymentmethodid = function() {
|
|
18539
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18540
|
+
};
|
|
18541
|
+
|
|
18542
|
+
|
|
18543
|
+
/**
|
|
18544
|
+
* @param {number} value
|
|
18545
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayResponse} returns this
|
|
18546
|
+
*/
|
|
18547
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.setPaymentmethodid = function(value) {
|
|
18548
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
18549
|
+
};
|
|
18550
|
+
|
|
18551
|
+
|
|
18552
|
+
/**
|
|
18553
|
+
* optional string checkoutUrl = 2;
|
|
18554
|
+
* @return {string}
|
|
18555
|
+
*/
|
|
18556
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.getCheckouturl = function() {
|
|
18557
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18558
|
+
};
|
|
18559
|
+
|
|
18560
|
+
|
|
18561
|
+
/**
|
|
18562
|
+
* @param {string} value
|
|
18563
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayResponse} returns this
|
|
18564
|
+
*/
|
|
18565
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.setCheckouturl = function(value) {
|
|
18566
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
18567
|
+
};
|
|
18568
|
+
|
|
18569
|
+
|
|
18570
|
+
/**
|
|
18571
|
+
* optional ResponseCode responseCode = 3;
|
|
18572
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
18573
|
+
*/
|
|
18574
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.getResponsecode = function() {
|
|
18575
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
|
|
18576
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 3));
|
|
18577
|
+
};
|
|
18578
|
+
|
|
18579
|
+
|
|
18580
|
+
/**
|
|
18581
|
+
* @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
|
|
18582
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayResponse} returns this
|
|
18583
|
+
*/
|
|
18584
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.setResponsecode = function(value) {
|
|
18585
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
18586
|
+
};
|
|
18587
|
+
|
|
18588
|
+
|
|
18589
|
+
/**
|
|
18590
|
+
* Clears the message field making it undefined.
|
|
18591
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddClick2PayResponse} returns this
|
|
18592
|
+
*/
|
|
18593
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.clearResponsecode = function() {
|
|
18594
|
+
return this.setResponsecode(undefined);
|
|
18595
|
+
};
|
|
18596
|
+
|
|
18597
|
+
|
|
18598
|
+
/**
|
|
18599
|
+
* Returns whether this field is set.
|
|
18600
|
+
* @return {boolean}
|
|
18601
|
+
*/
|
|
18602
|
+
proto.sniippaymentmethodsserviceapi.AddClick2PayResponse.prototype.hasResponsecode = function() {
|
|
18603
|
+
return jspb.Message.getField(this, 3) != null;
|
|
18604
|
+
};
|
|
18605
|
+
|
|
18606
|
+
|
|
18607
|
+
|
|
18608
|
+
|
|
18609
|
+
|
|
18610
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18611
|
+
/**
|
|
18612
|
+
* Creates an object representation of this proto.
|
|
18613
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18614
|
+
* Optional fields that are not set will be set to undefined.
|
|
18615
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18616
|
+
* For the list of reserved names please see:
|
|
18617
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18618
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18619
|
+
* JSPB instance for transitional soy proto support:
|
|
18620
|
+
* http://goto/soy-param-migration
|
|
18621
|
+
* @return {!Object}
|
|
18622
|
+
*/
|
|
18623
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
18624
|
+
return proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.toObject(opt_includeInstance, this);
|
|
18625
|
+
};
|
|
18626
|
+
|
|
18627
|
+
|
|
18628
|
+
/**
|
|
18629
|
+
* Static version of the {@see toObject} method.
|
|
18630
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18631
|
+
* the JSPB instance for transitional soy proto support:
|
|
18632
|
+
* http://goto/soy-param-migration
|
|
18633
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} msg The msg instance to transform.
|
|
18634
|
+
* @return {!Object}
|
|
18635
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18636
|
+
*/
|
|
18637
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.toObject = function(includeInstance, msg) {
|
|
18638
|
+
var f, obj = {
|
|
18639
|
+
sessionid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18640
|
+
userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
18641
|
+
cardbrand: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
18642
|
+
cardlastfour: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18643
|
+
cardexpirymonth: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
18644
|
+
cardexpiryyear: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
18645
|
+
cardfundingtype: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
18646
|
+
cardcountrycode: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
18647
|
+
eci: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
18648
|
+
panbin: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
18649
|
+
srcdigitalcardid: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
18650
|
+
correlationid: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
18651
|
+
cardarturi: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
18652
|
+
consumeremail: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
18653
|
+
cardholdername: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
18654
|
+
networktoken: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
18655
|
+
networktokenexpirymonth: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
18656
|
+
networktokenexpiryyear: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
18657
|
+
tokencryptogram: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
18658
|
+
tokenrequestorid: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
18659
|
+
pan: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
18660
|
+
};
|
|
18661
|
+
|
|
18662
|
+
if (includeInstance) {
|
|
18663
|
+
obj.$jspbMessageInstance = msg;
|
|
18664
|
+
}
|
|
18665
|
+
return obj;
|
|
18666
|
+
};
|
|
18667
|
+
}
|
|
18668
|
+
|
|
18669
|
+
|
|
18670
|
+
/**
|
|
18671
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18672
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18673
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest}
|
|
18674
|
+
*/
|
|
18675
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.deserializeBinary = function(bytes) {
|
|
18676
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18677
|
+
var msg = new proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest;
|
|
18678
|
+
return proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.deserializeBinaryFromReader(msg, reader);
|
|
18679
|
+
};
|
|
18680
|
+
|
|
18681
|
+
|
|
18682
|
+
/**
|
|
18683
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18684
|
+
* given reader into the given message object.
|
|
18685
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} msg The message object to deserialize into.
|
|
18686
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18687
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest}
|
|
18688
|
+
*/
|
|
18689
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
18690
|
+
while (reader.nextField()) {
|
|
18691
|
+
if (reader.isEndGroup()) {
|
|
18692
|
+
break;
|
|
18693
|
+
}
|
|
18694
|
+
var field = reader.getFieldNumber();
|
|
18695
|
+
switch (field) {
|
|
18696
|
+
case 1:
|
|
18697
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18698
|
+
msg.setSessionid(value);
|
|
18699
|
+
break;
|
|
18700
|
+
case 2:
|
|
18701
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18702
|
+
msg.setUserid(value);
|
|
18703
|
+
break;
|
|
18704
|
+
case 3:
|
|
18705
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18706
|
+
msg.setCardbrand(value);
|
|
18707
|
+
break;
|
|
18708
|
+
case 4:
|
|
18709
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18710
|
+
msg.setCardlastfour(value);
|
|
18711
|
+
break;
|
|
18712
|
+
case 5:
|
|
18713
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18714
|
+
msg.setCardexpirymonth(value);
|
|
18715
|
+
break;
|
|
18716
|
+
case 6:
|
|
18717
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18718
|
+
msg.setCardexpiryyear(value);
|
|
18719
|
+
break;
|
|
18720
|
+
case 7:
|
|
18721
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18722
|
+
msg.setCardfundingtype(value);
|
|
18723
|
+
break;
|
|
18724
|
+
case 8:
|
|
18725
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18726
|
+
msg.setCardcountrycode(value);
|
|
18727
|
+
break;
|
|
18728
|
+
case 9:
|
|
18729
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18730
|
+
msg.setEci(value);
|
|
18731
|
+
break;
|
|
18732
|
+
case 10:
|
|
18733
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18734
|
+
msg.setPanbin(value);
|
|
18735
|
+
break;
|
|
18736
|
+
case 11:
|
|
18737
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18738
|
+
msg.setSrcdigitalcardid(value);
|
|
18739
|
+
break;
|
|
18740
|
+
case 12:
|
|
18741
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18742
|
+
msg.setCorrelationid(value);
|
|
18743
|
+
break;
|
|
18744
|
+
case 13:
|
|
18745
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18746
|
+
msg.setCardarturi(value);
|
|
18747
|
+
break;
|
|
18748
|
+
case 14:
|
|
18749
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18750
|
+
msg.setConsumeremail(value);
|
|
18751
|
+
break;
|
|
18752
|
+
case 15:
|
|
18753
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18754
|
+
msg.setCardholdername(value);
|
|
18755
|
+
break;
|
|
18756
|
+
case 16:
|
|
18757
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18758
|
+
msg.setNetworktoken(value);
|
|
18759
|
+
break;
|
|
18760
|
+
case 17:
|
|
18761
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18762
|
+
msg.setNetworktokenexpirymonth(value);
|
|
18763
|
+
break;
|
|
18764
|
+
case 18:
|
|
18765
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18766
|
+
msg.setNetworktokenexpiryyear(value);
|
|
18767
|
+
break;
|
|
18768
|
+
case 19:
|
|
18769
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18770
|
+
msg.setTokencryptogram(value);
|
|
18771
|
+
break;
|
|
18772
|
+
case 20:
|
|
18773
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18774
|
+
msg.setTokenrequestorid(value);
|
|
18775
|
+
break;
|
|
18776
|
+
case 21:
|
|
18777
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18778
|
+
msg.setPan(value);
|
|
18779
|
+
break;
|
|
18780
|
+
default:
|
|
18781
|
+
reader.skipField();
|
|
18782
|
+
break;
|
|
18783
|
+
}
|
|
18784
|
+
}
|
|
18785
|
+
return msg;
|
|
18786
|
+
};
|
|
18787
|
+
|
|
18788
|
+
|
|
18789
|
+
/**
|
|
18790
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18791
|
+
* @return {!Uint8Array}
|
|
18792
|
+
*/
|
|
18793
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.serializeBinary = function() {
|
|
18794
|
+
var writer = new jspb.BinaryWriter();
|
|
18795
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.serializeBinaryToWriter(this, writer);
|
|
18796
|
+
return writer.getResultBuffer();
|
|
18797
|
+
};
|
|
18798
|
+
|
|
18799
|
+
|
|
18800
|
+
/**
|
|
18801
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18802
|
+
* format), writing to the given BinaryWriter.
|
|
18803
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} message
|
|
18804
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18805
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18806
|
+
*/
|
|
18807
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18808
|
+
var f = undefined;
|
|
18809
|
+
f = message.getSessionid();
|
|
18810
|
+
if (f.length > 0) {
|
|
18811
|
+
writer.writeString(
|
|
18812
|
+
1,
|
|
18813
|
+
f
|
|
18814
|
+
);
|
|
18815
|
+
}
|
|
18816
|
+
f = message.getUserid();
|
|
18817
|
+
if (f !== 0) {
|
|
18818
|
+
writer.writeInt64(
|
|
18819
|
+
2,
|
|
18820
|
+
f
|
|
18821
|
+
);
|
|
18822
|
+
}
|
|
18823
|
+
f = message.getCardbrand();
|
|
18824
|
+
if (f.length > 0) {
|
|
18825
|
+
writer.writeString(
|
|
18826
|
+
3,
|
|
18827
|
+
f
|
|
18828
|
+
);
|
|
18829
|
+
}
|
|
18830
|
+
f = message.getCardlastfour();
|
|
18831
|
+
if (f.length > 0) {
|
|
18832
|
+
writer.writeString(
|
|
18833
|
+
4,
|
|
18834
|
+
f
|
|
18835
|
+
);
|
|
18836
|
+
}
|
|
18837
|
+
f = message.getCardexpirymonth();
|
|
18838
|
+
if (f.length > 0) {
|
|
18839
|
+
writer.writeString(
|
|
18840
|
+
5,
|
|
18841
|
+
f
|
|
18842
|
+
);
|
|
18843
|
+
}
|
|
18844
|
+
f = message.getCardexpiryyear();
|
|
18845
|
+
if (f.length > 0) {
|
|
18846
|
+
writer.writeString(
|
|
18847
|
+
6,
|
|
18848
|
+
f
|
|
18849
|
+
);
|
|
18850
|
+
}
|
|
18851
|
+
f = message.getCardfundingtype();
|
|
18852
|
+
if (f.length > 0) {
|
|
18853
|
+
writer.writeString(
|
|
18854
|
+
7,
|
|
18855
|
+
f
|
|
18856
|
+
);
|
|
18857
|
+
}
|
|
18858
|
+
f = message.getCardcountrycode();
|
|
18859
|
+
if (f.length > 0) {
|
|
18860
|
+
writer.writeString(
|
|
18861
|
+
8,
|
|
18862
|
+
f
|
|
18863
|
+
);
|
|
18864
|
+
}
|
|
18865
|
+
f = message.getEci();
|
|
18866
|
+
if (f.length > 0) {
|
|
18867
|
+
writer.writeString(
|
|
18868
|
+
9,
|
|
18869
|
+
f
|
|
18870
|
+
);
|
|
18871
|
+
}
|
|
18872
|
+
f = message.getPanbin();
|
|
18873
|
+
if (f.length > 0) {
|
|
18874
|
+
writer.writeString(
|
|
18875
|
+
10,
|
|
18876
|
+
f
|
|
18877
|
+
);
|
|
18878
|
+
}
|
|
18879
|
+
f = message.getSrcdigitalcardid();
|
|
18880
|
+
if (f.length > 0) {
|
|
18881
|
+
writer.writeString(
|
|
18882
|
+
11,
|
|
18883
|
+
f
|
|
18884
|
+
);
|
|
18885
|
+
}
|
|
18886
|
+
f = message.getCorrelationid();
|
|
18887
|
+
if (f.length > 0) {
|
|
18888
|
+
writer.writeString(
|
|
18889
|
+
12,
|
|
18890
|
+
f
|
|
18891
|
+
);
|
|
18892
|
+
}
|
|
18893
|
+
f = message.getCardarturi();
|
|
18894
|
+
if (f.length > 0) {
|
|
18895
|
+
writer.writeString(
|
|
18896
|
+
13,
|
|
18897
|
+
f
|
|
18898
|
+
);
|
|
18899
|
+
}
|
|
18900
|
+
f = message.getConsumeremail();
|
|
18901
|
+
if (f.length > 0) {
|
|
18902
|
+
writer.writeString(
|
|
18903
|
+
14,
|
|
18904
|
+
f
|
|
18905
|
+
);
|
|
18906
|
+
}
|
|
18907
|
+
f = message.getCardholdername();
|
|
18908
|
+
if (f.length > 0) {
|
|
18909
|
+
writer.writeString(
|
|
18910
|
+
15,
|
|
18911
|
+
f
|
|
18912
|
+
);
|
|
18913
|
+
}
|
|
18914
|
+
f = message.getNetworktoken();
|
|
18915
|
+
if (f.length > 0) {
|
|
18916
|
+
writer.writeString(
|
|
18917
|
+
16,
|
|
18918
|
+
f
|
|
18919
|
+
);
|
|
18920
|
+
}
|
|
18921
|
+
f = message.getNetworktokenexpirymonth();
|
|
18922
|
+
if (f.length > 0) {
|
|
18923
|
+
writer.writeString(
|
|
18924
|
+
17,
|
|
18925
|
+
f
|
|
18926
|
+
);
|
|
18927
|
+
}
|
|
18928
|
+
f = message.getNetworktokenexpiryyear();
|
|
18929
|
+
if (f.length > 0) {
|
|
18930
|
+
writer.writeString(
|
|
18931
|
+
18,
|
|
18932
|
+
f
|
|
18933
|
+
);
|
|
18934
|
+
}
|
|
18935
|
+
f = message.getTokencryptogram();
|
|
18936
|
+
if (f.length > 0) {
|
|
18937
|
+
writer.writeString(
|
|
18938
|
+
19,
|
|
18939
|
+
f
|
|
18940
|
+
);
|
|
18941
|
+
}
|
|
18942
|
+
f = message.getTokenrequestorid();
|
|
18943
|
+
if (f.length > 0) {
|
|
18944
|
+
writer.writeString(
|
|
18945
|
+
20,
|
|
18946
|
+
f
|
|
18947
|
+
);
|
|
18948
|
+
}
|
|
18949
|
+
f = message.getPan();
|
|
18950
|
+
if (f.length > 0) {
|
|
18951
|
+
writer.writeString(
|
|
18952
|
+
21,
|
|
18953
|
+
f
|
|
18954
|
+
);
|
|
18955
|
+
}
|
|
18956
|
+
};
|
|
18957
|
+
|
|
18958
|
+
|
|
18959
|
+
/**
|
|
18960
|
+
* optional string sessionId = 1;
|
|
18961
|
+
* @return {string}
|
|
18962
|
+
*/
|
|
18963
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getSessionid = function() {
|
|
18964
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
18965
|
+
};
|
|
18966
|
+
|
|
18967
|
+
|
|
18968
|
+
/**
|
|
18969
|
+
* @param {string} value
|
|
18970
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
18971
|
+
*/
|
|
18972
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setSessionid = function(value) {
|
|
18973
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
18974
|
+
};
|
|
18975
|
+
|
|
18976
|
+
|
|
18977
|
+
/**
|
|
18978
|
+
* optional int64 userId = 2;
|
|
18979
|
+
* @return {number}
|
|
18980
|
+
*/
|
|
18981
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getUserid = function() {
|
|
18982
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
18983
|
+
};
|
|
18984
|
+
|
|
18985
|
+
|
|
18986
|
+
/**
|
|
18987
|
+
* @param {number} value
|
|
18988
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
18989
|
+
*/
|
|
18990
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setUserid = function(value) {
|
|
18991
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
18992
|
+
};
|
|
18993
|
+
|
|
18994
|
+
|
|
18995
|
+
/**
|
|
18996
|
+
* optional string cardBrand = 3;
|
|
18997
|
+
* @return {string}
|
|
18998
|
+
*/
|
|
18999
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getCardbrand = function() {
|
|
19000
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
19001
|
+
};
|
|
19002
|
+
|
|
19003
|
+
|
|
19004
|
+
/**
|
|
19005
|
+
* @param {string} value
|
|
19006
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19007
|
+
*/
|
|
19008
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setCardbrand = function(value) {
|
|
19009
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
19010
|
+
};
|
|
19011
|
+
|
|
19012
|
+
|
|
19013
|
+
/**
|
|
19014
|
+
* optional string cardLastFour = 4;
|
|
19015
|
+
* @return {string}
|
|
19016
|
+
*/
|
|
19017
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getCardlastfour = function() {
|
|
19018
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
19019
|
+
};
|
|
19020
|
+
|
|
19021
|
+
|
|
19022
|
+
/**
|
|
19023
|
+
* @param {string} value
|
|
19024
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19025
|
+
*/
|
|
19026
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setCardlastfour = function(value) {
|
|
19027
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
19028
|
+
};
|
|
19029
|
+
|
|
19030
|
+
|
|
19031
|
+
/**
|
|
19032
|
+
* optional string cardExpiryMonth = 5;
|
|
19033
|
+
* @return {string}
|
|
19034
|
+
*/
|
|
19035
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getCardexpirymonth = function() {
|
|
19036
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
19037
|
+
};
|
|
19038
|
+
|
|
19039
|
+
|
|
19040
|
+
/**
|
|
19041
|
+
* @param {string} value
|
|
19042
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19043
|
+
*/
|
|
19044
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setCardexpirymonth = function(value) {
|
|
19045
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
19046
|
+
};
|
|
19047
|
+
|
|
19048
|
+
|
|
19049
|
+
/**
|
|
19050
|
+
* optional string cardExpiryYear = 6;
|
|
19051
|
+
* @return {string}
|
|
19052
|
+
*/
|
|
19053
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getCardexpiryyear = function() {
|
|
19054
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
19055
|
+
};
|
|
19056
|
+
|
|
19057
|
+
|
|
19058
|
+
/**
|
|
19059
|
+
* @param {string} value
|
|
19060
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19061
|
+
*/
|
|
19062
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setCardexpiryyear = function(value) {
|
|
19063
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
19064
|
+
};
|
|
19065
|
+
|
|
19066
|
+
|
|
19067
|
+
/**
|
|
19068
|
+
* optional string cardFundingType = 7;
|
|
19069
|
+
* @return {string}
|
|
19070
|
+
*/
|
|
19071
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getCardfundingtype = function() {
|
|
19072
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
19073
|
+
};
|
|
19074
|
+
|
|
19075
|
+
|
|
19076
|
+
/**
|
|
19077
|
+
* @param {string} value
|
|
19078
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19079
|
+
*/
|
|
19080
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setCardfundingtype = function(value) {
|
|
19081
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
19082
|
+
};
|
|
19083
|
+
|
|
19084
|
+
|
|
19085
|
+
/**
|
|
19086
|
+
* optional string cardCountryCode = 8;
|
|
19087
|
+
* @return {string}
|
|
19088
|
+
*/
|
|
19089
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getCardcountrycode = function() {
|
|
19090
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
19091
|
+
};
|
|
19092
|
+
|
|
19093
|
+
|
|
19094
|
+
/**
|
|
19095
|
+
* @param {string} value
|
|
19096
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19097
|
+
*/
|
|
19098
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setCardcountrycode = function(value) {
|
|
19099
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
19100
|
+
};
|
|
19101
|
+
|
|
19102
|
+
|
|
19103
|
+
/**
|
|
19104
|
+
* optional string eci = 9;
|
|
19105
|
+
* @return {string}
|
|
19106
|
+
*/
|
|
19107
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getEci = function() {
|
|
19108
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
19109
|
+
};
|
|
19110
|
+
|
|
19111
|
+
|
|
19112
|
+
/**
|
|
19113
|
+
* @param {string} value
|
|
19114
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19115
|
+
*/
|
|
19116
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setEci = function(value) {
|
|
19117
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
19118
|
+
};
|
|
19119
|
+
|
|
19120
|
+
|
|
19121
|
+
/**
|
|
19122
|
+
* optional string panBin = 10;
|
|
19123
|
+
* @return {string}
|
|
19124
|
+
*/
|
|
19125
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getPanbin = function() {
|
|
19126
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
19127
|
+
};
|
|
19128
|
+
|
|
19129
|
+
|
|
19130
|
+
/**
|
|
19131
|
+
* @param {string} value
|
|
19132
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19133
|
+
*/
|
|
19134
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setPanbin = function(value) {
|
|
19135
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
19136
|
+
};
|
|
19137
|
+
|
|
19138
|
+
|
|
19139
|
+
/**
|
|
19140
|
+
* optional string srcDigitalCardId = 11;
|
|
19141
|
+
* @return {string}
|
|
19142
|
+
*/
|
|
19143
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getSrcdigitalcardid = function() {
|
|
19144
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
19145
|
+
};
|
|
19146
|
+
|
|
19147
|
+
|
|
19148
|
+
/**
|
|
19149
|
+
* @param {string} value
|
|
19150
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19151
|
+
*/
|
|
19152
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setSrcdigitalcardid = function(value) {
|
|
19153
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
19154
|
+
};
|
|
19155
|
+
|
|
19156
|
+
|
|
19157
|
+
/**
|
|
19158
|
+
* optional string correlationId = 12;
|
|
19159
|
+
* @return {string}
|
|
19160
|
+
*/
|
|
19161
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getCorrelationid = function() {
|
|
19162
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
19163
|
+
};
|
|
19164
|
+
|
|
19165
|
+
|
|
19166
|
+
/**
|
|
19167
|
+
* @param {string} value
|
|
19168
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19169
|
+
*/
|
|
19170
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setCorrelationid = function(value) {
|
|
19171
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
19172
|
+
};
|
|
19173
|
+
|
|
19174
|
+
|
|
19175
|
+
/**
|
|
19176
|
+
* optional string cardArtUri = 13;
|
|
19177
|
+
* @return {string}
|
|
19178
|
+
*/
|
|
19179
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getCardarturi = function() {
|
|
19180
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
19181
|
+
};
|
|
19182
|
+
|
|
19183
|
+
|
|
19184
|
+
/**
|
|
19185
|
+
* @param {string} value
|
|
19186
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19187
|
+
*/
|
|
19188
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setCardarturi = function(value) {
|
|
19189
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
19190
|
+
};
|
|
19191
|
+
|
|
19192
|
+
|
|
19193
|
+
/**
|
|
19194
|
+
* optional string consumerEmail = 14;
|
|
19195
|
+
* @return {string}
|
|
19196
|
+
*/
|
|
19197
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getConsumeremail = function() {
|
|
19198
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
19199
|
+
};
|
|
19200
|
+
|
|
19201
|
+
|
|
19202
|
+
/**
|
|
19203
|
+
* @param {string} value
|
|
19204
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19205
|
+
*/
|
|
19206
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setConsumeremail = function(value) {
|
|
19207
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
19208
|
+
};
|
|
19209
|
+
|
|
19210
|
+
|
|
19211
|
+
/**
|
|
19212
|
+
* optional string cardholderName = 15;
|
|
19213
|
+
* @return {string}
|
|
19214
|
+
*/
|
|
19215
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getCardholdername = function() {
|
|
19216
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
19217
|
+
};
|
|
19218
|
+
|
|
19219
|
+
|
|
19220
|
+
/**
|
|
19221
|
+
* @param {string} value
|
|
19222
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19223
|
+
*/
|
|
19224
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setCardholdername = function(value) {
|
|
19225
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
19226
|
+
};
|
|
19227
|
+
|
|
19228
|
+
|
|
19229
|
+
/**
|
|
19230
|
+
* optional string networkToken = 16;
|
|
19231
|
+
* @return {string}
|
|
19232
|
+
*/
|
|
19233
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getNetworktoken = function() {
|
|
19234
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
19235
|
+
};
|
|
19236
|
+
|
|
19237
|
+
|
|
19238
|
+
/**
|
|
19239
|
+
* @param {string} value
|
|
19240
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19241
|
+
*/
|
|
19242
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setNetworktoken = function(value) {
|
|
19243
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
19244
|
+
};
|
|
19245
|
+
|
|
19246
|
+
|
|
19247
|
+
/**
|
|
19248
|
+
* optional string networkTokenExpiryMonth = 17;
|
|
19249
|
+
* @return {string}
|
|
19250
|
+
*/
|
|
19251
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getNetworktokenexpirymonth = function() {
|
|
19252
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
19253
|
+
};
|
|
19254
|
+
|
|
19255
|
+
|
|
19256
|
+
/**
|
|
19257
|
+
* @param {string} value
|
|
19258
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19259
|
+
*/
|
|
19260
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setNetworktokenexpirymonth = function(value) {
|
|
19261
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
19262
|
+
};
|
|
19263
|
+
|
|
19264
|
+
|
|
19265
|
+
/**
|
|
19266
|
+
* optional string networkTokenExpiryYear = 18;
|
|
19267
|
+
* @return {string}
|
|
19268
|
+
*/
|
|
19269
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getNetworktokenexpiryyear = function() {
|
|
19270
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
19271
|
+
};
|
|
19272
|
+
|
|
19273
|
+
|
|
19274
|
+
/**
|
|
19275
|
+
* @param {string} value
|
|
19276
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19277
|
+
*/
|
|
19278
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setNetworktokenexpiryyear = function(value) {
|
|
19279
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
19280
|
+
};
|
|
19281
|
+
|
|
19282
|
+
|
|
19283
|
+
/**
|
|
19284
|
+
* optional string tokenCryptogram = 19;
|
|
19285
|
+
* @return {string}
|
|
19286
|
+
*/
|
|
19287
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getTokencryptogram = function() {
|
|
19288
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
19289
|
+
};
|
|
19290
|
+
|
|
19291
|
+
|
|
19292
|
+
/**
|
|
19293
|
+
* @param {string} value
|
|
19294
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19295
|
+
*/
|
|
19296
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setTokencryptogram = function(value) {
|
|
19297
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
19298
|
+
};
|
|
19299
|
+
|
|
19300
|
+
|
|
19301
|
+
/**
|
|
19302
|
+
* optional string tokenRequestorId = 20;
|
|
19303
|
+
* @return {string}
|
|
19304
|
+
*/
|
|
19305
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getTokenrequestorid = function() {
|
|
19306
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
19307
|
+
};
|
|
19308
|
+
|
|
19309
|
+
|
|
19310
|
+
/**
|
|
19311
|
+
* @param {string} value
|
|
19312
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19313
|
+
*/
|
|
19314
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setTokenrequestorid = function(value) {
|
|
19315
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
19316
|
+
};
|
|
19317
|
+
|
|
19318
|
+
|
|
19319
|
+
/**
|
|
19320
|
+
* optional string pan = 21;
|
|
19321
|
+
* @return {string}
|
|
19322
|
+
*/
|
|
19323
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.getPan = function() {
|
|
19324
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
19325
|
+
};
|
|
19326
|
+
|
|
19327
|
+
|
|
19328
|
+
/**
|
|
19329
|
+
* @param {string} value
|
|
19330
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest} returns this
|
|
19331
|
+
*/
|
|
19332
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentRequest.prototype.setPan = function(value) {
|
|
19333
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
19334
|
+
};
|
|
19335
|
+
|
|
19336
|
+
|
|
19337
|
+
|
|
19338
|
+
|
|
19339
|
+
|
|
19340
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19341
|
+
/**
|
|
19342
|
+
* Creates an object representation of this proto.
|
|
19343
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19344
|
+
* Optional fields that are not set will be set to undefined.
|
|
19345
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19346
|
+
* For the list of reserved names please see:
|
|
19347
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19348
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19349
|
+
* JSPB instance for transitional soy proto support:
|
|
19350
|
+
* http://goto/soy-param-migration
|
|
19351
|
+
* @return {!Object}
|
|
19352
|
+
*/
|
|
19353
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.prototype.toObject = function(opt_includeInstance) {
|
|
19354
|
+
return proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.toObject(opt_includeInstance, this);
|
|
19355
|
+
};
|
|
19356
|
+
|
|
19357
|
+
|
|
19358
|
+
/**
|
|
19359
|
+
* Static version of the {@see toObject} method.
|
|
19360
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19361
|
+
* the JSPB instance for transitional soy proto support:
|
|
19362
|
+
* http://goto/soy-param-migration
|
|
19363
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse} msg The msg instance to transform.
|
|
19364
|
+
* @return {!Object}
|
|
19365
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19366
|
+
*/
|
|
19367
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.toObject = function(includeInstance, msg) {
|
|
19368
|
+
var f, obj = {
|
|
19369
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
19370
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f)
|
|
19371
|
+
};
|
|
19372
|
+
|
|
19373
|
+
if (includeInstance) {
|
|
19374
|
+
obj.$jspbMessageInstance = msg;
|
|
19375
|
+
}
|
|
19376
|
+
return obj;
|
|
19377
|
+
};
|
|
19378
|
+
}
|
|
19379
|
+
|
|
19380
|
+
|
|
19381
|
+
/**
|
|
19382
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19383
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
19384
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse}
|
|
19385
|
+
*/
|
|
19386
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.deserializeBinary = function(bytes) {
|
|
19387
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19388
|
+
var msg = new proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse;
|
|
19389
|
+
return proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.deserializeBinaryFromReader(msg, reader);
|
|
19390
|
+
};
|
|
19391
|
+
|
|
19392
|
+
|
|
19393
|
+
/**
|
|
19394
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19395
|
+
* given reader into the given message object.
|
|
19396
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse} msg The message object to deserialize into.
|
|
19397
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19398
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse}
|
|
19399
|
+
*/
|
|
19400
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
19401
|
+
while (reader.nextField()) {
|
|
19402
|
+
if (reader.isEndGroup()) {
|
|
19403
|
+
break;
|
|
19404
|
+
}
|
|
19405
|
+
var field = reader.getFieldNumber();
|
|
19406
|
+
switch (field) {
|
|
19407
|
+
case 1:
|
|
19408
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
19409
|
+
msg.setPaymentmethodid(value);
|
|
19410
|
+
break;
|
|
19411
|
+
case 2:
|
|
19412
|
+
var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
19413
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
19414
|
+
msg.setResponsecode(value);
|
|
19415
|
+
break;
|
|
19416
|
+
default:
|
|
19417
|
+
reader.skipField();
|
|
19418
|
+
break;
|
|
19419
|
+
}
|
|
19420
|
+
}
|
|
19421
|
+
return msg;
|
|
19422
|
+
};
|
|
19423
|
+
|
|
19424
|
+
|
|
19425
|
+
/**
|
|
19426
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19427
|
+
* @return {!Uint8Array}
|
|
19428
|
+
*/
|
|
19429
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.prototype.serializeBinary = function() {
|
|
19430
|
+
var writer = new jspb.BinaryWriter();
|
|
19431
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.serializeBinaryToWriter(this, writer);
|
|
19432
|
+
return writer.getResultBuffer();
|
|
19433
|
+
};
|
|
19434
|
+
|
|
19435
|
+
|
|
19436
|
+
/**
|
|
19437
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19438
|
+
* format), writing to the given BinaryWriter.
|
|
19439
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse} message
|
|
19440
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19441
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19442
|
+
*/
|
|
19443
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
19444
|
+
var f = undefined;
|
|
19445
|
+
f = message.getPaymentmethodid();
|
|
19446
|
+
if (f !== 0) {
|
|
19447
|
+
writer.writeInt64(
|
|
19448
|
+
1,
|
|
19449
|
+
f
|
|
19450
|
+
);
|
|
19451
|
+
}
|
|
19452
|
+
f = message.getResponsecode();
|
|
19453
|
+
if (f != null) {
|
|
19454
|
+
writer.writeMessage(
|
|
19455
|
+
2,
|
|
19456
|
+
f,
|
|
19457
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
19458
|
+
);
|
|
19459
|
+
}
|
|
19460
|
+
};
|
|
19461
|
+
|
|
19462
|
+
|
|
19463
|
+
/**
|
|
19464
|
+
* optional int64 paymentMethodId = 1;
|
|
19465
|
+
* @return {number}
|
|
19466
|
+
*/
|
|
19467
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.prototype.getPaymentmethodid = function() {
|
|
19468
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
19469
|
+
};
|
|
19470
|
+
|
|
19471
|
+
|
|
19472
|
+
/**
|
|
19473
|
+
* @param {number} value
|
|
19474
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse} returns this
|
|
19475
|
+
*/
|
|
19476
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.prototype.setPaymentmethodid = function(value) {
|
|
19477
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
19478
|
+
};
|
|
19479
|
+
|
|
19480
|
+
|
|
19481
|
+
/**
|
|
19482
|
+
* optional ResponseCode responseCode = 2;
|
|
19483
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
19484
|
+
*/
|
|
19485
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.prototype.getResponsecode = function() {
|
|
19486
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
|
|
19487
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 2));
|
|
19488
|
+
};
|
|
19489
|
+
|
|
19490
|
+
|
|
19491
|
+
/**
|
|
19492
|
+
* @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
|
|
19493
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse} returns this
|
|
19494
|
+
*/
|
|
19495
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.prototype.setResponsecode = function(value) {
|
|
19496
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
19497
|
+
};
|
|
19498
|
+
|
|
19499
|
+
|
|
19500
|
+
/**
|
|
19501
|
+
* Clears the message field making it undefined.
|
|
19502
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse} returns this
|
|
19503
|
+
*/
|
|
19504
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.prototype.clearResponsecode = function() {
|
|
19505
|
+
return this.setResponsecode(undefined);
|
|
19506
|
+
};
|
|
19507
|
+
|
|
19508
|
+
|
|
19509
|
+
/**
|
|
19510
|
+
* Returns whether this field is set.
|
|
19511
|
+
* @return {boolean}
|
|
19512
|
+
*/
|
|
19513
|
+
proto.sniippaymentmethodsserviceapi.CompleteClick2PayEnrollmentResponse.prototype.hasResponsecode = function() {
|
|
19514
|
+
return jspb.Message.getField(this, 2) != null;
|
|
19515
|
+
};
|
|
19516
|
+
|
|
19517
|
+
|
|
17645
19518
|
|
|
17646
19519
|
|
|
17647
19520
|
|