@sniipwebmaster/loyalty-program-client-grpcweb-ts 24.13.1584
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/ServiceServiceClientPb.ts +947 -0
- package/dependancies/google/api/annotations_pb.js +42 -0
- package/dependancies/google/api/http_pb.js +911 -0
- package/dependancies/google/type/decimal_pb.js +176 -0
- package/dependancies/grpcweb/README.txt +11 -0
- package/dependancies/grpcweb/google-protobuf/google/protobuf/README +5 -0
- package/dependancies/grpcweb/google-protobuf/google/protobuf/empty_pb.js +131 -0
- package/dependancies/protoc-gen-openapiv2/options/annotations_pb.js +42 -0
- package/dependancies/protoc-gen-openapiv2/options/http_pb.js +911 -0
- package/dependancies/service_pb.d.ts +1063 -0
- package/dependancies/service_pb.js +8650 -0
- package/index.js +4 -0
- package/package.json +11 -0
|
@@ -0,0 +1,1063 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as google_api_annotations_pb from './google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class CalculatePointsReq extends jspb.Message {
|
|
8
|
+
getMembershipid(): number;
|
|
9
|
+
setMembershipid(value: number): CalculatePointsReq;
|
|
10
|
+
|
|
11
|
+
getPaymentmethodid(): number;
|
|
12
|
+
setPaymentmethodid(value: number): CalculatePointsReq;
|
|
13
|
+
|
|
14
|
+
getUserid(): number;
|
|
15
|
+
setUserid(value: number): CalculatePointsReq;
|
|
16
|
+
|
|
17
|
+
getPaymenttype(): string;
|
|
18
|
+
setPaymenttype(value: string): CalculatePointsReq;
|
|
19
|
+
|
|
20
|
+
getCardtype(): string;
|
|
21
|
+
setCardtype(value: string): CalculatePointsReq;
|
|
22
|
+
|
|
23
|
+
getCardvariant(): string;
|
|
24
|
+
setCardvariant(value: string): CalculatePointsReq;
|
|
25
|
+
|
|
26
|
+
getPaymentamountinfoList(): Array<PaymentAmountInfo>;
|
|
27
|
+
setPaymentamountinfoList(value: Array<PaymentAmountInfo>): CalculatePointsReq;
|
|
28
|
+
clearPaymentamountinfoList(): CalculatePointsReq;
|
|
29
|
+
addPaymentamountinfo(value?: PaymentAmountInfo, index?: number): PaymentAmountInfo;
|
|
30
|
+
|
|
31
|
+
serializeBinary(): Uint8Array;
|
|
32
|
+
toObject(includeInstance?: boolean): CalculatePointsReq.AsObject;
|
|
33
|
+
static toObject(includeInstance: boolean, msg: CalculatePointsReq): CalculatePointsReq.AsObject;
|
|
34
|
+
static serializeBinaryToWriter(message: CalculatePointsReq, writer: jspb.BinaryWriter): void;
|
|
35
|
+
static deserializeBinary(bytes: Uint8Array): CalculatePointsReq;
|
|
36
|
+
static deserializeBinaryFromReader(message: CalculatePointsReq, reader: jspb.BinaryReader): CalculatePointsReq;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export namespace CalculatePointsReq {
|
|
40
|
+
export type AsObject = {
|
|
41
|
+
membershipid: number,
|
|
42
|
+
paymentmethodid: number,
|
|
43
|
+
userid: number,
|
|
44
|
+
paymenttype: string,
|
|
45
|
+
cardtype: string,
|
|
46
|
+
cardvariant: string,
|
|
47
|
+
paymentamountinfoList: Array<PaymentAmountInfo.AsObject>,
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export class CalculatePointsRequest extends jspb.Message {
|
|
52
|
+
getData(): CalculatePointsReq | undefined;
|
|
53
|
+
setData(value?: CalculatePointsReq): CalculatePointsRequest;
|
|
54
|
+
hasData(): boolean;
|
|
55
|
+
clearData(): CalculatePointsRequest;
|
|
56
|
+
|
|
57
|
+
serializeBinary(): Uint8Array;
|
|
58
|
+
toObject(includeInstance?: boolean): CalculatePointsRequest.AsObject;
|
|
59
|
+
static toObject(includeInstance: boolean, msg: CalculatePointsRequest): CalculatePointsRequest.AsObject;
|
|
60
|
+
static serializeBinaryToWriter(message: CalculatePointsRequest, writer: jspb.BinaryWriter): void;
|
|
61
|
+
static deserializeBinary(bytes: Uint8Array): CalculatePointsRequest;
|
|
62
|
+
static deserializeBinaryFromReader(message: CalculatePointsRequest, reader: jspb.BinaryReader): CalculatePointsRequest;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export namespace CalculatePointsRequest {
|
|
66
|
+
export type AsObject = {
|
|
67
|
+
data?: CalculatePointsReq.AsObject,
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export class CalculatedLoyaltyPointsResponse extends jspb.Message {
|
|
72
|
+
getResponsecode(): ResponseCode | undefined;
|
|
73
|
+
setResponsecode(value?: ResponseCode): CalculatedLoyaltyPointsResponse;
|
|
74
|
+
hasResponsecode(): boolean;
|
|
75
|
+
clearResponsecode(): CalculatedLoyaltyPointsResponse;
|
|
76
|
+
|
|
77
|
+
getMembershipid(): number;
|
|
78
|
+
setMembershipid(value: number): CalculatedLoyaltyPointsResponse;
|
|
79
|
+
|
|
80
|
+
getAmountofpoints(): number;
|
|
81
|
+
setAmountofpoints(value: number): CalculatedLoyaltyPointsResponse;
|
|
82
|
+
|
|
83
|
+
getMembershipnumber(): string;
|
|
84
|
+
setMembershipnumber(value: string): CalculatedLoyaltyPointsResponse;
|
|
85
|
+
|
|
86
|
+
getLoyaltyprogramname(): string;
|
|
87
|
+
setLoyaltyprogramname(value: string): CalculatedLoyaltyPointsResponse;
|
|
88
|
+
|
|
89
|
+
getLoyaltypointslabel(): string;
|
|
90
|
+
setLoyaltypointslabel(value: string): CalculatedLoyaltyPointsResponse;
|
|
91
|
+
|
|
92
|
+
serializeBinary(): Uint8Array;
|
|
93
|
+
toObject(includeInstance?: boolean): CalculatedLoyaltyPointsResponse.AsObject;
|
|
94
|
+
static toObject(includeInstance: boolean, msg: CalculatedLoyaltyPointsResponse): CalculatedLoyaltyPointsResponse.AsObject;
|
|
95
|
+
static serializeBinaryToWriter(message: CalculatedLoyaltyPointsResponse, writer: jspb.BinaryWriter): void;
|
|
96
|
+
static deserializeBinary(bytes: Uint8Array): CalculatedLoyaltyPointsResponse;
|
|
97
|
+
static deserializeBinaryFromReader(message: CalculatedLoyaltyPointsResponse, reader: jspb.BinaryReader): CalculatedLoyaltyPointsResponse;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export namespace CalculatedLoyaltyPointsResponse {
|
|
101
|
+
export type AsObject = {
|
|
102
|
+
responsecode?: ResponseCode.AsObject,
|
|
103
|
+
membershipid: number,
|
|
104
|
+
amountofpoints: number,
|
|
105
|
+
membershipnumber: string,
|
|
106
|
+
loyaltyprogramname: string,
|
|
107
|
+
loyaltypointslabel: string,
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export class CheckHasRewardBeenRedeemedRequest extends jspb.Message {
|
|
112
|
+
getUserid(): number;
|
|
113
|
+
setUserid(value: number): CheckHasRewardBeenRedeemedRequest;
|
|
114
|
+
|
|
115
|
+
getRewardid(): number;
|
|
116
|
+
setRewardid(value: number): CheckHasRewardBeenRedeemedRequest;
|
|
117
|
+
|
|
118
|
+
serializeBinary(): Uint8Array;
|
|
119
|
+
toObject(includeInstance?: boolean): CheckHasRewardBeenRedeemedRequest.AsObject;
|
|
120
|
+
static toObject(includeInstance: boolean, msg: CheckHasRewardBeenRedeemedRequest): CheckHasRewardBeenRedeemedRequest.AsObject;
|
|
121
|
+
static serializeBinaryToWriter(message: CheckHasRewardBeenRedeemedRequest, writer: jspb.BinaryWriter): void;
|
|
122
|
+
static deserializeBinary(bytes: Uint8Array): CheckHasRewardBeenRedeemedRequest;
|
|
123
|
+
static deserializeBinaryFromReader(message: CheckHasRewardBeenRedeemedRequest, reader: jspb.BinaryReader): CheckHasRewardBeenRedeemedRequest;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export namespace CheckHasRewardBeenRedeemedRequest {
|
|
127
|
+
export type AsObject = {
|
|
128
|
+
userid: number,
|
|
129
|
+
rewardid: number,
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class CheckPaymentMethodsAvailabilityInternalRequest extends jspb.Message {
|
|
134
|
+
getData(): PaymentMethodsAvailabilityRequest | undefined;
|
|
135
|
+
setData(value?: PaymentMethodsAvailabilityRequest): CheckPaymentMethodsAvailabilityInternalRequest;
|
|
136
|
+
hasData(): boolean;
|
|
137
|
+
clearData(): CheckPaymentMethodsAvailabilityInternalRequest;
|
|
138
|
+
|
|
139
|
+
getLoyaltyprogramid(): number;
|
|
140
|
+
setLoyaltyprogramid(value: number): CheckPaymentMethodsAvailabilityInternalRequest;
|
|
141
|
+
|
|
142
|
+
serializeBinary(): Uint8Array;
|
|
143
|
+
toObject(includeInstance?: boolean): CheckPaymentMethodsAvailabilityInternalRequest.AsObject;
|
|
144
|
+
static toObject(includeInstance: boolean, msg: CheckPaymentMethodsAvailabilityInternalRequest): CheckPaymentMethodsAvailabilityInternalRequest.AsObject;
|
|
145
|
+
static serializeBinaryToWriter(message: CheckPaymentMethodsAvailabilityInternalRequest, writer: jspb.BinaryWriter): void;
|
|
146
|
+
static deserializeBinary(bytes: Uint8Array): CheckPaymentMethodsAvailabilityInternalRequest;
|
|
147
|
+
static deserializeBinaryFromReader(message: CheckPaymentMethodsAvailabilityInternalRequest, reader: jspb.BinaryReader): CheckPaymentMethodsAvailabilityInternalRequest;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export namespace CheckPaymentMethodsAvailabilityInternalRequest {
|
|
151
|
+
export type AsObject = {
|
|
152
|
+
data?: PaymentMethodsAvailabilityRequest.AsObject,
|
|
153
|
+
loyaltyprogramid: number,
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export class CreateLoyaltyProgramRequest extends jspb.Message {
|
|
158
|
+
getData(): CreateProgramRequest | undefined;
|
|
159
|
+
setData(value?: CreateProgramRequest): CreateLoyaltyProgramRequest;
|
|
160
|
+
hasData(): boolean;
|
|
161
|
+
clearData(): CreateLoyaltyProgramRequest;
|
|
162
|
+
|
|
163
|
+
serializeBinary(): Uint8Array;
|
|
164
|
+
toObject(includeInstance?: boolean): CreateLoyaltyProgramRequest.AsObject;
|
|
165
|
+
static toObject(includeInstance: boolean, msg: CreateLoyaltyProgramRequest): CreateLoyaltyProgramRequest.AsObject;
|
|
166
|
+
static serializeBinaryToWriter(message: CreateLoyaltyProgramRequest, writer: jspb.BinaryWriter): void;
|
|
167
|
+
static deserializeBinary(bytes: Uint8Array): CreateLoyaltyProgramRequest;
|
|
168
|
+
static deserializeBinaryFromReader(message: CreateLoyaltyProgramRequest, reader: jspb.BinaryReader): CreateLoyaltyProgramRequest;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export namespace CreateLoyaltyProgramRequest {
|
|
172
|
+
export type AsObject = {
|
|
173
|
+
data?: CreateProgramRequest.AsObject,
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export class CreateLoyaltyTransactionForTransactionRequest extends jspb.Message {
|
|
178
|
+
getData(): CreateLoyaltyTransactionRequest | undefined;
|
|
179
|
+
setData(value?: CreateLoyaltyTransactionRequest): CreateLoyaltyTransactionForTransactionRequest;
|
|
180
|
+
hasData(): boolean;
|
|
181
|
+
clearData(): CreateLoyaltyTransactionForTransactionRequest;
|
|
182
|
+
|
|
183
|
+
serializeBinary(): Uint8Array;
|
|
184
|
+
toObject(includeInstance?: boolean): CreateLoyaltyTransactionForTransactionRequest.AsObject;
|
|
185
|
+
static toObject(includeInstance: boolean, msg: CreateLoyaltyTransactionForTransactionRequest): CreateLoyaltyTransactionForTransactionRequest.AsObject;
|
|
186
|
+
static serializeBinaryToWriter(message: CreateLoyaltyTransactionForTransactionRequest, writer: jspb.BinaryWriter): void;
|
|
187
|
+
static deserializeBinary(bytes: Uint8Array): CreateLoyaltyTransactionForTransactionRequest;
|
|
188
|
+
static deserializeBinaryFromReader(message: CreateLoyaltyTransactionForTransactionRequest, reader: jspb.BinaryReader): CreateLoyaltyTransactionForTransactionRequest;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export namespace CreateLoyaltyTransactionForTransactionRequest {
|
|
192
|
+
export type AsObject = {
|
|
193
|
+
data?: CreateLoyaltyTransactionRequest.AsObject,
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export class CreateLoyaltyTransactionRequest extends jspb.Message {
|
|
198
|
+
getMembershipid(): number;
|
|
199
|
+
setMembershipid(value: number): CreateLoyaltyTransactionRequest;
|
|
200
|
+
|
|
201
|
+
getUserid(): number;
|
|
202
|
+
setUserid(value: number): CreateLoyaltyTransactionRequest;
|
|
203
|
+
|
|
204
|
+
getSource(): string;
|
|
205
|
+
setSource(value: string): CreateLoyaltyTransactionRequest;
|
|
206
|
+
|
|
207
|
+
getSourceid(): number;
|
|
208
|
+
setSourceid(value: number): CreateLoyaltyTransactionRequest;
|
|
209
|
+
|
|
210
|
+
getPaymentamount(): number;
|
|
211
|
+
setPaymentamount(value: number): CreateLoyaltyTransactionRequest;
|
|
212
|
+
|
|
213
|
+
getDescription(): string;
|
|
214
|
+
setDescription(value: string): CreateLoyaltyTransactionRequest;
|
|
215
|
+
|
|
216
|
+
getPaymentmethodid(): number;
|
|
217
|
+
setPaymentmethodid(value: number): CreateLoyaltyTransactionRequest;
|
|
218
|
+
|
|
219
|
+
getIsbusinesstransaction(): boolean;
|
|
220
|
+
setIsbusinesstransaction(value: boolean): CreateLoyaltyTransactionRequest;
|
|
221
|
+
|
|
222
|
+
serializeBinary(): Uint8Array;
|
|
223
|
+
toObject(includeInstance?: boolean): CreateLoyaltyTransactionRequest.AsObject;
|
|
224
|
+
static toObject(includeInstance: boolean, msg: CreateLoyaltyTransactionRequest): CreateLoyaltyTransactionRequest.AsObject;
|
|
225
|
+
static serializeBinaryToWriter(message: CreateLoyaltyTransactionRequest, writer: jspb.BinaryWriter): void;
|
|
226
|
+
static deserializeBinary(bytes: Uint8Array): CreateLoyaltyTransactionRequest;
|
|
227
|
+
static deserializeBinaryFromReader(message: CreateLoyaltyTransactionRequest, reader: jspb.BinaryReader): CreateLoyaltyTransactionRequest;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export namespace CreateLoyaltyTransactionRequest {
|
|
231
|
+
export type AsObject = {
|
|
232
|
+
membershipid: number,
|
|
233
|
+
userid: number,
|
|
234
|
+
source: string,
|
|
235
|
+
sourceid: number,
|
|
236
|
+
paymentamount: number,
|
|
237
|
+
description: string,
|
|
238
|
+
paymentmethodid: number,
|
|
239
|
+
isbusinesstransaction: boolean,
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export class CreateProgramRequest extends jspb.Message {
|
|
244
|
+
getName(): string;
|
|
245
|
+
setName(value: string): CreateProgramRequest;
|
|
246
|
+
|
|
247
|
+
getCode(): string;
|
|
248
|
+
setCode(value: string): CreateProgramRequest;
|
|
249
|
+
|
|
250
|
+
getLogourl(): string;
|
|
251
|
+
setLogourl(value: string): CreateProgramRequest;
|
|
252
|
+
|
|
253
|
+
getEarnedamount(): number;
|
|
254
|
+
setEarnedamount(value: number): CreateProgramRequest;
|
|
255
|
+
|
|
256
|
+
getSpentamount(): number;
|
|
257
|
+
setSpentamount(value: number): CreateProgramRequest;
|
|
258
|
+
|
|
259
|
+
getMembershipnumberlengthmin(): number;
|
|
260
|
+
setMembershipnumberlengthmin(value: number): CreateProgramRequest;
|
|
261
|
+
|
|
262
|
+
getMembershipnumberlengthmax(): number;
|
|
263
|
+
setMembershipnumberlengthmax(value: number): CreateProgramRequest;
|
|
264
|
+
|
|
265
|
+
getMembershipnumbertype(): CreateProgramRequest.CreateProgramRequestMembershipNumberType;
|
|
266
|
+
setMembershipnumbertype(value: CreateProgramRequest.CreateProgramRequestMembershipNumberType): CreateProgramRequest;
|
|
267
|
+
|
|
268
|
+
getTermsandconditionsurl(): string;
|
|
269
|
+
setTermsandconditionsurl(value: string): CreateProgramRequest;
|
|
270
|
+
|
|
271
|
+
getExternalurl(): string;
|
|
272
|
+
setExternalurl(value: string): CreateProgramRequest;
|
|
273
|
+
|
|
274
|
+
serializeBinary(): Uint8Array;
|
|
275
|
+
toObject(includeInstance?: boolean): CreateProgramRequest.AsObject;
|
|
276
|
+
static toObject(includeInstance: boolean, msg: CreateProgramRequest): CreateProgramRequest.AsObject;
|
|
277
|
+
static serializeBinaryToWriter(message: CreateProgramRequest, writer: jspb.BinaryWriter): void;
|
|
278
|
+
static deserializeBinary(bytes: Uint8Array): CreateProgramRequest;
|
|
279
|
+
static deserializeBinaryFromReader(message: CreateProgramRequest, reader: jspb.BinaryReader): CreateProgramRequest;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export namespace CreateProgramRequest {
|
|
283
|
+
export type AsObject = {
|
|
284
|
+
name: string,
|
|
285
|
+
code: string,
|
|
286
|
+
logourl: string,
|
|
287
|
+
earnedamount: number,
|
|
288
|
+
spentamount: number,
|
|
289
|
+
membershipnumberlengthmin: number,
|
|
290
|
+
membershipnumberlengthmax: number,
|
|
291
|
+
membershipnumbertype: CreateProgramRequest.CreateProgramRequestMembershipNumberType,
|
|
292
|
+
termsandconditionsurl: string,
|
|
293
|
+
externalurl: string,
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export enum CreateProgramRequestMembershipNumberType {
|
|
297
|
+
CREATE_PROGRAM_REQUEST_MEMBERSHIP_NUMBER_TYPE_ONLY_NUMBERS = 0,
|
|
298
|
+
CREATE_PROGRAM_REQUEST_MEMBERSHIP_NUMBER_TYPE_ONLY_LETTERS = 1,
|
|
299
|
+
CREATE_PROGRAM_REQUEST_MEMBERSHIP_NUMBER_TYPE_NUMBERS_AND_LETTERS = 2,
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export class GetLoyaltyTransactionsByMembershipIdRequest extends jspb.Message {
|
|
304
|
+
getMembershipid(): number;
|
|
305
|
+
setMembershipid(value: number): GetLoyaltyTransactionsByMembershipIdRequest;
|
|
306
|
+
|
|
307
|
+
getPage(): number;
|
|
308
|
+
setPage(value: number): GetLoyaltyTransactionsByMembershipIdRequest;
|
|
309
|
+
|
|
310
|
+
getLimit(): number;
|
|
311
|
+
setLimit(value: number): GetLoyaltyTransactionsByMembershipIdRequest;
|
|
312
|
+
|
|
313
|
+
serializeBinary(): Uint8Array;
|
|
314
|
+
toObject(includeInstance?: boolean): GetLoyaltyTransactionsByMembershipIdRequest.AsObject;
|
|
315
|
+
static toObject(includeInstance: boolean, msg: GetLoyaltyTransactionsByMembershipIdRequest): GetLoyaltyTransactionsByMembershipIdRequest.AsObject;
|
|
316
|
+
static serializeBinaryToWriter(message: GetLoyaltyTransactionsByMembershipIdRequest, writer: jspb.BinaryWriter): void;
|
|
317
|
+
static deserializeBinary(bytes: Uint8Array): GetLoyaltyTransactionsByMembershipIdRequest;
|
|
318
|
+
static deserializeBinaryFromReader(message: GetLoyaltyTransactionsByMembershipIdRequest, reader: jspb.BinaryReader): GetLoyaltyTransactionsByMembershipIdRequest;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export namespace GetLoyaltyTransactionsByMembershipIdRequest {
|
|
322
|
+
export type AsObject = {
|
|
323
|
+
membershipid: number,
|
|
324
|
+
page: number,
|
|
325
|
+
limit: number,
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export class GetMembershipByIdRequest extends jspb.Message {
|
|
330
|
+
getMembershipid(): number;
|
|
331
|
+
setMembershipid(value: number): GetMembershipByIdRequest;
|
|
332
|
+
|
|
333
|
+
serializeBinary(): Uint8Array;
|
|
334
|
+
toObject(includeInstance?: boolean): GetMembershipByIdRequest.AsObject;
|
|
335
|
+
static toObject(includeInstance: boolean, msg: GetMembershipByIdRequest): GetMembershipByIdRequest.AsObject;
|
|
336
|
+
static serializeBinaryToWriter(message: GetMembershipByIdRequest, writer: jspb.BinaryWriter): void;
|
|
337
|
+
static deserializeBinary(bytes: Uint8Array): GetMembershipByIdRequest;
|
|
338
|
+
static deserializeBinaryFromReader(message: GetMembershipByIdRequest, reader: jspb.BinaryReader): GetMembershipByIdRequest;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export namespace GetMembershipByIdRequest {
|
|
342
|
+
export type AsObject = {
|
|
343
|
+
membershipid: number,
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export class GetTransactionsHistoryByMembershipIdRequest extends jspb.Message {
|
|
348
|
+
getMembershipid(): number;
|
|
349
|
+
setMembershipid(value: number): GetTransactionsHistoryByMembershipIdRequest;
|
|
350
|
+
|
|
351
|
+
getPage(): number;
|
|
352
|
+
setPage(value: number): GetTransactionsHistoryByMembershipIdRequest;
|
|
353
|
+
|
|
354
|
+
getLimit(): number;
|
|
355
|
+
setLimit(value: number): GetTransactionsHistoryByMembershipIdRequest;
|
|
356
|
+
|
|
357
|
+
serializeBinary(): Uint8Array;
|
|
358
|
+
toObject(includeInstance?: boolean): GetTransactionsHistoryByMembershipIdRequest.AsObject;
|
|
359
|
+
static toObject(includeInstance: boolean, msg: GetTransactionsHistoryByMembershipIdRequest): GetTransactionsHistoryByMembershipIdRequest.AsObject;
|
|
360
|
+
static serializeBinaryToWriter(message: GetTransactionsHistoryByMembershipIdRequest, writer: jspb.BinaryWriter): void;
|
|
361
|
+
static deserializeBinary(bytes: Uint8Array): GetTransactionsHistoryByMembershipIdRequest;
|
|
362
|
+
static deserializeBinaryFromReader(message: GetTransactionsHistoryByMembershipIdRequest, reader: jspb.BinaryReader): GetTransactionsHistoryByMembershipIdRequest;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export namespace GetTransactionsHistoryByMembershipIdRequest {
|
|
366
|
+
export type AsObject = {
|
|
367
|
+
membershipid: number,
|
|
368
|
+
page: number,
|
|
369
|
+
limit: number,
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export class GetUserMembershipsRequest extends jspb.Message {
|
|
374
|
+
getUserid(): number;
|
|
375
|
+
setUserid(value: number): GetUserMembershipsRequest;
|
|
376
|
+
|
|
377
|
+
serializeBinary(): Uint8Array;
|
|
378
|
+
toObject(includeInstance?: boolean): GetUserMembershipsRequest.AsObject;
|
|
379
|
+
static toObject(includeInstance: boolean, msg: GetUserMembershipsRequest): GetUserMembershipsRequest.AsObject;
|
|
380
|
+
static serializeBinaryToWriter(message: GetUserMembershipsRequest, writer: jspb.BinaryWriter): void;
|
|
381
|
+
static deserializeBinary(bytes: Uint8Array): GetUserMembershipsRequest;
|
|
382
|
+
static deserializeBinaryFromReader(message: GetUserMembershipsRequest, reader: jspb.BinaryReader): GetUserMembershipsRequest;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export namespace GetUserMembershipsRequest {
|
|
386
|
+
export type AsObject = {
|
|
387
|
+
userid: number,
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export class HasRewardBeenRedeemedResponse extends jspb.Message {
|
|
392
|
+
getResponsecode(): ResponseCode | undefined;
|
|
393
|
+
setResponsecode(value?: ResponseCode): HasRewardBeenRedeemedResponse;
|
|
394
|
+
hasResponsecode(): boolean;
|
|
395
|
+
clearResponsecode(): HasRewardBeenRedeemedResponse;
|
|
396
|
+
|
|
397
|
+
getHasrewardbeenredeemed(): boolean;
|
|
398
|
+
setHasrewardbeenredeemed(value: boolean): HasRewardBeenRedeemedResponse;
|
|
399
|
+
|
|
400
|
+
serializeBinary(): Uint8Array;
|
|
401
|
+
toObject(includeInstance?: boolean): HasRewardBeenRedeemedResponse.AsObject;
|
|
402
|
+
static toObject(includeInstance: boolean, msg: HasRewardBeenRedeemedResponse): HasRewardBeenRedeemedResponse.AsObject;
|
|
403
|
+
static serializeBinaryToWriter(message: HasRewardBeenRedeemedResponse, writer: jspb.BinaryWriter): void;
|
|
404
|
+
static deserializeBinary(bytes: Uint8Array): HasRewardBeenRedeemedResponse;
|
|
405
|
+
static deserializeBinaryFromReader(message: HasRewardBeenRedeemedResponse, reader: jspb.BinaryReader): HasRewardBeenRedeemedResponse;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export namespace HasRewardBeenRedeemedResponse {
|
|
409
|
+
export type AsObject = {
|
|
410
|
+
responsecode?: ResponseCode.AsObject,
|
|
411
|
+
hasrewardbeenredeemed: boolean,
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export class LinkMembershipRequest extends jspb.Message {
|
|
416
|
+
getProgramid(): number;
|
|
417
|
+
setProgramid(value: number): LinkMembershipRequest;
|
|
418
|
+
|
|
419
|
+
getMembershipnumber(): string;
|
|
420
|
+
setMembershipnumber(value: string): LinkMembershipRequest;
|
|
421
|
+
|
|
422
|
+
serializeBinary(): Uint8Array;
|
|
423
|
+
toObject(includeInstance?: boolean): LinkMembershipRequest.AsObject;
|
|
424
|
+
static toObject(includeInstance: boolean, msg: LinkMembershipRequest): LinkMembershipRequest.AsObject;
|
|
425
|
+
static serializeBinaryToWriter(message: LinkMembershipRequest, writer: jspb.BinaryWriter): void;
|
|
426
|
+
static deserializeBinary(bytes: Uint8Array): LinkMembershipRequest;
|
|
427
|
+
static deserializeBinaryFromReader(message: LinkMembershipRequest, reader: jspb.BinaryReader): LinkMembershipRequest;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export namespace LinkMembershipRequest {
|
|
431
|
+
export type AsObject = {
|
|
432
|
+
programid: number,
|
|
433
|
+
membershipnumber: string,
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export class LoyaltyTransaction extends jspb.Message {
|
|
438
|
+
getLoyaltytransactionid(): number;
|
|
439
|
+
setLoyaltytransactionid(value: number): LoyaltyTransaction;
|
|
440
|
+
|
|
441
|
+
getDescription(): string;
|
|
442
|
+
setDescription(value: string): LoyaltyTransaction;
|
|
443
|
+
|
|
444
|
+
getTimestamp(): string;
|
|
445
|
+
setTimestamp(value: string): LoyaltyTransaction;
|
|
446
|
+
|
|
447
|
+
getPoints(): number;
|
|
448
|
+
setPoints(value: number): LoyaltyTransaction;
|
|
449
|
+
|
|
450
|
+
getStatus(): string;
|
|
451
|
+
setStatus(value: string): LoyaltyTransaction;
|
|
452
|
+
|
|
453
|
+
getMembershipid(): number;
|
|
454
|
+
setMembershipid(value: number): LoyaltyTransaction;
|
|
455
|
+
|
|
456
|
+
getSourceid(): number;
|
|
457
|
+
setSourceid(value: number): LoyaltyTransaction;
|
|
458
|
+
|
|
459
|
+
getSource(): string;
|
|
460
|
+
setSource(value: string): LoyaltyTransaction;
|
|
461
|
+
|
|
462
|
+
getPaymentamount(): number;
|
|
463
|
+
setPaymentamount(value: number): LoyaltyTransaction;
|
|
464
|
+
|
|
465
|
+
getDatemodified(): string;
|
|
466
|
+
setDatemodified(value: string): LoyaltyTransaction;
|
|
467
|
+
|
|
468
|
+
getDatedeleted(): string;
|
|
469
|
+
setDatedeleted(value: string): LoyaltyTransaction;
|
|
470
|
+
|
|
471
|
+
getFeepercentagereducedbyamount(): number;
|
|
472
|
+
setFeepercentagereducedbyamount(value: number): LoyaltyTransaction;
|
|
473
|
+
|
|
474
|
+
serializeBinary(): Uint8Array;
|
|
475
|
+
toObject(includeInstance?: boolean): LoyaltyTransaction.AsObject;
|
|
476
|
+
static toObject(includeInstance: boolean, msg: LoyaltyTransaction): LoyaltyTransaction.AsObject;
|
|
477
|
+
static serializeBinaryToWriter(message: LoyaltyTransaction, writer: jspb.BinaryWriter): void;
|
|
478
|
+
static deserializeBinary(bytes: Uint8Array): LoyaltyTransaction;
|
|
479
|
+
static deserializeBinaryFromReader(message: LoyaltyTransaction, reader: jspb.BinaryReader): LoyaltyTransaction;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export namespace LoyaltyTransaction {
|
|
483
|
+
export type AsObject = {
|
|
484
|
+
loyaltytransactionid: number,
|
|
485
|
+
description: string,
|
|
486
|
+
timestamp: string,
|
|
487
|
+
points: number,
|
|
488
|
+
status: string,
|
|
489
|
+
membershipid: number,
|
|
490
|
+
sourceid: number,
|
|
491
|
+
source: string,
|
|
492
|
+
paymentamount: number,
|
|
493
|
+
datemodified: string,
|
|
494
|
+
datedeleted: string,
|
|
495
|
+
feepercentagereducedbyamount: number,
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export class LoyaltyTransactionsResponse extends jspb.Message {
|
|
500
|
+
getResponsecode(): ResponseCode | undefined;
|
|
501
|
+
setResponsecode(value?: ResponseCode): LoyaltyTransactionsResponse;
|
|
502
|
+
hasResponsecode(): boolean;
|
|
503
|
+
clearResponsecode(): LoyaltyTransactionsResponse;
|
|
504
|
+
|
|
505
|
+
getLoyaltytransactionsList(): Array<LoyaltyTransaction>;
|
|
506
|
+
setLoyaltytransactionsList(value: Array<LoyaltyTransaction>): LoyaltyTransactionsResponse;
|
|
507
|
+
clearLoyaltytransactionsList(): LoyaltyTransactionsResponse;
|
|
508
|
+
addLoyaltytransactions(value?: LoyaltyTransaction, index?: number): LoyaltyTransaction;
|
|
509
|
+
|
|
510
|
+
getPage(): number;
|
|
511
|
+
setPage(value: number): LoyaltyTransactionsResponse;
|
|
512
|
+
|
|
513
|
+
getLimit(): number;
|
|
514
|
+
setLimit(value: number): LoyaltyTransactionsResponse;
|
|
515
|
+
|
|
516
|
+
getTotal(): number;
|
|
517
|
+
setTotal(value: number): LoyaltyTransactionsResponse;
|
|
518
|
+
|
|
519
|
+
getTotalpages(): number;
|
|
520
|
+
setTotalpages(value: number): LoyaltyTransactionsResponse;
|
|
521
|
+
|
|
522
|
+
serializeBinary(): Uint8Array;
|
|
523
|
+
toObject(includeInstance?: boolean): LoyaltyTransactionsResponse.AsObject;
|
|
524
|
+
static toObject(includeInstance: boolean, msg: LoyaltyTransactionsResponse): LoyaltyTransactionsResponse.AsObject;
|
|
525
|
+
static serializeBinaryToWriter(message: LoyaltyTransactionsResponse, writer: jspb.BinaryWriter): void;
|
|
526
|
+
static deserializeBinary(bytes: Uint8Array): LoyaltyTransactionsResponse;
|
|
527
|
+
static deserializeBinaryFromReader(message: LoyaltyTransactionsResponse, reader: jspb.BinaryReader): LoyaltyTransactionsResponse;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export namespace LoyaltyTransactionsResponse {
|
|
531
|
+
export type AsObject = {
|
|
532
|
+
responsecode?: ResponseCode.AsObject,
|
|
533
|
+
loyaltytransactionsList: Array<LoyaltyTransaction.AsObject>,
|
|
534
|
+
page: number,
|
|
535
|
+
limit: number,
|
|
536
|
+
total: number,
|
|
537
|
+
totalpages: number,
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export class MembershipDetail extends jspb.Message {
|
|
542
|
+
getId(): number;
|
|
543
|
+
setId(value: number): MembershipDetail;
|
|
544
|
+
|
|
545
|
+
getMembershipnumber(): string;
|
|
546
|
+
setMembershipnumber(value: string): MembershipDetail;
|
|
547
|
+
|
|
548
|
+
getUserid(): number;
|
|
549
|
+
setUserid(value: number): MembershipDetail;
|
|
550
|
+
|
|
551
|
+
getIsdefault(): boolean;
|
|
552
|
+
setIsdefault(value: boolean): MembershipDetail;
|
|
553
|
+
|
|
554
|
+
getLoyaltypointssum(): number;
|
|
555
|
+
setLoyaltypointssum(value: number): MembershipDetail;
|
|
556
|
+
|
|
557
|
+
getProgramid(): number;
|
|
558
|
+
setProgramid(value: number): MembershipDetail;
|
|
559
|
+
|
|
560
|
+
getProgramname(): string;
|
|
561
|
+
setProgramname(value: string): MembershipDetail;
|
|
562
|
+
|
|
563
|
+
getProgramlogourl(): string;
|
|
564
|
+
setProgramlogourl(value: string): MembershipDetail;
|
|
565
|
+
|
|
566
|
+
getPointlabelsingular(): string;
|
|
567
|
+
setPointlabelsingular(value: string): MembershipDetail;
|
|
568
|
+
|
|
569
|
+
getPointlabelplural(): string;
|
|
570
|
+
setPointlabelplural(value: string): MembershipDetail;
|
|
571
|
+
|
|
572
|
+
getDateadded(): string;
|
|
573
|
+
setDateadded(value: string): MembershipDetail;
|
|
574
|
+
|
|
575
|
+
getDatedeleted(): string;
|
|
576
|
+
setDatedeleted(value: string): MembershipDetail;
|
|
577
|
+
|
|
578
|
+
getReducefeepercentagebyamount(): number;
|
|
579
|
+
setReducefeepercentagebyamount(value: number): MembershipDetail;
|
|
580
|
+
|
|
581
|
+
getFeediscountmessage(): string;
|
|
582
|
+
setFeediscountmessage(value: string): MembershipDetail;
|
|
583
|
+
|
|
584
|
+
serializeBinary(): Uint8Array;
|
|
585
|
+
toObject(includeInstance?: boolean): MembershipDetail.AsObject;
|
|
586
|
+
static toObject(includeInstance: boolean, msg: MembershipDetail): MembershipDetail.AsObject;
|
|
587
|
+
static serializeBinaryToWriter(message: MembershipDetail, writer: jspb.BinaryWriter): void;
|
|
588
|
+
static deserializeBinary(bytes: Uint8Array): MembershipDetail;
|
|
589
|
+
static deserializeBinaryFromReader(message: MembershipDetail, reader: jspb.BinaryReader): MembershipDetail;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export namespace MembershipDetail {
|
|
593
|
+
export type AsObject = {
|
|
594
|
+
id: number,
|
|
595
|
+
membershipnumber: string,
|
|
596
|
+
userid: number,
|
|
597
|
+
isdefault: boolean,
|
|
598
|
+
loyaltypointssum: number,
|
|
599
|
+
programid: number,
|
|
600
|
+
programname: string,
|
|
601
|
+
programlogourl: string,
|
|
602
|
+
pointlabelsingular: string,
|
|
603
|
+
pointlabelplural: string,
|
|
604
|
+
dateadded: string,
|
|
605
|
+
datedeleted: string,
|
|
606
|
+
reducefeepercentagebyamount: number,
|
|
607
|
+
feediscountmessage: string,
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export class MembershipDetailResponse extends jspb.Message {
|
|
612
|
+
getResponsecode(): ResponseCode | undefined;
|
|
613
|
+
setResponsecode(value?: ResponseCode): MembershipDetailResponse;
|
|
614
|
+
hasResponsecode(): boolean;
|
|
615
|
+
clearResponsecode(): MembershipDetailResponse;
|
|
616
|
+
|
|
617
|
+
getMembership(): MembershipDetail | undefined;
|
|
618
|
+
setMembership(value?: MembershipDetail): MembershipDetailResponse;
|
|
619
|
+
hasMembership(): boolean;
|
|
620
|
+
clearMembership(): MembershipDetailResponse;
|
|
621
|
+
|
|
622
|
+
serializeBinary(): Uint8Array;
|
|
623
|
+
toObject(includeInstance?: boolean): MembershipDetailResponse.AsObject;
|
|
624
|
+
static toObject(includeInstance: boolean, msg: MembershipDetailResponse): MembershipDetailResponse.AsObject;
|
|
625
|
+
static serializeBinaryToWriter(message: MembershipDetailResponse, writer: jspb.BinaryWriter): void;
|
|
626
|
+
static deserializeBinary(bytes: Uint8Array): MembershipDetailResponse;
|
|
627
|
+
static deserializeBinaryFromReader(message: MembershipDetailResponse, reader: jspb.BinaryReader): MembershipDetailResponse;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export namespace MembershipDetailResponse {
|
|
631
|
+
export type AsObject = {
|
|
632
|
+
responsecode?: ResponseCode.AsObject,
|
|
633
|
+
membership?: MembershipDetail.AsObject,
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
export class MembershipDetailsResponse extends jspb.Message {
|
|
638
|
+
getResponsecode(): ResponseCode | undefined;
|
|
639
|
+
setResponsecode(value?: ResponseCode): MembershipDetailsResponse;
|
|
640
|
+
hasResponsecode(): boolean;
|
|
641
|
+
clearResponsecode(): MembershipDetailsResponse;
|
|
642
|
+
|
|
643
|
+
getMembershipsList(): Array<MembershipDetail>;
|
|
644
|
+
setMembershipsList(value: Array<MembershipDetail>): MembershipDetailsResponse;
|
|
645
|
+
clearMembershipsList(): MembershipDetailsResponse;
|
|
646
|
+
addMemberships(value?: MembershipDetail, index?: number): MembershipDetail;
|
|
647
|
+
|
|
648
|
+
serializeBinary(): Uint8Array;
|
|
649
|
+
toObject(includeInstance?: boolean): MembershipDetailsResponse.AsObject;
|
|
650
|
+
static toObject(includeInstance: boolean, msg: MembershipDetailsResponse): MembershipDetailsResponse.AsObject;
|
|
651
|
+
static serializeBinaryToWriter(message: MembershipDetailsResponse, writer: jspb.BinaryWriter): void;
|
|
652
|
+
static deserializeBinary(bytes: Uint8Array): MembershipDetailsResponse;
|
|
653
|
+
static deserializeBinaryFromReader(message: MembershipDetailsResponse, reader: jspb.BinaryReader): MembershipDetailsResponse;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export namespace MembershipDetailsResponse {
|
|
657
|
+
export type AsObject = {
|
|
658
|
+
responsecode?: ResponseCode.AsObject,
|
|
659
|
+
membershipsList: Array<MembershipDetail.AsObject>,
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export class PaymentAmountInfo extends jspb.Message {
|
|
664
|
+
getPaymentamount(): number;
|
|
665
|
+
setPaymentamount(value: number): PaymentAmountInfo;
|
|
666
|
+
|
|
667
|
+
getPaymentprocessor(): string;
|
|
668
|
+
setPaymentprocessor(value: string): PaymentAmountInfo;
|
|
669
|
+
|
|
670
|
+
getIsbusinesstransaction(): boolean;
|
|
671
|
+
setIsbusinesstransaction(value: boolean): PaymentAmountInfo;
|
|
672
|
+
|
|
673
|
+
serializeBinary(): Uint8Array;
|
|
674
|
+
toObject(includeInstance?: boolean): PaymentAmountInfo.AsObject;
|
|
675
|
+
static toObject(includeInstance: boolean, msg: PaymentAmountInfo): PaymentAmountInfo.AsObject;
|
|
676
|
+
static serializeBinaryToWriter(message: PaymentAmountInfo, writer: jspb.BinaryWriter): void;
|
|
677
|
+
static deserializeBinary(bytes: Uint8Array): PaymentAmountInfo;
|
|
678
|
+
static deserializeBinaryFromReader(message: PaymentAmountInfo, reader: jspb.BinaryReader): PaymentAmountInfo;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
export namespace PaymentAmountInfo {
|
|
682
|
+
export type AsObject = {
|
|
683
|
+
paymentamount: number,
|
|
684
|
+
paymentprocessor: string,
|
|
685
|
+
isbusinesstransaction: boolean,
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export class PaymentMethodAvailableResp extends jspb.Message {
|
|
690
|
+
getPaymentmethodid(): number;
|
|
691
|
+
setPaymentmethodid(value: number): PaymentMethodAvailableResp;
|
|
692
|
+
|
|
693
|
+
getIsavailable(): boolean;
|
|
694
|
+
setIsavailable(value: boolean): PaymentMethodAvailableResp;
|
|
695
|
+
|
|
696
|
+
serializeBinary(): Uint8Array;
|
|
697
|
+
toObject(includeInstance?: boolean): PaymentMethodAvailableResp.AsObject;
|
|
698
|
+
static toObject(includeInstance: boolean, msg: PaymentMethodAvailableResp): PaymentMethodAvailableResp.AsObject;
|
|
699
|
+
static serializeBinaryToWriter(message: PaymentMethodAvailableResp, writer: jspb.BinaryWriter): void;
|
|
700
|
+
static deserializeBinary(bytes: Uint8Array): PaymentMethodAvailableResp;
|
|
701
|
+
static deserializeBinaryFromReader(message: PaymentMethodAvailableResp, reader: jspb.BinaryReader): PaymentMethodAvailableResp;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export namespace PaymentMethodAvailableResp {
|
|
705
|
+
export type AsObject = {
|
|
706
|
+
paymentmethodid: number,
|
|
707
|
+
isavailable: boolean,
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export class PaymentMethodsAvailabilityRequest extends jspb.Message {
|
|
712
|
+
getIsbusinesstransaction(): boolean;
|
|
713
|
+
setIsbusinesstransaction(value: boolean): PaymentMethodsAvailabilityRequest;
|
|
714
|
+
|
|
715
|
+
getLoyaltyprogramid(): number;
|
|
716
|
+
setLoyaltyprogramid(value: number): PaymentMethodsAvailabilityRequest;
|
|
717
|
+
|
|
718
|
+
getPaymentmethodsidsList(): Array<number>;
|
|
719
|
+
setPaymentmethodsidsList(value: Array<number>): PaymentMethodsAvailabilityRequest;
|
|
720
|
+
clearPaymentmethodsidsList(): PaymentMethodsAvailabilityRequest;
|
|
721
|
+
addPaymentmethodsids(value: number, index?: number): PaymentMethodsAvailabilityRequest;
|
|
722
|
+
|
|
723
|
+
getUserid(): number;
|
|
724
|
+
setUserid(value: number): PaymentMethodsAvailabilityRequest;
|
|
725
|
+
|
|
726
|
+
serializeBinary(): Uint8Array;
|
|
727
|
+
toObject(includeInstance?: boolean): PaymentMethodsAvailabilityRequest.AsObject;
|
|
728
|
+
static toObject(includeInstance: boolean, msg: PaymentMethodsAvailabilityRequest): PaymentMethodsAvailabilityRequest.AsObject;
|
|
729
|
+
static serializeBinaryToWriter(message: PaymentMethodsAvailabilityRequest, writer: jspb.BinaryWriter): void;
|
|
730
|
+
static deserializeBinary(bytes: Uint8Array): PaymentMethodsAvailabilityRequest;
|
|
731
|
+
static deserializeBinaryFromReader(message: PaymentMethodsAvailabilityRequest, reader: jspb.BinaryReader): PaymentMethodsAvailabilityRequest;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
export namespace PaymentMethodsAvailabilityRequest {
|
|
735
|
+
export type AsObject = {
|
|
736
|
+
isbusinesstransaction: boolean,
|
|
737
|
+
loyaltyprogramid: number,
|
|
738
|
+
paymentmethodsidsList: Array<number>,
|
|
739
|
+
userid: number,
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export class PaymentMethodsAvailabilityResponse extends jspb.Message {
|
|
744
|
+
getResponsecode(): ResponseCode | undefined;
|
|
745
|
+
setResponsecode(value?: ResponseCode): PaymentMethodsAvailabilityResponse;
|
|
746
|
+
hasResponsecode(): boolean;
|
|
747
|
+
clearResponsecode(): PaymentMethodsAvailabilityResponse;
|
|
748
|
+
|
|
749
|
+
getPaymentmethodsList(): Array<PaymentMethodAvailableResp>;
|
|
750
|
+
setPaymentmethodsList(value: Array<PaymentMethodAvailableResp>): PaymentMethodsAvailabilityResponse;
|
|
751
|
+
clearPaymentmethodsList(): PaymentMethodsAvailabilityResponse;
|
|
752
|
+
addPaymentmethods(value?: PaymentMethodAvailableResp, index?: number): PaymentMethodAvailableResp;
|
|
753
|
+
|
|
754
|
+
serializeBinary(): Uint8Array;
|
|
755
|
+
toObject(includeInstance?: boolean): PaymentMethodsAvailabilityResponse.AsObject;
|
|
756
|
+
static toObject(includeInstance: boolean, msg: PaymentMethodsAvailabilityResponse): PaymentMethodsAvailabilityResponse.AsObject;
|
|
757
|
+
static serializeBinaryToWriter(message: PaymentMethodsAvailabilityResponse, writer: jspb.BinaryWriter): void;
|
|
758
|
+
static deserializeBinary(bytes: Uint8Array): PaymentMethodsAvailabilityResponse;
|
|
759
|
+
static deserializeBinaryFromReader(message: PaymentMethodsAvailabilityResponse, reader: jspb.BinaryReader): PaymentMethodsAvailabilityResponse;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export namespace PaymentMethodsAvailabilityResponse {
|
|
763
|
+
export type AsObject = {
|
|
764
|
+
responsecode?: ResponseCode.AsObject,
|
|
765
|
+
paymentmethodsList: Array<PaymentMethodAvailableResp.AsObject>,
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
export class PaymentMethodsResponse extends jspb.Message {
|
|
770
|
+
getResponsecode(): ResponseCode | undefined;
|
|
771
|
+
setResponsecode(value?: ResponseCode): PaymentMethodsResponse;
|
|
772
|
+
hasResponsecode(): boolean;
|
|
773
|
+
clearResponsecode(): PaymentMethodsResponse;
|
|
774
|
+
|
|
775
|
+
getPaymentmethodswithpointsList(): Array<string>;
|
|
776
|
+
setPaymentmethodswithpointsList(value: Array<string>): PaymentMethodsResponse;
|
|
777
|
+
clearPaymentmethodswithpointsList(): PaymentMethodsResponse;
|
|
778
|
+
addPaymentmethodswithpoints(value: string, index?: number): PaymentMethodsResponse;
|
|
779
|
+
|
|
780
|
+
getPaymentmethodswithoutpointsList(): Array<string>;
|
|
781
|
+
setPaymentmethodswithoutpointsList(value: Array<string>): PaymentMethodsResponse;
|
|
782
|
+
clearPaymentmethodswithoutpointsList(): PaymentMethodsResponse;
|
|
783
|
+
addPaymentmethodswithoutpoints(value: string, index?: number): PaymentMethodsResponse;
|
|
784
|
+
|
|
785
|
+
serializeBinary(): Uint8Array;
|
|
786
|
+
toObject(includeInstance?: boolean): PaymentMethodsResponse.AsObject;
|
|
787
|
+
static toObject(includeInstance: boolean, msg: PaymentMethodsResponse): PaymentMethodsResponse.AsObject;
|
|
788
|
+
static serializeBinaryToWriter(message: PaymentMethodsResponse, writer: jspb.BinaryWriter): void;
|
|
789
|
+
static deserializeBinary(bytes: Uint8Array): PaymentMethodsResponse;
|
|
790
|
+
static deserializeBinaryFromReader(message: PaymentMethodsResponse, reader: jspb.BinaryReader): PaymentMethodsResponse;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
export namespace PaymentMethodsResponse {
|
|
794
|
+
export type AsObject = {
|
|
795
|
+
responsecode?: ResponseCode.AsObject,
|
|
796
|
+
paymentmethodswithpointsList: Array<string>,
|
|
797
|
+
paymentmethodswithoutpointsList: Array<string>,
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
export class ProgramDetail extends jspb.Message {
|
|
802
|
+
getId(): number;
|
|
803
|
+
setId(value: number): ProgramDetail;
|
|
804
|
+
|
|
805
|
+
getName(): string;
|
|
806
|
+
setName(value: string): ProgramDetail;
|
|
807
|
+
|
|
808
|
+
getCode(): string;
|
|
809
|
+
setCode(value: string): ProgramDetail;
|
|
810
|
+
|
|
811
|
+
getLogourl(): string;
|
|
812
|
+
setLogourl(value: string): ProgramDetail;
|
|
813
|
+
|
|
814
|
+
getEarnedamount(): number;
|
|
815
|
+
setEarnedamount(value: number): ProgramDetail;
|
|
816
|
+
|
|
817
|
+
getSpentamount(): number;
|
|
818
|
+
setSpentamount(value: number): ProgramDetail;
|
|
819
|
+
|
|
820
|
+
getMembershipnumberlengthmin(): number;
|
|
821
|
+
setMembershipnumberlengthmin(value: number): ProgramDetail;
|
|
822
|
+
|
|
823
|
+
getMembershipnumberlengthmax(): number;
|
|
824
|
+
setMembershipnumberlengthmax(value: number): ProgramDetail;
|
|
825
|
+
|
|
826
|
+
getMembershipnumbertype(): ProgramDetail.ProgramDetailMembershipNumberType;
|
|
827
|
+
setMembershipnumbertype(value: ProgramDetail.ProgramDetailMembershipNumberType): ProgramDetail;
|
|
828
|
+
|
|
829
|
+
getTermsandconditionsurl(): string;
|
|
830
|
+
setTermsandconditionsurl(value: string): ProgramDetail;
|
|
831
|
+
|
|
832
|
+
getExternalurl(): string;
|
|
833
|
+
setExternalurl(value: string): ProgramDetail;
|
|
834
|
+
|
|
835
|
+
getPointlabelsingular(): string;
|
|
836
|
+
setPointlabelsingular(value: string): ProgramDetail;
|
|
837
|
+
|
|
838
|
+
getPointlabelplural(): string;
|
|
839
|
+
setPointlabelplural(value: string): ProgramDetail;
|
|
840
|
+
|
|
841
|
+
getMembershipnumberlabel(): string;
|
|
842
|
+
setMembershipnumberlabel(value: string): ProgramDetail;
|
|
843
|
+
|
|
844
|
+
getIshidden(): boolean;
|
|
845
|
+
setIshidden(value: boolean): ProgramDetail;
|
|
846
|
+
|
|
847
|
+
getFeediscountmessage(): string;
|
|
848
|
+
setFeediscountmessage(value: string): ProgramDetail;
|
|
849
|
+
|
|
850
|
+
serializeBinary(): Uint8Array;
|
|
851
|
+
toObject(includeInstance?: boolean): ProgramDetail.AsObject;
|
|
852
|
+
static toObject(includeInstance: boolean, msg: ProgramDetail): ProgramDetail.AsObject;
|
|
853
|
+
static serializeBinaryToWriter(message: ProgramDetail, writer: jspb.BinaryWriter): void;
|
|
854
|
+
static deserializeBinary(bytes: Uint8Array): ProgramDetail;
|
|
855
|
+
static deserializeBinaryFromReader(message: ProgramDetail, reader: jspb.BinaryReader): ProgramDetail;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export namespace ProgramDetail {
|
|
859
|
+
export type AsObject = {
|
|
860
|
+
id: number,
|
|
861
|
+
name: string,
|
|
862
|
+
code: string,
|
|
863
|
+
logourl: string,
|
|
864
|
+
earnedamount: number,
|
|
865
|
+
spentamount: number,
|
|
866
|
+
membershipnumberlengthmin: number,
|
|
867
|
+
membershipnumberlengthmax: number,
|
|
868
|
+
membershipnumbertype: ProgramDetail.ProgramDetailMembershipNumberType,
|
|
869
|
+
termsandconditionsurl: string,
|
|
870
|
+
externalurl: string,
|
|
871
|
+
pointlabelsingular: string,
|
|
872
|
+
pointlabelplural: string,
|
|
873
|
+
membershipnumberlabel: string,
|
|
874
|
+
ishidden: boolean,
|
|
875
|
+
feediscountmessage: string,
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
export enum ProgramDetailMembershipNumberType {
|
|
879
|
+
PROGRAM_DETAIL_MEMBERSHIP_NUMBER_TYPE_ONLY_NUMBERS = 0,
|
|
880
|
+
PROGRAM_DETAIL_MEMBERSHIP_NUMBER_TYPE_ONLY_LETTERS = 1,
|
|
881
|
+
PROGRAM_DETAIL_MEMBERSHIP_NUMBER_TYPE_NUMBERS_AND_LETTERS = 2,
|
|
882
|
+
PROGRAM_DETAIL_MEMBERSHIP_NUMBER_TYPE_NONE = 3,
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
export class ProgramDetailResponse extends jspb.Message {
|
|
887
|
+
getResponsecode(): ResponseCode | undefined;
|
|
888
|
+
setResponsecode(value?: ResponseCode): ProgramDetailResponse;
|
|
889
|
+
hasResponsecode(): boolean;
|
|
890
|
+
clearResponsecode(): ProgramDetailResponse;
|
|
891
|
+
|
|
892
|
+
getProgram(): ProgramDetail | undefined;
|
|
893
|
+
setProgram(value?: ProgramDetail): ProgramDetailResponse;
|
|
894
|
+
hasProgram(): boolean;
|
|
895
|
+
clearProgram(): ProgramDetailResponse;
|
|
896
|
+
|
|
897
|
+
serializeBinary(): Uint8Array;
|
|
898
|
+
toObject(includeInstance?: boolean): ProgramDetailResponse.AsObject;
|
|
899
|
+
static toObject(includeInstance: boolean, msg: ProgramDetailResponse): ProgramDetailResponse.AsObject;
|
|
900
|
+
static serializeBinaryToWriter(message: ProgramDetailResponse, writer: jspb.BinaryWriter): void;
|
|
901
|
+
static deserializeBinary(bytes: Uint8Array): ProgramDetailResponse;
|
|
902
|
+
static deserializeBinaryFromReader(message: ProgramDetailResponse, reader: jspb.BinaryReader): ProgramDetailResponse;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
export namespace ProgramDetailResponse {
|
|
906
|
+
export type AsObject = {
|
|
907
|
+
responsecode?: ResponseCode.AsObject,
|
|
908
|
+
program?: ProgramDetail.AsObject,
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export class ProgramDetailsResponse extends jspb.Message {
|
|
913
|
+
getResponsecode(): ResponseCode | undefined;
|
|
914
|
+
setResponsecode(value?: ResponseCode): ProgramDetailsResponse;
|
|
915
|
+
hasResponsecode(): boolean;
|
|
916
|
+
clearResponsecode(): ProgramDetailsResponse;
|
|
917
|
+
|
|
918
|
+
getProgramsList(): Array<ProgramDetail>;
|
|
919
|
+
setProgramsList(value: Array<ProgramDetail>): ProgramDetailsResponse;
|
|
920
|
+
clearProgramsList(): ProgramDetailsResponse;
|
|
921
|
+
addPrograms(value?: ProgramDetail, index?: number): ProgramDetail;
|
|
922
|
+
|
|
923
|
+
serializeBinary(): Uint8Array;
|
|
924
|
+
toObject(includeInstance?: boolean): ProgramDetailsResponse.AsObject;
|
|
925
|
+
static toObject(includeInstance: boolean, msg: ProgramDetailsResponse): ProgramDetailsResponse.AsObject;
|
|
926
|
+
static serializeBinaryToWriter(message: ProgramDetailsResponse, writer: jspb.BinaryWriter): void;
|
|
927
|
+
static deserializeBinary(bytes: Uint8Array): ProgramDetailsResponse;
|
|
928
|
+
static deserializeBinaryFromReader(message: ProgramDetailsResponse, reader: jspb.BinaryReader): ProgramDetailsResponse;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
export namespace ProgramDetailsResponse {
|
|
932
|
+
export type AsObject = {
|
|
933
|
+
responsecode?: ResponseCode.AsObject,
|
|
934
|
+
programsList: Array<ProgramDetail.AsObject>,
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
export class ResponseCode extends jspb.Message {
|
|
939
|
+
getCode(): number;
|
|
940
|
+
setCode(value: number): ResponseCode;
|
|
941
|
+
|
|
942
|
+
getMessage(): string;
|
|
943
|
+
setMessage(value: string): ResponseCode;
|
|
944
|
+
|
|
945
|
+
serializeBinary(): Uint8Array;
|
|
946
|
+
toObject(includeInstance?: boolean): ResponseCode.AsObject;
|
|
947
|
+
static toObject(includeInstance: boolean, msg: ResponseCode): ResponseCode.AsObject;
|
|
948
|
+
static serializeBinaryToWriter(message: ResponseCode, writer: jspb.BinaryWriter): void;
|
|
949
|
+
static deserializeBinary(bytes: Uint8Array): ResponseCode;
|
|
950
|
+
static deserializeBinaryFromReader(message: ResponseCode, reader: jspb.BinaryReader): ResponseCode;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
export namespace ResponseCode {
|
|
954
|
+
export type AsObject = {
|
|
955
|
+
code: number,
|
|
956
|
+
message: string,
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
export class SetDefaultMembershipRequest extends jspb.Message {
|
|
961
|
+
getMembershipid(): number;
|
|
962
|
+
setMembershipid(value: number): SetDefaultMembershipRequest;
|
|
963
|
+
|
|
964
|
+
serializeBinary(): Uint8Array;
|
|
965
|
+
toObject(includeInstance?: boolean): SetDefaultMembershipRequest.AsObject;
|
|
966
|
+
static toObject(includeInstance: boolean, msg: SetDefaultMembershipRequest): SetDefaultMembershipRequest.AsObject;
|
|
967
|
+
static serializeBinaryToWriter(message: SetDefaultMembershipRequest, writer: jspb.BinaryWriter): void;
|
|
968
|
+
static deserializeBinary(bytes: Uint8Array): SetDefaultMembershipRequest;
|
|
969
|
+
static deserializeBinaryFromReader(message: SetDefaultMembershipRequest, reader: jspb.BinaryReader): SetDefaultMembershipRequest;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
export namespace SetDefaultMembershipRequest {
|
|
973
|
+
export type AsObject = {
|
|
974
|
+
membershipid: number,
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
export class SetUserFeeDiscountRequest extends jspb.Message {
|
|
979
|
+
getUserid(): number;
|
|
980
|
+
setUserid(value: number): SetUserFeeDiscountRequest;
|
|
981
|
+
|
|
982
|
+
getFeediscountamount(): number;
|
|
983
|
+
setFeediscountamount(value: number): SetUserFeeDiscountRequest;
|
|
984
|
+
|
|
985
|
+
serializeBinary(): Uint8Array;
|
|
986
|
+
toObject(includeInstance?: boolean): SetUserFeeDiscountRequest.AsObject;
|
|
987
|
+
static toObject(includeInstance: boolean, msg: SetUserFeeDiscountRequest): SetUserFeeDiscountRequest.AsObject;
|
|
988
|
+
static serializeBinaryToWriter(message: SetUserFeeDiscountRequest, writer: jspb.BinaryWriter): void;
|
|
989
|
+
static deserializeBinary(bytes: Uint8Array): SetUserFeeDiscountRequest;
|
|
990
|
+
static deserializeBinaryFromReader(message: SetUserFeeDiscountRequest, reader: jspb.BinaryReader): SetUserFeeDiscountRequest;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
export namespace SetUserFeeDiscountRequest {
|
|
994
|
+
export type AsObject = {
|
|
995
|
+
userid: number,
|
|
996
|
+
feediscountamount: number,
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
export class UnLinkMembershipRequest extends jspb.Message {
|
|
1001
|
+
getMembershipid(): number;
|
|
1002
|
+
setMembershipid(value: number): UnLinkMembershipRequest;
|
|
1003
|
+
|
|
1004
|
+
serializeBinary(): Uint8Array;
|
|
1005
|
+
toObject(includeInstance?: boolean): UnLinkMembershipRequest.AsObject;
|
|
1006
|
+
static toObject(includeInstance: boolean, msg: UnLinkMembershipRequest): UnLinkMembershipRequest.AsObject;
|
|
1007
|
+
static serializeBinaryToWriter(message: UnLinkMembershipRequest, writer: jspb.BinaryWriter): void;
|
|
1008
|
+
static deserializeBinary(bytes: Uint8Array): UnLinkMembershipRequest;
|
|
1009
|
+
static deserializeBinaryFromReader(message: UnLinkMembershipRequest, reader: jspb.BinaryReader): UnLinkMembershipRequest;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
export namespace UnLinkMembershipRequest {
|
|
1013
|
+
export type AsObject = {
|
|
1014
|
+
membershipid: number,
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
export class ValidateMembershipRequest extends jspb.Message {
|
|
1019
|
+
getProgramid(): number;
|
|
1020
|
+
setProgramid(value: number): ValidateMembershipRequest;
|
|
1021
|
+
|
|
1022
|
+
getMembershipnumber(): string;
|
|
1023
|
+
setMembershipnumber(value: string): ValidateMembershipRequest;
|
|
1024
|
+
|
|
1025
|
+
serializeBinary(): Uint8Array;
|
|
1026
|
+
toObject(includeInstance?: boolean): ValidateMembershipRequest.AsObject;
|
|
1027
|
+
static toObject(includeInstance: boolean, msg: ValidateMembershipRequest): ValidateMembershipRequest.AsObject;
|
|
1028
|
+
static serializeBinaryToWriter(message: ValidateMembershipRequest, writer: jspb.BinaryWriter): void;
|
|
1029
|
+
static deserializeBinary(bytes: Uint8Array): ValidateMembershipRequest;
|
|
1030
|
+
static deserializeBinaryFromReader(message: ValidateMembershipRequest, reader: jspb.BinaryReader): ValidateMembershipRequest;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
export namespace ValidateMembershipRequest {
|
|
1034
|
+
export type AsObject = {
|
|
1035
|
+
programid: number,
|
|
1036
|
+
membershipnumber: string,
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
export class ValidateMembershipResponse extends jspb.Message {
|
|
1041
|
+
getResponsecode(): ResponseCode | undefined;
|
|
1042
|
+
setResponsecode(value?: ResponseCode): ValidateMembershipResponse;
|
|
1043
|
+
hasResponsecode(): boolean;
|
|
1044
|
+
clearResponsecode(): ValidateMembershipResponse;
|
|
1045
|
+
|
|
1046
|
+
getValidated(): boolean;
|
|
1047
|
+
setValidated(value: boolean): ValidateMembershipResponse;
|
|
1048
|
+
|
|
1049
|
+
serializeBinary(): Uint8Array;
|
|
1050
|
+
toObject(includeInstance?: boolean): ValidateMembershipResponse.AsObject;
|
|
1051
|
+
static toObject(includeInstance: boolean, msg: ValidateMembershipResponse): ValidateMembershipResponse.AsObject;
|
|
1052
|
+
static serializeBinaryToWriter(message: ValidateMembershipResponse, writer: jspb.BinaryWriter): void;
|
|
1053
|
+
static deserializeBinary(bytes: Uint8Array): ValidateMembershipResponse;
|
|
1054
|
+
static deserializeBinaryFromReader(message: ValidateMembershipResponse, reader: jspb.BinaryReader): ValidateMembershipResponse;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
export namespace ValidateMembershipResponse {
|
|
1058
|
+
export type AsObject = {
|
|
1059
|
+
responsecode?: ResponseCode.AsObject,
|
|
1060
|
+
validated: boolean,
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
|