@sniipwebmaster/loyalty-program-client-grpcweb 25.11.2531 → 25.11.2551
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_pb.js +398 -15
- package/package.json +1 -1
|
@@ -46,6 +46,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.LightMembershipDetailResponse'
|
|
|
46
46
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LinkMembershipRequest', null, global);
|
|
47
47
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting', null, global);
|
|
48
48
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyProgramOption', null, global);
|
|
49
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme', null, global);
|
|
49
50
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTierDetail', null, global);
|
|
50
51
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTransaction', null, global);
|
|
51
52
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTransactionWithMembershipDetail', null, global);
|
|
@@ -564,7 +565,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
564
565
|
* @constructor
|
|
565
566
|
*/
|
|
566
567
|
proto.loyaltyprogramserviceapi.MembershipDetail = function(opt_data) {
|
|
567
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
568
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyaltyprogramserviceapi.MembershipDetail.repeatedFields_, null);
|
|
568
569
|
};
|
|
569
570
|
goog.inherits(proto.loyaltyprogramserviceapi.MembershipDetail, jspb.Message);
|
|
570
571
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -805,6 +806,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
805
806
|
*/
|
|
806
807
|
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.displayName = 'proto.loyaltyprogramserviceapi.LoyaltyProgramOption';
|
|
807
808
|
}
|
|
809
|
+
/**
|
|
810
|
+
* Generated by JsPbCodeGenerator.
|
|
811
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
812
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
813
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
814
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
815
|
+
* valid.
|
|
816
|
+
* @extends {jspb.Message}
|
|
817
|
+
* @constructor
|
|
818
|
+
*/
|
|
819
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme = function(opt_data) {
|
|
820
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
821
|
+
};
|
|
822
|
+
goog.inherits(proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme, jspb.Message);
|
|
823
|
+
if (goog.DEBUG && !COMPILED) {
|
|
824
|
+
/**
|
|
825
|
+
* @public
|
|
826
|
+
* @override
|
|
827
|
+
*/
|
|
828
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.displayName = 'proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme';
|
|
829
|
+
}
|
|
808
830
|
/**
|
|
809
831
|
* Generated by JsPbCodeGenerator.
|
|
810
832
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5328,7 +5350,7 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.toObject = function(includeIns
|
|
|
5328
5350
|
datedeleted: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5329
5351
|
feepercentagereducedbyamount: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
5330
5352
|
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
5331
|
-
|
|
5353
|
+
loyaltyoptioncode: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
5332
5354
|
};
|
|
5333
5355
|
|
|
5334
5356
|
if (includeInstance) {
|
|
@@ -5419,7 +5441,7 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.deserializeBinaryFromReader =
|
|
|
5419
5441
|
break;
|
|
5420
5442
|
case 14:
|
|
5421
5443
|
var value = /** @type {string} */ (reader.readString());
|
|
5422
|
-
msg.
|
|
5444
|
+
msg.setLoyaltyoptioncode(value);
|
|
5423
5445
|
break;
|
|
5424
5446
|
default:
|
|
5425
5447
|
reader.skipField();
|
|
@@ -5541,7 +5563,7 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.serializeBinaryToWriter = func
|
|
|
5541
5563
|
f
|
|
5542
5564
|
);
|
|
5543
5565
|
}
|
|
5544
|
-
f = message.
|
|
5566
|
+
f = message.getLoyaltyoptioncode();
|
|
5545
5567
|
if (f.length > 0) {
|
|
5546
5568
|
writer.writeString(
|
|
5547
5569
|
14,
|
|
@@ -5786,10 +5808,10 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.setLoyaltyoptionid =
|
|
|
5786
5808
|
|
|
5787
5809
|
|
|
5788
5810
|
/**
|
|
5789
|
-
* optional string
|
|
5811
|
+
* optional string loyaltyOptionCode = 14;
|
|
5790
5812
|
* @return {string}
|
|
5791
5813
|
*/
|
|
5792
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.
|
|
5814
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.getLoyaltyoptioncode = function() {
|
|
5793
5815
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
5794
5816
|
};
|
|
5795
5817
|
|
|
@@ -5798,7 +5820,7 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.getLoyaltyoptionname
|
|
|
5798
5820
|
* @param {string} value
|
|
5799
5821
|
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransaction} returns this
|
|
5800
5822
|
*/
|
|
5801
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.
|
|
5823
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.setLoyaltyoptioncode = function(value) {
|
|
5802
5824
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
5803
5825
|
};
|
|
5804
5826
|
|
|
@@ -6548,6 +6570,13 @@ proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.
|
|
|
6548
6570
|
|
|
6549
6571
|
|
|
6550
6572
|
|
|
6573
|
+
/**
|
|
6574
|
+
* List of repeated fields within this message type.
|
|
6575
|
+
* @private {!Array<number>}
|
|
6576
|
+
* @const
|
|
6577
|
+
*/
|
|
6578
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.repeatedFields_ = [16];
|
|
6579
|
+
|
|
6551
6580
|
|
|
6552
6581
|
|
|
6553
6582
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -6593,7 +6622,9 @@ proto.loyaltyprogramserviceapi.MembershipDetail.toObject = function(includeInsta
|
|
|
6593
6622
|
datedeleted: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
6594
6623
|
reducefeepercentagebyamount: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
6595
6624
|
feediscountmessage: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
6596
|
-
programcode: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
6625
|
+
programcode: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
6626
|
+
loyaltyoptionsList: jspb.Message.toObjectList(msg.getLoyaltyoptionsList(),
|
|
6627
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.toObject, includeInstance)
|
|
6597
6628
|
};
|
|
6598
6629
|
|
|
6599
6630
|
if (includeInstance) {
|
|
@@ -6690,6 +6721,11 @@ proto.loyaltyprogramserviceapi.MembershipDetail.deserializeBinaryFromReader = fu
|
|
|
6690
6721
|
var value = /** @type {string} */ (reader.readString());
|
|
6691
6722
|
msg.setProgramcode(value);
|
|
6692
6723
|
break;
|
|
6724
|
+
case 16:
|
|
6725
|
+
var value = new proto.loyaltyprogramserviceapi.LoyaltyProgramOption;
|
|
6726
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.LoyaltyProgramOption.deserializeBinaryFromReader);
|
|
6727
|
+
msg.addLoyaltyoptions(value);
|
|
6728
|
+
break;
|
|
6693
6729
|
default:
|
|
6694
6730
|
reader.skipField();
|
|
6695
6731
|
break;
|
|
@@ -6824,6 +6860,14 @@ proto.loyaltyprogramserviceapi.MembershipDetail.serializeBinaryToWriter = functi
|
|
|
6824
6860
|
f
|
|
6825
6861
|
);
|
|
6826
6862
|
}
|
|
6863
|
+
f = message.getLoyaltyoptionsList();
|
|
6864
|
+
if (f.length > 0) {
|
|
6865
|
+
writer.writeRepeatedMessage(
|
|
6866
|
+
16,
|
|
6867
|
+
f,
|
|
6868
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.serializeBinaryToWriter
|
|
6869
|
+
);
|
|
6870
|
+
}
|
|
6827
6871
|
};
|
|
6828
6872
|
|
|
6829
6873
|
|
|
@@ -7097,6 +7141,44 @@ proto.loyaltyprogramserviceapi.MembershipDetail.prototype.setProgramcode = funct
|
|
|
7097
7141
|
};
|
|
7098
7142
|
|
|
7099
7143
|
|
|
7144
|
+
/**
|
|
7145
|
+
* repeated LoyaltyProgramOption loyaltyOptions = 16;
|
|
7146
|
+
* @return {!Array<!proto.loyaltyprogramserviceapi.LoyaltyProgramOption>}
|
|
7147
|
+
*/
|
|
7148
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.getLoyaltyoptionsList = function() {
|
|
7149
|
+
return /** @type{!Array<!proto.loyaltyprogramserviceapi.LoyaltyProgramOption>} */ (
|
|
7150
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyProgramOption, 16));
|
|
7151
|
+
};
|
|
7152
|
+
|
|
7153
|
+
|
|
7154
|
+
/**
|
|
7155
|
+
* @param {!Array<!proto.loyaltyprogramserviceapi.LoyaltyProgramOption>} value
|
|
7156
|
+
* @return {!proto.loyaltyprogramserviceapi.MembershipDetail} returns this
|
|
7157
|
+
*/
|
|
7158
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.setLoyaltyoptionsList = function(value) {
|
|
7159
|
+
return jspb.Message.setRepeatedWrapperField(this, 16, value);
|
|
7160
|
+
};
|
|
7161
|
+
|
|
7162
|
+
|
|
7163
|
+
/**
|
|
7164
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyProgramOption=} opt_value
|
|
7165
|
+
* @param {number=} opt_index
|
|
7166
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOption}
|
|
7167
|
+
*/
|
|
7168
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.addLoyaltyoptions = function(opt_value, opt_index) {
|
|
7169
|
+
return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.loyaltyprogramserviceapi.LoyaltyProgramOption, opt_index);
|
|
7170
|
+
};
|
|
7171
|
+
|
|
7172
|
+
|
|
7173
|
+
/**
|
|
7174
|
+
* Clears the list making it empty but non-null.
|
|
7175
|
+
* @return {!proto.loyaltyprogramserviceapi.MembershipDetail} returns this
|
|
7176
|
+
*/
|
|
7177
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.clearLoyaltyoptionsList = function() {
|
|
7178
|
+
return this.setLoyaltyoptionsList([]);
|
|
7179
|
+
};
|
|
7180
|
+
|
|
7181
|
+
|
|
7100
7182
|
|
|
7101
7183
|
|
|
7102
7184
|
|
|
@@ -10070,10 +10152,12 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.toObject = functio
|
|
|
10070
10152
|
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.toObject = function(includeInstance, msg) {
|
|
10071
10153
|
var f, obj = {
|
|
10072
10154
|
loyaltyprogramoptionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10073
|
-
|
|
10155
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10074
10156
|
earned: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
10075
10157
|
spent: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
10076
|
-
isdefault: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
10158
|
+
isdefault: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
10159
|
+
displayorder: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
10160
|
+
theme: (f = msg.getTheme()) && proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.toObject(includeInstance, f)
|
|
10077
10161
|
};
|
|
10078
10162
|
|
|
10079
10163
|
if (includeInstance) {
|
|
@@ -10116,7 +10200,7 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramOption.deserializeBinaryFromReader
|
|
|
10116
10200
|
break;
|
|
10117
10201
|
case 2:
|
|
10118
10202
|
var value = /** @type {string} */ (reader.readString());
|
|
10119
|
-
msg.
|
|
10203
|
+
msg.setCode(value);
|
|
10120
10204
|
break;
|
|
10121
10205
|
case 3:
|
|
10122
10206
|
var value = /** @type {number} */ (reader.readInt32());
|
|
@@ -10130,6 +10214,15 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramOption.deserializeBinaryFromReader
|
|
|
10130
10214
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
10131
10215
|
msg.setIsdefault(value);
|
|
10132
10216
|
break;
|
|
10217
|
+
case 6:
|
|
10218
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10219
|
+
msg.setDisplayorder(value);
|
|
10220
|
+
break;
|
|
10221
|
+
case 7:
|
|
10222
|
+
var value = new proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme;
|
|
10223
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.deserializeBinaryFromReader);
|
|
10224
|
+
msg.setTheme(value);
|
|
10225
|
+
break;
|
|
10133
10226
|
default:
|
|
10134
10227
|
reader.skipField();
|
|
10135
10228
|
break;
|
|
@@ -10166,7 +10259,7 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramOption.serializeBinaryToWriter = fu
|
|
|
10166
10259
|
f
|
|
10167
10260
|
);
|
|
10168
10261
|
}
|
|
10169
|
-
f = message.
|
|
10262
|
+
f = message.getCode();
|
|
10170
10263
|
if (f.length > 0) {
|
|
10171
10264
|
writer.writeString(
|
|
10172
10265
|
2,
|
|
@@ -10194,6 +10287,21 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramOption.serializeBinaryToWriter = fu
|
|
|
10194
10287
|
f
|
|
10195
10288
|
);
|
|
10196
10289
|
}
|
|
10290
|
+
f = message.getDisplayorder();
|
|
10291
|
+
if (f !== 0) {
|
|
10292
|
+
writer.writeInt32(
|
|
10293
|
+
6,
|
|
10294
|
+
f
|
|
10295
|
+
);
|
|
10296
|
+
}
|
|
10297
|
+
f = message.getTheme();
|
|
10298
|
+
if (f != null) {
|
|
10299
|
+
writer.writeMessage(
|
|
10300
|
+
7,
|
|
10301
|
+
f,
|
|
10302
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.serializeBinaryToWriter
|
|
10303
|
+
);
|
|
10304
|
+
}
|
|
10197
10305
|
};
|
|
10198
10306
|
|
|
10199
10307
|
|
|
@@ -10216,10 +10324,10 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.setLoyaltyprogramo
|
|
|
10216
10324
|
|
|
10217
10325
|
|
|
10218
10326
|
/**
|
|
10219
|
-
* optional string
|
|
10327
|
+
* optional string code = 2;
|
|
10220
10328
|
* @return {string}
|
|
10221
10329
|
*/
|
|
10222
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.
|
|
10330
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.getCode = function() {
|
|
10223
10331
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10224
10332
|
};
|
|
10225
10333
|
|
|
@@ -10228,7 +10336,7 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.getName = function
|
|
|
10228
10336
|
* @param {string} value
|
|
10229
10337
|
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOption} returns this
|
|
10230
10338
|
*/
|
|
10231
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.
|
|
10339
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.setCode = function(value) {
|
|
10232
10340
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10233
10341
|
};
|
|
10234
10342
|
|
|
@@ -10287,6 +10395,281 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.setIsdefault = fun
|
|
|
10287
10395
|
};
|
|
10288
10396
|
|
|
10289
10397
|
|
|
10398
|
+
/**
|
|
10399
|
+
* optional int32 displayOrder = 6;
|
|
10400
|
+
* @return {number}
|
|
10401
|
+
*/
|
|
10402
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.getDisplayorder = function() {
|
|
10403
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
10404
|
+
};
|
|
10405
|
+
|
|
10406
|
+
|
|
10407
|
+
/**
|
|
10408
|
+
* @param {number} value
|
|
10409
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOption} returns this
|
|
10410
|
+
*/
|
|
10411
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.setDisplayorder = function(value) {
|
|
10412
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
10413
|
+
};
|
|
10414
|
+
|
|
10415
|
+
|
|
10416
|
+
/**
|
|
10417
|
+
* optional LoyaltyProgramOptionTheme theme = 7;
|
|
10418
|
+
* @return {?proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme}
|
|
10419
|
+
*/
|
|
10420
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.getTheme = function() {
|
|
10421
|
+
return /** @type{?proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme} */ (
|
|
10422
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme, 7));
|
|
10423
|
+
};
|
|
10424
|
+
|
|
10425
|
+
|
|
10426
|
+
/**
|
|
10427
|
+
* @param {?proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme|undefined} value
|
|
10428
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOption} returns this
|
|
10429
|
+
*/
|
|
10430
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.setTheme = function(value) {
|
|
10431
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
10432
|
+
};
|
|
10433
|
+
|
|
10434
|
+
|
|
10435
|
+
/**
|
|
10436
|
+
* Clears the message field making it undefined.
|
|
10437
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOption} returns this
|
|
10438
|
+
*/
|
|
10439
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.clearTheme = function() {
|
|
10440
|
+
return this.setTheme(undefined);
|
|
10441
|
+
};
|
|
10442
|
+
|
|
10443
|
+
|
|
10444
|
+
/**
|
|
10445
|
+
* Returns whether this field is set.
|
|
10446
|
+
* @return {boolean}
|
|
10447
|
+
*/
|
|
10448
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.prototype.hasTheme = function() {
|
|
10449
|
+
return jspb.Message.getField(this, 7) != null;
|
|
10450
|
+
};
|
|
10451
|
+
|
|
10452
|
+
|
|
10453
|
+
|
|
10454
|
+
|
|
10455
|
+
|
|
10456
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10457
|
+
/**
|
|
10458
|
+
* Creates an object representation of this proto.
|
|
10459
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10460
|
+
* Optional fields that are not set will be set to undefined.
|
|
10461
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10462
|
+
* For the list of reserved names please see:
|
|
10463
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10464
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10465
|
+
* JSPB instance for transitional soy proto support:
|
|
10466
|
+
* http://goto/soy-param-migration
|
|
10467
|
+
* @return {!Object}
|
|
10468
|
+
*/
|
|
10469
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.toObject = function(opt_includeInstance) {
|
|
10470
|
+
return proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.toObject(opt_includeInstance, this);
|
|
10471
|
+
};
|
|
10472
|
+
|
|
10473
|
+
|
|
10474
|
+
/**
|
|
10475
|
+
* Static version of the {@see toObject} method.
|
|
10476
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10477
|
+
* the JSPB instance for transitional soy proto support:
|
|
10478
|
+
* http://goto/soy-param-migration
|
|
10479
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme} msg The msg instance to transform.
|
|
10480
|
+
* @return {!Object}
|
|
10481
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10482
|
+
*/
|
|
10483
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.toObject = function(includeInstance, msg) {
|
|
10484
|
+
var f, obj = {
|
|
10485
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10486
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10487
|
+
enabledgraphicurl: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10488
|
+
disabledgraphicurl: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
10489
|
+
};
|
|
10490
|
+
|
|
10491
|
+
if (includeInstance) {
|
|
10492
|
+
obj.$jspbMessageInstance = msg;
|
|
10493
|
+
}
|
|
10494
|
+
return obj;
|
|
10495
|
+
};
|
|
10496
|
+
}
|
|
10497
|
+
|
|
10498
|
+
|
|
10499
|
+
/**
|
|
10500
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10501
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10502
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme}
|
|
10503
|
+
*/
|
|
10504
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.deserializeBinary = function(bytes) {
|
|
10505
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10506
|
+
var msg = new proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme;
|
|
10507
|
+
return proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.deserializeBinaryFromReader(msg, reader);
|
|
10508
|
+
};
|
|
10509
|
+
|
|
10510
|
+
|
|
10511
|
+
/**
|
|
10512
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10513
|
+
* given reader into the given message object.
|
|
10514
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme} msg The message object to deserialize into.
|
|
10515
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10516
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme}
|
|
10517
|
+
*/
|
|
10518
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.deserializeBinaryFromReader = function(msg, reader) {
|
|
10519
|
+
while (reader.nextField()) {
|
|
10520
|
+
if (reader.isEndGroup()) {
|
|
10521
|
+
break;
|
|
10522
|
+
}
|
|
10523
|
+
var field = reader.getFieldNumber();
|
|
10524
|
+
switch (field) {
|
|
10525
|
+
case 1:
|
|
10526
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10527
|
+
msg.setCode(value);
|
|
10528
|
+
break;
|
|
10529
|
+
case 2:
|
|
10530
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10531
|
+
msg.setName(value);
|
|
10532
|
+
break;
|
|
10533
|
+
case 3:
|
|
10534
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10535
|
+
msg.setEnabledgraphicurl(value);
|
|
10536
|
+
break;
|
|
10537
|
+
case 4:
|
|
10538
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10539
|
+
msg.setDisabledgraphicurl(value);
|
|
10540
|
+
break;
|
|
10541
|
+
default:
|
|
10542
|
+
reader.skipField();
|
|
10543
|
+
break;
|
|
10544
|
+
}
|
|
10545
|
+
}
|
|
10546
|
+
return msg;
|
|
10547
|
+
};
|
|
10548
|
+
|
|
10549
|
+
|
|
10550
|
+
/**
|
|
10551
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10552
|
+
* @return {!Uint8Array}
|
|
10553
|
+
*/
|
|
10554
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.serializeBinary = function() {
|
|
10555
|
+
var writer = new jspb.BinaryWriter();
|
|
10556
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.serializeBinaryToWriter(this, writer);
|
|
10557
|
+
return writer.getResultBuffer();
|
|
10558
|
+
};
|
|
10559
|
+
|
|
10560
|
+
|
|
10561
|
+
/**
|
|
10562
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10563
|
+
* format), writing to the given BinaryWriter.
|
|
10564
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme} message
|
|
10565
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10566
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10567
|
+
*/
|
|
10568
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.serializeBinaryToWriter = function(message, writer) {
|
|
10569
|
+
var f = undefined;
|
|
10570
|
+
f = message.getCode();
|
|
10571
|
+
if (f.length > 0) {
|
|
10572
|
+
writer.writeString(
|
|
10573
|
+
1,
|
|
10574
|
+
f
|
|
10575
|
+
);
|
|
10576
|
+
}
|
|
10577
|
+
f = message.getName();
|
|
10578
|
+
if (f.length > 0) {
|
|
10579
|
+
writer.writeString(
|
|
10580
|
+
2,
|
|
10581
|
+
f
|
|
10582
|
+
);
|
|
10583
|
+
}
|
|
10584
|
+
f = message.getEnabledgraphicurl();
|
|
10585
|
+
if (f.length > 0) {
|
|
10586
|
+
writer.writeString(
|
|
10587
|
+
3,
|
|
10588
|
+
f
|
|
10589
|
+
);
|
|
10590
|
+
}
|
|
10591
|
+
f = message.getDisabledgraphicurl();
|
|
10592
|
+
if (f.length > 0) {
|
|
10593
|
+
writer.writeString(
|
|
10594
|
+
4,
|
|
10595
|
+
f
|
|
10596
|
+
);
|
|
10597
|
+
}
|
|
10598
|
+
};
|
|
10599
|
+
|
|
10600
|
+
|
|
10601
|
+
/**
|
|
10602
|
+
* optional string code = 1;
|
|
10603
|
+
* @return {string}
|
|
10604
|
+
*/
|
|
10605
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.getCode = function() {
|
|
10606
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10607
|
+
};
|
|
10608
|
+
|
|
10609
|
+
|
|
10610
|
+
/**
|
|
10611
|
+
* @param {string} value
|
|
10612
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme} returns this
|
|
10613
|
+
*/
|
|
10614
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.setCode = function(value) {
|
|
10615
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10616
|
+
};
|
|
10617
|
+
|
|
10618
|
+
|
|
10619
|
+
/**
|
|
10620
|
+
* optional string name = 2;
|
|
10621
|
+
* @return {string}
|
|
10622
|
+
*/
|
|
10623
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.getName = function() {
|
|
10624
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10625
|
+
};
|
|
10626
|
+
|
|
10627
|
+
|
|
10628
|
+
/**
|
|
10629
|
+
* @param {string} value
|
|
10630
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme} returns this
|
|
10631
|
+
*/
|
|
10632
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.setName = function(value) {
|
|
10633
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10634
|
+
};
|
|
10635
|
+
|
|
10636
|
+
|
|
10637
|
+
/**
|
|
10638
|
+
* optional string enabledGraphicUrl = 3;
|
|
10639
|
+
* @return {string}
|
|
10640
|
+
*/
|
|
10641
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.getEnabledgraphicurl = function() {
|
|
10642
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10643
|
+
};
|
|
10644
|
+
|
|
10645
|
+
|
|
10646
|
+
/**
|
|
10647
|
+
* @param {string} value
|
|
10648
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme} returns this
|
|
10649
|
+
*/
|
|
10650
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.setEnabledgraphicurl = function(value) {
|
|
10651
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10652
|
+
};
|
|
10653
|
+
|
|
10654
|
+
|
|
10655
|
+
/**
|
|
10656
|
+
* optional string disabledGraphicUrl = 4;
|
|
10657
|
+
* @return {string}
|
|
10658
|
+
*/
|
|
10659
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.getDisabledgraphicurl = function() {
|
|
10660
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10661
|
+
};
|
|
10662
|
+
|
|
10663
|
+
|
|
10664
|
+
/**
|
|
10665
|
+
* @param {string} value
|
|
10666
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme} returns this
|
|
10667
|
+
*/
|
|
10668
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramOptionTheme.prototype.setDisabledgraphicurl = function(value) {
|
|
10669
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
10670
|
+
};
|
|
10671
|
+
|
|
10672
|
+
|
|
10290
10673
|
|
|
10291
10674
|
|
|
10292
10675
|
|