@sniipwebmaster/payment-methods-client-grpcweb 0.2.2716 → 0.2.2738
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_pb.js +799 -60
- package/package.json +1 -1
|
@@ -18,6 +18,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.Activation', null, global
|
|
|
18
18
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddPaymentMethod', null, global);
|
|
19
19
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest', null, global);
|
|
20
20
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest', null, global);
|
|
21
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ApplePay', null, global);
|
|
22
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ApplePayDetail', null, global);
|
|
21
23
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankAccount', null, global);
|
|
22
24
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashRequest', null, global);
|
|
23
25
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashResponse', null, global);
|
|
@@ -935,7 +937,8 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.toObject = function(include
|
|
|
935
937
|
paymenttype: msg.getPaymenttype(),
|
|
936
938
|
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.CreditCard.toObject(includeInstance, f),
|
|
937
939
|
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
938
|
-
accesstoken: msg.getAccesstoken()
|
|
940
|
+
accesstoken: msg.getAccesstoken(),
|
|
941
|
+
applepay: (f = msg.getApplepay()) && proto.sniippaymentmethodsserviceapi.ApplePay.toObject(includeInstance, f)
|
|
939
942
|
};
|
|
940
943
|
|
|
941
944
|
if (includeInstance) {
|
|
@@ -990,6 +993,11 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.deserializeBinaryFromReader
|
|
|
990
993
|
var value = /** @type {string} */ (reader.readString());
|
|
991
994
|
msg.setAccesstoken(value);
|
|
992
995
|
break;
|
|
996
|
+
case 5:
|
|
997
|
+
var value = new proto.sniippaymentmethodsserviceapi.ApplePay;
|
|
998
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePay.deserializeBinaryFromReader);
|
|
999
|
+
msg.setApplepay(value);
|
|
1000
|
+
break;
|
|
993
1001
|
default:
|
|
994
1002
|
reader.skipField();
|
|
995
1003
|
break;
|
|
@@ -1058,6 +1066,14 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.serializeBinaryTo
|
|
|
1058
1066
|
f
|
|
1059
1067
|
);
|
|
1060
1068
|
}
|
|
1069
|
+
f = this.getApplepay();
|
|
1070
|
+
if (f != null) {
|
|
1071
|
+
writer.writeMessage(
|
|
1072
|
+
5,
|
|
1073
|
+
f,
|
|
1074
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.serializeBinaryToWriter
|
|
1075
|
+
);
|
|
1076
|
+
}
|
|
1061
1077
|
};
|
|
1062
1078
|
|
|
1063
1079
|
|
|
@@ -1160,6 +1176,36 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setAccesstoken =
|
|
|
1160
1176
|
};
|
|
1161
1177
|
|
|
1162
1178
|
|
|
1179
|
+
/**
|
|
1180
|
+
* optional ApplePay applePay = 5;
|
|
1181
|
+
* @return {proto.sniippaymentmethodsserviceapi.ApplePay}
|
|
1182
|
+
*/
|
|
1183
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.getApplepay = function() {
|
|
1184
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.ApplePay} */ (
|
|
1185
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ApplePay, 5));
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
/** @param {proto.sniippaymentmethodsserviceapi.ApplePay|undefined} value */
|
|
1190
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setApplepay = function(value) {
|
|
1191
|
+
jspb.Message.setWrapperField(this, 5, value);
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.clearApplepay = function() {
|
|
1196
|
+
this.setApplepay(undefined);
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Returns whether this field is set.
|
|
1202
|
+
* @return{!boolean}
|
|
1203
|
+
*/
|
|
1204
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasApplepay = function() {
|
|
1205
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1208
|
+
|
|
1163
1209
|
|
|
1164
1210
|
/**
|
|
1165
1211
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1298,41 +1344,484 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest.prototype.serializeB
|
|
|
1298
1344
|
|
|
1299
1345
|
|
|
1300
1346
|
/**
|
|
1301
|
-
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1302
|
-
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest} The clone.
|
|
1347
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1348
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest} The clone.
|
|
1349
|
+
*/
|
|
1350
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest.prototype.cloneMessage = function() {
|
|
1351
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest} */ (jspb.Message.cloneMessage(this));
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* optional AddPaymentMethod data = 1;
|
|
1357
|
+
* @return {proto.sniippaymentmethodsserviceapi.AddPaymentMethod}
|
|
1358
|
+
*/
|
|
1359
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest.prototype.getData = function() {
|
|
1360
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.AddPaymentMethod} */ (
|
|
1361
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.AddPaymentMethod, 1));
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
/** @param {proto.sniippaymentmethodsserviceapi.AddPaymentMethod|undefined} value */
|
|
1366
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest.prototype.setData = function(value) {
|
|
1367
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
1368
|
+
};
|
|
1369
|
+
|
|
1370
|
+
|
|
1371
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest.prototype.clearData = function() {
|
|
1372
|
+
this.setData(undefined);
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* Returns whether this field is set.
|
|
1378
|
+
* @return{!boolean}
|
|
1379
|
+
*/
|
|
1380
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest.prototype.hasData = function() {
|
|
1381
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1382
|
+
};
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Generated by JsPbCodeGenerator.
|
|
1388
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1389
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1390
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1391
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1392
|
+
* valid.
|
|
1393
|
+
* @extends {jspb.Message}
|
|
1394
|
+
* @constructor
|
|
1395
|
+
*/
|
|
1396
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest = function(opt_data) {
|
|
1397
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1398
|
+
};
|
|
1399
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest, jspb.Message);
|
|
1400
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1401
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.displayName = 'proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest';
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1406
|
+
/**
|
|
1407
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1408
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1409
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1410
|
+
* For the list of reserved names please see:
|
|
1411
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1412
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1413
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1414
|
+
* @return {!Object}
|
|
1415
|
+
*/
|
|
1416
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1417
|
+
return proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.toObject(opt_includeInstance, this);
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* Static version of the {@see toObject} method.
|
|
1423
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1424
|
+
* instance for transitional soy proto support:
|
|
1425
|
+
* http://goto/soy-param-migration
|
|
1426
|
+
* @param {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest} msg The msg instance to transform.
|
|
1427
|
+
* @return {!Object}
|
|
1428
|
+
*/
|
|
1429
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.toObject = function(includeInstance, msg) {
|
|
1430
|
+
var f, obj = {
|
|
1431
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest.toObject(includeInstance, f)
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
if (includeInstance) {
|
|
1435
|
+
obj.$jspbMessageInstance = msg;
|
|
1436
|
+
}
|
|
1437
|
+
return obj;
|
|
1438
|
+
};
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1444
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1445
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest}
|
|
1446
|
+
*/
|
|
1447
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.deserializeBinary = function(bytes) {
|
|
1448
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1449
|
+
var msg = new proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest;
|
|
1450
|
+
return proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.deserializeBinaryFromReader(msg, reader);
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1456
|
+
* given reader into the given message object.
|
|
1457
|
+
* @param {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest} msg The message object to deserialize into.
|
|
1458
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1459
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest}
|
|
1460
|
+
*/
|
|
1461
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1462
|
+
while (reader.nextField()) {
|
|
1463
|
+
if (reader.isEndGroup()) {
|
|
1464
|
+
break;
|
|
1465
|
+
}
|
|
1466
|
+
var field = reader.getFieldNumber();
|
|
1467
|
+
switch (field) {
|
|
1468
|
+
case 1:
|
|
1469
|
+
var value = new proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest;
|
|
1470
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest.deserializeBinaryFromReader);
|
|
1471
|
+
msg.setData(value);
|
|
1472
|
+
break;
|
|
1473
|
+
default:
|
|
1474
|
+
reader.skipField();
|
|
1475
|
+
break;
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
return msg;
|
|
1479
|
+
};
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* Class method variant: serializes the given message to binary data
|
|
1484
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1485
|
+
* @param {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest} message
|
|
1486
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1487
|
+
*/
|
|
1488
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1489
|
+
message.serializeBinaryToWriter(writer);
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1495
|
+
* @return {!Uint8Array}
|
|
1496
|
+
*/
|
|
1497
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.serializeBinary = function() {
|
|
1498
|
+
var writer = new jspb.BinaryWriter();
|
|
1499
|
+
this.serializeBinaryToWriter(writer);
|
|
1500
|
+
return writer.getResultBuffer();
|
|
1501
|
+
};
|
|
1502
|
+
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
1506
|
+
* writing to the given BinaryWriter.
|
|
1507
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1508
|
+
*/
|
|
1509
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
1510
|
+
var f = undefined;
|
|
1511
|
+
f = this.getData();
|
|
1512
|
+
if (f != null) {
|
|
1513
|
+
writer.writeMessage(
|
|
1514
|
+
1,
|
|
1515
|
+
f,
|
|
1516
|
+
proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest.serializeBinaryToWriter
|
|
1517
|
+
);
|
|
1518
|
+
}
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1524
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest} The clone.
|
|
1525
|
+
*/
|
|
1526
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.cloneMessage = function() {
|
|
1527
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest} */ (jspb.Message.cloneMessage(this));
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* optional ZenithTokenAddRequest data = 1;
|
|
1533
|
+
* @return {proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest}
|
|
1534
|
+
*/
|
|
1535
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.getData = function() {
|
|
1536
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest} */ (
|
|
1537
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest, 1));
|
|
1538
|
+
};
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
/** @param {proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest|undefined} value */
|
|
1542
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.setData = function(value) {
|
|
1543
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.clearData = function() {
|
|
1548
|
+
this.setData(undefined);
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Returns whether this field is set.
|
|
1554
|
+
* @return{!boolean}
|
|
1555
|
+
*/
|
|
1556
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.hasData = function() {
|
|
1557
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1558
|
+
};
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* Generated by JsPbCodeGenerator.
|
|
1564
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1565
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1566
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1567
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1568
|
+
* valid.
|
|
1569
|
+
* @extends {jspb.Message}
|
|
1570
|
+
* @constructor
|
|
1571
|
+
*/
|
|
1572
|
+
proto.sniippaymentmethodsserviceapi.ApplePay = function(opt_data) {
|
|
1573
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1574
|
+
};
|
|
1575
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.ApplePay, jspb.Message);
|
|
1576
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1577
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.displayName = 'proto.sniippaymentmethodsserviceapi.ApplePay';
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1582
|
+
/**
|
|
1583
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1584
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1585
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1586
|
+
* For the list of reserved names please see:
|
|
1587
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1588
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1589
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1590
|
+
* @return {!Object}
|
|
1591
|
+
*/
|
|
1592
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.toObject = function(opt_includeInstance) {
|
|
1593
|
+
return proto.sniippaymentmethodsserviceapi.ApplePay.toObject(opt_includeInstance, this);
|
|
1594
|
+
};
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* Static version of the {@see toObject} method.
|
|
1599
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1600
|
+
* instance for transitional soy proto support:
|
|
1601
|
+
* http://goto/soy-param-migration
|
|
1602
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ApplePay} msg The msg instance to transform.
|
|
1603
|
+
* @return {!Object}
|
|
1604
|
+
*/
|
|
1605
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.toObject = function(includeInstance, msg) {
|
|
1606
|
+
var f, obj = {
|
|
1607
|
+
token: msg.getToken(),
|
|
1608
|
+
displayname: msg.getDisplayname(),
|
|
1609
|
+
network: msg.getNetwork(),
|
|
1610
|
+
transactionidentifier: msg.getTransactionidentifier(),
|
|
1611
|
+
type: msg.getType()
|
|
1612
|
+
};
|
|
1613
|
+
|
|
1614
|
+
if (includeInstance) {
|
|
1615
|
+
obj.$jspbMessageInstance = msg;
|
|
1616
|
+
}
|
|
1617
|
+
return obj;
|
|
1618
|
+
};
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1624
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1625
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ApplePay}
|
|
1626
|
+
*/
|
|
1627
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.deserializeBinary = function(bytes) {
|
|
1628
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1629
|
+
var msg = new proto.sniippaymentmethodsserviceapi.ApplePay;
|
|
1630
|
+
return proto.sniippaymentmethodsserviceapi.ApplePay.deserializeBinaryFromReader(msg, reader);
|
|
1631
|
+
};
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1636
|
+
* given reader into the given message object.
|
|
1637
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ApplePay} msg The message object to deserialize into.
|
|
1638
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1639
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ApplePay}
|
|
1640
|
+
*/
|
|
1641
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.deserializeBinaryFromReader = function(msg, reader) {
|
|
1642
|
+
while (reader.nextField()) {
|
|
1643
|
+
if (reader.isEndGroup()) {
|
|
1644
|
+
break;
|
|
1645
|
+
}
|
|
1646
|
+
var field = reader.getFieldNumber();
|
|
1647
|
+
switch (field) {
|
|
1648
|
+
case 1:
|
|
1649
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1650
|
+
msg.setToken(value);
|
|
1651
|
+
break;
|
|
1652
|
+
case 2:
|
|
1653
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1654
|
+
msg.setDisplayname(value);
|
|
1655
|
+
break;
|
|
1656
|
+
case 3:
|
|
1657
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1658
|
+
msg.setNetwork(value);
|
|
1659
|
+
break;
|
|
1660
|
+
case 4:
|
|
1661
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1662
|
+
msg.setTransactionidentifier(value);
|
|
1663
|
+
break;
|
|
1664
|
+
case 5:
|
|
1665
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1666
|
+
msg.setType(value);
|
|
1667
|
+
break;
|
|
1668
|
+
default:
|
|
1669
|
+
reader.skipField();
|
|
1670
|
+
break;
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
return msg;
|
|
1674
|
+
};
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
/**
|
|
1678
|
+
* Class method variant: serializes the given message to binary data
|
|
1679
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1680
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ApplePay} message
|
|
1681
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1682
|
+
*/
|
|
1683
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.serializeBinaryToWriter = function(message, writer) {
|
|
1684
|
+
message.serializeBinaryToWriter(writer);
|
|
1685
|
+
};
|
|
1686
|
+
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1690
|
+
* @return {!Uint8Array}
|
|
1691
|
+
*/
|
|
1692
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.serializeBinary = function() {
|
|
1693
|
+
var writer = new jspb.BinaryWriter();
|
|
1694
|
+
this.serializeBinaryToWriter(writer);
|
|
1695
|
+
return writer.getResultBuffer();
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
1701
|
+
* writing to the given BinaryWriter.
|
|
1702
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1703
|
+
*/
|
|
1704
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.serializeBinaryToWriter = function (writer) {
|
|
1705
|
+
var f = undefined;
|
|
1706
|
+
f = this.getToken();
|
|
1707
|
+
if (f.length > 0) {
|
|
1708
|
+
writer.writeString(
|
|
1709
|
+
1,
|
|
1710
|
+
f
|
|
1711
|
+
);
|
|
1712
|
+
}
|
|
1713
|
+
f = this.getDisplayname();
|
|
1714
|
+
if (f.length > 0) {
|
|
1715
|
+
writer.writeString(
|
|
1716
|
+
2,
|
|
1717
|
+
f
|
|
1718
|
+
);
|
|
1719
|
+
}
|
|
1720
|
+
f = this.getNetwork();
|
|
1721
|
+
if (f.length > 0) {
|
|
1722
|
+
writer.writeString(
|
|
1723
|
+
3,
|
|
1724
|
+
f
|
|
1725
|
+
);
|
|
1726
|
+
}
|
|
1727
|
+
f = this.getTransactionidentifier();
|
|
1728
|
+
if (f.length > 0) {
|
|
1729
|
+
writer.writeString(
|
|
1730
|
+
4,
|
|
1731
|
+
f
|
|
1732
|
+
);
|
|
1733
|
+
}
|
|
1734
|
+
f = this.getType();
|
|
1735
|
+
if (f.length > 0) {
|
|
1736
|
+
writer.writeString(
|
|
1737
|
+
5,
|
|
1738
|
+
f
|
|
1739
|
+
);
|
|
1740
|
+
}
|
|
1741
|
+
};
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1746
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ApplePay} The clone.
|
|
1747
|
+
*/
|
|
1748
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.cloneMessage = function() {
|
|
1749
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.ApplePay} */ (jspb.Message.cloneMessage(this));
|
|
1750
|
+
};
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* optional string token = 1;
|
|
1755
|
+
* @return {string}
|
|
1756
|
+
*/
|
|
1757
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.getToken = function() {
|
|
1758
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
1759
|
+
};
|
|
1760
|
+
|
|
1761
|
+
|
|
1762
|
+
/** @param {string} value */
|
|
1763
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.setToken = function(value) {
|
|
1764
|
+
jspb.Message.setField(this, 1, value);
|
|
1765
|
+
};
|
|
1766
|
+
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* optional string displayName = 2;
|
|
1770
|
+
* @return {string}
|
|
1771
|
+
*/
|
|
1772
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.getDisplayname = function() {
|
|
1773
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
1774
|
+
};
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
/** @param {string} value */
|
|
1778
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.setDisplayname = function(value) {
|
|
1779
|
+
jspb.Message.setField(this, 2, value);
|
|
1780
|
+
};
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* optional string network = 3;
|
|
1785
|
+
* @return {string}
|
|
1303
1786
|
*/
|
|
1304
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1305
|
-
return /** @type {
|
|
1787
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.getNetwork = function() {
|
|
1788
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
1306
1789
|
};
|
|
1307
1790
|
|
|
1308
1791
|
|
|
1309
|
-
/**
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
*/
|
|
1313
|
-
proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest.prototype.getData = function() {
|
|
1314
|
-
return /** @type{proto.sniippaymentmethodsserviceapi.AddPaymentMethod} */ (
|
|
1315
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.AddPaymentMethod, 1));
|
|
1792
|
+
/** @param {string} value */
|
|
1793
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.setNetwork = function(value) {
|
|
1794
|
+
jspb.Message.setField(this, 3, value);
|
|
1316
1795
|
};
|
|
1317
1796
|
|
|
1318
1797
|
|
|
1319
|
-
/**
|
|
1320
|
-
|
|
1321
|
-
|
|
1798
|
+
/**
|
|
1799
|
+
* optional string transactionIdentifier = 4;
|
|
1800
|
+
* @return {string}
|
|
1801
|
+
*/
|
|
1802
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.getTransactionidentifier = function() {
|
|
1803
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
1322
1804
|
};
|
|
1323
1805
|
|
|
1324
1806
|
|
|
1325
|
-
|
|
1326
|
-
|
|
1807
|
+
/** @param {string} value */
|
|
1808
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.setTransactionidentifier = function(value) {
|
|
1809
|
+
jspb.Message.setField(this, 4, value);
|
|
1327
1810
|
};
|
|
1328
1811
|
|
|
1329
1812
|
|
|
1330
1813
|
/**
|
|
1331
|
-
*
|
|
1332
|
-
* @return{
|
|
1814
|
+
* optional string type = 5;
|
|
1815
|
+
* @return {string}
|
|
1333
1816
|
*/
|
|
1334
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1335
|
-
return jspb.Message.
|
|
1817
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.getType = function() {
|
|
1818
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
|
|
1819
|
+
};
|
|
1820
|
+
|
|
1821
|
+
|
|
1822
|
+
/** @param {string} value */
|
|
1823
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.prototype.setType = function(value) {
|
|
1824
|
+
jspb.Message.setField(this, 5, value);
|
|
1336
1825
|
};
|
|
1337
1826
|
|
|
1338
1827
|
|
|
@@ -1347,12 +1836,12 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest.prototype.hasData =
|
|
|
1347
1836
|
* @extends {jspb.Message}
|
|
1348
1837
|
* @constructor
|
|
1349
1838
|
*/
|
|
1350
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1839
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail = function(opt_data) {
|
|
1351
1840
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1352
1841
|
};
|
|
1353
|
-
goog.inherits(proto.sniippaymentmethodsserviceapi.
|
|
1842
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.ApplePayDetail, jspb.Message);
|
|
1354
1843
|
if (goog.DEBUG && !COMPILED) {
|
|
1355
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1844
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.displayName = 'proto.sniippaymentmethodsserviceapi.ApplePayDetail';
|
|
1356
1845
|
}
|
|
1357
1846
|
|
|
1358
1847
|
|
|
@@ -1367,8 +1856,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1367
1856
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1368
1857
|
* @return {!Object}
|
|
1369
1858
|
*/
|
|
1370
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1371
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
1859
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.toObject = function(opt_includeInstance) {
|
|
1860
|
+
return proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(opt_includeInstance, this);
|
|
1372
1861
|
};
|
|
1373
1862
|
|
|
1374
1863
|
|
|
@@ -1377,12 +1866,18 @@ proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.toObject = f
|
|
|
1377
1866
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1378
1867
|
* instance for transitional soy proto support:
|
|
1379
1868
|
* http://goto/soy-param-migration
|
|
1380
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
1869
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ApplePayDetail} msg The msg instance to transform.
|
|
1381
1870
|
* @return {!Object}
|
|
1382
1871
|
*/
|
|
1383
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1872
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject = function(includeInstance, msg) {
|
|
1384
1873
|
var f, obj = {
|
|
1385
|
-
|
|
1874
|
+
applepay: (f = msg.getApplepay()) && proto.sniippaymentmethodsserviceapi.ApplePay.toObject(includeInstance, f),
|
|
1875
|
+
fingerprint: msg.getFingerprint(),
|
|
1876
|
+
last4: msg.getLast4(),
|
|
1877
|
+
stripecardid: msg.getStripecardid(),
|
|
1878
|
+
stripetokenid: msg.getStripetokenid(),
|
|
1879
|
+
paymentType: msg.getPaymentType(),
|
|
1880
|
+
cardvariant: msg.getCardvariant()
|
|
1386
1881
|
};
|
|
1387
1882
|
|
|
1388
1883
|
if (includeInstance) {
|
|
@@ -1396,23 +1891,23 @@ proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.toObject = function(in
|
|
|
1396
1891
|
/**
|
|
1397
1892
|
* Deserializes binary data (in protobuf wire format).
|
|
1398
1893
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1399
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
1894
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ApplePayDetail}
|
|
1400
1895
|
*/
|
|
1401
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1896
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinary = function(bytes) {
|
|
1402
1897
|
var reader = new jspb.BinaryReader(bytes);
|
|
1403
|
-
var msg = new proto.sniippaymentmethodsserviceapi.
|
|
1404
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
1898
|
+
var msg = new proto.sniippaymentmethodsserviceapi.ApplePayDetail;
|
|
1899
|
+
return proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader(msg, reader);
|
|
1405
1900
|
};
|
|
1406
1901
|
|
|
1407
1902
|
|
|
1408
1903
|
/**
|
|
1409
1904
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1410
1905
|
* given reader into the given message object.
|
|
1411
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
1906
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ApplePayDetail} msg The message object to deserialize into.
|
|
1412
1907
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1413
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
1908
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ApplePayDetail}
|
|
1414
1909
|
*/
|
|
1415
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1910
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
1416
1911
|
while (reader.nextField()) {
|
|
1417
1912
|
if (reader.isEndGroup()) {
|
|
1418
1913
|
break;
|
|
@@ -1420,9 +1915,33 @@ proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.deserializeBinaryFromR
|
|
|
1420
1915
|
var field = reader.getFieldNumber();
|
|
1421
1916
|
switch (field) {
|
|
1422
1917
|
case 1:
|
|
1423
|
-
var value = new proto.sniippaymentmethodsserviceapi.
|
|
1424
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.
|
|
1425
|
-
msg.
|
|
1918
|
+
var value = new proto.sniippaymentmethodsserviceapi.ApplePay;
|
|
1919
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePay.deserializeBinaryFromReader);
|
|
1920
|
+
msg.setApplepay(value);
|
|
1921
|
+
break;
|
|
1922
|
+
case 2:
|
|
1923
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1924
|
+
msg.setFingerprint(value);
|
|
1925
|
+
break;
|
|
1926
|
+
case 3:
|
|
1927
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1928
|
+
msg.setLast4(value);
|
|
1929
|
+
break;
|
|
1930
|
+
case 4:
|
|
1931
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1932
|
+
msg.setStripecardid(value);
|
|
1933
|
+
break;
|
|
1934
|
+
case 5:
|
|
1935
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1936
|
+
msg.setStripetokenid(value);
|
|
1937
|
+
break;
|
|
1938
|
+
case 6:
|
|
1939
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1940
|
+
msg.setPaymentType(value);
|
|
1941
|
+
break;
|
|
1942
|
+
case 7:
|
|
1943
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1944
|
+
msg.setCardvariant(value);
|
|
1426
1945
|
break;
|
|
1427
1946
|
default:
|
|
1428
1947
|
reader.skipField();
|
|
@@ -1436,10 +1955,10 @@ proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.deserializeBinaryFromR
|
|
|
1436
1955
|
/**
|
|
1437
1956
|
* Class method variant: serializes the given message to binary data
|
|
1438
1957
|
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1439
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
1958
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ApplePayDetail} message
|
|
1440
1959
|
* @param {!jspb.BinaryWriter} writer
|
|
1441
1960
|
*/
|
|
1442
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1961
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.serializeBinaryToWriter = function(message, writer) {
|
|
1443
1962
|
message.serializeBinaryToWriter(writer);
|
|
1444
1963
|
};
|
|
1445
1964
|
|
|
@@ -1448,7 +1967,7 @@ proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.serializeBinaryToWrite
|
|
|
1448
1967
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1449
1968
|
* @return {!Uint8Array}
|
|
1450
1969
|
*/
|
|
1451
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1970
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.serializeBinary = function() {
|
|
1452
1971
|
var writer = new jspb.BinaryWriter();
|
|
1453
1972
|
this.serializeBinaryToWriter(writer);
|
|
1454
1973
|
return writer.getResultBuffer();
|
|
@@ -1460,14 +1979,56 @@ proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.serializeBin
|
|
|
1460
1979
|
* writing to the given BinaryWriter.
|
|
1461
1980
|
* @param {!jspb.BinaryWriter} writer
|
|
1462
1981
|
*/
|
|
1463
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1982
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.serializeBinaryToWriter = function (writer) {
|
|
1464
1983
|
var f = undefined;
|
|
1465
|
-
f = this.
|
|
1984
|
+
f = this.getApplepay();
|
|
1466
1985
|
if (f != null) {
|
|
1467
1986
|
writer.writeMessage(
|
|
1468
1987
|
1,
|
|
1469
1988
|
f,
|
|
1470
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1989
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.serializeBinaryToWriter
|
|
1990
|
+
);
|
|
1991
|
+
}
|
|
1992
|
+
f = this.getFingerprint();
|
|
1993
|
+
if (f.length > 0) {
|
|
1994
|
+
writer.writeString(
|
|
1995
|
+
2,
|
|
1996
|
+
f
|
|
1997
|
+
);
|
|
1998
|
+
}
|
|
1999
|
+
f = this.getLast4();
|
|
2000
|
+
if (f.length > 0) {
|
|
2001
|
+
writer.writeString(
|
|
2002
|
+
3,
|
|
2003
|
+
f
|
|
2004
|
+
);
|
|
2005
|
+
}
|
|
2006
|
+
f = this.getStripecardid();
|
|
2007
|
+
if (f.length > 0) {
|
|
2008
|
+
writer.writeString(
|
|
2009
|
+
4,
|
|
2010
|
+
f
|
|
2011
|
+
);
|
|
2012
|
+
}
|
|
2013
|
+
f = this.getStripetokenid();
|
|
2014
|
+
if (f.length > 0) {
|
|
2015
|
+
writer.writeString(
|
|
2016
|
+
5,
|
|
2017
|
+
f
|
|
2018
|
+
);
|
|
2019
|
+
}
|
|
2020
|
+
f = this.getPaymentType();
|
|
2021
|
+
if (f.length > 0) {
|
|
2022
|
+
writer.writeString(
|
|
2023
|
+
6,
|
|
2024
|
+
f
|
|
2025
|
+
);
|
|
2026
|
+
}
|
|
2027
|
+
f = this.getCardvariant();
|
|
2028
|
+
if (f.length > 0) {
|
|
2029
|
+
writer.writeString(
|
|
2030
|
+
7,
|
|
2031
|
+
f
|
|
1471
2032
|
);
|
|
1472
2033
|
}
|
|
1473
2034
|
};
|
|
@@ -1475,31 +2036,31 @@ proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.serializeBin
|
|
|
1475
2036
|
|
|
1476
2037
|
/**
|
|
1477
2038
|
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1478
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
2039
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ApplePayDetail} The clone.
|
|
1479
2040
|
*/
|
|
1480
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1481
|
-
return /** @type {!proto.sniippaymentmethodsserviceapi.
|
|
2041
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.cloneMessage = function() {
|
|
2042
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.ApplePayDetail} */ (jspb.Message.cloneMessage(this));
|
|
1482
2043
|
};
|
|
1483
2044
|
|
|
1484
2045
|
|
|
1485
2046
|
/**
|
|
1486
|
-
* optional
|
|
1487
|
-
* @return {proto.sniippaymentmethodsserviceapi.
|
|
2047
|
+
* optional ApplePay ApplePay = 1;
|
|
2048
|
+
* @return {proto.sniippaymentmethodsserviceapi.ApplePay}
|
|
1488
2049
|
*/
|
|
1489
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1490
|
-
return /** @type{proto.sniippaymentmethodsserviceapi.
|
|
1491
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.
|
|
2050
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getApplepay = function() {
|
|
2051
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.ApplePay} */ (
|
|
2052
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ApplePay, 1));
|
|
1492
2053
|
};
|
|
1493
2054
|
|
|
1494
2055
|
|
|
1495
|
-
/** @param {proto.sniippaymentmethodsserviceapi.
|
|
1496
|
-
proto.sniippaymentmethodsserviceapi.
|
|
2056
|
+
/** @param {proto.sniippaymentmethodsserviceapi.ApplePay|undefined} value */
|
|
2057
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setApplepay = function(value) {
|
|
1497
2058
|
jspb.Message.setWrapperField(this, 1, value);
|
|
1498
2059
|
};
|
|
1499
2060
|
|
|
1500
2061
|
|
|
1501
|
-
proto.sniippaymentmethodsserviceapi.
|
|
1502
|
-
this.
|
|
2062
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.clearApplepay = function() {
|
|
2063
|
+
this.setApplepay(undefined);
|
|
1503
2064
|
};
|
|
1504
2065
|
|
|
1505
2066
|
|
|
@@ -1507,11 +2068,101 @@ proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest.prototype.clearData =
|
|
|
1507
2068
|
* Returns whether this field is set.
|
|
1508
2069
|
* @return{!boolean}
|
|
1509
2070
|
*/
|
|
1510
|
-
proto.sniippaymentmethodsserviceapi.
|
|
2071
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.hasApplepay = function() {
|
|
1511
2072
|
return jspb.Message.getField(this, 1) != null;
|
|
1512
2073
|
};
|
|
1513
2074
|
|
|
1514
2075
|
|
|
2076
|
+
/**
|
|
2077
|
+
* optional string fingerprint = 2;
|
|
2078
|
+
* @return {string}
|
|
2079
|
+
*/
|
|
2080
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getFingerprint = function() {
|
|
2081
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
2082
|
+
};
|
|
2083
|
+
|
|
2084
|
+
|
|
2085
|
+
/** @param {string} value */
|
|
2086
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setFingerprint = function(value) {
|
|
2087
|
+
jspb.Message.setField(this, 2, value);
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* optional string last4 = 3;
|
|
2093
|
+
* @return {string}
|
|
2094
|
+
*/
|
|
2095
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getLast4 = function() {
|
|
2096
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
2097
|
+
};
|
|
2098
|
+
|
|
2099
|
+
|
|
2100
|
+
/** @param {string} value */
|
|
2101
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setLast4 = function(value) {
|
|
2102
|
+
jspb.Message.setField(this, 3, value);
|
|
2103
|
+
};
|
|
2104
|
+
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* optional string stripeCardId = 4;
|
|
2108
|
+
* @return {string}
|
|
2109
|
+
*/
|
|
2110
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getStripecardid = function() {
|
|
2111
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
2112
|
+
};
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
/** @param {string} value */
|
|
2116
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setStripecardid = function(value) {
|
|
2117
|
+
jspb.Message.setField(this, 4, value);
|
|
2118
|
+
};
|
|
2119
|
+
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* optional string stripeTokenId = 5;
|
|
2123
|
+
* @return {string}
|
|
2124
|
+
*/
|
|
2125
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getStripetokenid = function() {
|
|
2126
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
|
|
2127
|
+
};
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
/** @param {string} value */
|
|
2131
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setStripetokenid = function(value) {
|
|
2132
|
+
jspb.Message.setField(this, 5, value);
|
|
2133
|
+
};
|
|
2134
|
+
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* optional string payment_type = 6;
|
|
2138
|
+
* @return {string}
|
|
2139
|
+
*/
|
|
2140
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getPaymentType = function() {
|
|
2141
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
|
|
2142
|
+
};
|
|
2143
|
+
|
|
2144
|
+
|
|
2145
|
+
/** @param {string} value */
|
|
2146
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setPaymentType = function(value) {
|
|
2147
|
+
jspb.Message.setField(this, 6, value);
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* optional string cardVariant = 7;
|
|
2153
|
+
* @return {string}
|
|
2154
|
+
*/
|
|
2155
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getCardvariant = function() {
|
|
2156
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
|
|
2157
|
+
};
|
|
2158
|
+
|
|
2159
|
+
|
|
2160
|
+
/** @param {string} value */
|
|
2161
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setCardvariant = function(value) {
|
|
2162
|
+
jspb.Message.setField(this, 7, value);
|
|
2163
|
+
};
|
|
2164
|
+
|
|
2165
|
+
|
|
1515
2166
|
|
|
1516
2167
|
/**
|
|
1517
2168
|
* Generated by JsPbCodeGenerator.
|
|
@@ -7736,7 +8387,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.toObject = function(includeIns
|
|
|
7736
8387
|
maskedcreditcard: (f = msg.getMaskedcreditcard()) && proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject(includeInstance, f),
|
|
7737
8388
|
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
7738
8389
|
activationsList: jspb.Message.toObjectList(msg.getActivationsList(),
|
|
7739
|
-
proto.sniippaymentmethodsserviceapi.Activation.toObject, includeInstance)
|
|
8390
|
+
proto.sniippaymentmethodsserviceapi.Activation.toObject, includeInstance),
|
|
8391
|
+
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f)
|
|
7740
8392
|
};
|
|
7741
8393
|
|
|
7742
8394
|
if (includeInstance) {
|
|
@@ -7797,6 +8449,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.deserializeBinaryFromReader =
|
|
|
7797
8449
|
msg.getActivationsList().push(value);
|
|
7798
8450
|
msg.setActivationsList(msg.getActivationsList());
|
|
7799
8451
|
break;
|
|
8452
|
+
case 8:
|
|
8453
|
+
var value = new proto.sniippaymentmethodsserviceapi.ApplePayDetail;
|
|
8454
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader);
|
|
8455
|
+
msg.setApplepaydetail(value);
|
|
8456
|
+
break;
|
|
7800
8457
|
default:
|
|
7801
8458
|
reader.skipField();
|
|
7802
8459
|
break;
|
|
@@ -7873,6 +8530,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.serializeBinaryToWri
|
|
|
7873
8530
|
proto.sniippaymentmethodsserviceapi.Activation.serializeBinaryToWriter
|
|
7874
8531
|
);
|
|
7875
8532
|
}
|
|
8533
|
+
f = this.getApplepaydetail();
|
|
8534
|
+
if (f != null) {
|
|
8535
|
+
writer.writeMessage(
|
|
8536
|
+
8,
|
|
8537
|
+
f,
|
|
8538
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.serializeBinaryToWriter
|
|
8539
|
+
);
|
|
8540
|
+
}
|
|
7876
8541
|
};
|
|
7877
8542
|
|
|
7878
8543
|
|
|
@@ -7998,6 +8663,36 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.clearActivationsList
|
|
|
7998
8663
|
};
|
|
7999
8664
|
|
|
8000
8665
|
|
|
8666
|
+
/**
|
|
8667
|
+
* optional ApplePayDetail applePayDetail = 8;
|
|
8668
|
+
* @return {proto.sniippaymentmethodsserviceapi.ApplePayDetail}
|
|
8669
|
+
*/
|
|
8670
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.getApplepaydetail = function() {
|
|
8671
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.ApplePayDetail} */ (
|
|
8672
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ApplePayDetail, 8));
|
|
8673
|
+
};
|
|
8674
|
+
|
|
8675
|
+
|
|
8676
|
+
/** @param {proto.sniippaymentmethodsserviceapi.ApplePayDetail|undefined} value */
|
|
8677
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.setApplepaydetail = function(value) {
|
|
8678
|
+
jspb.Message.setWrapperField(this, 8, value);
|
|
8679
|
+
};
|
|
8680
|
+
|
|
8681
|
+
|
|
8682
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.clearApplepaydetail = function() {
|
|
8683
|
+
this.setApplepaydetail(undefined);
|
|
8684
|
+
};
|
|
8685
|
+
|
|
8686
|
+
|
|
8687
|
+
/**
|
|
8688
|
+
* Returns whether this field is set.
|
|
8689
|
+
* @return{!boolean}
|
|
8690
|
+
*/
|
|
8691
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasApplepaydetail = function() {
|
|
8692
|
+
return jspb.Message.getField(this, 8) != null;
|
|
8693
|
+
};
|
|
8694
|
+
|
|
8695
|
+
|
|
8001
8696
|
|
|
8002
8697
|
/**
|
|
8003
8698
|
* Generated by JsPbCodeGenerator.
|
|
@@ -8705,7 +9400,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.toObject = f
|
|
|
8705
9400
|
paymentmethodid: msg.getPaymentmethodid(),
|
|
8706
9401
|
paymenttype: msg.getPaymenttype(),
|
|
8707
9402
|
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.CreditCard.toObject(includeInstance, f),
|
|
8708
|
-
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f)
|
|
9403
|
+
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
9404
|
+
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f)
|
|
8709
9405
|
};
|
|
8710
9406
|
|
|
8711
9407
|
if (includeInstance) {
|
|
@@ -8765,6 +9461,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.deserializeB
|
|
|
8765
9461
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BankAccount.deserializeBinaryFromReader);
|
|
8766
9462
|
msg.setBankaccount(value);
|
|
8767
9463
|
break;
|
|
9464
|
+
case 6:
|
|
9465
|
+
var value = new proto.sniippaymentmethodsserviceapi.ApplePayDetail;
|
|
9466
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader);
|
|
9467
|
+
msg.setApplepaydetail(value);
|
|
9468
|
+
break;
|
|
8768
9469
|
default:
|
|
8769
9470
|
reader.skipField();
|
|
8770
9471
|
break;
|
|
@@ -8841,6 +9542,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.se
|
|
|
8841
9542
|
proto.sniippaymentmethodsserviceapi.BankAccount.serializeBinaryToWriter
|
|
8842
9543
|
);
|
|
8843
9544
|
}
|
|
9545
|
+
f = this.getApplepaydetail();
|
|
9546
|
+
if (f != null) {
|
|
9547
|
+
writer.writeMessage(
|
|
9548
|
+
6,
|
|
9549
|
+
f,
|
|
9550
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.serializeBinaryToWriter
|
|
9551
|
+
);
|
|
9552
|
+
}
|
|
8844
9553
|
};
|
|
8845
9554
|
|
|
8846
9555
|
|
|
@@ -8973,6 +9682,36 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.ha
|
|
|
8973
9682
|
};
|
|
8974
9683
|
|
|
8975
9684
|
|
|
9685
|
+
/**
|
|
9686
|
+
* optional ApplePayDetail applePayDetail = 6;
|
|
9687
|
+
* @return {proto.sniippaymentmethodsserviceapi.ApplePayDetail}
|
|
9688
|
+
*/
|
|
9689
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.getApplepaydetail = function() {
|
|
9690
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.ApplePayDetail} */ (
|
|
9691
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ApplePayDetail, 6));
|
|
9692
|
+
};
|
|
9693
|
+
|
|
9694
|
+
|
|
9695
|
+
/** @param {proto.sniippaymentmethodsserviceapi.ApplePayDetail|undefined} value */
|
|
9696
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.setApplepaydetail = function(value) {
|
|
9697
|
+
jspb.Message.setWrapperField(this, 6, value);
|
|
9698
|
+
};
|
|
9699
|
+
|
|
9700
|
+
|
|
9701
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.clearApplepaydetail = function() {
|
|
9702
|
+
this.setApplepaydetail(undefined);
|
|
9703
|
+
};
|
|
9704
|
+
|
|
9705
|
+
|
|
9706
|
+
/**
|
|
9707
|
+
* Returns whether this field is set.
|
|
9708
|
+
* @return{!boolean}
|
|
9709
|
+
*/
|
|
9710
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.hasApplepaydetail = function() {
|
|
9711
|
+
return jspb.Message.getField(this, 6) != null;
|
|
9712
|
+
};
|
|
9713
|
+
|
|
9714
|
+
|
|
8976
9715
|
|
|
8977
9716
|
/**
|
|
8978
9717
|
* Generated by JsPbCodeGenerator.
|