@sniipwebmaster/transaction-service-client-grpcweb-ts 25.11.13599 → 25.11.13643
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.
|
@@ -1094,6 +1094,49 @@ export class SniipTransactionAPIServiceClient {
|
|
|
1094
1094
|
this.methodDescriptorGetLoyaltyTiersDetails);
|
|
1095
1095
|
}
|
|
1096
1096
|
|
|
1097
|
+
methodDescriptorGetLoyaltyTiersDetailsBulk = new grpcWeb.MethodDescriptor(
|
|
1098
|
+
'/sniiptransactionapi.SniipTransactionAPIService/GetLoyaltyTiersDetailsBulk',
|
|
1099
|
+
grpcWeb.MethodType.UNARY,
|
|
1100
|
+
service_pb.GetLoyaltyTiersDetailsBulkRequest,
|
|
1101
|
+
service_pb.GetLoyaltyTiersDetailsResponse,
|
|
1102
|
+
(request: service_pb.GetLoyaltyTiersDetailsBulkRequest) => {
|
|
1103
|
+
return request.serializeBinary();
|
|
1104
|
+
},
|
|
1105
|
+
service_pb.GetLoyaltyTiersDetailsResponse.deserializeBinary
|
|
1106
|
+
);
|
|
1107
|
+
|
|
1108
|
+
getLoyaltyTiersDetailsBulk(
|
|
1109
|
+
request: service_pb.GetLoyaltyTiersDetailsBulkRequest,
|
|
1110
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.GetLoyaltyTiersDetailsResponse>;
|
|
1111
|
+
|
|
1112
|
+
getLoyaltyTiersDetailsBulk(
|
|
1113
|
+
request: service_pb.GetLoyaltyTiersDetailsBulkRequest,
|
|
1114
|
+
metadata: grpcWeb.Metadata | null,
|
|
1115
|
+
callback: (err: grpcWeb.RpcError,
|
|
1116
|
+
response: service_pb.GetLoyaltyTiersDetailsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetLoyaltyTiersDetailsResponse>;
|
|
1117
|
+
|
|
1118
|
+
getLoyaltyTiersDetailsBulk(
|
|
1119
|
+
request: service_pb.GetLoyaltyTiersDetailsBulkRequest,
|
|
1120
|
+
metadata?: grpcWeb.Metadata | null,
|
|
1121
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1122
|
+
response: service_pb.GetLoyaltyTiersDetailsResponse) => void) {
|
|
1123
|
+
if (callback !== undefined) {
|
|
1124
|
+
return this.client_.rpcCall(
|
|
1125
|
+
this.hostname_ +
|
|
1126
|
+
'/sniiptransactionapi.SniipTransactionAPIService/GetLoyaltyTiersDetailsBulk',
|
|
1127
|
+
request,
|
|
1128
|
+
metadata || {},
|
|
1129
|
+
this.methodDescriptorGetLoyaltyTiersDetailsBulk,
|
|
1130
|
+
callback);
|
|
1131
|
+
}
|
|
1132
|
+
return this.client_.unaryCall(
|
|
1133
|
+
this.hostname_ +
|
|
1134
|
+
'/sniiptransactionapi.SniipTransactionAPIService/GetLoyaltyTiersDetailsBulk',
|
|
1135
|
+
request,
|
|
1136
|
+
metadata || {},
|
|
1137
|
+
this.methodDescriptorGetLoyaltyTiersDetailsBulk);
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1097
1140
|
methodDescriptorGetPaymentDetailsInternal = new grpcWeb.MethodDescriptor(
|
|
1098
1141
|
'/sniiptransactionapi.SniipTransactionAPIService/GetPaymentDetailsInternal',
|
|
1099
1142
|
grpcWeb.MethodType.UNARY,
|
|
@@ -1440,6 +1440,76 @@ export namespace GetLoyaltyTiersDetailsResponse {
|
|
|
1440
1440
|
}
|
|
1441
1441
|
}
|
|
1442
1442
|
|
|
1443
|
+
export class LoyaltyTiersBulkItem extends jspb.Message {
|
|
1444
|
+
getBillid(): number;
|
|
1445
|
+
setBillid(value: number): LoyaltyTiersBulkItem;
|
|
1446
|
+
|
|
1447
|
+
getAmount(): number;
|
|
1448
|
+
setAmount(value: number): LoyaltyTiersBulkItem;
|
|
1449
|
+
|
|
1450
|
+
serializeBinary(): Uint8Array;
|
|
1451
|
+
toObject(includeInstance?: boolean): LoyaltyTiersBulkItem.AsObject;
|
|
1452
|
+
static toObject(includeInstance: boolean, msg: LoyaltyTiersBulkItem): LoyaltyTiersBulkItem.AsObject;
|
|
1453
|
+
static serializeBinaryToWriter(message: LoyaltyTiersBulkItem, writer: jspb.BinaryWriter): void;
|
|
1454
|
+
static deserializeBinary(bytes: Uint8Array): LoyaltyTiersBulkItem;
|
|
1455
|
+
static deserializeBinaryFromReader(message: LoyaltyTiersBulkItem, reader: jspb.BinaryReader): LoyaltyTiersBulkItem;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
export namespace LoyaltyTiersBulkItem {
|
|
1459
|
+
export type AsObject = {
|
|
1460
|
+
billid: number,
|
|
1461
|
+
amount: number,
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
export class GetLoyaltyTiersDetailsBulkRequest extends jspb.Message {
|
|
1466
|
+
getUsermembershipid(): number;
|
|
1467
|
+
setUsermembershipid(value: number): GetLoyaltyTiersDetailsBulkRequest;
|
|
1468
|
+
|
|
1469
|
+
getBillsList(): Array<LoyaltyTiersBulkItem>;
|
|
1470
|
+
setBillsList(value: Array<LoyaltyTiersBulkItem>): GetLoyaltyTiersDetailsBulkRequest;
|
|
1471
|
+
clearBillsList(): GetLoyaltyTiersDetailsBulkRequest;
|
|
1472
|
+
addBills(value?: LoyaltyTiersBulkItem, index?: number): LoyaltyTiersBulkItem;
|
|
1473
|
+
|
|
1474
|
+
getPaymentmethodid(): number;
|
|
1475
|
+
setPaymentmethodid(value: number): GetLoyaltyTiersDetailsBulkRequest;
|
|
1476
|
+
|
|
1477
|
+
getPaymentmethod(): PaymentDetailsBulkRequest.PaymentDetailsBulkRequestPaymentMethod;
|
|
1478
|
+
setPaymentmethod(value: PaymentDetailsBulkRequest.PaymentDetailsBulkRequestPaymentMethod): GetLoyaltyTiersDetailsBulkRequest;
|
|
1479
|
+
|
|
1480
|
+
getIsapplepaysurchargerequest(): boolean;
|
|
1481
|
+
setIsapplepaysurchargerequest(value: boolean): GetLoyaltyTiersDetailsBulkRequest;
|
|
1482
|
+
|
|
1483
|
+
getIsgooglepaysurchargerequest(): boolean;
|
|
1484
|
+
setIsgooglepaysurchargerequest(value: boolean): GetLoyaltyTiersDetailsBulkRequest;
|
|
1485
|
+
|
|
1486
|
+
getCardvariant(): string;
|
|
1487
|
+
setCardvariant(value: string): GetLoyaltyTiersDetailsBulkRequest;
|
|
1488
|
+
|
|
1489
|
+
getScheduledate(): string;
|
|
1490
|
+
setScheduledate(value: string): GetLoyaltyTiersDetailsBulkRequest;
|
|
1491
|
+
|
|
1492
|
+
serializeBinary(): Uint8Array;
|
|
1493
|
+
toObject(includeInstance?: boolean): GetLoyaltyTiersDetailsBulkRequest.AsObject;
|
|
1494
|
+
static toObject(includeInstance: boolean, msg: GetLoyaltyTiersDetailsBulkRequest): GetLoyaltyTiersDetailsBulkRequest.AsObject;
|
|
1495
|
+
static serializeBinaryToWriter(message: GetLoyaltyTiersDetailsBulkRequest, writer: jspb.BinaryWriter): void;
|
|
1496
|
+
static deserializeBinary(bytes: Uint8Array): GetLoyaltyTiersDetailsBulkRequest;
|
|
1497
|
+
static deserializeBinaryFromReader(message: GetLoyaltyTiersDetailsBulkRequest, reader: jspb.BinaryReader): GetLoyaltyTiersDetailsBulkRequest;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
export namespace GetLoyaltyTiersDetailsBulkRequest {
|
|
1501
|
+
export type AsObject = {
|
|
1502
|
+
usermembershipid: number,
|
|
1503
|
+
billsList: Array<LoyaltyTiersBulkItem.AsObject>,
|
|
1504
|
+
paymentmethodid: number,
|
|
1505
|
+
paymentmethod: PaymentDetailsBulkRequest.PaymentDetailsBulkRequestPaymentMethod,
|
|
1506
|
+
isapplepaysurchargerequest: boolean,
|
|
1507
|
+
isgooglepaysurchargerequest: boolean,
|
|
1508
|
+
cardvariant: string,
|
|
1509
|
+
scheduledate: string,
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1443
1513
|
export class LoyaltyTierInfo extends jspb.Message {
|
|
1444
1514
|
getLoyaltyoptionid(): number;
|
|
1445
1515
|
setLoyaltyoptionid(value: number): LoyaltyTierInfo;
|
|
@@ -73,6 +73,7 @@ goog.exportSymbol('proto.sniiptransactionapi.GetInactiveUsersRequest', null, glo
|
|
|
73
73
|
goog.exportSymbol('proto.sniiptransactionapi.GetInternalPaymentHistoryForBillRequest', null, global);
|
|
74
74
|
goog.exportSymbol('proto.sniiptransactionapi.GetLatestTransactionForBillRequest', null, global);
|
|
75
75
|
goog.exportSymbol('proto.sniiptransactionapi.GetLegsForTransactionRequest', null, global);
|
|
76
|
+
goog.exportSymbol('proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest', null, global);
|
|
76
77
|
goog.exportSymbol('proto.sniiptransactionapi.GetLoyaltyTiersDetailsRequest', null, global);
|
|
77
78
|
goog.exportSymbol('proto.sniiptransactionapi.GetLoyaltyTiersDetailsResponse', null, global);
|
|
78
79
|
goog.exportSymbol('proto.sniiptransactionapi.GetPaymentAmountSumInternalRequest', null, global);
|
|
@@ -104,6 +105,7 @@ goog.exportSymbol('proto.sniiptransactionapi.LegStatusUpdateRequest', null, glob
|
|
|
104
105
|
goog.exportSymbol('proto.sniiptransactionapi.LegsForTransactionRequest', null, global);
|
|
105
106
|
goog.exportSymbol('proto.sniiptransactionapi.LegsForTransactionResponse', null, global);
|
|
106
107
|
goog.exportSymbol('proto.sniiptransactionapi.LoyaltyTierInfo', null, global);
|
|
108
|
+
goog.exportSymbol('proto.sniiptransactionapi.LoyaltyTiersBulkItem', null, global);
|
|
107
109
|
goog.exportSymbol('proto.sniiptransactionapi.MaskedCreditCard', null, global);
|
|
108
110
|
goog.exportSymbol('proto.sniiptransactionapi.MbillingSubscription', null, global);
|
|
109
111
|
goog.exportSymbol('proto.sniiptransactionapi.PayBillCreditCardInternalRequest', null, global);
|
|
@@ -1235,6 +1237,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1235
1237
|
*/
|
|
1236
1238
|
proto.sniiptransactionapi.GetLoyaltyTiersDetailsResponse.displayName = 'proto.sniiptransactionapi.GetLoyaltyTiersDetailsResponse';
|
|
1237
1239
|
}
|
|
1240
|
+
/**
|
|
1241
|
+
* Generated by JsPbCodeGenerator.
|
|
1242
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1243
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1244
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1245
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1246
|
+
* valid.
|
|
1247
|
+
* @extends {jspb.Message}
|
|
1248
|
+
* @constructor
|
|
1249
|
+
*/
|
|
1250
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem = function(opt_data) {
|
|
1251
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1252
|
+
};
|
|
1253
|
+
goog.inherits(proto.sniiptransactionapi.LoyaltyTiersBulkItem, jspb.Message);
|
|
1254
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1255
|
+
/**
|
|
1256
|
+
* @public
|
|
1257
|
+
* @override
|
|
1258
|
+
*/
|
|
1259
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.displayName = 'proto.sniiptransactionapi.LoyaltyTiersBulkItem';
|
|
1260
|
+
}
|
|
1261
|
+
/**
|
|
1262
|
+
* Generated by JsPbCodeGenerator.
|
|
1263
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1264
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1265
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1266
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1267
|
+
* valid.
|
|
1268
|
+
* @extends {jspb.Message}
|
|
1269
|
+
* @constructor
|
|
1270
|
+
*/
|
|
1271
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest = function(opt_data) {
|
|
1272
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.repeatedFields_, null);
|
|
1273
|
+
};
|
|
1274
|
+
goog.inherits(proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest, jspb.Message);
|
|
1275
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1276
|
+
/**
|
|
1277
|
+
* @public
|
|
1278
|
+
* @override
|
|
1279
|
+
*/
|
|
1280
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.displayName = 'proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest';
|
|
1281
|
+
}
|
|
1238
1282
|
/**
|
|
1239
1283
|
* Generated by JsPbCodeGenerator.
|
|
1240
1284
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -13838,6 +13882,536 @@ proto.sniiptransactionapi.GetLoyaltyTiersDetailsResponse.prototype.clearLoyaltyt
|
|
|
13838
13882
|
|
|
13839
13883
|
|
|
13840
13884
|
|
|
13885
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13886
|
+
/**
|
|
13887
|
+
* Creates an object representation of this proto.
|
|
13888
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13889
|
+
* Optional fields that are not set will be set to undefined.
|
|
13890
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13891
|
+
* For the list of reserved names please see:
|
|
13892
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13893
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13894
|
+
* JSPB instance for transitional soy proto support:
|
|
13895
|
+
* http://goto/soy-param-migration
|
|
13896
|
+
* @return {!Object}
|
|
13897
|
+
*/
|
|
13898
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.prototype.toObject = function(opt_includeInstance) {
|
|
13899
|
+
return proto.sniiptransactionapi.LoyaltyTiersBulkItem.toObject(opt_includeInstance, this);
|
|
13900
|
+
};
|
|
13901
|
+
|
|
13902
|
+
|
|
13903
|
+
/**
|
|
13904
|
+
* Static version of the {@see toObject} method.
|
|
13905
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13906
|
+
* the JSPB instance for transitional soy proto support:
|
|
13907
|
+
* http://goto/soy-param-migration
|
|
13908
|
+
* @param {!proto.sniiptransactionapi.LoyaltyTiersBulkItem} msg The msg instance to transform.
|
|
13909
|
+
* @return {!Object}
|
|
13910
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13911
|
+
*/
|
|
13912
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.toObject = function(includeInstance, msg) {
|
|
13913
|
+
var f, obj = {
|
|
13914
|
+
billid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
13915
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
|
|
13916
|
+
};
|
|
13917
|
+
|
|
13918
|
+
if (includeInstance) {
|
|
13919
|
+
obj.$jspbMessageInstance = msg;
|
|
13920
|
+
}
|
|
13921
|
+
return obj;
|
|
13922
|
+
};
|
|
13923
|
+
}
|
|
13924
|
+
|
|
13925
|
+
|
|
13926
|
+
/**
|
|
13927
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13928
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13929
|
+
* @return {!proto.sniiptransactionapi.LoyaltyTiersBulkItem}
|
|
13930
|
+
*/
|
|
13931
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.deserializeBinary = function(bytes) {
|
|
13932
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13933
|
+
var msg = new proto.sniiptransactionapi.LoyaltyTiersBulkItem;
|
|
13934
|
+
return proto.sniiptransactionapi.LoyaltyTiersBulkItem.deserializeBinaryFromReader(msg, reader);
|
|
13935
|
+
};
|
|
13936
|
+
|
|
13937
|
+
|
|
13938
|
+
/**
|
|
13939
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13940
|
+
* given reader into the given message object.
|
|
13941
|
+
* @param {!proto.sniiptransactionapi.LoyaltyTiersBulkItem} msg The message object to deserialize into.
|
|
13942
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13943
|
+
* @return {!proto.sniiptransactionapi.LoyaltyTiersBulkItem}
|
|
13944
|
+
*/
|
|
13945
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
13946
|
+
while (reader.nextField()) {
|
|
13947
|
+
if (reader.isEndGroup()) {
|
|
13948
|
+
break;
|
|
13949
|
+
}
|
|
13950
|
+
var field = reader.getFieldNumber();
|
|
13951
|
+
switch (field) {
|
|
13952
|
+
case 1:
|
|
13953
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13954
|
+
msg.setBillid(value);
|
|
13955
|
+
break;
|
|
13956
|
+
case 2:
|
|
13957
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
13958
|
+
msg.setAmount(value);
|
|
13959
|
+
break;
|
|
13960
|
+
default:
|
|
13961
|
+
reader.skipField();
|
|
13962
|
+
break;
|
|
13963
|
+
}
|
|
13964
|
+
}
|
|
13965
|
+
return msg;
|
|
13966
|
+
};
|
|
13967
|
+
|
|
13968
|
+
|
|
13969
|
+
/**
|
|
13970
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13971
|
+
* @return {!Uint8Array}
|
|
13972
|
+
*/
|
|
13973
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.prototype.serializeBinary = function() {
|
|
13974
|
+
var writer = new jspb.BinaryWriter();
|
|
13975
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.serializeBinaryToWriter(this, writer);
|
|
13976
|
+
return writer.getResultBuffer();
|
|
13977
|
+
};
|
|
13978
|
+
|
|
13979
|
+
|
|
13980
|
+
/**
|
|
13981
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13982
|
+
* format), writing to the given BinaryWriter.
|
|
13983
|
+
* @param {!proto.sniiptransactionapi.LoyaltyTiersBulkItem} message
|
|
13984
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13985
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13986
|
+
*/
|
|
13987
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.serializeBinaryToWriter = function(message, writer) {
|
|
13988
|
+
var f = undefined;
|
|
13989
|
+
f = message.getBillid();
|
|
13990
|
+
if (f !== 0) {
|
|
13991
|
+
writer.writeInt64(
|
|
13992
|
+
1,
|
|
13993
|
+
f
|
|
13994
|
+
);
|
|
13995
|
+
}
|
|
13996
|
+
f = message.getAmount();
|
|
13997
|
+
if (f !== 0.0) {
|
|
13998
|
+
writer.writeDouble(
|
|
13999
|
+
2,
|
|
14000
|
+
f
|
|
14001
|
+
);
|
|
14002
|
+
}
|
|
14003
|
+
};
|
|
14004
|
+
|
|
14005
|
+
|
|
14006
|
+
/**
|
|
14007
|
+
* optional int64 billId = 1;
|
|
14008
|
+
* @return {number}
|
|
14009
|
+
*/
|
|
14010
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.prototype.getBillid = function() {
|
|
14011
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
14012
|
+
};
|
|
14013
|
+
|
|
14014
|
+
|
|
14015
|
+
/**
|
|
14016
|
+
* @param {number} value
|
|
14017
|
+
* @return {!proto.sniiptransactionapi.LoyaltyTiersBulkItem} returns this
|
|
14018
|
+
*/
|
|
14019
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.prototype.setBillid = function(value) {
|
|
14020
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
14021
|
+
};
|
|
14022
|
+
|
|
14023
|
+
|
|
14024
|
+
/**
|
|
14025
|
+
* optional double amount = 2;
|
|
14026
|
+
* @return {number}
|
|
14027
|
+
*/
|
|
14028
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.prototype.getAmount = function() {
|
|
14029
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
14030
|
+
};
|
|
14031
|
+
|
|
14032
|
+
|
|
14033
|
+
/**
|
|
14034
|
+
* @param {number} value
|
|
14035
|
+
* @return {!proto.sniiptransactionapi.LoyaltyTiersBulkItem} returns this
|
|
14036
|
+
*/
|
|
14037
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.prototype.setAmount = function(value) {
|
|
14038
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
14039
|
+
};
|
|
14040
|
+
|
|
14041
|
+
|
|
14042
|
+
|
|
14043
|
+
/**
|
|
14044
|
+
* List of repeated fields within this message type.
|
|
14045
|
+
* @private {!Array<number>}
|
|
14046
|
+
* @const
|
|
14047
|
+
*/
|
|
14048
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.repeatedFields_ = [2];
|
|
14049
|
+
|
|
14050
|
+
|
|
14051
|
+
|
|
14052
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14053
|
+
/**
|
|
14054
|
+
* Creates an object representation of this proto.
|
|
14055
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14056
|
+
* Optional fields that are not set will be set to undefined.
|
|
14057
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14058
|
+
* For the list of reserved names please see:
|
|
14059
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14060
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14061
|
+
* JSPB instance for transitional soy proto support:
|
|
14062
|
+
* http://goto/soy-param-migration
|
|
14063
|
+
* @return {!Object}
|
|
14064
|
+
*/
|
|
14065
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14066
|
+
return proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.toObject(opt_includeInstance, this);
|
|
14067
|
+
};
|
|
14068
|
+
|
|
14069
|
+
|
|
14070
|
+
/**
|
|
14071
|
+
* Static version of the {@see toObject} method.
|
|
14072
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14073
|
+
* the JSPB instance for transitional soy proto support:
|
|
14074
|
+
* http://goto/soy-param-migration
|
|
14075
|
+
* @param {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} msg The msg instance to transform.
|
|
14076
|
+
* @return {!Object}
|
|
14077
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14078
|
+
*/
|
|
14079
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.toObject = function(includeInstance, msg) {
|
|
14080
|
+
var f, obj = {
|
|
14081
|
+
usermembershipid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
14082
|
+
billsList: jspb.Message.toObjectList(msg.getBillsList(),
|
|
14083
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.toObject, includeInstance),
|
|
14084
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
14085
|
+
paymentmethod: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
14086
|
+
isapplepaysurchargerequest: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
14087
|
+
isgooglepaysurchargerequest: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
14088
|
+
cardvariant: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
14089
|
+
scheduledate: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
14090
|
+
};
|
|
14091
|
+
|
|
14092
|
+
if (includeInstance) {
|
|
14093
|
+
obj.$jspbMessageInstance = msg;
|
|
14094
|
+
}
|
|
14095
|
+
return obj;
|
|
14096
|
+
};
|
|
14097
|
+
}
|
|
14098
|
+
|
|
14099
|
+
|
|
14100
|
+
/**
|
|
14101
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14102
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14103
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest}
|
|
14104
|
+
*/
|
|
14105
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.deserializeBinary = function(bytes) {
|
|
14106
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14107
|
+
var msg = new proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest;
|
|
14108
|
+
return proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.deserializeBinaryFromReader(msg, reader);
|
|
14109
|
+
};
|
|
14110
|
+
|
|
14111
|
+
|
|
14112
|
+
/**
|
|
14113
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14114
|
+
* given reader into the given message object.
|
|
14115
|
+
* @param {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} msg The message object to deserialize into.
|
|
14116
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14117
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest}
|
|
14118
|
+
*/
|
|
14119
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14120
|
+
while (reader.nextField()) {
|
|
14121
|
+
if (reader.isEndGroup()) {
|
|
14122
|
+
break;
|
|
14123
|
+
}
|
|
14124
|
+
var field = reader.getFieldNumber();
|
|
14125
|
+
switch (field) {
|
|
14126
|
+
case 1:
|
|
14127
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14128
|
+
msg.setUsermembershipid(value);
|
|
14129
|
+
break;
|
|
14130
|
+
case 2:
|
|
14131
|
+
var value = new proto.sniiptransactionapi.LoyaltyTiersBulkItem;
|
|
14132
|
+
reader.readMessage(value,proto.sniiptransactionapi.LoyaltyTiersBulkItem.deserializeBinaryFromReader);
|
|
14133
|
+
msg.addBills(value);
|
|
14134
|
+
break;
|
|
14135
|
+
case 3:
|
|
14136
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14137
|
+
msg.setPaymentmethodid(value);
|
|
14138
|
+
break;
|
|
14139
|
+
case 4:
|
|
14140
|
+
var value = /** @type {!proto.sniiptransactionapi.PaymentDetailsBulkRequest.PaymentDetailsBulkRequestPaymentMethod} */ (reader.readEnum());
|
|
14141
|
+
msg.setPaymentmethod(value);
|
|
14142
|
+
break;
|
|
14143
|
+
case 5:
|
|
14144
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14145
|
+
msg.setIsapplepaysurchargerequest(value);
|
|
14146
|
+
break;
|
|
14147
|
+
case 6:
|
|
14148
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14149
|
+
msg.setIsgooglepaysurchargerequest(value);
|
|
14150
|
+
break;
|
|
14151
|
+
case 7:
|
|
14152
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14153
|
+
msg.setCardvariant(value);
|
|
14154
|
+
break;
|
|
14155
|
+
case 8:
|
|
14156
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14157
|
+
msg.setScheduledate(value);
|
|
14158
|
+
break;
|
|
14159
|
+
default:
|
|
14160
|
+
reader.skipField();
|
|
14161
|
+
break;
|
|
14162
|
+
}
|
|
14163
|
+
}
|
|
14164
|
+
return msg;
|
|
14165
|
+
};
|
|
14166
|
+
|
|
14167
|
+
|
|
14168
|
+
/**
|
|
14169
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14170
|
+
* @return {!Uint8Array}
|
|
14171
|
+
*/
|
|
14172
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.serializeBinary = function() {
|
|
14173
|
+
var writer = new jspb.BinaryWriter();
|
|
14174
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.serializeBinaryToWriter(this, writer);
|
|
14175
|
+
return writer.getResultBuffer();
|
|
14176
|
+
};
|
|
14177
|
+
|
|
14178
|
+
|
|
14179
|
+
/**
|
|
14180
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14181
|
+
* format), writing to the given BinaryWriter.
|
|
14182
|
+
* @param {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} message
|
|
14183
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14184
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14185
|
+
*/
|
|
14186
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14187
|
+
var f = undefined;
|
|
14188
|
+
f = message.getUsermembershipid();
|
|
14189
|
+
if (f !== 0) {
|
|
14190
|
+
writer.writeInt64(
|
|
14191
|
+
1,
|
|
14192
|
+
f
|
|
14193
|
+
);
|
|
14194
|
+
}
|
|
14195
|
+
f = message.getBillsList();
|
|
14196
|
+
if (f.length > 0) {
|
|
14197
|
+
writer.writeRepeatedMessage(
|
|
14198
|
+
2,
|
|
14199
|
+
f,
|
|
14200
|
+
proto.sniiptransactionapi.LoyaltyTiersBulkItem.serializeBinaryToWriter
|
|
14201
|
+
);
|
|
14202
|
+
}
|
|
14203
|
+
f = message.getPaymentmethodid();
|
|
14204
|
+
if (f !== 0) {
|
|
14205
|
+
writer.writeInt64(
|
|
14206
|
+
3,
|
|
14207
|
+
f
|
|
14208
|
+
);
|
|
14209
|
+
}
|
|
14210
|
+
f = message.getPaymentmethod();
|
|
14211
|
+
if (f !== 0.0) {
|
|
14212
|
+
writer.writeEnum(
|
|
14213
|
+
4,
|
|
14214
|
+
f
|
|
14215
|
+
);
|
|
14216
|
+
}
|
|
14217
|
+
f = message.getIsapplepaysurchargerequest();
|
|
14218
|
+
if (f) {
|
|
14219
|
+
writer.writeBool(
|
|
14220
|
+
5,
|
|
14221
|
+
f
|
|
14222
|
+
);
|
|
14223
|
+
}
|
|
14224
|
+
f = message.getIsgooglepaysurchargerequest();
|
|
14225
|
+
if (f) {
|
|
14226
|
+
writer.writeBool(
|
|
14227
|
+
6,
|
|
14228
|
+
f
|
|
14229
|
+
);
|
|
14230
|
+
}
|
|
14231
|
+
f = message.getCardvariant();
|
|
14232
|
+
if (f.length > 0) {
|
|
14233
|
+
writer.writeString(
|
|
14234
|
+
7,
|
|
14235
|
+
f
|
|
14236
|
+
);
|
|
14237
|
+
}
|
|
14238
|
+
f = message.getScheduledate();
|
|
14239
|
+
if (f.length > 0) {
|
|
14240
|
+
writer.writeString(
|
|
14241
|
+
8,
|
|
14242
|
+
f
|
|
14243
|
+
);
|
|
14244
|
+
}
|
|
14245
|
+
};
|
|
14246
|
+
|
|
14247
|
+
|
|
14248
|
+
/**
|
|
14249
|
+
* optional int64 userMembershipId = 1;
|
|
14250
|
+
* @return {number}
|
|
14251
|
+
*/
|
|
14252
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.getUsermembershipid = function() {
|
|
14253
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
14254
|
+
};
|
|
14255
|
+
|
|
14256
|
+
|
|
14257
|
+
/**
|
|
14258
|
+
* @param {number} value
|
|
14259
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} returns this
|
|
14260
|
+
*/
|
|
14261
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.setUsermembershipid = function(value) {
|
|
14262
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
14263
|
+
};
|
|
14264
|
+
|
|
14265
|
+
|
|
14266
|
+
/**
|
|
14267
|
+
* repeated LoyaltyTiersBulkItem bills = 2;
|
|
14268
|
+
* @return {!Array<!proto.sniiptransactionapi.LoyaltyTiersBulkItem>}
|
|
14269
|
+
*/
|
|
14270
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.getBillsList = function() {
|
|
14271
|
+
return /** @type{!Array<!proto.sniiptransactionapi.LoyaltyTiersBulkItem>} */ (
|
|
14272
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniiptransactionapi.LoyaltyTiersBulkItem, 2));
|
|
14273
|
+
};
|
|
14274
|
+
|
|
14275
|
+
|
|
14276
|
+
/**
|
|
14277
|
+
* @param {!Array<!proto.sniiptransactionapi.LoyaltyTiersBulkItem>} value
|
|
14278
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} returns this
|
|
14279
|
+
*/
|
|
14280
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.setBillsList = function(value) {
|
|
14281
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
14282
|
+
};
|
|
14283
|
+
|
|
14284
|
+
|
|
14285
|
+
/**
|
|
14286
|
+
* @param {!proto.sniiptransactionapi.LoyaltyTiersBulkItem=} opt_value
|
|
14287
|
+
* @param {number=} opt_index
|
|
14288
|
+
* @return {!proto.sniiptransactionapi.LoyaltyTiersBulkItem}
|
|
14289
|
+
*/
|
|
14290
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.addBills = function(opt_value, opt_index) {
|
|
14291
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniiptransactionapi.LoyaltyTiersBulkItem, opt_index);
|
|
14292
|
+
};
|
|
14293
|
+
|
|
14294
|
+
|
|
14295
|
+
/**
|
|
14296
|
+
* Clears the list making it empty but non-null.
|
|
14297
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} returns this
|
|
14298
|
+
*/
|
|
14299
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.clearBillsList = function() {
|
|
14300
|
+
return this.setBillsList([]);
|
|
14301
|
+
};
|
|
14302
|
+
|
|
14303
|
+
|
|
14304
|
+
/**
|
|
14305
|
+
* optional int64 paymentMethodId = 3;
|
|
14306
|
+
* @return {number}
|
|
14307
|
+
*/
|
|
14308
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.getPaymentmethodid = function() {
|
|
14309
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
14310
|
+
};
|
|
14311
|
+
|
|
14312
|
+
|
|
14313
|
+
/**
|
|
14314
|
+
* @param {number} value
|
|
14315
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} returns this
|
|
14316
|
+
*/
|
|
14317
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.setPaymentmethodid = function(value) {
|
|
14318
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
14319
|
+
};
|
|
14320
|
+
|
|
14321
|
+
|
|
14322
|
+
/**
|
|
14323
|
+
* optional PaymentDetailsBulkRequest.PaymentDetailsBulkRequestPaymentMethod paymentMethod = 4;
|
|
14324
|
+
* @return {!proto.sniiptransactionapi.PaymentDetailsBulkRequest.PaymentDetailsBulkRequestPaymentMethod}
|
|
14325
|
+
*/
|
|
14326
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.getPaymentmethod = function() {
|
|
14327
|
+
return /** @type {!proto.sniiptransactionapi.PaymentDetailsBulkRequest.PaymentDetailsBulkRequestPaymentMethod} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
14328
|
+
};
|
|
14329
|
+
|
|
14330
|
+
|
|
14331
|
+
/**
|
|
14332
|
+
* @param {!proto.sniiptransactionapi.PaymentDetailsBulkRequest.PaymentDetailsBulkRequestPaymentMethod} value
|
|
14333
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} returns this
|
|
14334
|
+
*/
|
|
14335
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.setPaymentmethod = function(value) {
|
|
14336
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
14337
|
+
};
|
|
14338
|
+
|
|
14339
|
+
|
|
14340
|
+
/**
|
|
14341
|
+
* optional bool isApplePaySurchargeRequest = 5;
|
|
14342
|
+
* @return {boolean}
|
|
14343
|
+
*/
|
|
14344
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.getIsapplepaysurchargerequest = function() {
|
|
14345
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
14346
|
+
};
|
|
14347
|
+
|
|
14348
|
+
|
|
14349
|
+
/**
|
|
14350
|
+
* @param {boolean} value
|
|
14351
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} returns this
|
|
14352
|
+
*/
|
|
14353
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.setIsapplepaysurchargerequest = function(value) {
|
|
14354
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
14355
|
+
};
|
|
14356
|
+
|
|
14357
|
+
|
|
14358
|
+
/**
|
|
14359
|
+
* optional bool isGooglePaySurchargeRequest = 6;
|
|
14360
|
+
* @return {boolean}
|
|
14361
|
+
*/
|
|
14362
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.getIsgooglepaysurchargerequest = function() {
|
|
14363
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
14364
|
+
};
|
|
14365
|
+
|
|
14366
|
+
|
|
14367
|
+
/**
|
|
14368
|
+
* @param {boolean} value
|
|
14369
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} returns this
|
|
14370
|
+
*/
|
|
14371
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.setIsgooglepaysurchargerequest = function(value) {
|
|
14372
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
14373
|
+
};
|
|
14374
|
+
|
|
14375
|
+
|
|
14376
|
+
/**
|
|
14377
|
+
* optional string cardVariant = 7;
|
|
14378
|
+
* @return {string}
|
|
14379
|
+
*/
|
|
14380
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.getCardvariant = function() {
|
|
14381
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
14382
|
+
};
|
|
14383
|
+
|
|
14384
|
+
|
|
14385
|
+
/**
|
|
14386
|
+
* @param {string} value
|
|
14387
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} returns this
|
|
14388
|
+
*/
|
|
14389
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.setCardvariant = function(value) {
|
|
14390
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
14391
|
+
};
|
|
14392
|
+
|
|
14393
|
+
|
|
14394
|
+
/**
|
|
14395
|
+
* optional string scheduleDate = 8;
|
|
14396
|
+
* @return {string}
|
|
14397
|
+
*/
|
|
14398
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.getScheduledate = function() {
|
|
14399
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
14400
|
+
};
|
|
14401
|
+
|
|
14402
|
+
|
|
14403
|
+
/**
|
|
14404
|
+
* @param {string} value
|
|
14405
|
+
* @return {!proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest} returns this
|
|
14406
|
+
*/
|
|
14407
|
+
proto.sniiptransactionapi.GetLoyaltyTiersDetailsBulkRequest.prototype.setScheduledate = function(value) {
|
|
14408
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
14409
|
+
};
|
|
14410
|
+
|
|
14411
|
+
|
|
14412
|
+
|
|
14413
|
+
|
|
14414
|
+
|
|
13841
14415
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13842
14416
|
/**
|
|
13843
14417
|
* Creates an object representation of this proto.
|
package/package.json
CHANGED