@sniipwebmaster/payment-gateway-service-client-grpcweb 25.8.6743 → 25.8.6758
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 +400 -15
- 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
|
|
@@ -7213,7 +7235,8 @@ proto.sniippaymentgatewayapi.PayBillRequest.toObject = function(includeInstance,
|
|
|
7213
7235
|
excludedgatewaysList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
|
|
7214
7236
|
reservedrewarditemid: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
7215
7237
|
isbetauser: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
7216
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 17, 0)
|
|
7238
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
7239
|
+
usermembershipid: jspb.Message.getFieldWithDefault(msg, 18, 0)
|
|
7217
7240
|
};
|
|
7218
7241
|
|
|
7219
7242
|
if (includeInstance) {
|
|
@@ -7318,6 +7341,10 @@ proto.sniippaymentgatewayapi.PayBillRequest.deserializeBinaryFromReader = functi
|
|
|
7318
7341
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7319
7342
|
msg.setLoyaltyoptionid(value);
|
|
7320
7343
|
break;
|
|
7344
|
+
case 18:
|
|
7345
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7346
|
+
msg.setUsermembershipid(value);
|
|
7347
|
+
break;
|
|
7321
7348
|
default:
|
|
7322
7349
|
reader.skipField();
|
|
7323
7350
|
break;
|
|
@@ -7466,6 +7493,13 @@ proto.sniippaymentgatewayapi.PayBillRequest.serializeBinaryToWriter = function(m
|
|
|
7466
7493
|
f
|
|
7467
7494
|
);
|
|
7468
7495
|
}
|
|
7496
|
+
f = message.getUsermembershipid();
|
|
7497
|
+
if (f !== 0) {
|
|
7498
|
+
writer.writeInt64(
|
|
7499
|
+
18,
|
|
7500
|
+
f
|
|
7501
|
+
);
|
|
7502
|
+
}
|
|
7469
7503
|
};
|
|
7470
7504
|
|
|
7471
7505
|
|
|
@@ -7794,6 +7828,24 @@ proto.sniippaymentgatewayapi.PayBillRequest.prototype.setLoyaltyoptionid = funct
|
|
|
7794
7828
|
};
|
|
7795
7829
|
|
|
7796
7830
|
|
|
7831
|
+
/**
|
|
7832
|
+
* optional int64 userMembershipId = 18;
|
|
7833
|
+
* @return {number}
|
|
7834
|
+
*/
|
|
7835
|
+
proto.sniippaymentgatewayapi.PayBillRequest.prototype.getUsermembershipid = function() {
|
|
7836
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
7837
|
+
};
|
|
7838
|
+
|
|
7839
|
+
|
|
7840
|
+
/**
|
|
7841
|
+
* @param {number} value
|
|
7842
|
+
* @return {!proto.sniippaymentgatewayapi.PayBillRequest} returns this
|
|
7843
|
+
*/
|
|
7844
|
+
proto.sniippaymentgatewayapi.PayBillRequest.prototype.setUsermembershipid = function(value) {
|
|
7845
|
+
return jspb.Message.setProto3IntField(this, 18, value);
|
|
7846
|
+
};
|
|
7847
|
+
|
|
7848
|
+
|
|
7797
7849
|
|
|
7798
7850
|
/**
|
|
7799
7851
|
* List of repeated fields within this message type.
|
|
@@ -7873,7 +7925,8 @@ proto.sniippaymentgatewayapi.PayBillResponse.toObject = function(includeInstance
|
|
|
7873
7925
|
surchargerate: jspb.Message.getFloatingPointFieldWithDefault(msg, 38, 0.0),
|
|
7874
7926
|
paymentgatewayconfigurationoptionid: jspb.Message.getFieldWithDefault(msg, 39, 0),
|
|
7875
7927
|
surchargeincrementrate: jspb.Message.getFloatingPointFieldWithDefault(msg, 40, 0.0),
|
|
7876
|
-
surchargeincrementdollaramount: jspb.Message.getFloatingPointFieldWithDefault(msg, 41, 0.0)
|
|
7928
|
+
surchargeincrementdollaramount: jspb.Message.getFloatingPointFieldWithDefault(msg, 41, 0.0),
|
|
7929
|
+
usermembershipid: jspb.Message.getFieldWithDefault(msg, 42, 0)
|
|
7877
7930
|
};
|
|
7878
7931
|
|
|
7879
7932
|
if (includeInstance) {
|
|
@@ -8077,6 +8130,10 @@ proto.sniippaymentgatewayapi.PayBillResponse.deserializeBinaryFromReader = funct
|
|
|
8077
8130
|
var value = /** @type {number} */ (reader.readDouble());
|
|
8078
8131
|
msg.setSurchargeincrementdollaramount(value);
|
|
8079
8132
|
break;
|
|
8133
|
+
case 42:
|
|
8134
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8135
|
+
msg.setUsermembershipid(value);
|
|
8136
|
+
break;
|
|
8080
8137
|
default:
|
|
8081
8138
|
reader.skipField();
|
|
8082
8139
|
break;
|
|
@@ -8394,6 +8451,13 @@ proto.sniippaymentgatewayapi.PayBillResponse.serializeBinaryToWriter = function(
|
|
|
8394
8451
|
f
|
|
8395
8452
|
);
|
|
8396
8453
|
}
|
|
8454
|
+
f = message.getUsermembershipid();
|
|
8455
|
+
if (f !== 0) {
|
|
8456
|
+
writer.writeInt64(
|
|
8457
|
+
42,
|
|
8458
|
+
f
|
|
8459
|
+
);
|
|
8460
|
+
}
|
|
8397
8461
|
};
|
|
8398
8462
|
|
|
8399
8463
|
|
|
@@ -9191,6 +9255,24 @@ proto.sniippaymentgatewayapi.PayBillResponse.prototype.setSurchargeincrementdoll
|
|
|
9191
9255
|
};
|
|
9192
9256
|
|
|
9193
9257
|
|
|
9258
|
+
/**
|
|
9259
|
+
* optional int64 userMembershipId = 42;
|
|
9260
|
+
* @return {number}
|
|
9261
|
+
*/
|
|
9262
|
+
proto.sniippaymentgatewayapi.PayBillResponse.prototype.getUsermembershipid = function() {
|
|
9263
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 42, 0));
|
|
9264
|
+
};
|
|
9265
|
+
|
|
9266
|
+
|
|
9267
|
+
/**
|
|
9268
|
+
* @param {number} value
|
|
9269
|
+
* @return {!proto.sniippaymentgatewayapi.PayBillResponse} returns this
|
|
9270
|
+
*/
|
|
9271
|
+
proto.sniippaymentgatewayapi.PayBillResponse.prototype.setUsermembershipid = function(value) {
|
|
9272
|
+
return jspb.Message.setProto3IntField(this, 42, value);
|
|
9273
|
+
};
|
|
9274
|
+
|
|
9275
|
+
|
|
9194
9276
|
|
|
9195
9277
|
/**
|
|
9196
9278
|
* List of repeated fields within this message type.
|
|
@@ -9242,7 +9324,8 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkRequest.toObject = function(inclu
|
|
|
9242
9324
|
isgooglepaysurchargerequest: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
9243
9325
|
bulkitemList: jspb.Message.toObjectList(msg.getBulkitemList(),
|
|
9244
9326
|
proto.sniippaymentgatewayapi.BulkItem.toObject, includeInstance),
|
|
9245
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
9327
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
9328
|
+
usermembershipid: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
9246
9329
|
};
|
|
9247
9330
|
|
|
9248
9331
|
if (includeInstance) {
|
|
@@ -9328,6 +9411,10 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkRequest.deserializeBinaryFromRead
|
|
|
9328
9411
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9329
9412
|
msg.setLoyaltyoptionid(value);
|
|
9330
9413
|
break;
|
|
9414
|
+
case 14:
|
|
9415
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9416
|
+
msg.setUsermembershipid(value);
|
|
9417
|
+
break;
|
|
9331
9418
|
default:
|
|
9332
9419
|
reader.skipField();
|
|
9333
9420
|
break;
|
|
@@ -9442,6 +9529,13 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkRequest.serializeBinaryToWriter =
|
|
|
9442
9529
|
f
|
|
9443
9530
|
);
|
|
9444
9531
|
}
|
|
9532
|
+
f = message.getUsermembershipid();
|
|
9533
|
+
if (f !== 0) {
|
|
9534
|
+
writer.writeInt64(
|
|
9535
|
+
14,
|
|
9536
|
+
f
|
|
9537
|
+
);
|
|
9538
|
+
}
|
|
9445
9539
|
};
|
|
9446
9540
|
|
|
9447
9541
|
|
|
@@ -9696,13 +9790,31 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkRequest.prototype.setLoyaltyoptio
|
|
|
9696
9790
|
};
|
|
9697
9791
|
|
|
9698
9792
|
|
|
9793
|
+
/**
|
|
9794
|
+
* optional int64 userMembershipId = 14;
|
|
9795
|
+
* @return {number}
|
|
9796
|
+
*/
|
|
9797
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkRequest.prototype.getUsermembershipid = function() {
|
|
9798
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
9799
|
+
};
|
|
9800
|
+
|
|
9801
|
+
|
|
9802
|
+
/**
|
|
9803
|
+
* @param {number} value
|
|
9804
|
+
* @return {!proto.sniippaymentgatewayapi.PaymentDetailsBulkRequest} returns this
|
|
9805
|
+
*/
|
|
9806
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkRequest.prototype.setUsermembershipid = function(value) {
|
|
9807
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
9808
|
+
};
|
|
9809
|
+
|
|
9810
|
+
|
|
9699
9811
|
|
|
9700
9812
|
/**
|
|
9701
9813
|
* List of repeated fields within this message type.
|
|
9702
9814
|
* @private {!Array<number>}
|
|
9703
9815
|
* @const
|
|
9704
9816
|
*/
|
|
9705
|
-
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.repeatedFields_ = [8,10];
|
|
9817
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.repeatedFields_ = [8,10,15];
|
|
9706
9818
|
|
|
9707
9819
|
|
|
9708
9820
|
|
|
@@ -9750,7 +9862,9 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.toObject = function(incl
|
|
|
9750
9862
|
wasfeediscountapplied: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
9751
9863
|
feediscountmessage: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
9752
9864
|
businessratesdisclaimermessage: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
9753
|
-
|
|
9865
|
+
loyaltyinfosList: jspb.Message.toObjectList(msg.getLoyaltyinfosList(),
|
|
9866
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.toObject, includeInstance),
|
|
9867
|
+
usermembershipid: jspb.Message.getFieldWithDefault(msg, 16, 0)
|
|
9754
9868
|
};
|
|
9755
9869
|
|
|
9756
9870
|
if (includeInstance) {
|
|
@@ -9848,8 +9962,13 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.deserializeBinaryFromRea
|
|
|
9848
9962
|
msg.setBusinessratesdisclaimermessage(value);
|
|
9849
9963
|
break;
|
|
9850
9964
|
case 15:
|
|
9965
|
+
var value = new proto.sniippaymentgatewayapi.LoyaltyInfo;
|
|
9966
|
+
reader.readMessage(value,proto.sniippaymentgatewayapi.LoyaltyInfo.deserializeBinaryFromReader);
|
|
9967
|
+
msg.addLoyaltyinfos(value);
|
|
9968
|
+
break;
|
|
9969
|
+
case 16:
|
|
9851
9970
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9852
|
-
msg.
|
|
9971
|
+
msg.setUsermembershipid(value);
|
|
9853
9972
|
break;
|
|
9854
9973
|
default:
|
|
9855
9974
|
reader.skipField();
|
|
@@ -9980,10 +10099,18 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.serializeBinaryToWriter
|
|
|
9980
10099
|
f
|
|
9981
10100
|
);
|
|
9982
10101
|
}
|
|
9983
|
-
f = message.
|
|
10102
|
+
f = message.getLoyaltyinfosList();
|
|
10103
|
+
if (f.length > 0) {
|
|
10104
|
+
writer.writeRepeatedMessage(
|
|
10105
|
+
15,
|
|
10106
|
+
f,
|
|
10107
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.serializeBinaryToWriter
|
|
10108
|
+
);
|
|
10109
|
+
}
|
|
10110
|
+
f = message.getUsermembershipid();
|
|
9984
10111
|
if (f !== 0) {
|
|
9985
10112
|
writer.writeInt64(
|
|
9986
|
-
|
|
10113
|
+
16,
|
|
9987
10114
|
f
|
|
9988
10115
|
);
|
|
9989
10116
|
}
|
|
@@ -10301,11 +10428,49 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.setBusinessrat
|
|
|
10301
10428
|
|
|
10302
10429
|
|
|
10303
10430
|
/**
|
|
10304
|
-
*
|
|
10431
|
+
* repeated LoyaltyInfo loyaltyInfos = 15;
|
|
10432
|
+
* @return {!Array<!proto.sniippaymentgatewayapi.LoyaltyInfo>}
|
|
10433
|
+
*/
|
|
10434
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.getLoyaltyinfosList = function() {
|
|
10435
|
+
return /** @type{!Array<!proto.sniippaymentgatewayapi.LoyaltyInfo>} */ (
|
|
10436
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniippaymentgatewayapi.LoyaltyInfo, 15));
|
|
10437
|
+
};
|
|
10438
|
+
|
|
10439
|
+
|
|
10440
|
+
/**
|
|
10441
|
+
* @param {!Array<!proto.sniippaymentgatewayapi.LoyaltyInfo>} value
|
|
10442
|
+
* @return {!proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse} returns this
|
|
10443
|
+
*/
|
|
10444
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.setLoyaltyinfosList = function(value) {
|
|
10445
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
|
10446
|
+
};
|
|
10447
|
+
|
|
10448
|
+
|
|
10449
|
+
/**
|
|
10450
|
+
* @param {!proto.sniippaymentgatewayapi.LoyaltyInfo=} opt_value
|
|
10451
|
+
* @param {number=} opt_index
|
|
10452
|
+
* @return {!proto.sniippaymentgatewayapi.LoyaltyInfo}
|
|
10453
|
+
*/
|
|
10454
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.addLoyaltyinfos = function(opt_value, opt_index) {
|
|
10455
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.sniippaymentgatewayapi.LoyaltyInfo, opt_index);
|
|
10456
|
+
};
|
|
10457
|
+
|
|
10458
|
+
|
|
10459
|
+
/**
|
|
10460
|
+
* Clears the list making it empty but non-null.
|
|
10461
|
+
* @return {!proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse} returns this
|
|
10462
|
+
*/
|
|
10463
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.clearLoyaltyinfosList = function() {
|
|
10464
|
+
return this.setLoyaltyinfosList([]);
|
|
10465
|
+
};
|
|
10466
|
+
|
|
10467
|
+
|
|
10468
|
+
/**
|
|
10469
|
+
* optional int64 userMembershipId = 16;
|
|
10305
10470
|
* @return {number}
|
|
10306
10471
|
*/
|
|
10307
|
-
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.
|
|
10308
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
10472
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.getUsermembershipid = function() {
|
|
10473
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
10309
10474
|
};
|
|
10310
10475
|
|
|
10311
10476
|
|
|
@@ -10313,8 +10478,168 @@ proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.getLoyaltyopti
|
|
|
10313
10478
|
* @param {number} value
|
|
10314
10479
|
* @return {!proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse} returns this
|
|
10315
10480
|
*/
|
|
10316
|
-
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.
|
|
10317
|
-
return jspb.Message.setProto3IntField(this,
|
|
10481
|
+
proto.sniippaymentgatewayapi.PaymentDetailsBulkResponse.prototype.setUsermembershipid = function(value) {
|
|
10482
|
+
return jspb.Message.setProto3IntField(this, 16, value);
|
|
10483
|
+
};
|
|
10484
|
+
|
|
10485
|
+
|
|
10486
|
+
|
|
10487
|
+
|
|
10488
|
+
|
|
10489
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10490
|
+
/**
|
|
10491
|
+
* Creates an object representation of this proto.
|
|
10492
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10493
|
+
* Optional fields that are not set will be set to undefined.
|
|
10494
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10495
|
+
* For the list of reserved names please see:
|
|
10496
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10497
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10498
|
+
* JSPB instance for transitional soy proto support:
|
|
10499
|
+
* http://goto/soy-param-migration
|
|
10500
|
+
* @return {!Object}
|
|
10501
|
+
*/
|
|
10502
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.toObject = function(opt_includeInstance) {
|
|
10503
|
+
return proto.sniippaymentgatewayapi.LoyaltyInfo.toObject(opt_includeInstance, this);
|
|
10504
|
+
};
|
|
10505
|
+
|
|
10506
|
+
|
|
10507
|
+
/**
|
|
10508
|
+
* Static version of the {@see toObject} method.
|
|
10509
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10510
|
+
* the JSPB instance for transitional soy proto support:
|
|
10511
|
+
* http://goto/soy-param-migration
|
|
10512
|
+
* @param {!proto.sniippaymentgatewayapi.LoyaltyInfo} msg The msg instance to transform.
|
|
10513
|
+
* @return {!Object}
|
|
10514
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10515
|
+
*/
|
|
10516
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.toObject = function(includeInstance, msg) {
|
|
10517
|
+
var f, obj = {
|
|
10518
|
+
billid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10519
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
10520
|
+
};
|
|
10521
|
+
|
|
10522
|
+
if (includeInstance) {
|
|
10523
|
+
obj.$jspbMessageInstance = msg;
|
|
10524
|
+
}
|
|
10525
|
+
return obj;
|
|
10526
|
+
};
|
|
10527
|
+
}
|
|
10528
|
+
|
|
10529
|
+
|
|
10530
|
+
/**
|
|
10531
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10532
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10533
|
+
* @return {!proto.sniippaymentgatewayapi.LoyaltyInfo}
|
|
10534
|
+
*/
|
|
10535
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.deserializeBinary = function(bytes) {
|
|
10536
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10537
|
+
var msg = new proto.sniippaymentgatewayapi.LoyaltyInfo;
|
|
10538
|
+
return proto.sniippaymentgatewayapi.LoyaltyInfo.deserializeBinaryFromReader(msg, reader);
|
|
10539
|
+
};
|
|
10540
|
+
|
|
10541
|
+
|
|
10542
|
+
/**
|
|
10543
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10544
|
+
* given reader into the given message object.
|
|
10545
|
+
* @param {!proto.sniippaymentgatewayapi.LoyaltyInfo} msg The message object to deserialize into.
|
|
10546
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10547
|
+
* @return {!proto.sniippaymentgatewayapi.LoyaltyInfo}
|
|
10548
|
+
*/
|
|
10549
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
10550
|
+
while (reader.nextField()) {
|
|
10551
|
+
if (reader.isEndGroup()) {
|
|
10552
|
+
break;
|
|
10553
|
+
}
|
|
10554
|
+
var field = reader.getFieldNumber();
|
|
10555
|
+
switch (field) {
|
|
10556
|
+
case 1:
|
|
10557
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10558
|
+
msg.setBillid(value);
|
|
10559
|
+
break;
|
|
10560
|
+
case 2:
|
|
10561
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10562
|
+
msg.setLoyaltyoptionid(value);
|
|
10563
|
+
break;
|
|
10564
|
+
default:
|
|
10565
|
+
reader.skipField();
|
|
10566
|
+
break;
|
|
10567
|
+
}
|
|
10568
|
+
}
|
|
10569
|
+
return msg;
|
|
10570
|
+
};
|
|
10571
|
+
|
|
10572
|
+
|
|
10573
|
+
/**
|
|
10574
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10575
|
+
* @return {!Uint8Array}
|
|
10576
|
+
*/
|
|
10577
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.serializeBinary = function() {
|
|
10578
|
+
var writer = new jspb.BinaryWriter();
|
|
10579
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.serializeBinaryToWriter(this, writer);
|
|
10580
|
+
return writer.getResultBuffer();
|
|
10581
|
+
};
|
|
10582
|
+
|
|
10583
|
+
|
|
10584
|
+
/**
|
|
10585
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10586
|
+
* format), writing to the given BinaryWriter.
|
|
10587
|
+
* @param {!proto.sniippaymentgatewayapi.LoyaltyInfo} message
|
|
10588
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10589
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10590
|
+
*/
|
|
10591
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.serializeBinaryToWriter = function(message, writer) {
|
|
10592
|
+
var f = undefined;
|
|
10593
|
+
f = message.getBillid();
|
|
10594
|
+
if (f !== 0) {
|
|
10595
|
+
writer.writeInt64(
|
|
10596
|
+
1,
|
|
10597
|
+
f
|
|
10598
|
+
);
|
|
10599
|
+
}
|
|
10600
|
+
f = message.getLoyaltyoptionid();
|
|
10601
|
+
if (f !== 0) {
|
|
10602
|
+
writer.writeInt64(
|
|
10603
|
+
2,
|
|
10604
|
+
f
|
|
10605
|
+
);
|
|
10606
|
+
}
|
|
10607
|
+
};
|
|
10608
|
+
|
|
10609
|
+
|
|
10610
|
+
/**
|
|
10611
|
+
* optional int64 billId = 1;
|
|
10612
|
+
* @return {number}
|
|
10613
|
+
*/
|
|
10614
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.getBillid = function() {
|
|
10615
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
10616
|
+
};
|
|
10617
|
+
|
|
10618
|
+
|
|
10619
|
+
/**
|
|
10620
|
+
* @param {number} value
|
|
10621
|
+
* @return {!proto.sniippaymentgatewayapi.LoyaltyInfo} returns this
|
|
10622
|
+
*/
|
|
10623
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.setBillid = function(value) {
|
|
10624
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
10625
|
+
};
|
|
10626
|
+
|
|
10627
|
+
|
|
10628
|
+
/**
|
|
10629
|
+
* optional int64 loyaltyOptionId = 2;
|
|
10630
|
+
* @return {number}
|
|
10631
|
+
*/
|
|
10632
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.getLoyaltyoptionid = function() {
|
|
10633
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
10634
|
+
};
|
|
10635
|
+
|
|
10636
|
+
|
|
10637
|
+
/**
|
|
10638
|
+
* @param {number} value
|
|
10639
|
+
* @return {!proto.sniippaymentgatewayapi.LoyaltyInfo} returns this
|
|
10640
|
+
*/
|
|
10641
|
+
proto.sniippaymentgatewayapi.LoyaltyInfo.prototype.setLoyaltyoptionid = function(value) {
|
|
10642
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
10318
10643
|
};
|
|
10319
10644
|
|
|
10320
10645
|
|
|
@@ -10364,7 +10689,8 @@ proto.sniippaymentgatewayapi.PaymentDetailsRequest.toObject = function(includeIn
|
|
|
10364
10689
|
rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
|
10365
10690
|
isgooglepaysurchargerequest: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
10366
10691
|
reservedrewarditemid: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
10367
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
|
10692
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
10693
|
+
usermembershipid: jspb.Message.getFieldWithDefault(msg, 16, 0)
|
|
10368
10694
|
};
|
|
10369
10695
|
|
|
10370
10696
|
if (includeInstance) {
|
|
@@ -10461,6 +10787,10 @@ proto.sniippaymentgatewayapi.PaymentDetailsRequest.deserializeBinaryFromReader =
|
|
|
10461
10787
|
var value = /** @type {number} */ (reader.readInt64());
|
|
10462
10788
|
msg.setLoyaltyoptionid(value);
|
|
10463
10789
|
break;
|
|
10790
|
+
case 16:
|
|
10791
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10792
|
+
msg.setUsermembershipid(value);
|
|
10793
|
+
break;
|
|
10464
10794
|
default:
|
|
10465
10795
|
reader.skipField();
|
|
10466
10796
|
break;
|
|
@@ -10595,6 +10925,13 @@ proto.sniippaymentgatewayapi.PaymentDetailsRequest.serializeBinaryToWriter = fun
|
|
|
10595
10925
|
f
|
|
10596
10926
|
);
|
|
10597
10927
|
}
|
|
10928
|
+
f = message.getUsermembershipid();
|
|
10929
|
+
if (f !== 0) {
|
|
10930
|
+
writer.writeInt64(
|
|
10931
|
+
16,
|
|
10932
|
+
f
|
|
10933
|
+
);
|
|
10934
|
+
}
|
|
10598
10935
|
};
|
|
10599
10936
|
|
|
10600
10937
|
|
|
@@ -10883,6 +11220,24 @@ proto.sniippaymentgatewayapi.PaymentDetailsRequest.prototype.setLoyaltyoptionid
|
|
|
10883
11220
|
};
|
|
10884
11221
|
|
|
10885
11222
|
|
|
11223
|
+
/**
|
|
11224
|
+
* optional int64 userMembershipId = 16;
|
|
11225
|
+
* @return {number}
|
|
11226
|
+
*/
|
|
11227
|
+
proto.sniippaymentgatewayapi.PaymentDetailsRequest.prototype.getUsermembershipid = function() {
|
|
11228
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
11229
|
+
};
|
|
11230
|
+
|
|
11231
|
+
|
|
11232
|
+
/**
|
|
11233
|
+
* @param {number} value
|
|
11234
|
+
* @return {!proto.sniippaymentgatewayapi.PaymentDetailsRequest} returns this
|
|
11235
|
+
*/
|
|
11236
|
+
proto.sniippaymentgatewayapi.PaymentDetailsRequest.prototype.setUsermembershipid = function(value) {
|
|
11237
|
+
return jspb.Message.setProto3IntField(this, 16, value);
|
|
11238
|
+
};
|
|
11239
|
+
|
|
11240
|
+
|
|
10886
11241
|
|
|
10887
11242
|
/**
|
|
10888
11243
|
* List of repeated fields within this message type.
|
|
@@ -11403,7 +11758,8 @@ proto.sniippaymentgatewayapi.PaymentDetailsResponse.toObject = function(includeI
|
|
|
11403
11758
|
businessratesdisclaimermessage: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
11404
11759
|
applepaydetails: (f = msg.getApplepaydetails()) && proto.sniippaymentgatewayapi.ApplePayDetails.toObject(includeInstance, f),
|
|
11405
11760
|
googlepaydetails: (f = msg.getGooglepaydetails()) && proto.sniippaymentgatewayapi.GooglePayDetails.toObject(includeInstance, f),
|
|
11406
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 23, 0)
|
|
11761
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
11762
|
+
usermembershipid: jspb.Message.getFieldWithDefault(msg, 24, 0)
|
|
11407
11763
|
};
|
|
11408
11764
|
|
|
11409
11765
|
if (includeInstance) {
|
|
@@ -11535,6 +11891,10 @@ proto.sniippaymentgatewayapi.PaymentDetailsResponse.deserializeBinaryFromReader
|
|
|
11535
11891
|
var value = /** @type {number} */ (reader.readInt64());
|
|
11536
11892
|
msg.setLoyaltyoptionid(value);
|
|
11537
11893
|
break;
|
|
11894
|
+
case 24:
|
|
11895
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11896
|
+
msg.setUsermembershipid(value);
|
|
11897
|
+
break;
|
|
11538
11898
|
default:
|
|
11539
11899
|
reader.skipField();
|
|
11540
11900
|
break;
|
|
@@ -11728,6 +12088,13 @@ proto.sniippaymentgatewayapi.PaymentDetailsResponse.serializeBinaryToWriter = fu
|
|
|
11728
12088
|
f
|
|
11729
12089
|
);
|
|
11730
12090
|
}
|
|
12091
|
+
f = message.getUsermembershipid();
|
|
12092
|
+
if (f !== 0) {
|
|
12093
|
+
writer.writeInt64(
|
|
12094
|
+
24,
|
|
12095
|
+
f
|
|
12096
|
+
);
|
|
12097
|
+
}
|
|
11731
12098
|
};
|
|
11732
12099
|
|
|
11733
12100
|
|
|
@@ -12202,6 +12569,24 @@ proto.sniippaymentgatewayapi.PaymentDetailsResponse.prototype.setLoyaltyoptionid
|
|
|
12202
12569
|
};
|
|
12203
12570
|
|
|
12204
12571
|
|
|
12572
|
+
/**
|
|
12573
|
+
* optional int64 userMembershipId = 24;
|
|
12574
|
+
* @return {number}
|
|
12575
|
+
*/
|
|
12576
|
+
proto.sniippaymentgatewayapi.PaymentDetailsResponse.prototype.getUsermembershipid = function() {
|
|
12577
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
|
|
12578
|
+
};
|
|
12579
|
+
|
|
12580
|
+
|
|
12581
|
+
/**
|
|
12582
|
+
* @param {number} value
|
|
12583
|
+
* @return {!proto.sniippaymentgatewayapi.PaymentDetailsResponse} returns this
|
|
12584
|
+
*/
|
|
12585
|
+
proto.sniippaymentgatewayapi.PaymentDetailsResponse.prototype.setUsermembershipid = function(value) {
|
|
12586
|
+
return jspb.Message.setProto3IntField(this, 24, value);
|
|
12587
|
+
};
|
|
12588
|
+
|
|
12589
|
+
|
|
12205
12590
|
|
|
12206
12591
|
|
|
12207
12592
|
|