@sniipwebmaster/loyalty-program-client-grpcweb 25.8.2200 → 25.8.2210
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 +0 -122
- package/dependancies/service_pb.js +69 -1151
- package/package.json +1 -1
|
@@ -30,10 +30,6 @@ 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
|
-
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse', null, global);
|
|
35
|
-
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsRequest', null, global);
|
|
36
|
-
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailsResponse', null, global);
|
|
37
33
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest', null, global);
|
|
38
34
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetMembershipByIdRequest', null, global);
|
|
39
35
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetProgramForMembershipInternalRequest', null, global);
|
|
@@ -45,7 +41,6 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.LightMembershipDetail', null,
|
|
|
45
41
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LightMembershipDetailResponse', null, global);
|
|
46
42
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LinkMembershipRequest', null, global);
|
|
47
43
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyProgramOption', null, global);
|
|
48
|
-
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTierDetail', null, global);
|
|
49
44
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTransaction', null, global);
|
|
50
45
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse', null, global);
|
|
51
46
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetail', null, global);
|
|
@@ -297,69 +292,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
297
292
|
*/
|
|
298
293
|
proto.loyaltyprogramserviceapi.GetMembershipByIdRequest.displayName = 'proto.loyaltyprogramserviceapi.GetMembershipByIdRequest';
|
|
299
294
|
}
|
|
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
|
-
/**
|
|
322
|
-
* Generated by JsPbCodeGenerator.
|
|
323
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
324
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
325
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
326
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
327
|
-
* valid.
|
|
328
|
-
* @extends {jspb.Message}
|
|
329
|
-
* @constructor
|
|
330
|
-
*/
|
|
331
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse = function(opt_data) {
|
|
332
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.repeatedFields_, null);
|
|
333
|
-
};
|
|
334
|
-
goog.inherits(proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse, jspb.Message);
|
|
335
|
-
if (goog.DEBUG && !COMPILED) {
|
|
336
|
-
/**
|
|
337
|
-
* @public
|
|
338
|
-
* @override
|
|
339
|
-
*/
|
|
340
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.displayName = 'proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse';
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* Generated by JsPbCodeGenerator.
|
|
344
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
345
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
346
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
347
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
348
|
-
* valid.
|
|
349
|
-
* @extends {jspb.Message}
|
|
350
|
-
* @constructor
|
|
351
|
-
*/
|
|
352
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail = function(opt_data) {
|
|
353
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
354
|
-
};
|
|
355
|
-
goog.inherits(proto.loyaltyprogramserviceapi.LoyaltyTierDetail, jspb.Message);
|
|
356
|
-
if (goog.DEBUG && !COMPILED) {
|
|
357
|
-
/**
|
|
358
|
-
* @public
|
|
359
|
-
* @override
|
|
360
|
-
*/
|
|
361
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.displayName = 'proto.loyaltyprogramserviceapi.LoyaltyTierDetail';
|
|
362
|
-
}
|
|
363
295
|
/**
|
|
364
296
|
* Generated by JsPbCodeGenerator.
|
|
365
297
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -612,48 +544,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
612
544
|
*/
|
|
613
545
|
proto.loyaltyprogramserviceapi.MembershipDetailsResponse.displayName = 'proto.loyaltyprogramserviceapi.MembershipDetailsResponse';
|
|
614
546
|
}
|
|
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
547
|
/**
|
|
658
548
|
* Generated by JsPbCodeGenerator.
|
|
659
549
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3591,8 +3481,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3591
3481
|
* http://goto/soy-param-migration
|
|
3592
3482
|
* @return {!Object}
|
|
3593
3483
|
*/
|
|
3594
|
-
proto.loyaltyprogramserviceapi.
|
|
3595
|
-
return proto.loyaltyprogramserviceapi.
|
|
3484
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3485
|
+
return proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.toObject(opt_includeInstance, this);
|
|
3596
3486
|
};
|
|
3597
3487
|
|
|
3598
3488
|
|
|
@@ -3601,16 +3491,15 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.prototype.toObject =
|
|
|
3601
3491
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3602
3492
|
* the JSPB instance for transitional soy proto support:
|
|
3603
3493
|
* http://goto/soy-param-migration
|
|
3604
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
3494
|
+
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} msg The msg instance to transform.
|
|
3605
3495
|
* @return {!Object}
|
|
3606
3496
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3607
3497
|
*/
|
|
3608
|
-
proto.loyaltyprogramserviceapi.
|
|
3498
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.toObject = function(includeInstance, msg) {
|
|
3609
3499
|
var f, obj = {
|
|
3610
3500
|
membershipid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
3501
|
+
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3502
|
+
limit: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
3614
3503
|
};
|
|
3615
3504
|
|
|
3616
3505
|
if (includeInstance) {
|
|
@@ -3624,23 +3513,23 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.toObject = function(
|
|
|
3624
3513
|
/**
|
|
3625
3514
|
* Deserializes binary data (in protobuf wire format).
|
|
3626
3515
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3627
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3516
|
+
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest}
|
|
3628
3517
|
*/
|
|
3629
|
-
proto.loyaltyprogramserviceapi.
|
|
3518
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.deserializeBinary = function(bytes) {
|
|
3630
3519
|
var reader = new jspb.BinaryReader(bytes);
|
|
3631
|
-
var msg = new proto.loyaltyprogramserviceapi.
|
|
3632
|
-
return proto.loyaltyprogramserviceapi.
|
|
3520
|
+
var msg = new proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest;
|
|
3521
|
+
return proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
3633
3522
|
};
|
|
3634
3523
|
|
|
3635
3524
|
|
|
3636
3525
|
/**
|
|
3637
3526
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3638
3527
|
* given reader into the given message object.
|
|
3639
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
3528
|
+
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} msg The message object to deserialize into.
|
|
3640
3529
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3641
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3530
|
+
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest}
|
|
3642
3531
|
*/
|
|
3643
|
-
proto.loyaltyprogramserviceapi.
|
|
3532
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3644
3533
|
while (reader.nextField()) {
|
|
3645
3534
|
if (reader.isEndGroup()) {
|
|
3646
3535
|
break;
|
|
@@ -3652,16 +3541,12 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.deserializeBinaryFro
|
|
|
3652
3541
|
msg.setMembershipid(value);
|
|
3653
3542
|
break;
|
|
3654
3543
|
case 2:
|
|
3655
|
-
var value = /** @type {number} */ (reader.
|
|
3656
|
-
msg.
|
|
3544
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3545
|
+
msg.setPage(value);
|
|
3657
3546
|
break;
|
|
3658
3547
|
case 3:
|
|
3659
|
-
var value = /** @type {number} */ (reader.
|
|
3660
|
-
msg.
|
|
3661
|
-
break;
|
|
3662
|
-
case 4:
|
|
3663
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
3664
|
-
msg.setPaymentmethodid(value);
|
|
3548
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3549
|
+
msg.setLimit(value);
|
|
3665
3550
|
break;
|
|
3666
3551
|
default:
|
|
3667
3552
|
reader.skipField();
|
|
@@ -3676,9 +3561,9 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.deserializeBinaryFro
|
|
|
3676
3561
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3677
3562
|
* @return {!Uint8Array}
|
|
3678
3563
|
*/
|
|
3679
|
-
proto.loyaltyprogramserviceapi.
|
|
3564
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.serializeBinary = function() {
|
|
3680
3565
|
var writer = new jspb.BinaryWriter();
|
|
3681
|
-
proto.loyaltyprogramserviceapi.
|
|
3566
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.serializeBinaryToWriter(this, writer);
|
|
3682
3567
|
return writer.getResultBuffer();
|
|
3683
3568
|
};
|
|
3684
3569
|
|
|
@@ -3686,11 +3571,11 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.prototype.serializeB
|
|
|
3686
3571
|
/**
|
|
3687
3572
|
* Serializes the given message to binary data (in protobuf wire
|
|
3688
3573
|
* format), writing to the given BinaryWriter.
|
|
3689
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
3574
|
+
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} message
|
|
3690
3575
|
* @param {!jspb.BinaryWriter} writer
|
|
3691
3576
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3692
3577
|
*/
|
|
3693
|
-
proto.loyaltyprogramserviceapi.
|
|
3578
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3694
3579
|
var f = undefined;
|
|
3695
3580
|
f = message.getMembershipid();
|
|
3696
3581
|
if (f !== 0) {
|
|
@@ -3699,24 +3584,17 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.serializeBinaryToWri
|
|
|
3699
3584
|
f
|
|
3700
3585
|
);
|
|
3701
3586
|
}
|
|
3702
|
-
f = message.
|
|
3587
|
+
f = message.getPage();
|
|
3703
3588
|
if (f !== 0) {
|
|
3704
|
-
writer.
|
|
3589
|
+
writer.writeInt32(
|
|
3705
3590
|
2,
|
|
3706
3591
|
f
|
|
3707
3592
|
);
|
|
3708
3593
|
}
|
|
3709
|
-
f = message.
|
|
3710
|
-
if (f !== 0.0) {
|
|
3711
|
-
writer.writeDouble(
|
|
3712
|
-
3,
|
|
3713
|
-
f
|
|
3714
|
-
);
|
|
3715
|
-
}
|
|
3716
|
-
f = message.getPaymentmethodid();
|
|
3594
|
+
f = message.getLimit();
|
|
3717
3595
|
if (f !== 0) {
|
|
3718
|
-
writer.
|
|
3719
|
-
|
|
3596
|
+
writer.writeInt32(
|
|
3597
|
+
3,
|
|
3720
3598
|
f
|
|
3721
3599
|
);
|
|
3722
3600
|
}
|
|
@@ -3727,82 +3605,57 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.serializeBinaryToWri
|
|
|
3727
3605
|
* optional int64 membershipId = 1;
|
|
3728
3606
|
* @return {number}
|
|
3729
3607
|
*/
|
|
3730
|
-
proto.loyaltyprogramserviceapi.
|
|
3608
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.getMembershipid = function() {
|
|
3731
3609
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3732
3610
|
};
|
|
3733
3611
|
|
|
3734
3612
|
|
|
3735
3613
|
/**
|
|
3736
3614
|
* @param {number} value
|
|
3737
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3615
|
+
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} returns this
|
|
3738
3616
|
*/
|
|
3739
|
-
proto.loyaltyprogramserviceapi.
|
|
3617
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.setMembershipid = function(value) {
|
|
3740
3618
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3741
3619
|
};
|
|
3742
3620
|
|
|
3743
3621
|
|
|
3744
3622
|
/**
|
|
3745
|
-
* optional
|
|
3623
|
+
* optional int32 page = 2;
|
|
3746
3624
|
* @return {number}
|
|
3747
3625
|
*/
|
|
3748
|
-
proto.loyaltyprogramserviceapi.
|
|
3626
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.getPage = function() {
|
|
3749
3627
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3750
3628
|
};
|
|
3751
3629
|
|
|
3752
3630
|
|
|
3753
3631
|
/**
|
|
3754
3632
|
* @param {number} value
|
|
3755
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3633
|
+
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} returns this
|
|
3756
3634
|
*/
|
|
3757
|
-
proto.loyaltyprogramserviceapi.
|
|
3635
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.setPage = function(value) {
|
|
3758
3636
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3759
3637
|
};
|
|
3760
3638
|
|
|
3761
3639
|
|
|
3762
3640
|
/**
|
|
3763
|
-
* optional
|
|
3764
|
-
* @return {number}
|
|
3765
|
-
*/
|
|
3766
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.prototype.getAmount = function() {
|
|
3767
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
3768
|
-
};
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
/**
|
|
3772
|
-
* @param {number} value
|
|
3773
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest} returns this
|
|
3774
|
-
*/
|
|
3775
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailRequest.prototype.setAmount = function(value) {
|
|
3776
|
-
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
3777
|
-
};
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
/**
|
|
3781
|
-
* optional int64 paymentMethodId = 4;
|
|
3641
|
+
* optional int32 limit = 3;
|
|
3782
3642
|
* @return {number}
|
|
3783
3643
|
*/
|
|
3784
|
-
proto.loyaltyprogramserviceapi.
|
|
3785
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
3644
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.getLimit = function() {
|
|
3645
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
3786
3646
|
};
|
|
3787
3647
|
|
|
3788
3648
|
|
|
3789
3649
|
/**
|
|
3790
3650
|
* @param {number} value
|
|
3791
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3651
|
+
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} returns this
|
|
3792
3652
|
*/
|
|
3793
|
-
proto.loyaltyprogramserviceapi.
|
|
3794
|
-
return jspb.Message.setProto3IntField(this,
|
|
3653
|
+
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.setLimit = function(value) {
|
|
3654
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
3795
3655
|
};
|
|
3796
3656
|
|
|
3797
3657
|
|
|
3798
3658
|
|
|
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
3659
|
|
|
3807
3660
|
|
|
3808
3661
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3818,8 +3671,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3818
3671
|
* http://goto/soy-param-migration
|
|
3819
3672
|
* @return {!Object}
|
|
3820
3673
|
*/
|
|
3821
|
-
proto.loyaltyprogramserviceapi.
|
|
3822
|
-
return proto.loyaltyprogramserviceapi.
|
|
3674
|
+
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3675
|
+
return proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.toObject(opt_includeInstance, this);
|
|
3823
3676
|
};
|
|
3824
3677
|
|
|
3825
3678
|
|
|
@@ -3828,15 +3681,13 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.toObject
|
|
|
3828
3681
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3829
3682
|
* the JSPB instance for transitional soy proto support:
|
|
3830
3683
|
* http://goto/soy-param-migration
|
|
3831
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
3684
|
+
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} msg The msg instance to transform.
|
|
3832
3685
|
* @return {!Object}
|
|
3833
3686
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3834
3687
|
*/
|
|
3835
|
-
proto.loyaltyprogramserviceapi.
|
|
3688
|
+
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.toObject = function(includeInstance, msg) {
|
|
3836
3689
|
var f, obj = {
|
|
3837
|
-
|
|
3838
|
-
loyaltytierdetailsList: jspb.Message.toObjectList(msg.getLoyaltytierdetailsList(),
|
|
3839
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.toObject, includeInstance)
|
|
3690
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3840
3691
|
};
|
|
3841
3692
|
|
|
3842
3693
|
if (includeInstance) {
|
|
@@ -3850,23 +3701,23 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.toObject = function
|
|
|
3850
3701
|
/**
|
|
3851
3702
|
* Deserializes binary data (in protobuf wire format).
|
|
3852
3703
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3853
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3704
|
+
* @return {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest}
|
|
3854
3705
|
*/
|
|
3855
|
-
proto.loyaltyprogramserviceapi.
|
|
3706
|
+
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.deserializeBinary = function(bytes) {
|
|
3856
3707
|
var reader = new jspb.BinaryReader(bytes);
|
|
3857
|
-
var msg = new proto.loyaltyprogramserviceapi.
|
|
3858
|
-
return proto.loyaltyprogramserviceapi.
|
|
3708
|
+
var msg = new proto.loyaltyprogramserviceapi.GetUserMembershipsRequest;
|
|
3709
|
+
return proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3859
3710
|
};
|
|
3860
3711
|
|
|
3861
3712
|
|
|
3862
3713
|
/**
|
|
3863
3714
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3864
3715
|
* given reader into the given message object.
|
|
3865
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
3716
|
+
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} msg The message object to deserialize into.
|
|
3866
3717
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3867
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3718
|
+
* @return {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest}
|
|
3868
3719
|
*/
|
|
3869
|
-
proto.loyaltyprogramserviceapi.
|
|
3720
|
+
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3870
3721
|
while (reader.nextField()) {
|
|
3871
3722
|
if (reader.isEndGroup()) {
|
|
3872
3723
|
break;
|
|
@@ -3874,14 +3725,8 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.deserializeBinaryFr
|
|
|
3874
3725
|
var field = reader.getFieldNumber();
|
|
3875
3726
|
switch (field) {
|
|
3876
3727
|
case 1:
|
|
3877
|
-
var value =
|
|
3878
|
-
|
|
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);
|
|
3728
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3729
|
+
msg.setUserid(value);
|
|
3885
3730
|
break;
|
|
3886
3731
|
default:
|
|
3887
3732
|
reader.skipField();
|
|
@@ -3896,9 +3741,9 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.deserializeBinaryFr
|
|
|
3896
3741
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3897
3742
|
* @return {!Uint8Array}
|
|
3898
3743
|
*/
|
|
3899
|
-
proto.loyaltyprogramserviceapi.
|
|
3744
|
+
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.prototype.serializeBinary = function() {
|
|
3900
3745
|
var writer = new jspb.BinaryWriter();
|
|
3901
|
-
proto.loyaltyprogramserviceapi.
|
|
3746
|
+
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.serializeBinaryToWriter(this, writer);
|
|
3902
3747
|
return writer.getResultBuffer();
|
|
3903
3748
|
};
|
|
3904
3749
|
|
|
@@ -3906,733 +3751,37 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.serialize
|
|
|
3906
3751
|
/**
|
|
3907
3752
|
* Serializes the given message to binary data (in protobuf wire
|
|
3908
3753
|
* format), writing to the given BinaryWriter.
|
|
3909
|
-
* @param {!proto.loyaltyprogramserviceapi.
|
|
3754
|
+
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} message
|
|
3910
3755
|
* @param {!jspb.BinaryWriter} writer
|
|
3911
3756
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3912
3757
|
*/
|
|
3913
|
-
proto.loyaltyprogramserviceapi.
|
|
3758
|
+
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3914
3759
|
var f = undefined;
|
|
3915
|
-
f = message.
|
|
3916
|
-
if (f
|
|
3917
|
-
writer.
|
|
3760
|
+
f = message.getUserid();
|
|
3761
|
+
if (f !== 0) {
|
|
3762
|
+
writer.writeInt64(
|
|
3918
3763
|
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
|
|
3764
|
+
f
|
|
3929
3765
|
);
|
|
3930
3766
|
}
|
|
3931
3767
|
};
|
|
3932
3768
|
|
|
3933
3769
|
|
|
3934
3770
|
/**
|
|
3935
|
-
* optional
|
|
3936
|
-
* @return {
|
|
3937
|
-
*/
|
|
3938
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getResponsecode = function() {
|
|
3939
|
-
return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
|
|
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);
|
|
3950
|
-
};
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
/**
|
|
3954
|
-
* Clears the message field making it undefined.
|
|
3955
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3956
|
-
*/
|
|
3957
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.clearResponsecode = function() {
|
|
3958
|
-
return this.setResponsecode(undefined);
|
|
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;
|
|
3968
|
-
};
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
/**
|
|
3972
|
-
* repeated LoyaltyTierDetail loyaltyTierDetails = 2;
|
|
3973
|
-
* @return {!Array<!proto.loyaltyprogramserviceapi.LoyaltyTierDetail>}
|
|
3974
|
-
*/
|
|
3975
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getLoyaltytierdetailsList = function() {
|
|
3976
|
-
return /** @type{!Array<!proto.loyaltyprogramserviceapi.LoyaltyTierDetail>} */ (
|
|
3977
|
-
jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyTierDetail, 2));
|
|
3978
|
-
};
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
/**
|
|
3982
|
-
* @param {!Array<!proto.loyaltyprogramserviceapi.LoyaltyTierDetail>} value
|
|
3983
|
-
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
3984
|
-
*/
|
|
3985
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setLoyaltytierdetailsList = function(value) {
|
|
3986
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3987
|
-
};
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
/**
|
|
3991
|
-
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail=} opt_value
|
|
3992
|
-
* @param {number=} opt_index
|
|
3993
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail}
|
|
3771
|
+
* optional int64 userId = 1;
|
|
3772
|
+
* @return {number}
|
|
3994
3773
|
*/
|
|
3995
|
-
proto.loyaltyprogramserviceapi.
|
|
3996
|
-
return jspb.Message.
|
|
3774
|
+
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.prototype.getUserid = function() {
|
|
3775
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3997
3776
|
};
|
|
3998
3777
|
|
|
3999
3778
|
|
|
4000
3779
|
/**
|
|
4001
|
-
*
|
|
4002
|
-
* @return {!proto.loyaltyprogramserviceapi.
|
|
3780
|
+
* @param {number} value
|
|
3781
|
+
* @return {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} returns this
|
|
4003
3782
|
*/
|
|
4004
|
-
proto.loyaltyprogramserviceapi.
|
|
4005
|
-
return
|
|
4006
|
-
};
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4013
|
-
/**
|
|
4014
|
-
* Creates an object representation of this proto.
|
|
4015
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4016
|
-
* Optional fields that are not set will be set to undefined.
|
|
4017
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4018
|
-
* For the list of reserved names please see:
|
|
4019
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4020
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4021
|
-
* JSPB instance for transitional soy proto support:
|
|
4022
|
-
* http://goto/soy-param-migration
|
|
4023
|
-
* @return {!Object}
|
|
4024
|
-
*/
|
|
4025
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.toObject = function(opt_includeInstance) {
|
|
4026
|
-
return proto.loyaltyprogramserviceapi.LoyaltyTierDetail.toObject(opt_includeInstance, this);
|
|
4027
|
-
};
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
/**
|
|
4031
|
-
* Static version of the {@see toObject} method.
|
|
4032
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4033
|
-
* the JSPB instance for transitional soy proto support:
|
|
4034
|
-
* http://goto/soy-param-migration
|
|
4035
|
-
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} msg The msg instance to transform.
|
|
4036
|
-
* @return {!Object}
|
|
4037
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4038
|
-
*/
|
|
4039
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.toObject = function(includeInstance, msg) {
|
|
4040
|
-
var f, obj = {
|
|
4041
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4042
|
-
pointsinfo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
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)
|
|
4048
|
-
};
|
|
4049
|
-
|
|
4050
|
-
if (includeInstance) {
|
|
4051
|
-
obj.$jspbMessageInstance = msg;
|
|
4052
|
-
}
|
|
4053
|
-
return obj;
|
|
4054
|
-
};
|
|
4055
|
-
}
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
/**
|
|
4059
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4060
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4061
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail}
|
|
4062
|
-
*/
|
|
4063
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.deserializeBinary = function(bytes) {
|
|
4064
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4065
|
-
var msg = new proto.loyaltyprogramserviceapi.LoyaltyTierDetail;
|
|
4066
|
-
return proto.loyaltyprogramserviceapi.LoyaltyTierDetail.deserializeBinaryFromReader(msg, reader);
|
|
4067
|
-
};
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
/**
|
|
4071
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4072
|
-
* given reader into the given message object.
|
|
4073
|
-
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} msg The message object to deserialize into.
|
|
4074
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4075
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail}
|
|
4076
|
-
*/
|
|
4077
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
4078
|
-
while (reader.nextField()) {
|
|
4079
|
-
if (reader.isEndGroup()) {
|
|
4080
|
-
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 {string} */ (reader.readString());
|
|
4090
|
-
msg.setPointsinfo(value);
|
|
4091
|
-
break;
|
|
4092
|
-
case 3:
|
|
4093
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
4094
|
-
msg.setTotalsurchargerate(value);
|
|
4095
|
-
break;
|
|
4096
|
-
case 4:
|
|
4097
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
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);
|
|
4262
|
-
};
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
/**
|
|
4266
|
-
* optional double surchargeIncreaseRate = 5;
|
|
4267
|
-
* @return {number}
|
|
4268
|
-
*/
|
|
4269
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getSurchargeincreaserate = function() {
|
|
4270
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
4271
|
-
};
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
/**
|
|
4275
|
-
* @param {number} value
|
|
4276
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4277
|
-
*/
|
|
4278
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setSurchargeincreaserate = function(value) {
|
|
4279
|
-
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
4280
|
-
};
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
/**
|
|
4284
|
-
* optional double surchargeIncreaseDollarAmount = 6;
|
|
4285
|
-
* @return {number}
|
|
4286
|
-
*/
|
|
4287
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getSurchargeincreasedollaramount = function() {
|
|
4288
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
4289
|
-
};
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
/**
|
|
4293
|
-
* @param {number} value
|
|
4294
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4295
|
-
*/
|
|
4296
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setSurchargeincreasedollaramount = function(value) {
|
|
4297
|
-
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
4298
|
-
};
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
/**
|
|
4302
|
-
* optional int32 totalPointsAmount = 7;
|
|
4303
|
-
* @return {number}
|
|
4304
|
-
*/
|
|
4305
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getTotalpointsamount = function() {
|
|
4306
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
4307
|
-
};
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
/**
|
|
4311
|
-
* @param {number} value
|
|
4312
|
-
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4313
|
-
*/
|
|
4314
|
-
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setTotalpointsamount = function(value) {
|
|
4315
|
-
return jspb.Message.setProto3IntField(this, 7, value);
|
|
4316
|
-
};
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4323
|
-
/**
|
|
4324
|
-
* Creates an object representation of this proto.
|
|
4325
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4326
|
-
* Optional fields that are not set will be set to undefined.
|
|
4327
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4328
|
-
* For the list of reserved names please see:
|
|
4329
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4330
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4331
|
-
* JSPB instance for transitional soy proto support:
|
|
4332
|
-
* http://goto/soy-param-migration
|
|
4333
|
-
* @return {!Object}
|
|
4334
|
-
*/
|
|
4335
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4336
|
-
return proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.toObject(opt_includeInstance, this);
|
|
4337
|
-
};
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
/**
|
|
4341
|
-
* Static version of the {@see toObject} method.
|
|
4342
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4343
|
-
* the JSPB instance for transitional soy proto support:
|
|
4344
|
-
* http://goto/soy-param-migration
|
|
4345
|
-
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} msg The msg instance to transform.
|
|
4346
|
-
* @return {!Object}
|
|
4347
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4348
|
-
*/
|
|
4349
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.toObject = function(includeInstance, msg) {
|
|
4350
|
-
var f, obj = {
|
|
4351
|
-
membershipid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4352
|
-
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4353
|
-
limit: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
4354
|
-
};
|
|
4355
|
-
|
|
4356
|
-
if (includeInstance) {
|
|
4357
|
-
obj.$jspbMessageInstance = msg;
|
|
4358
|
-
}
|
|
4359
|
-
return obj;
|
|
4360
|
-
};
|
|
4361
|
-
}
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
/**
|
|
4365
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4366
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4367
|
-
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest}
|
|
4368
|
-
*/
|
|
4369
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.deserializeBinary = function(bytes) {
|
|
4370
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4371
|
-
var msg = new proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest;
|
|
4372
|
-
return proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
4373
|
-
};
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
/**
|
|
4377
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4378
|
-
* given reader into the given message object.
|
|
4379
|
-
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} msg The message object to deserialize into.
|
|
4380
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4381
|
-
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest}
|
|
4382
|
-
*/
|
|
4383
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4384
|
-
while (reader.nextField()) {
|
|
4385
|
-
if (reader.isEndGroup()) {
|
|
4386
|
-
break;
|
|
4387
|
-
}
|
|
4388
|
-
var field = reader.getFieldNumber();
|
|
4389
|
-
switch (field) {
|
|
4390
|
-
case 1:
|
|
4391
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4392
|
-
msg.setMembershipid(value);
|
|
4393
|
-
break;
|
|
4394
|
-
case 2:
|
|
4395
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
4396
|
-
msg.setPage(value);
|
|
4397
|
-
break;
|
|
4398
|
-
case 3:
|
|
4399
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
4400
|
-
msg.setLimit(value);
|
|
4401
|
-
break;
|
|
4402
|
-
default:
|
|
4403
|
-
reader.skipField();
|
|
4404
|
-
break;
|
|
4405
|
-
}
|
|
4406
|
-
}
|
|
4407
|
-
return msg;
|
|
4408
|
-
};
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
/**
|
|
4412
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4413
|
-
* @return {!Uint8Array}
|
|
4414
|
-
*/
|
|
4415
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.serializeBinary = function() {
|
|
4416
|
-
var writer = new jspb.BinaryWriter();
|
|
4417
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.serializeBinaryToWriter(this, writer);
|
|
4418
|
-
return writer.getResultBuffer();
|
|
4419
|
-
};
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
/**
|
|
4423
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4424
|
-
* format), writing to the given BinaryWriter.
|
|
4425
|
-
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} message
|
|
4426
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4427
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4428
|
-
*/
|
|
4429
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4430
|
-
var f = undefined;
|
|
4431
|
-
f = message.getMembershipid();
|
|
4432
|
-
if (f !== 0) {
|
|
4433
|
-
writer.writeInt64(
|
|
4434
|
-
1,
|
|
4435
|
-
f
|
|
4436
|
-
);
|
|
4437
|
-
}
|
|
4438
|
-
f = message.getPage();
|
|
4439
|
-
if (f !== 0) {
|
|
4440
|
-
writer.writeInt32(
|
|
4441
|
-
2,
|
|
4442
|
-
f
|
|
4443
|
-
);
|
|
4444
|
-
}
|
|
4445
|
-
f = message.getLimit();
|
|
4446
|
-
if (f !== 0) {
|
|
4447
|
-
writer.writeInt32(
|
|
4448
|
-
3,
|
|
4449
|
-
f
|
|
4450
|
-
);
|
|
4451
|
-
}
|
|
4452
|
-
};
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
/**
|
|
4456
|
-
* optional int64 membershipId = 1;
|
|
4457
|
-
* @return {number}
|
|
4458
|
-
*/
|
|
4459
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.getMembershipid = function() {
|
|
4460
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4461
|
-
};
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
/**
|
|
4465
|
-
* @param {number} value
|
|
4466
|
-
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} returns this
|
|
4467
|
-
*/
|
|
4468
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.setMembershipid = function(value) {
|
|
4469
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4470
|
-
};
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
/**
|
|
4474
|
-
* optional int32 page = 2;
|
|
4475
|
-
* @return {number}
|
|
4476
|
-
*/
|
|
4477
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.getPage = function() {
|
|
4478
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4479
|
-
};
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
/**
|
|
4483
|
-
* @param {number} value
|
|
4484
|
-
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} returns this
|
|
4485
|
-
*/
|
|
4486
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.setPage = function(value) {
|
|
4487
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
4488
|
-
};
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
/**
|
|
4492
|
-
* optional int32 limit = 3;
|
|
4493
|
-
* @return {number}
|
|
4494
|
-
*/
|
|
4495
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.getLimit = function() {
|
|
4496
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4497
|
-
};
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
/**
|
|
4501
|
-
* @param {number} value
|
|
4502
|
-
* @return {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} returns this
|
|
4503
|
-
*/
|
|
4504
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest.prototype.setLimit = function(value) {
|
|
4505
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
4506
|
-
};
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4513
|
-
/**
|
|
4514
|
-
* Creates an object representation of this proto.
|
|
4515
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4516
|
-
* Optional fields that are not set will be set to undefined.
|
|
4517
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4518
|
-
* For the list of reserved names please see:
|
|
4519
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4520
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4521
|
-
* JSPB instance for transitional soy proto support:
|
|
4522
|
-
* http://goto/soy-param-migration
|
|
4523
|
-
* @return {!Object}
|
|
4524
|
-
*/
|
|
4525
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4526
|
-
return proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.toObject(opt_includeInstance, this);
|
|
4527
|
-
};
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
/**
|
|
4531
|
-
* Static version of the {@see toObject} method.
|
|
4532
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4533
|
-
* the JSPB instance for transitional soy proto support:
|
|
4534
|
-
* http://goto/soy-param-migration
|
|
4535
|
-
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} msg The msg instance to transform.
|
|
4536
|
-
* @return {!Object}
|
|
4537
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4538
|
-
*/
|
|
4539
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.toObject = function(includeInstance, msg) {
|
|
4540
|
-
var f, obj = {
|
|
4541
|
-
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
4542
|
-
};
|
|
4543
|
-
|
|
4544
|
-
if (includeInstance) {
|
|
4545
|
-
obj.$jspbMessageInstance = msg;
|
|
4546
|
-
}
|
|
4547
|
-
return obj;
|
|
4548
|
-
};
|
|
4549
|
-
}
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
/**
|
|
4553
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4554
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4555
|
-
* @return {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest}
|
|
4556
|
-
*/
|
|
4557
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.deserializeBinary = function(bytes) {
|
|
4558
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4559
|
-
var msg = new proto.loyaltyprogramserviceapi.GetUserMembershipsRequest;
|
|
4560
|
-
return proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.deserializeBinaryFromReader(msg, reader);
|
|
4561
|
-
};
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
/**
|
|
4565
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4566
|
-
* given reader into the given message object.
|
|
4567
|
-
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} msg The message object to deserialize into.
|
|
4568
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4569
|
-
* @return {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest}
|
|
4570
|
-
*/
|
|
4571
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4572
|
-
while (reader.nextField()) {
|
|
4573
|
-
if (reader.isEndGroup()) {
|
|
4574
|
-
break;
|
|
4575
|
-
}
|
|
4576
|
-
var field = reader.getFieldNumber();
|
|
4577
|
-
switch (field) {
|
|
4578
|
-
case 1:
|
|
4579
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4580
|
-
msg.setUserid(value);
|
|
4581
|
-
break;
|
|
4582
|
-
default:
|
|
4583
|
-
reader.skipField();
|
|
4584
|
-
break;
|
|
4585
|
-
}
|
|
4586
|
-
}
|
|
4587
|
-
return msg;
|
|
4588
|
-
};
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
/**
|
|
4592
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4593
|
-
* @return {!Uint8Array}
|
|
4594
|
-
*/
|
|
4595
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.prototype.serializeBinary = function() {
|
|
4596
|
-
var writer = new jspb.BinaryWriter();
|
|
4597
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.serializeBinaryToWriter(this, writer);
|
|
4598
|
-
return writer.getResultBuffer();
|
|
4599
|
-
};
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
/**
|
|
4603
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4604
|
-
* format), writing to the given BinaryWriter.
|
|
4605
|
-
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} message
|
|
4606
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4607
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4608
|
-
*/
|
|
4609
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4610
|
-
var f = undefined;
|
|
4611
|
-
f = message.getUserid();
|
|
4612
|
-
if (f !== 0) {
|
|
4613
|
-
writer.writeInt64(
|
|
4614
|
-
1,
|
|
4615
|
-
f
|
|
4616
|
-
);
|
|
4617
|
-
}
|
|
4618
|
-
};
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
/**
|
|
4622
|
-
* optional int64 userId = 1;
|
|
4623
|
-
* @return {number}
|
|
4624
|
-
*/
|
|
4625
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.prototype.getUserid = function() {
|
|
4626
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4627
|
-
};
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
/**
|
|
4631
|
-
* @param {number} value
|
|
4632
|
-
* @return {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} returns this
|
|
4633
|
-
*/
|
|
4634
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.prototype.setUserid = function(value) {
|
|
4635
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3783
|
+
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest.prototype.setUserid = function(value) {
|
|
3784
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4636
3785
|
};
|
|
4637
3786
|
|
|
4638
3787
|
|
|
@@ -7706,237 +6855,6 @@ proto.loyaltyprogramserviceapi.MembershipDetailsResponse.prototype.clearMembersh
|
|
|
7706
6855
|
|
|
7707
6856
|
|
|
7708
6857
|
|
|
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
6858
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7941
6859
|
/**
|
|
7942
6860
|
* Creates an object representation of this proto.
|