@sniipwebmaster/payment-gateway-service-client-grpcweb 25.8.6752 → 25.8.6764
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 +206 -24
- package/package.json +1 -1
|
@@ -55,6 +55,7 @@ goog.exportSymbol('proto.sniippaymentgatewayapi.LegResponse', null, global);
|
|
|
55
55
|
goog.exportSymbol('proto.sniippaymentgatewayapi.LegStatusUpdateRequest', null, global);
|
|
56
56
|
goog.exportSymbol('proto.sniippaymentgatewayapi.LegsForTransactionRequest', null, global);
|
|
57
57
|
goog.exportSymbol('proto.sniippaymentgatewayapi.LegsForTransactionResponse', null, global);
|
|
58
|
+
goog.exportSymbol('proto.sniippaymentgatewayapi.LoyaltyInfo', null, global);
|
|
58
59
|
goog.exportSymbol('proto.sniippaymentgatewayapi.PayBillRequest', null, global);
|
|
59
60
|
goog.exportSymbol('proto.sniippaymentgatewayapi.PayBillResponse', null, global);
|
|
60
61
|
goog.exportSymbol('proto.sniippaymentgatewayapi.PaymentDetailsBulkRequest', null, global);
|
|
@@ -757,6 +758,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
757
758
|
*/
|
|
758
759
|
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.displayName = 'proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse';
|
|
759
760
|
}
|
|
761
|
+
/**
|
|
762
|
+
* Generated by JsPbCodeGenerator.
|
|
763
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
764
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
765
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
766
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
767
|
+
* valid.
|
|
768
|
+
* @extends {jspb.Message}
|
|
769
|
+
* @constructor
|
|
770
|
+
*/
|
|
771
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo = function(opt_data) {
|
|
772
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
773
|
+
};
|
|
774
|
+
goog.inherits(proto.sniippaymentgatewayapi.LoyaltyInfo, jspb.Message);
|
|
775
|
+
if (goog.DEBUG && !COMPILED) {
|
|
776
|
+
/**
|
|
777
|
+
* @public
|
|
778
|
+
* @override
|
|
779
|
+
*/
|
|
780
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.displayName = 'proto.sniippaymentgatewayapi.LoyaltyInfo';
|
|
781
|
+
}
|
|
760
782
|
/**
|
|
761
783
|
* Generated by JsPbCodeGenerator.
|
|
762
784
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1965,7 +1987,8 @@ proto.sniippaymentgatewayapi.BillRateItem.toObject = function(includeInstance, m
|
|
|
1965
1987
|
surcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
1966
1988
|
tiername: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1967
1989
|
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1968
|
-
isbusinesspayment: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
1990
|
+
isbusinesspayment: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
1991
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
1969
1992
|
};
|
|
1970
1993
|
|
|
1971
1994
|
if (includeInstance) {
|
|
@@ -2034,6 +2057,10 @@ proto.sniippaymentgatewayapi.BillRateItem.deserializeBinaryFromReader = function
|
|
|
2034
2057
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2035
2058
|
msg.setIsbusinesspayment(value);
|
|
2036
2059
|
break;
|
|
2060
|
+
case 9:
|
|
2061
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2062
|
+
msg.setLoyaltyoptionid(value);
|
|
2063
|
+
break;
|
|
2037
2064
|
default:
|
|
2038
2065
|
reader.skipField();
|
|
2039
2066
|
break;
|
|
@@ -2119,6 +2146,13 @@ proto.sniippaymentgatewayapi.BillRateItem.serializeBinaryToWriter = function(mes
|
|
|
2119
2146
|
f
|
|
2120
2147
|
);
|
|
2121
2148
|
}
|
|
2149
|
+
f = message.getLoyaltyoptionid();
|
|
2150
|
+
if (f !== 0) {
|
|
2151
|
+
writer.writeInt64(
|
|
2152
|
+
9,
|
|
2153
|
+
f
|
|
2154
|
+
);
|
|
2155
|
+
}
|
|
2122
2156
|
};
|
|
2123
2157
|
|
|
2124
2158
|
|
|
@@ -2266,6 +2300,24 @@ proto.sniippaymentgatewayapi.BillRateItem.prototype.setIsbusinesspayment = funct
|
|
|
2266
2300
|
};
|
|
2267
2301
|
|
|
2268
2302
|
|
|
2303
|
+
/**
|
|
2304
|
+
* optional int64 loyaltyOptionId = 9;
|
|
2305
|
+
* @return {number}
|
|
2306
|
+
*/
|
|
2307
|
+
proto.sniippaymentgatewayapi.BillRateItem.prototype.getLoyaltyoptionid = function() {
|
|
2308
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
2309
|
+
};
|
|
2310
|
+
|
|
2311
|
+
|
|
2312
|
+
/**
|
|
2313
|
+
* @param {number} value
|
|
2314
|
+
* @return {!proto.sniippaymentgatewayapi.BillRateItem} returns this
|
|
2315
|
+
*/
|
|
2316
|
+
proto.sniippaymentgatewayapi.BillRateItem.prototype.setLoyaltyoptionid = function(value) {
|
|
2317
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
2318
|
+
};
|
|
2319
|
+
|
|
2320
|
+
|
|
2269
2321
|
|
|
2270
2322
|
|
|
2271
2323
|
|
|
@@ -9840,7 +9892,6 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.toObject = function(incl
|
|
|
9840
9892
|
wasfeediscountapplied: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
9841
9893
|
feediscountmessage: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
9842
9894
|
businessratesdisclaimermessage: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
9843
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
9844
9895
|
usermembershipid: jspb.Message.getFieldWithDefault(msg, 16, 0)
|
|
9845
9896
|
};
|
|
9846
9897
|
|
|
@@ -9938,10 +9989,6 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.deserializeBinaryFromRea
|
|
|
9938
9989
|
var value = /** @type {string} */ (reader.readString());
|
|
9939
9990
|
msg.setBusinessratesdisclaimermessage(value);
|
|
9940
9991
|
break;
|
|
9941
|
-
case 15:
|
|
9942
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
9943
|
-
msg.setLoyaltyoptionid(value);
|
|
9944
|
-
break;
|
|
9945
9992
|
case 16:
|
|
9946
9993
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9947
9994
|
msg.setUsermembershipid(value);
|
|
@@ -10075,13 +10122,6 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.serializeBinaryToWriter
|
|
|
10075
10122
|
f
|
|
10076
10123
|
);
|
|
10077
10124
|
}
|
|
10078
|
-
f = message.getLoyaltyoptionid();
|
|
10079
|
-
if (f !== 0) {
|
|
10080
|
-
writer.writeInt64(
|
|
10081
|
-
15,
|
|
10082
|
-
f
|
|
10083
|
-
);
|
|
10084
|
-
}
|
|
10085
10125
|
f = message.getUsermembershipid();
|
|
10086
10126
|
if (f !== 0) {
|
|
10087
10127
|
writer.writeInt64(
|
|
@@ -10403,11 +10443,11 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.setBusinessrat
|
|
|
10403
10443
|
|
|
10404
10444
|
|
|
10405
10445
|
/**
|
|
10406
|
-
* optional int64
|
|
10446
|
+
* optional int64 userMembershipId = 16;
|
|
10407
10447
|
* @return {number}
|
|
10408
10448
|
*/
|
|
10409
|
-
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.
|
|
10410
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
10449
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.getUsermembershipid = function() {
|
|
10450
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
10411
10451
|
};
|
|
10412
10452
|
|
|
10413
10453
|
|
|
@@ -10415,26 +10455,168 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.getLoyaltyopti
|
|
|
10415
10455
|
* @param {number} value
|
|
10416
10456
|
* @return {!proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse} returns this
|
|
10417
10457
|
*/
|
|
10418
|
-
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.
|
|
10419
|
-
return jspb.Message.setProto3IntField(this,
|
|
10458
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.setUsermembershipid = function(value) {
|
|
10459
|
+
return jspb.Message.setProto3IntField(this, 16, value);
|
|
10420
10460
|
};
|
|
10421
10461
|
|
|
10422
10462
|
|
|
10463
|
+
|
|
10464
|
+
|
|
10465
|
+
|
|
10466
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10423
10467
|
/**
|
|
10424
|
-
*
|
|
10468
|
+
* Creates an object representation of this proto.
|
|
10469
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10470
|
+
* Optional fields that are not set will be set to undefined.
|
|
10471
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10472
|
+
* For the list of reserved names please see:
|
|
10473
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10474
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10475
|
+
* JSPB instance for transitional soy proto support:
|
|
10476
|
+
* http://goto/soy-param-migration
|
|
10477
|
+
* @return {!Object}
|
|
10478
|
+
*/
|
|
10479
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.toObject = function(opt_includeInstance) {
|
|
10480
|
+
return proto.sniippaymentgatewayapi.LoyaltyInfo.toObject(opt_includeInstance, this);
|
|
10481
|
+
};
|
|
10482
|
+
|
|
10483
|
+
|
|
10484
|
+
/**
|
|
10485
|
+
* Static version of the {@see toObject} method.
|
|
10486
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10487
|
+
* the JSPB instance for transitional soy proto support:
|
|
10488
|
+
* http://goto/soy-param-migration
|
|
10489
|
+
* @param {!proto.sniippaymentgatewayapi.LoyaltyInfo} msg The msg instance to transform.
|
|
10490
|
+
* @return {!Object}
|
|
10491
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10492
|
+
*/
|
|
10493
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.toObject = function(includeInstance, msg) {
|
|
10494
|
+
var f, obj = {
|
|
10495
|
+
billid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10496
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
10497
|
+
};
|
|
10498
|
+
|
|
10499
|
+
if (includeInstance) {
|
|
10500
|
+
obj.$jspbMessageInstance = msg;
|
|
10501
|
+
}
|
|
10502
|
+
return obj;
|
|
10503
|
+
};
|
|
10504
|
+
}
|
|
10505
|
+
|
|
10506
|
+
|
|
10507
|
+
/**
|
|
10508
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10509
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10510
|
+
* @return {!proto.sniippaymentgatewayapi.LoyaltyInfo}
|
|
10511
|
+
*/
|
|
10512
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.deserializeBinary = function(bytes) {
|
|
10513
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10514
|
+
var msg = new proto.sniippaymentgatewayapi.LoyaltyInfo;
|
|
10515
|
+
return proto.sniippaymentgatewayapi.LoyaltyInfo.deserializeBinaryFromReader(msg, reader);
|
|
10516
|
+
};
|
|
10517
|
+
|
|
10518
|
+
|
|
10519
|
+
/**
|
|
10520
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10521
|
+
* given reader into the given message object.
|
|
10522
|
+
* @param {!proto.sniippaymentgatewayapi.LoyaltyInfo} msg The message object to deserialize into.
|
|
10523
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10524
|
+
* @return {!proto.sniippaymentgatewayapi.LoyaltyInfo}
|
|
10525
|
+
*/
|
|
10526
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
10527
|
+
while (reader.nextField()) {
|
|
10528
|
+
if (reader.isEndGroup()) {
|
|
10529
|
+
break;
|
|
10530
|
+
}
|
|
10531
|
+
var field = reader.getFieldNumber();
|
|
10532
|
+
switch (field) {
|
|
10533
|
+
case 1:
|
|
10534
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10535
|
+
msg.setBillid(value);
|
|
10536
|
+
break;
|
|
10537
|
+
case 2:
|
|
10538
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10539
|
+
msg.setLoyaltyoptionid(value);
|
|
10540
|
+
break;
|
|
10541
|
+
default:
|
|
10542
|
+
reader.skipField();
|
|
10543
|
+
break;
|
|
10544
|
+
}
|
|
10545
|
+
}
|
|
10546
|
+
return msg;
|
|
10547
|
+
};
|
|
10548
|
+
|
|
10549
|
+
|
|
10550
|
+
/**
|
|
10551
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10552
|
+
* @return {!Uint8Array}
|
|
10553
|
+
*/
|
|
10554
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.serializeBinary = function() {
|
|
10555
|
+
var writer = new jspb.BinaryWriter();
|
|
10556
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.serializeBinaryToWriter(this, writer);
|
|
10557
|
+
return writer.getResultBuffer();
|
|
10558
|
+
};
|
|
10559
|
+
|
|
10560
|
+
|
|
10561
|
+
/**
|
|
10562
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10563
|
+
* format), writing to the given BinaryWriter.
|
|
10564
|
+
* @param {!proto.sniippaymentgatewayapi.LoyaltyInfo} message
|
|
10565
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10566
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10567
|
+
*/
|
|
10568
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.serializeBinaryToWriter = function(message, writer) {
|
|
10569
|
+
var f = undefined;
|
|
10570
|
+
f = message.getBillid();
|
|
10571
|
+
if (f !== 0) {
|
|
10572
|
+
writer.writeInt64(
|
|
10573
|
+
1,
|
|
10574
|
+
f
|
|
10575
|
+
);
|
|
10576
|
+
}
|
|
10577
|
+
f = message.getLoyaltyoptionid();
|
|
10578
|
+
if (f !== 0) {
|
|
10579
|
+
writer.writeInt64(
|
|
10580
|
+
2,
|
|
10581
|
+
f
|
|
10582
|
+
);
|
|
10583
|
+
}
|
|
10584
|
+
};
|
|
10585
|
+
|
|
10586
|
+
|
|
10587
|
+
/**
|
|
10588
|
+
* optional int64 billId = 1;
|
|
10425
10589
|
* @return {number}
|
|
10426
10590
|
*/
|
|
10427
|
-
proto.sniippaymentgatewayapi.
|
|
10428
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
10591
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.getBillid = function() {
|
|
10592
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
10429
10593
|
};
|
|
10430
10594
|
|
|
10431
10595
|
|
|
10432
10596
|
/**
|
|
10433
10597
|
* @param {number} value
|
|
10434
|
-
* @return {!proto.sniippaymentgatewayapi.
|
|
10598
|
+
* @return {!proto.sniippaymentgatewayapi.LoyaltyInfo} returns this
|
|
10435
10599
|
*/
|
|
10436
|
-
proto.sniippaymentgatewayapi.
|
|
10437
|
-
return jspb.Message.setProto3IntField(this,
|
|
10600
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.setBillid = function(value) {
|
|
10601
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
10602
|
+
};
|
|
10603
|
+
|
|
10604
|
+
|
|
10605
|
+
/**
|
|
10606
|
+
* optional int64 loyaltyOptionId = 2;
|
|
10607
|
+
* @return {number}
|
|
10608
|
+
*/
|
|
10609
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.getLoyaltyoptionid = function() {
|
|
10610
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
10611
|
+
};
|
|
10612
|
+
|
|
10613
|
+
|
|
10614
|
+
/**
|
|
10615
|
+
* @param {number} value
|
|
10616
|
+
* @return {!proto.sniippaymentgatewayapi.LoyaltyInfo} returns this
|
|
10617
|
+
*/
|
|
10618
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.setLoyaltyoptionid = function(value) {
|
|
10619
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
10438
10620
|
};
|
|
10439
10621
|
|
|
10440
10622
|
|