@sniipwebmaster/loyalty-program-client-grpcweb 25.8.2200 → 25.8.2220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_grpc_web_pb.js +13 -74
- package/dependancies/service_pb.js +199 -716
- package/package.json +1 -1
|
@@ -630,16 +630,16 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
|
|
|
630
630
|
/**
|
|
631
631
|
* @const
|
|
632
632
|
* @type {!grpc.web.MethodDescriptor<
|
|
633
|
-
* !proto.loyaltyprogramserviceapi.
|
|
633
|
+
* !proto.loyaltyprogramserviceapi.CalculatePointsRequest,
|
|
634
634
|
* !proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse>}
|
|
635
635
|
*/
|
|
636
|
-
const
|
|
637
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/
|
|
636
|
+
const methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTiersDetailInternal = new grpc.web.MethodDescriptor(
|
|
637
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTiersDetailInternal',
|
|
638
638
|
grpc.web.MethodType.UNARY,
|
|
639
|
-
proto.loyaltyprogramserviceapi.
|
|
639
|
+
proto.loyaltyprogramserviceapi.CalculatePointsRequest,
|
|
640
640
|
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse,
|
|
641
641
|
/**
|
|
642
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
642
|
+
* @param {!proto.loyaltyprogramserviceapi.CalculatePointsRequest} request
|
|
643
643
|
* @return {!Uint8Array}
|
|
644
644
|
*/
|
|
645
645
|
function(request) {
|
|
@@ -650,7 +650,7 @@ const methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTiersDetail = n
|
|
|
650
650
|
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
653
|
+
* @param {!proto.loyaltyprogramserviceapi.CalculatePointsRequest} request The
|
|
654
654
|
* request proto
|
|
655
655
|
* @param {?Object<string, string>} metadata User defined
|
|
656
656
|
* call metadata
|
|
@@ -659,32 +659,32 @@ const methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTiersDetail = n
|
|
|
659
659
|
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse>|undefined}
|
|
660
660
|
* The XHR Node Readable Stream
|
|
661
661
|
*/
|
|
662
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.
|
|
662
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getLoyaltyTiersDetailInternal =
|
|
663
663
|
function(request, metadata, callback) {
|
|
664
664
|
return this.client_.rpcCall(this.hostname_ +
|
|
665
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/
|
|
665
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTiersDetailInternal',
|
|
666
666
|
request,
|
|
667
667
|
metadata || {},
|
|
668
|
-
|
|
668
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTiersDetailInternal,
|
|
669
669
|
callback);
|
|
670
670
|
};
|
|
671
671
|
|
|
672
672
|
|
|
673
673
|
/**
|
|
674
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
674
|
+
* @param {!proto.loyaltyprogramserviceapi.CalculatePointsRequest} request The
|
|
675
675
|
* request proto
|
|
676
676
|
* @param {?Object<string, string>=} metadata User defined
|
|
677
677
|
* call metadata
|
|
678
678
|
* @return {!Promise<!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse>}
|
|
679
679
|
* Promise that resolves to the response
|
|
680
680
|
*/
|
|
681
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.
|
|
681
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getLoyaltyTiersDetailInternal =
|
|
682
682
|
function(request, metadata) {
|
|
683
683
|
return this.client_.unaryCall(this.hostname_ +
|
|
684
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/
|
|
684
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTiersDetailInternal',
|
|
685
685
|
request,
|
|
686
686
|
metadata || {},
|
|
687
|
-
|
|
687
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTiersDetailInternal);
|
|
688
688
|
};
|
|
689
689
|
|
|
690
690
|
|
|
@@ -1054,67 +1054,6 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
|
|
|
1054
1054
|
};
|
|
1055
1055
|
|
|
1056
1056
|
|
|
1057
|
-
/**
|
|
1058
|
-
* @const
|
|
1059
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1060
|
-
* !proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest,
|
|
1061
|
-
* !proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse>}
|
|
1062
|
-
*/
|
|
1063
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTiersDetails = new grpc.web.MethodDescriptor(
|
|
1064
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTiersDetails',
|
|
1065
|
-
grpc.web.MethodType.UNARY,
|
|
1066
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest,
|
|
1067
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse,
|
|
1068
|
-
/**
|
|
1069
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest} request
|
|
1070
|
-
* @return {!Uint8Array}
|
|
1071
|
-
*/
|
|
1072
|
-
function(request) {
|
|
1073
|
-
return request.serializeBinary();
|
|
1074
|
-
},
|
|
1075
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.deserializeBinary
|
|
1076
|
-
);
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
/**
|
|
1080
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest} request The
|
|
1081
|
-
* request proto
|
|
1082
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1083
|
-
* call metadata
|
|
1084
|
-
* @param {function(?grpc.web.RpcError, ?proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse)}
|
|
1085
|
-
* callback The callback function(error, response)
|
|
1086
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse>|undefined}
|
|
1087
|
-
* The XHR Node Readable Stream
|
|
1088
|
-
*/
|
|
1089
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getLoyaltyTiersDetails =
|
|
1090
|
-
function(request, metadata, callback) {
|
|
1091
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1092
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTiersDetails',
|
|
1093
|
-
request,
|
|
1094
|
-
metadata || {},
|
|
1095
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTiersDetails,
|
|
1096
|
-
callback);
|
|
1097
|
-
};
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest} request The
|
|
1102
|
-
* request proto
|
|
1103
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
1104
|
-
* call metadata
|
|
1105
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse>}
|
|
1106
|
-
* Promise that resolves to the response
|
|
1107
|
-
*/
|
|
1108
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getLoyaltyTiersDetails =
|
|
1109
|
-
function(request, metadata) {
|
|
1110
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1111
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTiersDetails',
|
|
1112
|
-
request,
|
|
1113
|
-
metadata || {},
|
|
1114
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTiersDetails);
|
|
1115
|
-
};
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
1057
|
/**
|
|
1119
1058
|
* @const
|
|
1120
1059
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -30,10 +30,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionReques
|
|
|
30
30
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest', null, global);
|
|
31
31
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType', null, global);
|
|
32
32
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetActiveUserMembershipRequest', null, global);
|
|
33
|
-
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest', null, global);
|
|
34
33
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse', null, global);
|
|
35
|
-
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest', null, global);
|
|
36
|
-
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse', null, global);
|
|
37
34
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest', null, global);
|
|
38
35
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetMembershipByIdRequest', null, global);
|
|
39
36
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetProgramForMembershipInternalRequest', null, global);
|
|
@@ -297,27 +294,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
297
294
|
*/
|
|
298
295
|
proto.loyaltyprogramserviceapi.GetMembershipByIdRequest.displayName = 'proto.loyaltyprogramserviceapi.GetMembershipByIdRequest';
|
|
299
296
|
}
|
|
300
|
-
/**
|
|
301
|
-
* Generated by JsPbCodeGenerator.
|
|
302
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
303
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
304
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
305
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
306
|
-
* valid.
|
|
307
|
-
* @extends {jspb.Message}
|
|
308
|
-
* @constructor
|
|
309
|
-
*/
|
|
310
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest = function(opt_data) {
|
|
311
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
312
|
-
};
|
|
313
|
-
goog.inherits(proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest, jspb.Message);
|
|
314
|
-
if (goog.DEBUG && !COMPILED) {
|
|
315
|
-
/**
|
|
316
|
-
* @public
|
|
317
|
-
* @override
|
|
318
|
-
*/
|
|
319
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.displayName = 'proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest';
|
|
320
|
-
}
|
|
321
297
|
/**
|
|
322
298
|
* Generated by JsPbCodeGenerator.
|
|
323
299
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -612,48 +588,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
612
588
|
*/
|
|
613
589
|
proto.loyaltyprogramserviceapi.MembershipDetailsResponse.displayName = 'proto.loyaltyprogramserviceapi.MembershipDetailsResponse';
|
|
614
590
|
}
|
|
615
|
-
/**
|
|
616
|
-
* Generated by JsPbCodeGenerator.
|
|
617
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
618
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
619
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
620
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
621
|
-
* valid.
|
|
622
|
-
* @extends {jspb.Message}
|
|
623
|
-
* @constructor
|
|
624
|
-
*/
|
|
625
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest = function(opt_data) {
|
|
626
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
627
|
-
};
|
|
628
|
-
goog.inherits(proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest, jspb.Message);
|
|
629
|
-
if (goog.DEBUG && !COMPILED) {
|
|
630
|
-
/**
|
|
631
|
-
* @public
|
|
632
|
-
* @override
|
|
633
|
-
*/
|
|
634
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.displayName = 'proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest';
|
|
635
|
-
}
|
|
636
|
-
/**
|
|
637
|
-
* Generated by JsPbCodeGenerator.
|
|
638
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
639
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
640
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
641
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
642
|
-
* valid.
|
|
643
|
-
* @extends {jspb.Message}
|
|
644
|
-
* @constructor
|
|
645
|
-
*/
|
|
646
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse = function(opt_data) {
|
|
647
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
648
|
-
};
|
|
649
|
-
goog.inherits(proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse, jspb.Message);
|
|
650
|
-
if (goog.DEBUG && !COMPILED) {
|
|
651
|
-
/**
|
|
652
|
-
* @public
|
|
653
|
-
* @override
|
|
654
|
-
*/
|
|
655
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.displayName = 'proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse';
|
|
656
|
-
}
|
|
657
591
|
/**
|
|
658
592
|
* Generated by JsPbCodeGenerator.
|
|
659
593
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3576,6 +3510,13 @@ proto.loyaltyprogramserviceapi.GetMembershipByIdRequest.prototype.setMembershipi
|
|
|
3576
3510
|
|
|
3577
3511
|
|
|
3578
3512
|
|
|
3513
|
+
/**
|
|
3514
|
+
* List of repeated fields within this message type.
|
|
3515
|
+
* @private {!Array<number>}
|
|
3516
|
+
* @const
|
|
3517
|
+
*/
|
|
3518
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.repeatedFields_ = [7];
|
|
3519
|
+
|
|
3579
3520
|
|
|
3580
3521
|
|
|
3581
3522
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3591,8 +3532,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3591
3532
|
* http://goto/soy-param-migration
|
|
3592
3533
|
* @return {!Object}
|
|
3593
3534
|
*/
|
|
3594
|
-
proto.loyaltyprogramserviceapi.
|
|
3595
|
-
return proto.loyaltyprogramserviceapi.
|
|
3535
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3536
|
+
return proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.toObject(opt_includeInstance, this);
|
|
3596
3537
|
};
|
|
3597
3538
|
|
|
3598
3539
|
|
|
@@ -3601,16 +3542,20 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.prototype.toObject =
|
|
|
3601
3542
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3602
3543
|
* the JSPB instance for transitional soy proto support:
|
|
3603
3544
|
* http://goto/soy-param-migration
|
|
3604
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
3545
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} msg The msg instance to transform.
|
|
3605
3546
|
* @return {!Object}
|
|
3606
3547
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3607
3548
|
*/
|
|
3608
|
-
proto.loyaltyprogramserviceapi.
|
|
3549
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.toObject = function(includeInstance, msg) {
|
|
3609
3550
|
var f, obj = {
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3551
|
+
responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
3552
|
+
membershipid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3553
|
+
membershipnumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3554
|
+
loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3555
|
+
loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3556
|
+
loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3557
|
+
loyaltytierdetailsList: jspb.Message.toObjectList(msg.getLoyaltytierdetailsList(),
|
|
3558
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.toObject, includeInstance)
|
|
3614
3559
|
};
|
|
3615
3560
|
|
|
3616
3561
|
if (includeInstance) {
|
|
@@ -3624,23 +3569,23 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.toObject = function(
|
|
|
3624
3569
|
/**
|
|
3625
3570
|
* Deserializes binary data (in protobuf wire format).
|
|
3626
3571
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3627
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3572
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse}
|
|
3628
3573
|
*/
|
|
3629
|
-
proto.loyaltyprogramserviceapi.
|
|
3574
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.deserializeBinary = function(bytes) {
|
|
3630
3575
|
var reader = new jspb.BinaryReader(bytes);
|
|
3631
|
-
var msg = new proto.loyaltyprogramserviceapi.
|
|
3632
|
-
return proto.loyaltyprogramserviceapi.
|
|
3576
|
+
var msg = new proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse;
|
|
3577
|
+
return proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.deserializeBinaryFromReader(msg, reader);
|
|
3633
3578
|
};
|
|
3634
3579
|
|
|
3635
3580
|
|
|
3636
3581
|
/**
|
|
3637
3582
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3638
3583
|
* given reader into the given message object.
|
|
3639
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
3584
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} msg The message object to deserialize into.
|
|
3640
3585
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3641
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3586
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse}
|
|
3642
3587
|
*/
|
|
3643
|
-
proto.loyaltyprogramserviceapi.
|
|
3588
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3644
3589
|
while (reader.nextField()) {
|
|
3645
3590
|
if (reader.isEndGroup()) {
|
|
3646
3591
|
break;
|
|
@@ -3648,20 +3593,34 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.deserializeBinaryFro
|
|
|
3648
3593
|
var field = reader.getFieldNumber();
|
|
3649
3594
|
switch (field) {
|
|
3650
3595
|
case 1:
|
|
3651
|
-
var value =
|
|
3652
|
-
|
|
3596
|
+
var value = new proto.loyaltyprogramserviceapi.ResponseCode;
|
|
3597
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
3598
|
+
msg.setResponsecode(value);
|
|
3653
3599
|
break;
|
|
3654
3600
|
case 2:
|
|
3655
3601
|
var value = /** @type {number} */ (reader.readInt64());
|
|
3656
|
-
msg.
|
|
3602
|
+
msg.setMembershipid(value);
|
|
3657
3603
|
break;
|
|
3658
3604
|
case 3:
|
|
3659
|
-
var value = /** @type {
|
|
3660
|
-
msg.
|
|
3605
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3606
|
+
msg.setMembershipnumber(value);
|
|
3661
3607
|
break;
|
|
3662
3608
|
case 4:
|
|
3663
|
-
var value = /** @type {
|
|
3664
|
-
msg.
|
|
3609
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3610
|
+
msg.setLoyaltyprogramname(value);
|
|
3611
|
+
break;
|
|
3612
|
+
case 5:
|
|
3613
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3614
|
+
msg.setLoyaltypointslabel(value);
|
|
3615
|
+
break;
|
|
3616
|
+
case 6:
|
|
3617
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3618
|
+
msg.setLoyaltyprogramcode(value);
|
|
3619
|
+
break;
|
|
3620
|
+
case 7:
|
|
3621
|
+
var value = new proto.loyaltyprogramserviceapi.LoyaltyTierDetail;
|
|
3622
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.LoyaltyTierDetail.deserializeBinaryFromReader);
|
|
3623
|
+
msg.addLoyaltytierdetails(value);
|
|
3665
3624
|
break;
|
|
3666
3625
|
default:
|
|
3667
3626
|
reader.skipField();
|
|
@@ -3676,9 +3635,9 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.deserializeBinaryFro
|
|
|
3676
3635
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3677
3636
|
* @return {!Uint8Array}
|
|
3678
3637
|
*/
|
|
3679
|
-
proto.loyaltyprogramserviceapi.
|
|
3638
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.serializeBinary = function() {
|
|
3680
3639
|
var writer = new jspb.BinaryWriter();
|
|
3681
|
-
proto.loyaltyprogramserviceapi.
|
|
3640
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.serializeBinaryToWriter(this, writer);
|
|
3682
3641
|
return writer.getResultBuffer();
|
|
3683
3642
|
};
|
|
3684
3643
|
|
|
@@ -3686,295 +3645,200 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.prototype.serializeB
|
|
|
3686
3645
|
/**
|
|
3687
3646
|
* Serializes the given message to binary data (in protobuf wire
|
|
3688
3647
|
* format), writing to the given BinaryWriter.
|
|
3689
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
3648
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} message
|
|
3690
3649
|
* @param {!jspb.BinaryWriter} writer
|
|
3691
3650
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3692
3651
|
*/
|
|
3693
|
-
proto.loyaltyprogramserviceapi.
|
|
3652
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3694
3653
|
var f = undefined;
|
|
3695
|
-
f = message.
|
|
3696
|
-
if (f
|
|
3697
|
-
writer.
|
|
3654
|
+
f = message.getResponsecode();
|
|
3655
|
+
if (f != null) {
|
|
3656
|
+
writer.writeMessage(
|
|
3698
3657
|
1,
|
|
3699
|
-
f
|
|
3658
|
+
f,
|
|
3659
|
+
proto.loyaltyprogramserviceapi.ResponseCode.serializeBinaryToWriter
|
|
3700
3660
|
);
|
|
3701
3661
|
}
|
|
3702
|
-
f = message.
|
|
3662
|
+
f = message.getMembershipid();
|
|
3703
3663
|
if (f !== 0) {
|
|
3704
3664
|
writer.writeInt64(
|
|
3705
3665
|
2,
|
|
3706
3666
|
f
|
|
3707
3667
|
);
|
|
3708
3668
|
}
|
|
3709
|
-
f = message.
|
|
3710
|
-
if (f
|
|
3711
|
-
writer.
|
|
3669
|
+
f = message.getMembershipnumber();
|
|
3670
|
+
if (f.length > 0) {
|
|
3671
|
+
writer.writeString(
|
|
3712
3672
|
3,
|
|
3713
3673
|
f
|
|
3714
3674
|
);
|
|
3715
3675
|
}
|
|
3716
|
-
f = message.
|
|
3717
|
-
if (f
|
|
3718
|
-
writer.
|
|
3676
|
+
f = message.getLoyaltyprogramname();
|
|
3677
|
+
if (f.length > 0) {
|
|
3678
|
+
writer.writeString(
|
|
3719
3679
|
4,
|
|
3720
3680
|
f
|
|
3721
3681
|
);
|
|
3722
3682
|
}
|
|
3683
|
+
f = message.getLoyaltypointslabel();
|
|
3684
|
+
if (f.length > 0) {
|
|
3685
|
+
writer.writeString(
|
|
3686
|
+
5,
|
|
3687
|
+
f
|
|
3688
|
+
);
|
|
3689
|
+
}
|
|
3690
|
+
f = message.getLoyaltyprogramcode();
|
|
3691
|
+
if (f.length > 0) {
|
|
3692
|
+
writer.writeString(
|
|
3693
|
+
6,
|
|
3694
|
+
f
|
|
3695
|
+
);
|
|
3696
|
+
}
|
|
3697
|
+
f = message.getLoyaltytierdetailsList();
|
|
3698
|
+
if (f.length > 0) {
|
|
3699
|
+
writer.writeRepeatedMessage(
|
|
3700
|
+
7,
|
|
3701
|
+
f,
|
|
3702
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.serializeBinaryToWriter
|
|
3703
|
+
);
|
|
3704
|
+
}
|
|
3723
3705
|
};
|
|
3724
3706
|
|
|
3725
3707
|
|
|
3726
3708
|
/**
|
|
3727
|
-
* optional
|
|
3728
|
-
* @return {
|
|
3729
|
-
*/
|
|
3730
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.prototype.getMembershipid = function() {
|
|
3731
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3732
|
-
};
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
/**
|
|
3736
|
-
* @param {number} value
|
|
3737
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest} returns this
|
|
3738
|
-
*/
|
|
3739
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.prototype.setMembershipid = function(value) {
|
|
3740
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3741
|
-
};
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
/**
|
|
3745
|
-
* optional int64 billId = 2;
|
|
3746
|
-
* @return {number}
|
|
3709
|
+
* optional ResponseCode responseCode = 1;
|
|
3710
|
+
* @return {?proto.loyaltyprogramserviceapi.ResponseCode}
|
|
3747
3711
|
*/
|
|
3748
|
-
proto.loyaltyprogramserviceapi.
|
|
3749
|
-
return /** @type
|
|
3712
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getResponsecode = function() {
|
|
3713
|
+
return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
|
|
3714
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
|
|
3750
3715
|
};
|
|
3751
3716
|
|
|
3752
3717
|
|
|
3753
3718
|
/**
|
|
3754
|
-
* @param {
|
|
3755
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3756
|
-
|
|
3757
|
-
proto.loyaltyprogramserviceapi.
|
|
3758
|
-
return jspb.Message.
|
|
3719
|
+
* @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
|
|
3720
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3721
|
+
*/
|
|
3722
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setResponsecode = function(value) {
|
|
3723
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3759
3724
|
};
|
|
3760
3725
|
|
|
3761
3726
|
|
|
3762
3727
|
/**
|
|
3763
|
-
*
|
|
3764
|
-
* @return {
|
|
3728
|
+
* Clears the message field making it undefined.
|
|
3729
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3765
3730
|
*/
|
|
3766
|
-
proto.loyaltyprogramserviceapi.
|
|
3767
|
-
return
|
|
3731
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.clearResponsecode = function() {
|
|
3732
|
+
return this.setResponsecode(undefined);
|
|
3768
3733
|
};
|
|
3769
3734
|
|
|
3770
3735
|
|
|
3771
3736
|
/**
|
|
3772
|
-
*
|
|
3773
|
-
* @return {
|
|
3737
|
+
* Returns whether this field is set.
|
|
3738
|
+
* @return {boolean}
|
|
3774
3739
|
*/
|
|
3775
|
-
proto.loyaltyprogramserviceapi.
|
|
3776
|
-
return jspb.Message.
|
|
3740
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.hasResponsecode = function() {
|
|
3741
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3777
3742
|
};
|
|
3778
3743
|
|
|
3779
3744
|
|
|
3780
3745
|
/**
|
|
3781
|
-
* optional int64
|
|
3746
|
+
* optional int64 membershipId = 2;
|
|
3782
3747
|
* @return {number}
|
|
3783
3748
|
*/
|
|
3784
|
-
proto.loyaltyprogramserviceapi.
|
|
3785
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
3749
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getMembershipid = function() {
|
|
3750
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3786
3751
|
};
|
|
3787
3752
|
|
|
3788
3753
|
|
|
3789
3754
|
/**
|
|
3790
3755
|
* @param {number} value
|
|
3791
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3756
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3792
3757
|
*/
|
|
3793
|
-
proto.loyaltyprogramserviceapi.
|
|
3794
|
-
return jspb.Message.setProto3IntField(this,
|
|
3758
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setMembershipid = function(value) {
|
|
3759
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3795
3760
|
};
|
|
3796
3761
|
|
|
3797
3762
|
|
|
3798
|
-
|
|
3799
|
-
/**
|
|
3800
|
-
* List of repeated fields within this message type.
|
|
3801
|
-
* @private {!Array<number>}
|
|
3802
|
-
* @const
|
|
3803
|
-
*/
|
|
3804
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.repeatedFields_ = [2];
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3809
3763
|
/**
|
|
3810
|
-
*
|
|
3811
|
-
*
|
|
3812
|
-
* Optional fields that are not set will be set to undefined.
|
|
3813
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3814
|
-
* For the list of reserved names please see:
|
|
3815
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3816
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3817
|
-
* JSPB instance for transitional soy proto support:
|
|
3818
|
-
* http://goto/soy-param-migration
|
|
3819
|
-
* @return {!Object}
|
|
3764
|
+
* optional string membershipNumber = 3;
|
|
3765
|
+
* @return {string}
|
|
3820
3766
|
*/
|
|
3821
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.
|
|
3822
|
-
return
|
|
3767
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getMembershipnumber = function() {
|
|
3768
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3823
3769
|
};
|
|
3824
3770
|
|
|
3825
3771
|
|
|
3826
3772
|
/**
|
|
3827
|
-
*
|
|
3828
|
-
* @
|
|
3829
|
-
* the JSPB instance for transitional soy proto support:
|
|
3830
|
-
* http://goto/soy-param-migration
|
|
3831
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} msg The msg instance to transform.
|
|
3832
|
-
* @return {!Object}
|
|
3833
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3773
|
+
* @param {string} value
|
|
3774
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3834
3775
|
*/
|
|
3835
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.
|
|
3836
|
-
|
|
3837
|
-
responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
3838
|
-
loyaltytierdetailsList: jspb.Message.toObjectList(msg.getLoyaltytierdetailsList(),
|
|
3839
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.toObject, includeInstance)
|
|
3840
|
-
};
|
|
3841
|
-
|
|
3842
|
-
if (includeInstance) {
|
|
3843
|
-
obj.$jspbMessageInstance = msg;
|
|
3844
|
-
}
|
|
3845
|
-
return obj;
|
|
3776
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setMembershipnumber = function(value) {
|
|
3777
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3846
3778
|
};
|
|
3847
|
-
}
|
|
3848
3779
|
|
|
3849
3780
|
|
|
3850
3781
|
/**
|
|
3851
|
-
*
|
|
3852
|
-
* @
|
|
3853
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse}
|
|
3782
|
+
* optional string loyaltyProgramName = 4;
|
|
3783
|
+
* @return {string}
|
|
3854
3784
|
*/
|
|
3855
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.
|
|
3856
|
-
|
|
3857
|
-
var msg = new proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse;
|
|
3858
|
-
return proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.deserializeBinaryFromReader(msg, reader);
|
|
3785
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getLoyaltyprogramname = function() {
|
|
3786
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3859
3787
|
};
|
|
3860
3788
|
|
|
3861
3789
|
|
|
3862
3790
|
/**
|
|
3863
|
-
*
|
|
3864
|
-
*
|
|
3865
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} msg The message object to deserialize into.
|
|
3866
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3867
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse}
|
|
3791
|
+
* @param {string} value
|
|
3792
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3868
3793
|
*/
|
|
3869
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.
|
|
3870
|
-
|
|
3871
|
-
if (reader.isEndGroup()) {
|
|
3872
|
-
break;
|
|
3873
|
-
}
|
|
3874
|
-
var field = reader.getFieldNumber();
|
|
3875
|
-
switch (field) {
|
|
3876
|
-
case 1:
|
|
3877
|
-
var value = new proto.loyaltyprogramserviceapi.ResponseCode;
|
|
3878
|
-
reader.readMessage(value,proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
3879
|
-
msg.setResponsecode(value);
|
|
3880
|
-
break;
|
|
3881
|
-
case 2:
|
|
3882
|
-
var value = new proto.loyaltyprogramserviceapi.LoyaltyTierDetail;
|
|
3883
|
-
reader.readMessage(value,proto.loyaltyprogramserviceapi.LoyaltyTierDetail.deserializeBinaryFromReader);
|
|
3884
|
-
msg.addLoyaltytierdetails(value);
|
|
3885
|
-
break;
|
|
3886
|
-
default:
|
|
3887
|
-
reader.skipField();
|
|
3888
|
-
break;
|
|
3889
|
-
}
|
|
3890
|
-
}
|
|
3891
|
-
return msg;
|
|
3794
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setLoyaltyprogramname = function(value) {
|
|
3795
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3892
3796
|
};
|
|
3893
3797
|
|
|
3894
3798
|
|
|
3895
3799
|
/**
|
|
3896
|
-
*
|
|
3897
|
-
* @return {
|
|
3800
|
+
* optional string loyaltyPointsLabel = 5;
|
|
3801
|
+
* @return {string}
|
|
3898
3802
|
*/
|
|
3899
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.
|
|
3900
|
-
|
|
3901
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.serializeBinaryToWriter(this, writer);
|
|
3902
|
-
return writer.getResultBuffer();
|
|
3803
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getLoyaltypointslabel = function() {
|
|
3804
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3903
3805
|
};
|
|
3904
3806
|
|
|
3905
3807
|
|
|
3906
3808
|
/**
|
|
3907
|
-
*
|
|
3908
|
-
*
|
|
3909
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} message
|
|
3910
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3911
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3809
|
+
* @param {string} value
|
|
3810
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3912
3811
|
*/
|
|
3913
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.
|
|
3914
|
-
|
|
3915
|
-
f = message.getResponsecode();
|
|
3916
|
-
if (f != null) {
|
|
3917
|
-
writer.writeMessage(
|
|
3918
|
-
1,
|
|
3919
|
-
f,
|
|
3920
|
-
proto.loyaltyprogramserviceapi.ResponseCode.serializeBinaryToWriter
|
|
3921
|
-
);
|
|
3922
|
-
}
|
|
3923
|
-
f = message.getLoyaltytierdetailsList();
|
|
3924
|
-
if (f.length > 0) {
|
|
3925
|
-
writer.writeRepeatedMessage(
|
|
3926
|
-
2,
|
|
3927
|
-
f,
|
|
3928
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.serializeBinaryToWriter
|
|
3929
|
-
);
|
|
3930
|
-
}
|
|
3812
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setLoyaltypointslabel = function(value) {
|
|
3813
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3931
3814
|
};
|
|
3932
3815
|
|
|
3933
3816
|
|
|
3934
3817
|
/**
|
|
3935
|
-
* optional
|
|
3936
|
-
* @return {
|
|
3818
|
+
* optional string loyaltyProgramCode = 6;
|
|
3819
|
+
* @return {string}
|
|
3937
3820
|
*/
|
|
3938
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.
|
|
3939
|
-
return /** @type{
|
|
3940
|
-
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
|
|
3941
|
-
};
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
/**
|
|
3945
|
-
* @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
|
|
3946
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3947
|
-
*/
|
|
3948
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setResponsecode = function(value) {
|
|
3949
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
3821
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getLoyaltyprogramcode = function() {
|
|
3822
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3950
3823
|
};
|
|
3951
3824
|
|
|
3952
3825
|
|
|
3953
3826
|
/**
|
|
3954
|
-
*
|
|
3827
|
+
* @param {string} value
|
|
3955
3828
|
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3956
3829
|
*/
|
|
3957
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.
|
|
3958
|
-
return
|
|
3959
|
-
};
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
/**
|
|
3963
|
-
* Returns whether this field is set.
|
|
3964
|
-
* @return {boolean}
|
|
3965
|
-
*/
|
|
3966
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.hasResponsecode = function() {
|
|
3967
|
-
return jspb.Message.getField(this, 1) != null;
|
|
3830
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setLoyaltyprogramcode = function(value) {
|
|
3831
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3968
3832
|
};
|
|
3969
3833
|
|
|
3970
3834
|
|
|
3971
3835
|
/**
|
|
3972
|
-
* repeated LoyaltyTierDetail loyaltyTierDetails =
|
|
3836
|
+
* repeated LoyaltyTierDetail loyaltyTierDetails = 7;
|
|
3973
3837
|
* @return {!Array<!proto.loyaltyprogramserviceapi.LoyaltyTierDetail>}
|
|
3974
3838
|
*/
|
|
3975
3839
|
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getLoyaltytierdetailsList = function() {
|
|
3976
3840
|
return /** @type{!Array<!proto.loyaltyprogramserviceapi.LoyaltyTierDetail>} */ (
|
|
3977
|
-
jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyTierDetail,
|
|
3841
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyTierDetail, 7));
|
|
3978
3842
|
};
|
|
3979
3843
|
|
|
3980
3844
|
|
|
@@ -3983,7 +3847,7 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getLoyalt
|
|
|
3983
3847
|
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3984
3848
|
*/
|
|
3985
3849
|
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setLoyaltytierdetailsList = function(value) {
|
|
3986
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
3850
|
+
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
3987
3851
|
};
|
|
3988
3852
|
|
|
3989
3853
|
|
|
@@ -3993,7 +3857,7 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setLoyalt
|
|
|
3993
3857
|
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail}
|
|
3994
3858
|
*/
|
|
3995
3859
|
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.addLoyaltytierdetails = function(opt_value, opt_index) {
|
|
3996
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
3860
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.loyaltyprogramserviceapi.LoyaltyTierDetail, opt_index);
|
|
3997
3861
|
};
|
|
3998
3862
|
|
|
3999
3863
|
|
|
@@ -4039,12 +3903,7 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.toObject = function(o
|
|
|
4039
3903
|
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.toObject = function(includeInstance, msg) {
|
|
4040
3904
|
var f, obj = {
|
|
4041
3905
|
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4042
|
-
|
|
4043
|
-
totalsurchargerate: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
4044
|
-
totalsurchargedollaramount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
4045
|
-
surchargeincreaserate: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
4046
|
-
surchargeincreasedollaramount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
4047
|
-
totalpointsamount: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
3906
|
+
points: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
4048
3907
|
};
|
|
4049
3908
|
|
|
4050
3909
|
if (includeInstance) {
|
|
@@ -4078,214 +3937,69 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.deserializeBinaryFromReader = f
|
|
|
4078
3937
|
while (reader.nextField()) {
|
|
4079
3938
|
if (reader.isEndGroup()) {
|
|
4080
3939
|
break;
|
|
4081
|
-
}
|
|
4082
|
-
var field = reader.getFieldNumber();
|
|
4083
|
-
switch (field) {
|
|
4084
|
-
case 1:
|
|
4085
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4086
|
-
msg.setLoyaltyoptionid(value);
|
|
4087
|
-
break;
|
|
4088
|
-
case 2:
|
|
4089
|
-
var value = /** @type {
|
|
4090
|
-
msg.
|
|
4091
|
-
break;
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
msg.setTotalsurchargedollaramount(value);
|
|
4099
|
-
break;
|
|
4100
|
-
case 5:
|
|
4101
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
4102
|
-
msg.setSurchargeincreaserate(value);
|
|
4103
|
-
break;
|
|
4104
|
-
case 6:
|
|
4105
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
4106
|
-
msg.setSurchargeincreasedollaramount(value);
|
|
4107
|
-
break;
|
|
4108
|
-
case 7:
|
|
4109
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
4110
|
-
msg.setTotalpointsamount(value);
|
|
4111
|
-
break;
|
|
4112
|
-
default:
|
|
4113
|
-
reader.skipField();
|
|
4114
|
-
break;
|
|
4115
|
-
}
|
|
4116
|
-
}
|
|
4117
|
-
return msg;
|
|
4118
|
-
};
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
/**
|
|
4122
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4123
|
-
* @return {!Uint8Array}
|
|
4124
|
-
*/
|
|
4125
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.serializeBinary = function() {
|
|
4126
|
-
var writer = new jspb.BinaryWriter();
|
|
4127
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.serializeBinaryToWriter(this, writer);
|
|
4128
|
-
return writer.getResultBuffer();
|
|
4129
|
-
};
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
/**
|
|
4133
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4134
|
-
* format), writing to the given BinaryWriter.
|
|
4135
|
-
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} message
|
|
4136
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4137
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4138
|
-
*/
|
|
4139
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.serializeBinaryToWriter = function(message, writer) {
|
|
4140
|
-
var f = undefined;
|
|
4141
|
-
f = message.getLoyaltyoptionid();
|
|
4142
|
-
if (f !== 0) {
|
|
4143
|
-
writer.writeInt64(
|
|
4144
|
-
1,
|
|
4145
|
-
f
|
|
4146
|
-
);
|
|
4147
|
-
}
|
|
4148
|
-
f = message.getPointsinfo();
|
|
4149
|
-
if (f.length > 0) {
|
|
4150
|
-
writer.writeString(
|
|
4151
|
-
2,
|
|
4152
|
-
f
|
|
4153
|
-
);
|
|
4154
|
-
}
|
|
4155
|
-
f = message.getTotalsurchargerate();
|
|
4156
|
-
if (f !== 0.0) {
|
|
4157
|
-
writer.writeDouble(
|
|
4158
|
-
3,
|
|
4159
|
-
f
|
|
4160
|
-
);
|
|
4161
|
-
}
|
|
4162
|
-
f = message.getTotalsurchargedollaramount();
|
|
4163
|
-
if (f !== 0.0) {
|
|
4164
|
-
writer.writeDouble(
|
|
4165
|
-
4,
|
|
4166
|
-
f
|
|
4167
|
-
);
|
|
4168
|
-
}
|
|
4169
|
-
f = message.getSurchargeincreaserate();
|
|
4170
|
-
if (f !== 0.0) {
|
|
4171
|
-
writer.writeDouble(
|
|
4172
|
-
5,
|
|
4173
|
-
f
|
|
4174
|
-
);
|
|
4175
|
-
}
|
|
4176
|
-
f = message.getSurchargeincreasedollaramount();
|
|
4177
|
-
if (f !== 0.0) {
|
|
4178
|
-
writer.writeDouble(
|
|
4179
|
-
6,
|
|
4180
|
-
f
|
|
4181
|
-
);
|
|
4182
|
-
}
|
|
4183
|
-
f = message.getTotalpointsamount();
|
|
4184
|
-
if (f !== 0) {
|
|
4185
|
-
writer.writeInt32(
|
|
4186
|
-
7,
|
|
4187
|
-
f
|
|
4188
|
-
);
|
|
4189
|
-
}
|
|
4190
|
-
};
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
/**
|
|
4194
|
-
* optional int64 loyaltyOptionId = 1;
|
|
4195
|
-
* @return {number}
|
|
4196
|
-
*/
|
|
4197
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getLoyaltyoptionid = function() {
|
|
4198
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4199
|
-
};
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
/**
|
|
4203
|
-
* @param {number} value
|
|
4204
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4205
|
-
*/
|
|
4206
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setLoyaltyoptionid = function(value) {
|
|
4207
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4208
|
-
};
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
/**
|
|
4212
|
-
* optional string pointsInfo = 2;
|
|
4213
|
-
* @return {string}
|
|
4214
|
-
*/
|
|
4215
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getPointsinfo = function() {
|
|
4216
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4217
|
-
};
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
/**
|
|
4221
|
-
* @param {string} value
|
|
4222
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4223
|
-
*/
|
|
4224
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setPointsinfo = function(value) {
|
|
4225
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4226
|
-
};
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
/**
|
|
4230
|
-
* optional double totalSurchargeRate = 3;
|
|
4231
|
-
* @return {number}
|
|
4232
|
-
*/
|
|
4233
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getTotalsurchargerate = function() {
|
|
4234
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
4235
|
-
};
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
/**
|
|
4239
|
-
* @param {number} value
|
|
4240
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4241
|
-
*/
|
|
4242
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setTotalsurchargerate = function(value) {
|
|
4243
|
-
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
4244
|
-
};
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
/**
|
|
4248
|
-
* optional double totalSurchargeDollarAmount = 4;
|
|
4249
|
-
* @return {number}
|
|
4250
|
-
*/
|
|
4251
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getTotalsurchargedollaramount = function() {
|
|
4252
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
4253
|
-
};
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
/**
|
|
4257
|
-
* @param {number} value
|
|
4258
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4259
|
-
*/
|
|
4260
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setTotalsurchargedollaramount = function(value) {
|
|
4261
|
-
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
3940
|
+
}
|
|
3941
|
+
var field = reader.getFieldNumber();
|
|
3942
|
+
switch (field) {
|
|
3943
|
+
case 1:
|
|
3944
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3945
|
+
msg.setLoyaltyoptionid(value);
|
|
3946
|
+
break;
|
|
3947
|
+
case 2:
|
|
3948
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3949
|
+
msg.setPoints(value);
|
|
3950
|
+
break;
|
|
3951
|
+
default:
|
|
3952
|
+
reader.skipField();
|
|
3953
|
+
break;
|
|
3954
|
+
}
|
|
3955
|
+
}
|
|
3956
|
+
return msg;
|
|
4262
3957
|
};
|
|
4263
3958
|
|
|
4264
3959
|
|
|
4265
3960
|
/**
|
|
4266
|
-
*
|
|
4267
|
-
* @return {
|
|
3961
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3962
|
+
* @return {!Uint8Array}
|
|
4268
3963
|
*/
|
|
4269
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.
|
|
4270
|
-
|
|
3964
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.serializeBinary = function() {
|
|
3965
|
+
var writer = new jspb.BinaryWriter();
|
|
3966
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.serializeBinaryToWriter(this, writer);
|
|
3967
|
+
return writer.getResultBuffer();
|
|
4271
3968
|
};
|
|
4272
3969
|
|
|
4273
3970
|
|
|
4274
3971
|
/**
|
|
4275
|
-
*
|
|
4276
|
-
*
|
|
3972
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3973
|
+
* format), writing to the given BinaryWriter.
|
|
3974
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} message
|
|
3975
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3976
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4277
3977
|
*/
|
|
4278
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.
|
|
4279
|
-
|
|
3978
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.serializeBinaryToWriter = function(message, writer) {
|
|
3979
|
+
var f = undefined;
|
|
3980
|
+
f = message.getLoyaltyoptionid();
|
|
3981
|
+
if (f !== 0) {
|
|
3982
|
+
writer.writeInt64(
|
|
3983
|
+
1,
|
|
3984
|
+
f
|
|
3985
|
+
);
|
|
3986
|
+
}
|
|
3987
|
+
f = message.getPoints();
|
|
3988
|
+
if (f !== 0) {
|
|
3989
|
+
writer.writeInt32(
|
|
3990
|
+
2,
|
|
3991
|
+
f
|
|
3992
|
+
);
|
|
3993
|
+
}
|
|
4280
3994
|
};
|
|
4281
3995
|
|
|
4282
3996
|
|
|
4283
3997
|
/**
|
|
4284
|
-
* optional
|
|
3998
|
+
* optional int64 loyaltyOptionId = 1;
|
|
4285
3999
|
* @return {number}
|
|
4286
4000
|
*/
|
|
4287
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.
|
|
4288
|
-
return /** @type {number} */ (jspb.Message.
|
|
4001
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getLoyaltyoptionid = function() {
|
|
4002
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4289
4003
|
};
|
|
4290
4004
|
|
|
4291
4005
|
|
|
@@ -4293,17 +4007,17 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getSurchargeincreased
|
|
|
4293
4007
|
* @param {number} value
|
|
4294
4008
|
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4295
4009
|
*/
|
|
4296
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.
|
|
4297
|
-
return jspb.Message.
|
|
4010
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setLoyaltyoptionid = function(value) {
|
|
4011
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4298
4012
|
};
|
|
4299
4013
|
|
|
4300
4014
|
|
|
4301
4015
|
/**
|
|
4302
|
-
* optional int32
|
|
4016
|
+
* optional int32 points = 2;
|
|
4303
4017
|
* @return {number}
|
|
4304
4018
|
*/
|
|
4305
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.
|
|
4306
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
4019
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getPoints = function() {
|
|
4020
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4307
4021
|
};
|
|
4308
4022
|
|
|
4309
4023
|
|
|
@@ -4311,8 +4025,8 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getTotalpointsamount
|
|
|
4311
4025
|
* @param {number} value
|
|
4312
4026
|
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4313
4027
|
*/
|
|
4314
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.
|
|
4315
|
-
return jspb.Message.setProto3IntField(this,
|
|
4028
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setPoints = function(value) {
|
|
4029
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
4316
4030
|
};
|
|
4317
4031
|
|
|
4318
4032
|
|
|
@@ -7706,237 +7420,6 @@ proto.loyaltyprogramserviceapi.MembershipDetailsResponse.prototype.clearMembersh
|
|
|
7706
7420
|
|
|
7707
7421
|
|
|
7708
7422
|
|
|
7709
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7710
|
-
/**
|
|
7711
|
-
* Creates an object representation of this proto.
|
|
7712
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7713
|
-
* Optional fields that are not set will be set to undefined.
|
|
7714
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7715
|
-
* For the list of reserved names please see:
|
|
7716
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7717
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7718
|
-
* JSPB instance for transitional soy proto support:
|
|
7719
|
-
* http://goto/soy-param-migration
|
|
7720
|
-
* @return {!Object}
|
|
7721
|
-
*/
|
|
7722
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7723
|
-
return proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.toObject(opt_includeInstance, this);
|
|
7724
|
-
};
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
/**
|
|
7728
|
-
* Static version of the {@see toObject} method.
|
|
7729
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7730
|
-
* the JSPB instance for transitional soy proto support:
|
|
7731
|
-
* http://goto/soy-param-migration
|
|
7732
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest} msg The msg instance to transform.
|
|
7733
|
-
* @return {!Object}
|
|
7734
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7735
|
-
*/
|
|
7736
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.toObject = function(includeInstance, msg) {
|
|
7737
|
-
var f, obj = {
|
|
7738
|
-
membershipid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
7739
|
-
};
|
|
7740
|
-
|
|
7741
|
-
if (includeInstance) {
|
|
7742
|
-
obj.$jspbMessageInstance = msg;
|
|
7743
|
-
}
|
|
7744
|
-
return obj;
|
|
7745
|
-
};
|
|
7746
|
-
}
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
/**
|
|
7750
|
-
* Deserializes binary data (in protobuf wire format).
|
|
7751
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7752
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest}
|
|
7753
|
-
*/
|
|
7754
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.deserializeBinary = function(bytes) {
|
|
7755
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
7756
|
-
var msg = new proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest;
|
|
7757
|
-
return proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
7758
|
-
};
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
/**
|
|
7762
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
7763
|
-
* given reader into the given message object.
|
|
7764
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest} msg The message object to deserialize into.
|
|
7765
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7766
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest}
|
|
7767
|
-
*/
|
|
7768
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7769
|
-
while (reader.nextField()) {
|
|
7770
|
-
if (reader.isEndGroup()) {
|
|
7771
|
-
break;
|
|
7772
|
-
}
|
|
7773
|
-
var field = reader.getFieldNumber();
|
|
7774
|
-
switch (field) {
|
|
7775
|
-
case 1:
|
|
7776
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
7777
|
-
msg.setMembershipid(value);
|
|
7778
|
-
break;
|
|
7779
|
-
default:
|
|
7780
|
-
reader.skipField();
|
|
7781
|
-
break;
|
|
7782
|
-
}
|
|
7783
|
-
}
|
|
7784
|
-
return msg;
|
|
7785
|
-
};
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
/**
|
|
7789
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
7790
|
-
* @return {!Uint8Array}
|
|
7791
|
-
*/
|
|
7792
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.prototype.serializeBinary = function() {
|
|
7793
|
-
var writer = new jspb.BinaryWriter();
|
|
7794
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
7795
|
-
return writer.getResultBuffer();
|
|
7796
|
-
};
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
/**
|
|
7800
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
7801
|
-
* format), writing to the given BinaryWriter.
|
|
7802
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest} message
|
|
7803
|
-
* @param {!jspb.BinaryWriter} writer
|
|
7804
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7805
|
-
*/
|
|
7806
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7807
|
-
var f = undefined;
|
|
7808
|
-
f = message.getMembershipid();
|
|
7809
|
-
if (f !== 0) {
|
|
7810
|
-
writer.writeInt64(
|
|
7811
|
-
1,
|
|
7812
|
-
f
|
|
7813
|
-
);
|
|
7814
|
-
}
|
|
7815
|
-
};
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
/**
|
|
7819
|
-
* optional int64 membershipId = 1;
|
|
7820
|
-
* @return {number}
|
|
7821
|
-
*/
|
|
7822
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.prototype.getMembershipid = function() {
|
|
7823
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7824
|
-
};
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
/**
|
|
7828
|
-
* @param {number} value
|
|
7829
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest} returns this
|
|
7830
|
-
*/
|
|
7831
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest.prototype.setMembershipid = function(value) {
|
|
7832
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
7833
|
-
};
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7840
|
-
/**
|
|
7841
|
-
* Creates an object representation of this proto.
|
|
7842
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7843
|
-
* Optional fields that are not set will be set to undefined.
|
|
7844
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7845
|
-
* For the list of reserved names please see:
|
|
7846
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7847
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7848
|
-
* JSPB instance for transitional soy proto support:
|
|
7849
|
-
* http://goto/soy-param-migration
|
|
7850
|
-
* @return {!Object}
|
|
7851
|
-
*/
|
|
7852
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7853
|
-
return proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.toObject(opt_includeInstance, this);
|
|
7854
|
-
};
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
/**
|
|
7858
|
-
* Static version of the {@see toObject} method.
|
|
7859
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7860
|
-
* the JSPB instance for transitional soy proto support:
|
|
7861
|
-
* http://goto/soy-param-migration
|
|
7862
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse} msg The msg instance to transform.
|
|
7863
|
-
* @return {!Object}
|
|
7864
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7865
|
-
*/
|
|
7866
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.toObject = function(includeInstance, msg) {
|
|
7867
|
-
var f, obj = {
|
|
7868
|
-
|
|
7869
|
-
};
|
|
7870
|
-
|
|
7871
|
-
if (includeInstance) {
|
|
7872
|
-
obj.$jspbMessageInstance = msg;
|
|
7873
|
-
}
|
|
7874
|
-
return obj;
|
|
7875
|
-
};
|
|
7876
|
-
}
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
/**
|
|
7880
|
-
* Deserializes binary data (in protobuf wire format).
|
|
7881
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7882
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse}
|
|
7883
|
-
*/
|
|
7884
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.deserializeBinary = function(bytes) {
|
|
7885
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
7886
|
-
var msg = new proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse;
|
|
7887
|
-
return proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
|
7888
|
-
};
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
/**
|
|
7892
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
7893
|
-
* given reader into the given message object.
|
|
7894
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse} msg The message object to deserialize into.
|
|
7895
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7896
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse}
|
|
7897
|
-
*/
|
|
7898
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7899
|
-
while (reader.nextField()) {
|
|
7900
|
-
if (reader.isEndGroup()) {
|
|
7901
|
-
break;
|
|
7902
|
-
}
|
|
7903
|
-
var field = reader.getFieldNumber();
|
|
7904
|
-
switch (field) {
|
|
7905
|
-
default:
|
|
7906
|
-
reader.skipField();
|
|
7907
|
-
break;
|
|
7908
|
-
}
|
|
7909
|
-
}
|
|
7910
|
-
return msg;
|
|
7911
|
-
};
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
/**
|
|
7915
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
7916
|
-
* @return {!Uint8Array}
|
|
7917
|
-
*/
|
|
7918
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.prototype.serializeBinary = function() {
|
|
7919
|
-
var writer = new jspb.BinaryWriter();
|
|
7920
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.serializeBinaryToWriter(this, writer);
|
|
7921
|
-
return writer.getResultBuffer();
|
|
7922
|
-
};
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
/**
|
|
7926
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
7927
|
-
* format), writing to the given BinaryWriter.
|
|
7928
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse} message
|
|
7929
|
-
* @param {!jspb.BinaryWriter} writer
|
|
7930
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7931
|
-
*/
|
|
7932
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7933
|
-
var f = undefined;
|
|
7934
|
-
};
|
|
7935
|
-
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
7423
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7941
7424
|
/**
|
|
7942
7425
|
* Creates an object representation of this proto.
|