@sniipwebmaster/loyalty-program-client-grpcweb-ts 25.9.2263 → 25.9.2286
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.
|
@@ -341,6 +341,49 @@ export class LoyaltyProgramServiceAPIServiceClient {
|
|
|
341
341
|
this.methodDescriptorGetLoyaltyTransactionsByMembershipId);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
+
methodDescriptorGetLoyaltyTransactionsByTransactionIds = new grpcWeb.MethodDescriptor(
|
|
345
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTransactionsByTransactionIds',
|
|
346
|
+
grpcWeb.MethodType.UNARY,
|
|
347
|
+
service_pb.GetLoyaltyTransactionsByTransactionIdsRequest,
|
|
348
|
+
service_pb.LoyaltyTransactionsWithMembershipDetailsResponse,
|
|
349
|
+
(request: service_pb.GetLoyaltyTransactionsByTransactionIdsRequest) => {
|
|
350
|
+
return request.serializeBinary();
|
|
351
|
+
},
|
|
352
|
+
service_pb.LoyaltyTransactionsWithMembershipDetailsResponse.deserializeBinary
|
|
353
|
+
);
|
|
354
|
+
|
|
355
|
+
getLoyaltyTransactionsByTransactionIds(
|
|
356
|
+
request: service_pb.GetLoyaltyTransactionsByTransactionIdsRequest,
|
|
357
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.LoyaltyTransactionsWithMembershipDetailsResponse>;
|
|
358
|
+
|
|
359
|
+
getLoyaltyTransactionsByTransactionIds(
|
|
360
|
+
request: service_pb.GetLoyaltyTransactionsByTransactionIdsRequest,
|
|
361
|
+
metadata: grpcWeb.Metadata | null,
|
|
362
|
+
callback: (err: grpcWeb.RpcError,
|
|
363
|
+
response: service_pb.LoyaltyTransactionsWithMembershipDetailsResponse) => void): grpcWeb.ClientReadableStream<service_pb.LoyaltyTransactionsWithMembershipDetailsResponse>;
|
|
364
|
+
|
|
365
|
+
getLoyaltyTransactionsByTransactionIds(
|
|
366
|
+
request: service_pb.GetLoyaltyTransactionsByTransactionIdsRequest,
|
|
367
|
+
metadata?: grpcWeb.Metadata | null,
|
|
368
|
+
callback?: (err: grpcWeb.RpcError,
|
|
369
|
+
response: service_pb.LoyaltyTransactionsWithMembershipDetailsResponse) => void) {
|
|
370
|
+
if (callback !== undefined) {
|
|
371
|
+
return this.client_.rpcCall(
|
|
372
|
+
this.hostname_ +
|
|
373
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTransactionsByTransactionIds',
|
|
374
|
+
request,
|
|
375
|
+
metadata || {},
|
|
376
|
+
this.methodDescriptorGetLoyaltyTransactionsByTransactionIds,
|
|
377
|
+
callback);
|
|
378
|
+
}
|
|
379
|
+
return this.client_.unaryCall(
|
|
380
|
+
this.hostname_ +
|
|
381
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTransactionsByTransactionIds',
|
|
382
|
+
request,
|
|
383
|
+
metadata || {},
|
|
384
|
+
this.methodDescriptorGetLoyaltyTransactionsByTransactionIds);
|
|
385
|
+
}
|
|
386
|
+
|
|
344
387
|
methodDescriptorGetMembershipById = new grpcWeb.MethodDescriptor(
|
|
345
388
|
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipById',
|
|
346
389
|
grpcWeb.MethodType.UNARY,
|
|
@@ -334,6 +334,26 @@ export namespace GetLoyaltyTransactionsByMembershipIdRequest {
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
+
export class GetLoyaltyTransactionsByTransactionIdsRequest extends jspb.Message {
|
|
338
|
+
getTransactionidsList(): Array<number>;
|
|
339
|
+
setTransactionidsList(value: Array<number>): GetLoyaltyTransactionsByTransactionIdsRequest;
|
|
340
|
+
clearTransactionidsList(): GetLoyaltyTransactionsByTransactionIdsRequest;
|
|
341
|
+
addTransactionids(value: number, index?: number): GetLoyaltyTransactionsByTransactionIdsRequest;
|
|
342
|
+
|
|
343
|
+
serializeBinary(): Uint8Array;
|
|
344
|
+
toObject(includeInstance?: boolean): GetLoyaltyTransactionsByTransactionIdsRequest.AsObject;
|
|
345
|
+
static toObject(includeInstance: boolean, msg: GetLoyaltyTransactionsByTransactionIdsRequest): GetLoyaltyTransactionsByTransactionIdsRequest.AsObject;
|
|
346
|
+
static serializeBinaryToWriter(message: GetLoyaltyTransactionsByTransactionIdsRequest, writer: jspb.BinaryWriter): void;
|
|
347
|
+
static deserializeBinary(bytes: Uint8Array): GetLoyaltyTransactionsByTransactionIdsRequest;
|
|
348
|
+
static deserializeBinaryFromReader(message: GetLoyaltyTransactionsByTransactionIdsRequest, reader: jspb.BinaryReader): GetLoyaltyTransactionsByTransactionIdsRequest;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export namespace GetLoyaltyTransactionsByTransactionIdsRequest {
|
|
352
|
+
export type AsObject = {
|
|
353
|
+
transactionidsList: Array<number>,
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
337
357
|
export class GetMembershipByIdRequest extends jspb.Message {
|
|
338
358
|
getMembershipid(): number;
|
|
339
359
|
setMembershipid(value: number): GetMembershipByIdRequest;
|
|
@@ -610,6 +630,32 @@ export namespace LoyaltyTransaction {
|
|
|
610
630
|
}
|
|
611
631
|
}
|
|
612
632
|
|
|
633
|
+
export class LoyaltyTransactionWithMembershipDetail extends jspb.Message {
|
|
634
|
+
getLoyaltytransaction(): LoyaltyTransaction | undefined;
|
|
635
|
+
setLoyaltytransaction(value?: LoyaltyTransaction): LoyaltyTransactionWithMembershipDetail;
|
|
636
|
+
hasLoyaltytransaction(): boolean;
|
|
637
|
+
clearLoyaltytransaction(): LoyaltyTransactionWithMembershipDetail;
|
|
638
|
+
|
|
639
|
+
getMembershipdetail(): MembershipDetail | undefined;
|
|
640
|
+
setMembershipdetail(value?: MembershipDetail): LoyaltyTransactionWithMembershipDetail;
|
|
641
|
+
hasMembershipdetail(): boolean;
|
|
642
|
+
clearMembershipdetail(): LoyaltyTransactionWithMembershipDetail;
|
|
643
|
+
|
|
644
|
+
serializeBinary(): Uint8Array;
|
|
645
|
+
toObject(includeInstance?: boolean): LoyaltyTransactionWithMembershipDetail.AsObject;
|
|
646
|
+
static toObject(includeInstance: boolean, msg: LoyaltyTransactionWithMembershipDetail): LoyaltyTransactionWithMembershipDetail.AsObject;
|
|
647
|
+
static serializeBinaryToWriter(message: LoyaltyTransactionWithMembershipDetail, writer: jspb.BinaryWriter): void;
|
|
648
|
+
static deserializeBinary(bytes: Uint8Array): LoyaltyTransactionWithMembershipDetail;
|
|
649
|
+
static deserializeBinaryFromReader(message: LoyaltyTransactionWithMembershipDetail, reader: jspb.BinaryReader): LoyaltyTransactionWithMembershipDetail;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
export namespace LoyaltyTransactionWithMembershipDetail {
|
|
653
|
+
export type AsObject = {
|
|
654
|
+
loyaltytransaction?: LoyaltyTransaction.AsObject,
|
|
655
|
+
membershipdetail?: MembershipDetail.AsObject,
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
|
|
613
659
|
export class LoyaltyTransactionsResponse extends jspb.Message {
|
|
614
660
|
getResponsecode(): ResponseCode | undefined;
|
|
615
661
|
setResponsecode(value?: ResponseCode): LoyaltyTransactionsResponse;
|
|
@@ -652,6 +698,32 @@ export namespace LoyaltyTransactionsResponse {
|
|
|
652
698
|
}
|
|
653
699
|
}
|
|
654
700
|
|
|
701
|
+
export class LoyaltyTransactionsWithMembershipDetailsResponse extends jspb.Message {
|
|
702
|
+
getResponsecode(): ResponseCode | undefined;
|
|
703
|
+
setResponsecode(value?: ResponseCode): LoyaltyTransactionsWithMembershipDetailsResponse;
|
|
704
|
+
hasResponsecode(): boolean;
|
|
705
|
+
clearResponsecode(): LoyaltyTransactionsWithMembershipDetailsResponse;
|
|
706
|
+
|
|
707
|
+
getLoyaltytransactionswithmembershipdetailsList(): Array<LoyaltyTransactionWithMembershipDetail>;
|
|
708
|
+
setLoyaltytransactionswithmembershipdetailsList(value: Array<LoyaltyTransactionWithMembershipDetail>): LoyaltyTransactionsWithMembershipDetailsResponse;
|
|
709
|
+
clearLoyaltytransactionswithmembershipdetailsList(): LoyaltyTransactionsWithMembershipDetailsResponse;
|
|
710
|
+
addLoyaltytransactionswithmembershipdetails(value?: LoyaltyTransactionWithMembershipDetail, index?: number): LoyaltyTransactionWithMembershipDetail;
|
|
711
|
+
|
|
712
|
+
serializeBinary(): Uint8Array;
|
|
713
|
+
toObject(includeInstance?: boolean): LoyaltyTransactionsWithMembershipDetailsResponse.AsObject;
|
|
714
|
+
static toObject(includeInstance: boolean, msg: LoyaltyTransactionsWithMembershipDetailsResponse): LoyaltyTransactionsWithMembershipDetailsResponse.AsObject;
|
|
715
|
+
static serializeBinaryToWriter(message: LoyaltyTransactionsWithMembershipDetailsResponse, writer: jspb.BinaryWriter): void;
|
|
716
|
+
static deserializeBinary(bytes: Uint8Array): LoyaltyTransactionsWithMembershipDetailsResponse;
|
|
717
|
+
static deserializeBinaryFromReader(message: LoyaltyTransactionsWithMembershipDetailsResponse, reader: jspb.BinaryReader): LoyaltyTransactionsWithMembershipDetailsResponse;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export namespace LoyaltyTransactionsWithMembershipDetailsResponse {
|
|
721
|
+
export type AsObject = {
|
|
722
|
+
responsecode?: ResponseCode.AsObject,
|
|
723
|
+
loyaltytransactionswithmembershipdetailsList: Array<LoyaltyTransactionWithMembershipDetail.AsObject>,
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
|
|
655
727
|
export class MembershipDetail extends jspb.Message {
|
|
656
728
|
getId(): number;
|
|
657
729
|
setId(value: number): MembershipDetail;
|
|
@@ -32,6 +32,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest.CreatePro
|
|
|
32
32
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetActiveUserMembershipRequest', null, global);
|
|
33
33
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse', null, global);
|
|
34
34
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest', null, global);
|
|
35
36
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetMembershipByIdRequest', null, global);
|
|
36
37
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetProgramForMembershipInternalRequest', null, global);
|
|
37
38
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetProgramListInternalRequest', null, global);
|
|
@@ -44,7 +45,9 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.LinkMembershipRequest', null,
|
|
|
44
45
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyProgramOption', null, global);
|
|
45
46
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTierDetail', null, global);
|
|
46
47
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTransaction', null, global);
|
|
48
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail', null, global);
|
|
47
49
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse', null, global);
|
|
50
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse', null, global);
|
|
48
51
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetail', null, global);
|
|
49
52
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetailResponse', null, global);
|
|
50
53
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetailsResponse', null, global);
|
|
@@ -273,6 +276,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
273
276
|
*/
|
|
274
277
|
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest.displayName = 'proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest';
|
|
275
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
* Generated by JsPbCodeGenerator.
|
|
281
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
282
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
283
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
284
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
285
|
+
* valid.
|
|
286
|
+
* @extends {jspb.Message}
|
|
287
|
+
* @constructor
|
|
288
|
+
*/
|
|
289
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest = function(opt_data) {
|
|
290
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.repeatedFields_, null);
|
|
291
|
+
};
|
|
292
|
+
goog.inherits(proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest, jspb.Message);
|
|
293
|
+
if (goog.DEBUG && !COMPILED) {
|
|
294
|
+
/**
|
|
295
|
+
* @public
|
|
296
|
+
* @override
|
|
297
|
+
*/
|
|
298
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.displayName = 'proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest';
|
|
299
|
+
}
|
|
276
300
|
/**
|
|
277
301
|
* Generated by JsPbCodeGenerator.
|
|
278
302
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -462,6 +486,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
462
486
|
*/
|
|
463
487
|
proto.loyaltyprogramserviceapi.LoyaltyTransaction.displayName = 'proto.loyaltyprogramserviceapi.LoyaltyTransaction';
|
|
464
488
|
}
|
|
489
|
+
/**
|
|
490
|
+
* Generated by JsPbCodeGenerator.
|
|
491
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
492
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
493
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
494
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
495
|
+
* valid.
|
|
496
|
+
* @extends {jspb.Message}
|
|
497
|
+
* @constructor
|
|
498
|
+
*/
|
|
499
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail = function(opt_data) {
|
|
500
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
501
|
+
};
|
|
502
|
+
goog.inherits(proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail, jspb.Message);
|
|
503
|
+
if (goog.DEBUG && !COMPILED) {
|
|
504
|
+
/**
|
|
505
|
+
* @public
|
|
506
|
+
* @override
|
|
507
|
+
*/
|
|
508
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.displayName = 'proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail';
|
|
509
|
+
}
|
|
465
510
|
/**
|
|
466
511
|
* Generated by JsPbCodeGenerator.
|
|
467
512
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -483,6 +528,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
483
528
|
*/
|
|
484
529
|
proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse.displayName = 'proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse';
|
|
485
530
|
}
|
|
531
|
+
/**
|
|
532
|
+
* Generated by JsPbCodeGenerator.
|
|
533
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
534
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
535
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
536
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
537
|
+
* valid.
|
|
538
|
+
* @extends {jspb.Message}
|
|
539
|
+
* @constructor
|
|
540
|
+
*/
|
|
541
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse = function(opt_data) {
|
|
542
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.repeatedFields_, null);
|
|
543
|
+
};
|
|
544
|
+
goog.inherits(proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse, jspb.Message);
|
|
545
|
+
if (goog.DEBUG && !COMPILED) {
|
|
546
|
+
/**
|
|
547
|
+
* @public
|
|
548
|
+
* @override
|
|
549
|
+
*/
|
|
550
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.displayName = 'proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse';
|
|
551
|
+
}
|
|
486
552
|
/**
|
|
487
553
|
* Generated by JsPbCodeGenerator.
|
|
488
554
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3380,6 +3446,164 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest.proto
|
|
|
3380
3446
|
|
|
3381
3447
|
|
|
3382
3448
|
|
|
3449
|
+
/**
|
|
3450
|
+
* List of repeated fields within this message type.
|
|
3451
|
+
* @private {!Array<number>}
|
|
3452
|
+
* @const
|
|
3453
|
+
*/
|
|
3454
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.repeatedFields_ = [1];
|
|
3455
|
+
|
|
3456
|
+
|
|
3457
|
+
|
|
3458
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3459
|
+
/**
|
|
3460
|
+
* Creates an object representation of this proto.
|
|
3461
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3462
|
+
* Optional fields that are not set will be set to undefined.
|
|
3463
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3464
|
+
* For the list of reserved names please see:
|
|
3465
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3466
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3467
|
+
* JSPB instance for transitional soy proto support:
|
|
3468
|
+
* http://goto/soy-param-migration
|
|
3469
|
+
* @return {!Object}
|
|
3470
|
+
*/
|
|
3471
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3472
|
+
return proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.toObject(opt_includeInstance, this);
|
|
3473
|
+
};
|
|
3474
|
+
|
|
3475
|
+
|
|
3476
|
+
/**
|
|
3477
|
+
* Static version of the {@see toObject} method.
|
|
3478
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3479
|
+
* the JSPB instance for transitional soy proto support:
|
|
3480
|
+
* http://goto/soy-param-migration
|
|
3481
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest} msg The msg instance to transform.
|
|
3482
|
+
* @return {!Object}
|
|
3483
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3484
|
+
*/
|
|
3485
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.toObject = function(includeInstance, msg) {
|
|
3486
|
+
var f, obj = {
|
|
3487
|
+
transactionidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
3488
|
+
};
|
|
3489
|
+
|
|
3490
|
+
if (includeInstance) {
|
|
3491
|
+
obj.$jspbMessageInstance = msg;
|
|
3492
|
+
}
|
|
3493
|
+
return obj;
|
|
3494
|
+
};
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3497
|
+
|
|
3498
|
+
/**
|
|
3499
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3500
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3501
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest}
|
|
3502
|
+
*/
|
|
3503
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.deserializeBinary = function(bytes) {
|
|
3504
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3505
|
+
var msg = new proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest;
|
|
3506
|
+
return proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3507
|
+
};
|
|
3508
|
+
|
|
3509
|
+
|
|
3510
|
+
/**
|
|
3511
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3512
|
+
* given reader into the given message object.
|
|
3513
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest} msg The message object to deserialize into.
|
|
3514
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3515
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest}
|
|
3516
|
+
*/
|
|
3517
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3518
|
+
while (reader.nextField()) {
|
|
3519
|
+
if (reader.isEndGroup()) {
|
|
3520
|
+
break;
|
|
3521
|
+
}
|
|
3522
|
+
var field = reader.getFieldNumber();
|
|
3523
|
+
switch (field) {
|
|
3524
|
+
case 1:
|
|
3525
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
3526
|
+
for (var i = 0; i < values.length; i++) {
|
|
3527
|
+
msg.addTransactionids(values[i]);
|
|
3528
|
+
}
|
|
3529
|
+
break;
|
|
3530
|
+
default:
|
|
3531
|
+
reader.skipField();
|
|
3532
|
+
break;
|
|
3533
|
+
}
|
|
3534
|
+
}
|
|
3535
|
+
return msg;
|
|
3536
|
+
};
|
|
3537
|
+
|
|
3538
|
+
|
|
3539
|
+
/**
|
|
3540
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3541
|
+
* @return {!Uint8Array}
|
|
3542
|
+
*/
|
|
3543
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.prototype.serializeBinary = function() {
|
|
3544
|
+
var writer = new jspb.BinaryWriter();
|
|
3545
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.serializeBinaryToWriter(this, writer);
|
|
3546
|
+
return writer.getResultBuffer();
|
|
3547
|
+
};
|
|
3548
|
+
|
|
3549
|
+
|
|
3550
|
+
/**
|
|
3551
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3552
|
+
* format), writing to the given BinaryWriter.
|
|
3553
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest} message
|
|
3554
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3555
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3556
|
+
*/
|
|
3557
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3558
|
+
var f = undefined;
|
|
3559
|
+
f = message.getTransactionidsList();
|
|
3560
|
+
if (f.length > 0) {
|
|
3561
|
+
writer.writePackedInt64(
|
|
3562
|
+
1,
|
|
3563
|
+
f
|
|
3564
|
+
);
|
|
3565
|
+
}
|
|
3566
|
+
};
|
|
3567
|
+
|
|
3568
|
+
|
|
3569
|
+
/**
|
|
3570
|
+
* repeated int64 transactionIds = 1;
|
|
3571
|
+
* @return {!Array<number>}
|
|
3572
|
+
*/
|
|
3573
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.prototype.getTransactionidsList = function() {
|
|
3574
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
3575
|
+
};
|
|
3576
|
+
|
|
3577
|
+
|
|
3578
|
+
/**
|
|
3579
|
+
* @param {!Array<number>} value
|
|
3580
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest} returns this
|
|
3581
|
+
*/
|
|
3582
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.prototype.setTransactionidsList = function(value) {
|
|
3583
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
3584
|
+
};
|
|
3585
|
+
|
|
3586
|
+
|
|
3587
|
+
/**
|
|
3588
|
+
* @param {number} value
|
|
3589
|
+
* @param {number=} opt_index
|
|
3590
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest} returns this
|
|
3591
|
+
*/
|
|
3592
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.prototype.addTransactionids = function(value, opt_index) {
|
|
3593
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
3594
|
+
};
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
/**
|
|
3598
|
+
* Clears the list making it empty but non-null.
|
|
3599
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest} returns this
|
|
3600
|
+
*/
|
|
3601
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest.prototype.clearTransactionidsList = function() {
|
|
3602
|
+
return this.setTransactionidsList([]);
|
|
3603
|
+
};
|
|
3604
|
+
|
|
3605
|
+
|
|
3606
|
+
|
|
3383
3607
|
|
|
3384
3608
|
|
|
3385
3609
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5432,6 +5656,208 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.setLoyaltyoptionname
|
|
|
5432
5656
|
|
|
5433
5657
|
|
|
5434
5658
|
|
|
5659
|
+
|
|
5660
|
+
|
|
5661
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5662
|
+
/**
|
|
5663
|
+
* Creates an object representation of this proto.
|
|
5664
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5665
|
+
* Optional fields that are not set will be set to undefined.
|
|
5666
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5667
|
+
* For the list of reserved names please see:
|
|
5668
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5669
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5670
|
+
* JSPB instance for transitional soy proto support:
|
|
5671
|
+
* http://goto/soy-param-migration
|
|
5672
|
+
* @return {!Object}
|
|
5673
|
+
*/
|
|
5674
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.toObject = function(opt_includeInstance) {
|
|
5675
|
+
return proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.toObject(opt_includeInstance, this);
|
|
5676
|
+
};
|
|
5677
|
+
|
|
5678
|
+
|
|
5679
|
+
/**
|
|
5680
|
+
* Static version of the {@see toObject} method.
|
|
5681
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5682
|
+
* the JSPB instance for transitional soy proto support:
|
|
5683
|
+
* http://goto/soy-param-migration
|
|
5684
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail} msg The msg instance to transform.
|
|
5685
|
+
* @return {!Object}
|
|
5686
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5687
|
+
*/
|
|
5688
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.toObject = function(includeInstance, msg) {
|
|
5689
|
+
var f, obj = {
|
|
5690
|
+
loyaltytransaction: (f = msg.getLoyaltytransaction()) && proto.loyaltyprogramserviceapi.LoyaltyTransaction.toObject(includeInstance, f),
|
|
5691
|
+
membershipdetail: (f = msg.getMembershipdetail()) && proto.loyaltyprogramserviceapi.MembershipDetail.toObject(includeInstance, f)
|
|
5692
|
+
};
|
|
5693
|
+
|
|
5694
|
+
if (includeInstance) {
|
|
5695
|
+
obj.$jspbMessageInstance = msg;
|
|
5696
|
+
}
|
|
5697
|
+
return obj;
|
|
5698
|
+
};
|
|
5699
|
+
}
|
|
5700
|
+
|
|
5701
|
+
|
|
5702
|
+
/**
|
|
5703
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5704
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5705
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail}
|
|
5706
|
+
*/
|
|
5707
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.deserializeBinary = function(bytes) {
|
|
5708
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5709
|
+
var msg = new proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail;
|
|
5710
|
+
return proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.deserializeBinaryFromReader(msg, reader);
|
|
5711
|
+
};
|
|
5712
|
+
|
|
5713
|
+
|
|
5714
|
+
/**
|
|
5715
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5716
|
+
* given reader into the given message object.
|
|
5717
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail} msg The message object to deserialize into.
|
|
5718
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5719
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail}
|
|
5720
|
+
*/
|
|
5721
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
5722
|
+
while (reader.nextField()) {
|
|
5723
|
+
if (reader.isEndGroup()) {
|
|
5724
|
+
break;
|
|
5725
|
+
}
|
|
5726
|
+
var field = reader.getFieldNumber();
|
|
5727
|
+
switch (field) {
|
|
5728
|
+
case 1:
|
|
5729
|
+
var value = new proto.loyaltyprogramserviceapi.LoyaltyTransaction;
|
|
5730
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.LoyaltyTransaction.deserializeBinaryFromReader);
|
|
5731
|
+
msg.setLoyaltytransaction(value);
|
|
5732
|
+
break;
|
|
5733
|
+
case 2:
|
|
5734
|
+
var value = new proto.loyaltyprogramserviceapi.MembershipDetail;
|
|
5735
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.MembershipDetail.deserializeBinaryFromReader);
|
|
5736
|
+
msg.setMembershipdetail(value);
|
|
5737
|
+
break;
|
|
5738
|
+
default:
|
|
5739
|
+
reader.skipField();
|
|
5740
|
+
break;
|
|
5741
|
+
}
|
|
5742
|
+
}
|
|
5743
|
+
return msg;
|
|
5744
|
+
};
|
|
5745
|
+
|
|
5746
|
+
|
|
5747
|
+
/**
|
|
5748
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5749
|
+
* @return {!Uint8Array}
|
|
5750
|
+
*/
|
|
5751
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.serializeBinary = function() {
|
|
5752
|
+
var writer = new jspb.BinaryWriter();
|
|
5753
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.serializeBinaryToWriter(this, writer);
|
|
5754
|
+
return writer.getResultBuffer();
|
|
5755
|
+
};
|
|
5756
|
+
|
|
5757
|
+
|
|
5758
|
+
/**
|
|
5759
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5760
|
+
* format), writing to the given BinaryWriter.
|
|
5761
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail} message
|
|
5762
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5763
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5764
|
+
*/
|
|
5765
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.serializeBinaryToWriter = function(message, writer) {
|
|
5766
|
+
var f = undefined;
|
|
5767
|
+
f = message.getLoyaltytransaction();
|
|
5768
|
+
if (f != null) {
|
|
5769
|
+
writer.writeMessage(
|
|
5770
|
+
1,
|
|
5771
|
+
f,
|
|
5772
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransaction.serializeBinaryToWriter
|
|
5773
|
+
);
|
|
5774
|
+
}
|
|
5775
|
+
f = message.getMembershipdetail();
|
|
5776
|
+
if (f != null) {
|
|
5777
|
+
writer.writeMessage(
|
|
5778
|
+
2,
|
|
5779
|
+
f,
|
|
5780
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.serializeBinaryToWriter
|
|
5781
|
+
);
|
|
5782
|
+
}
|
|
5783
|
+
};
|
|
5784
|
+
|
|
5785
|
+
|
|
5786
|
+
/**
|
|
5787
|
+
* optional LoyaltyTransaction loyaltyTransaction = 1;
|
|
5788
|
+
* @return {?proto.loyaltyprogramserviceapi.LoyaltyTransaction}
|
|
5789
|
+
*/
|
|
5790
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.getLoyaltytransaction = function() {
|
|
5791
|
+
return /** @type{?proto.loyaltyprogramserviceapi.LoyaltyTransaction} */ (
|
|
5792
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyTransaction, 1));
|
|
5793
|
+
};
|
|
5794
|
+
|
|
5795
|
+
|
|
5796
|
+
/**
|
|
5797
|
+
* @param {?proto.loyaltyprogramserviceapi.LoyaltyTransaction|undefined} value
|
|
5798
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail} returns this
|
|
5799
|
+
*/
|
|
5800
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.setLoyaltytransaction = function(value) {
|
|
5801
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
5802
|
+
};
|
|
5803
|
+
|
|
5804
|
+
|
|
5805
|
+
/**
|
|
5806
|
+
* Clears the message field making it undefined.
|
|
5807
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail} returns this
|
|
5808
|
+
*/
|
|
5809
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.clearLoyaltytransaction = function() {
|
|
5810
|
+
return this.setLoyaltytransaction(undefined);
|
|
5811
|
+
};
|
|
5812
|
+
|
|
5813
|
+
|
|
5814
|
+
/**
|
|
5815
|
+
* Returns whether this field is set.
|
|
5816
|
+
* @return {boolean}
|
|
5817
|
+
*/
|
|
5818
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.hasLoyaltytransaction = function() {
|
|
5819
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5820
|
+
};
|
|
5821
|
+
|
|
5822
|
+
|
|
5823
|
+
/**
|
|
5824
|
+
* optional MembershipDetail membershipDetail = 2;
|
|
5825
|
+
* @return {?proto.loyaltyprogramserviceapi.MembershipDetail}
|
|
5826
|
+
*/
|
|
5827
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.getMembershipdetail = function() {
|
|
5828
|
+
return /** @type{?proto.loyaltyprogramserviceapi.MembershipDetail} */ (
|
|
5829
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.MembershipDetail, 2));
|
|
5830
|
+
};
|
|
5831
|
+
|
|
5832
|
+
|
|
5833
|
+
/**
|
|
5834
|
+
* @param {?proto.loyaltyprogramserviceapi.MembershipDetail|undefined} value
|
|
5835
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail} returns this
|
|
5836
|
+
*/
|
|
5837
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.setMembershipdetail = function(value) {
|
|
5838
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
5839
|
+
};
|
|
5840
|
+
|
|
5841
|
+
|
|
5842
|
+
/**
|
|
5843
|
+
* Clears the message field making it undefined.
|
|
5844
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail} returns this
|
|
5845
|
+
*/
|
|
5846
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.clearMembershipdetail = function() {
|
|
5847
|
+
return this.setMembershipdetail(undefined);
|
|
5848
|
+
};
|
|
5849
|
+
|
|
5850
|
+
|
|
5851
|
+
/**
|
|
5852
|
+
* Returns whether this field is set.
|
|
5853
|
+
* @return {boolean}
|
|
5854
|
+
*/
|
|
5855
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.prototype.hasMembershipdetail = function() {
|
|
5856
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5857
|
+
};
|
|
5858
|
+
|
|
5859
|
+
|
|
5860
|
+
|
|
5435
5861
|
/**
|
|
5436
5862
|
* List of repeated fields within this message type.
|
|
5437
5863
|
* @private {!Array<number>}
|
|
@@ -5763,6 +6189,217 @@ proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse.prototype.setTotalpag
|
|
|
5763
6189
|
|
|
5764
6190
|
|
|
5765
6191
|
|
|
6192
|
+
/**
|
|
6193
|
+
* List of repeated fields within this message type.
|
|
6194
|
+
* @private {!Array<number>}
|
|
6195
|
+
* @const
|
|
6196
|
+
*/
|
|
6197
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.repeatedFields_ = [2];
|
|
6198
|
+
|
|
6199
|
+
|
|
6200
|
+
|
|
6201
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6202
|
+
/**
|
|
6203
|
+
* Creates an object representation of this proto.
|
|
6204
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6205
|
+
* Optional fields that are not set will be set to undefined.
|
|
6206
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6207
|
+
* For the list of reserved names please see:
|
|
6208
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6209
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6210
|
+
* JSPB instance for transitional soy proto support:
|
|
6211
|
+
* http://goto/soy-param-migration
|
|
6212
|
+
* @return {!Object}
|
|
6213
|
+
*/
|
|
6214
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6215
|
+
return proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.toObject(opt_includeInstance, this);
|
|
6216
|
+
};
|
|
6217
|
+
|
|
6218
|
+
|
|
6219
|
+
/**
|
|
6220
|
+
* Static version of the {@see toObject} method.
|
|
6221
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6222
|
+
* the JSPB instance for transitional soy proto support:
|
|
6223
|
+
* http://goto/soy-param-migration
|
|
6224
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse} msg The msg instance to transform.
|
|
6225
|
+
* @return {!Object}
|
|
6226
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6227
|
+
*/
|
|
6228
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.toObject = function(includeInstance, msg) {
|
|
6229
|
+
var f, obj = {
|
|
6230
|
+
responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
6231
|
+
loyaltytransactionswithmembershipdetailsList: jspb.Message.toObjectList(msg.getLoyaltytransactionswithmembershipdetailsList(),
|
|
6232
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.toObject, includeInstance)
|
|
6233
|
+
};
|
|
6234
|
+
|
|
6235
|
+
if (includeInstance) {
|
|
6236
|
+
obj.$jspbMessageInstance = msg;
|
|
6237
|
+
}
|
|
6238
|
+
return obj;
|
|
6239
|
+
};
|
|
6240
|
+
}
|
|
6241
|
+
|
|
6242
|
+
|
|
6243
|
+
/**
|
|
6244
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6245
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6246
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse}
|
|
6247
|
+
*/
|
|
6248
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.deserializeBinary = function(bytes) {
|
|
6249
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6250
|
+
var msg = new proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse;
|
|
6251
|
+
return proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
|
6252
|
+
};
|
|
6253
|
+
|
|
6254
|
+
|
|
6255
|
+
/**
|
|
6256
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6257
|
+
* given reader into the given message object.
|
|
6258
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse} msg The message object to deserialize into.
|
|
6259
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6260
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse}
|
|
6261
|
+
*/
|
|
6262
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6263
|
+
while (reader.nextField()) {
|
|
6264
|
+
if (reader.isEndGroup()) {
|
|
6265
|
+
break;
|
|
6266
|
+
}
|
|
6267
|
+
var field = reader.getFieldNumber();
|
|
6268
|
+
switch (field) {
|
|
6269
|
+
case 1:
|
|
6270
|
+
var value = new proto.loyaltyprogramserviceapi.ResponseCode;
|
|
6271
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
6272
|
+
msg.setResponsecode(value);
|
|
6273
|
+
break;
|
|
6274
|
+
case 2:
|
|
6275
|
+
var value = new proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail;
|
|
6276
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.deserializeBinaryFromReader);
|
|
6277
|
+
msg.addLoyaltytransactionswithmembershipdetails(value);
|
|
6278
|
+
break;
|
|
6279
|
+
default:
|
|
6280
|
+
reader.skipField();
|
|
6281
|
+
break;
|
|
6282
|
+
}
|
|
6283
|
+
}
|
|
6284
|
+
return msg;
|
|
6285
|
+
};
|
|
6286
|
+
|
|
6287
|
+
|
|
6288
|
+
/**
|
|
6289
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6290
|
+
* @return {!Uint8Array}
|
|
6291
|
+
*/
|
|
6292
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.serializeBinary = function() {
|
|
6293
|
+
var writer = new jspb.BinaryWriter();
|
|
6294
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.serializeBinaryToWriter(this, writer);
|
|
6295
|
+
return writer.getResultBuffer();
|
|
6296
|
+
};
|
|
6297
|
+
|
|
6298
|
+
|
|
6299
|
+
/**
|
|
6300
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6301
|
+
* format), writing to the given BinaryWriter.
|
|
6302
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse} message
|
|
6303
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6304
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6305
|
+
*/
|
|
6306
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6307
|
+
var f = undefined;
|
|
6308
|
+
f = message.getResponsecode();
|
|
6309
|
+
if (f != null) {
|
|
6310
|
+
writer.writeMessage(
|
|
6311
|
+
1,
|
|
6312
|
+
f,
|
|
6313
|
+
proto.loyaltyprogramserviceapi.ResponseCode.serializeBinaryToWriter
|
|
6314
|
+
);
|
|
6315
|
+
}
|
|
6316
|
+
f = message.getLoyaltytransactionswithmembershipdetailsList();
|
|
6317
|
+
if (f.length > 0) {
|
|
6318
|
+
writer.writeRepeatedMessage(
|
|
6319
|
+
2,
|
|
6320
|
+
f,
|
|
6321
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail.serializeBinaryToWriter
|
|
6322
|
+
);
|
|
6323
|
+
}
|
|
6324
|
+
};
|
|
6325
|
+
|
|
6326
|
+
|
|
6327
|
+
/**
|
|
6328
|
+
* optional ResponseCode responseCode = 1;
|
|
6329
|
+
* @return {?proto.loyaltyprogramserviceapi.ResponseCode}
|
|
6330
|
+
*/
|
|
6331
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.getResponsecode = function() {
|
|
6332
|
+
return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
|
|
6333
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
|
|
6334
|
+
};
|
|
6335
|
+
|
|
6336
|
+
|
|
6337
|
+
/**
|
|
6338
|
+
* @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
|
|
6339
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse} returns this
|
|
6340
|
+
*/
|
|
6341
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.setResponsecode = function(value) {
|
|
6342
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
6343
|
+
};
|
|
6344
|
+
|
|
6345
|
+
|
|
6346
|
+
/**
|
|
6347
|
+
* Clears the message field making it undefined.
|
|
6348
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse} returns this
|
|
6349
|
+
*/
|
|
6350
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.clearResponsecode = function() {
|
|
6351
|
+
return this.setResponsecode(undefined);
|
|
6352
|
+
};
|
|
6353
|
+
|
|
6354
|
+
|
|
6355
|
+
/**
|
|
6356
|
+
* Returns whether this field is set.
|
|
6357
|
+
* @return {boolean}
|
|
6358
|
+
*/
|
|
6359
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.hasResponsecode = function() {
|
|
6360
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6361
|
+
};
|
|
6362
|
+
|
|
6363
|
+
|
|
6364
|
+
/**
|
|
6365
|
+
* repeated LoyaltyTransactionWithMembershipDetail loyaltyTransactionsWithMembershipDetails = 2;
|
|
6366
|
+
* @return {!Array<!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail>}
|
|
6367
|
+
*/
|
|
6368
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.getLoyaltytransactionswithmembershipdetailsList = function() {
|
|
6369
|
+
return /** @type{!Array<!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail>} */ (
|
|
6370
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail, 2));
|
|
6371
|
+
};
|
|
6372
|
+
|
|
6373
|
+
|
|
6374
|
+
/**
|
|
6375
|
+
* @param {!Array<!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail>} value
|
|
6376
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse} returns this
|
|
6377
|
+
*/
|
|
6378
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.setLoyaltytransactionswithmembershipdetailsList = function(value) {
|
|
6379
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
6380
|
+
};
|
|
6381
|
+
|
|
6382
|
+
|
|
6383
|
+
/**
|
|
6384
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail=} opt_value
|
|
6385
|
+
* @param {number=} opt_index
|
|
6386
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail}
|
|
6387
|
+
*/
|
|
6388
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.addLoyaltytransactionswithmembershipdetails = function(opt_value, opt_index) {
|
|
6389
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail, opt_index);
|
|
6390
|
+
};
|
|
6391
|
+
|
|
6392
|
+
|
|
6393
|
+
/**
|
|
6394
|
+
* Clears the list making it empty but non-null.
|
|
6395
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse} returns this
|
|
6396
|
+
*/
|
|
6397
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.prototype.clearLoyaltytransactionswithmembershipdetailsList = function() {
|
|
6398
|
+
return this.setLoyaltytransactionswithmembershipdetailsList([]);
|
|
6399
|
+
};
|
|
6400
|
+
|
|
6401
|
+
|
|
6402
|
+
|
|
5766
6403
|
|
|
5767
6404
|
|
|
5768
6405
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|