@sniipwebmaster/loyalty-program-client-grpcweb-ts 25.11.2581 → 25.11.2614
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.
|
@@ -1244,5 +1244,48 @@ export class LoyaltyProgramServiceAPIServiceClient {
|
|
|
1244
1244
|
this.methodDescriptorSetLoyaltyEligibilitySettingForBiller);
|
|
1245
1245
|
}
|
|
1246
1246
|
|
|
1247
|
+
methodDescriptorUpdateStandardEarnMonthlyLimit = new grpcWeb.MethodDescriptor(
|
|
1248
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateStandardEarnMonthlyLimit',
|
|
1249
|
+
grpcWeb.MethodType.UNARY,
|
|
1250
|
+
service_pb.UpdateStandardEarnMonthlyLimitRequest,
|
|
1251
|
+
service_pb.ResponseCode,
|
|
1252
|
+
(request: service_pb.UpdateStandardEarnMonthlyLimitRequest) => {
|
|
1253
|
+
return request.serializeBinary();
|
|
1254
|
+
},
|
|
1255
|
+
service_pb.ResponseCode.deserializeBinary
|
|
1256
|
+
);
|
|
1257
|
+
|
|
1258
|
+
updateStandardEarnMonthlyLimit(
|
|
1259
|
+
request: service_pb.UpdateStandardEarnMonthlyLimitRequest,
|
|
1260
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
|
|
1261
|
+
|
|
1262
|
+
updateStandardEarnMonthlyLimit(
|
|
1263
|
+
request: service_pb.UpdateStandardEarnMonthlyLimitRequest,
|
|
1264
|
+
metadata: grpcWeb.Metadata | null,
|
|
1265
|
+
callback: (err: grpcWeb.RpcError,
|
|
1266
|
+
response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
|
|
1267
|
+
|
|
1268
|
+
updateStandardEarnMonthlyLimit(
|
|
1269
|
+
request: service_pb.UpdateStandardEarnMonthlyLimitRequest,
|
|
1270
|
+
metadata?: grpcWeb.Metadata | null,
|
|
1271
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1272
|
+
response: service_pb.ResponseCode) => void) {
|
|
1273
|
+
if (callback !== undefined) {
|
|
1274
|
+
return this.client_.rpcCall(
|
|
1275
|
+
this.hostname_ +
|
|
1276
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateStandardEarnMonthlyLimit',
|
|
1277
|
+
request,
|
|
1278
|
+
metadata || {},
|
|
1279
|
+
this.methodDescriptorUpdateStandardEarnMonthlyLimit,
|
|
1280
|
+
callback);
|
|
1281
|
+
}
|
|
1282
|
+
return this.client_.unaryCall(
|
|
1283
|
+
this.hostname_ +
|
|
1284
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateStandardEarnMonthlyLimit',
|
|
1285
|
+
request,
|
|
1286
|
+
metadata || {},
|
|
1287
|
+
this.methodDescriptorUpdateStandardEarnMonthlyLimit);
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1247
1290
|
}
|
|
1248
1291
|
|
|
@@ -95,6 +95,9 @@ export class CalculatedLoyaltyPointsResponse extends jspb.Message {
|
|
|
95
95
|
getLoyaltyprogramlogourl(): string;
|
|
96
96
|
setLoyaltyprogramlogourl(value: string): CalculatedLoyaltyPointsResponse;
|
|
97
97
|
|
|
98
|
+
getAdjustedformonthlylimit(): boolean;
|
|
99
|
+
setAdjustedformonthlylimit(value: boolean): CalculatedLoyaltyPointsResponse;
|
|
100
|
+
|
|
98
101
|
serializeBinary(): Uint8Array;
|
|
99
102
|
toObject(includeInstance?: boolean): CalculatedLoyaltyPointsResponse.AsObject;
|
|
100
103
|
static toObject(includeInstance: boolean, msg: CalculatedLoyaltyPointsResponse): CalculatedLoyaltyPointsResponse.AsObject;
|
|
@@ -113,6 +116,7 @@ export namespace CalculatedLoyaltyPointsResponse {
|
|
|
113
116
|
loyaltypointslabel: string,
|
|
114
117
|
loyaltyprogramcode: string,
|
|
115
118
|
loyaltyprogramlogourl: string,
|
|
119
|
+
adjustedformonthlylimit: boolean,
|
|
116
120
|
}
|
|
117
121
|
}
|
|
118
122
|
|
|
@@ -433,6 +437,9 @@ export class LoyaltyTierDetail extends jspb.Message {
|
|
|
433
437
|
getPoints(): number;
|
|
434
438
|
setPoints(value: number): LoyaltyTierDetail;
|
|
435
439
|
|
|
440
|
+
getAdjustedformonthlylimit(): boolean;
|
|
441
|
+
setAdjustedformonthlylimit(value: boolean): LoyaltyTierDetail;
|
|
442
|
+
|
|
436
443
|
serializeBinary(): Uint8Array;
|
|
437
444
|
toObject(includeInstance?: boolean): LoyaltyTierDetail.AsObject;
|
|
438
445
|
static toObject(includeInstance: boolean, msg: LoyaltyTierDetail): LoyaltyTierDetail.AsObject;
|
|
@@ -445,6 +452,7 @@ export namespace LoyaltyTierDetail {
|
|
|
445
452
|
export type AsObject = {
|
|
446
453
|
loyaltyoptionid: number,
|
|
447
454
|
points: number,
|
|
455
|
+
adjustedformonthlylimit: boolean,
|
|
448
456
|
}
|
|
449
457
|
}
|
|
450
458
|
|
|
@@ -1162,6 +1170,9 @@ export class ProgramDetail extends jspb.Message {
|
|
|
1162
1170
|
getAppaccounttype(): string;
|
|
1163
1171
|
setAppaccounttype(value: string): ProgramDetail;
|
|
1164
1172
|
|
|
1173
|
+
getStandardearnmonthlylimit(): number;
|
|
1174
|
+
setStandardearnmonthlylimit(value: number): ProgramDetail;
|
|
1175
|
+
|
|
1165
1176
|
serializeBinary(): Uint8Array;
|
|
1166
1177
|
toObject(includeInstance?: boolean): ProgramDetail.AsObject;
|
|
1167
1178
|
static toObject(includeInstance: boolean, msg: ProgramDetail): ProgramDetail.AsObject;
|
|
@@ -1191,6 +1202,7 @@ export namespace ProgramDetail {
|
|
|
1191
1202
|
issurnamevalidation: boolean,
|
|
1192
1203
|
loyaltyoptionsList: Array<LoyaltyProgramOption.AsObject>,
|
|
1193
1204
|
appaccounttype: string,
|
|
1205
|
+
standardearnmonthlylimit: number,
|
|
1194
1206
|
}
|
|
1195
1207
|
|
|
1196
1208
|
export enum ProgramDetailMembershipNumberType {
|
|
@@ -1587,3 +1599,25 @@ export namespace SetLoyaltyEligibilitySettingForBillerRequest {
|
|
|
1587
1599
|
}
|
|
1588
1600
|
}
|
|
1589
1601
|
|
|
1602
|
+
export class UpdateStandardEarnMonthlyLimitRequest extends jspb.Message {
|
|
1603
|
+
getLoyaltyprogramid(): number;
|
|
1604
|
+
setLoyaltyprogramid(value: number): UpdateStandardEarnMonthlyLimitRequest;
|
|
1605
|
+
|
|
1606
|
+
getStandardearnmonthlylimit(): number;
|
|
1607
|
+
setStandardearnmonthlylimit(value: number): UpdateStandardEarnMonthlyLimitRequest;
|
|
1608
|
+
|
|
1609
|
+
serializeBinary(): Uint8Array;
|
|
1610
|
+
toObject(includeInstance?: boolean): UpdateStandardEarnMonthlyLimitRequest.AsObject;
|
|
1611
|
+
static toObject(includeInstance: boolean, msg: UpdateStandardEarnMonthlyLimitRequest): UpdateStandardEarnMonthlyLimitRequest.AsObject;
|
|
1612
|
+
static serializeBinaryToWriter(message: UpdateStandardEarnMonthlyLimitRequest, writer: jspb.BinaryWriter): void;
|
|
1613
|
+
static deserializeBinary(bytes: Uint8Array): UpdateStandardEarnMonthlyLimitRequest;
|
|
1614
|
+
static deserializeBinaryFromReader(message: UpdateStandardEarnMonthlyLimitRequest, reader: jspb.BinaryReader): UpdateStandardEarnMonthlyLimitRequest;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
export namespace UpdateStandardEarnMonthlyLimitRequest {
|
|
1618
|
+
export type AsObject = {
|
|
1619
|
+
loyaltyprogramid: number,
|
|
1620
|
+
standardearnmonthlylimit: number,
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
|
|
@@ -69,6 +69,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest',
|
|
|
69
69
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest', null, global);
|
|
70
70
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest', null, global);
|
|
71
71
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.UnLinkMembershipRequest', null, global);
|
|
72
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest', null, global);
|
|
72
73
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipRequest', null, global);
|
|
73
74
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipResponse', null, global);
|
|
74
75
|
/**
|
|
@@ -1121,6 +1122,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1121
1122
|
*/
|
|
1122
1123
|
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.displayName = 'proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest';
|
|
1123
1124
|
}
|
|
1125
|
+
/**
|
|
1126
|
+
* Generated by JsPbCodeGenerator.
|
|
1127
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1128
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1129
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1130
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1131
|
+
* valid.
|
|
1132
|
+
* @extends {jspb.Message}
|
|
1133
|
+
* @constructor
|
|
1134
|
+
*/
|
|
1135
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest = function(opt_data) {
|
|
1136
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1137
|
+
};
|
|
1138
|
+
goog.inherits(proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest, jspb.Message);
|
|
1139
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1140
|
+
/**
|
|
1141
|
+
* @public
|
|
1142
|
+
* @override
|
|
1143
|
+
*/
|
|
1144
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.displayName = 'proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest';
|
|
1145
|
+
}
|
|
1124
1146
|
|
|
1125
1147
|
/**
|
|
1126
1148
|
* List of repeated fields within this message type.
|
|
@@ -1651,7 +1673,8 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.toObject = functi
|
|
|
1651
1673
|
loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1652
1674
|
loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1653
1675
|
loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1654
|
-
loyaltyprogramlogourl: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
1676
|
+
loyaltyprogramlogourl: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1677
|
+
adjustedformonthlylimit: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
1655
1678
|
};
|
|
1656
1679
|
|
|
1657
1680
|
if (includeInstance) {
|
|
@@ -1721,6 +1744,10 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
|
|
|
1721
1744
|
var value = /** @type {string} */ (reader.readString());
|
|
1722
1745
|
msg.setLoyaltyprogramlogourl(value);
|
|
1723
1746
|
break;
|
|
1747
|
+
case 9:
|
|
1748
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1749
|
+
msg.setAdjustedformonthlylimit(value);
|
|
1750
|
+
break;
|
|
1724
1751
|
default:
|
|
1725
1752
|
reader.skipField();
|
|
1726
1753
|
break;
|
|
@@ -1807,6 +1834,13 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.serializeBinaryTo
|
|
|
1807
1834
|
f
|
|
1808
1835
|
);
|
|
1809
1836
|
}
|
|
1837
|
+
f = message.getAdjustedformonthlylimit();
|
|
1838
|
+
if (f) {
|
|
1839
|
+
writer.writeBool(
|
|
1840
|
+
9,
|
|
1841
|
+
f
|
|
1842
|
+
);
|
|
1843
|
+
}
|
|
1810
1844
|
};
|
|
1811
1845
|
|
|
1812
1846
|
|
|
@@ -1973,6 +2007,24 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoya
|
|
|
1973
2007
|
};
|
|
1974
2008
|
|
|
1975
2009
|
|
|
2010
|
+
/**
|
|
2011
|
+
* optional bool adjustedForMonthlyLimit = 9;
|
|
2012
|
+
* @return {boolean}
|
|
2013
|
+
*/
|
|
2014
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getAdjustedformonthlylimit = function() {
|
|
2015
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
2016
|
+
};
|
|
2017
|
+
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* @param {boolean} value
|
|
2021
|
+
* @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
|
|
2022
|
+
*/
|
|
2023
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setAdjustedformonthlylimit = function(value) {
|
|
2024
|
+
return jspb.Message.setProto3BooleanField(this, 9, value);
|
|
2025
|
+
};
|
|
2026
|
+
|
|
2027
|
+
|
|
1976
2028
|
|
|
1977
2029
|
|
|
1978
2030
|
|
|
@@ -4297,7 +4349,8 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.toObject = function(o
|
|
|
4297
4349
|
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.toObject = function(includeInstance, msg) {
|
|
4298
4350
|
var f, obj = {
|
|
4299
4351
|
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4300
|
-
points: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
4352
|
+
points: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4353
|
+
adjustedformonthlylimit: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
4301
4354
|
};
|
|
4302
4355
|
|
|
4303
4356
|
if (includeInstance) {
|
|
@@ -4342,6 +4395,10 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.deserializeBinaryFromReader = f
|
|
|
4342
4395
|
var value = /** @type {number} */ (reader.readInt32());
|
|
4343
4396
|
msg.setPoints(value);
|
|
4344
4397
|
break;
|
|
4398
|
+
case 3:
|
|
4399
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4400
|
+
msg.setAdjustedformonthlylimit(value);
|
|
4401
|
+
break;
|
|
4345
4402
|
default:
|
|
4346
4403
|
reader.skipField();
|
|
4347
4404
|
break;
|
|
@@ -4385,6 +4442,13 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.serializeBinaryToWriter = funct
|
|
|
4385
4442
|
f
|
|
4386
4443
|
);
|
|
4387
4444
|
}
|
|
4445
|
+
f = message.getAdjustedformonthlylimit();
|
|
4446
|
+
if (f) {
|
|
4447
|
+
writer.writeBool(
|
|
4448
|
+
3,
|
|
4449
|
+
f
|
|
4450
|
+
);
|
|
4451
|
+
}
|
|
4388
4452
|
};
|
|
4389
4453
|
|
|
4390
4454
|
|
|
@@ -4424,6 +4488,24 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setPoints = function(
|
|
|
4424
4488
|
};
|
|
4425
4489
|
|
|
4426
4490
|
|
|
4491
|
+
/**
|
|
4492
|
+
* optional bool adjustedForMonthlyLimit = 3;
|
|
4493
|
+
* @return {boolean}
|
|
4494
|
+
*/
|
|
4495
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getAdjustedformonthlylimit = function() {
|
|
4496
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
4497
|
+
};
|
|
4498
|
+
|
|
4499
|
+
|
|
4500
|
+
/**
|
|
4501
|
+
* @param {boolean} value
|
|
4502
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
|
|
4503
|
+
*/
|
|
4504
|
+
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setAdjustedformonthlylimit = function(value) {
|
|
4505
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
4506
|
+
};
|
|
4507
|
+
|
|
4508
|
+
|
|
4427
4509
|
|
|
4428
4510
|
|
|
4429
4511
|
|
|
@@ -9467,7 +9549,8 @@ proto.loyaltyprogramserviceapi.ProgramDetail.toObject = function(includeInstance
|
|
|
9467
9549
|
issurnamevalidation: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
9468
9550
|
loyaltyoptionsList: jspb.Message.toObjectList(msg.getLoyaltyoptionsList(),
|
|
9469
9551
|
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.toObject, includeInstance),
|
|
9470
|
-
appaccounttype: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
9552
|
+
appaccounttype: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
9553
|
+
standardearnmonthlylimit: jspb.Message.getFieldWithDefault(msg, 20, 0)
|
|
9471
9554
|
};
|
|
9472
9555
|
|
|
9473
9556
|
if (includeInstance) {
|
|
@@ -9581,6 +9664,10 @@ proto.loyaltyprogramserviceapi.ProgramDetail.deserializeBinaryFromReader = funct
|
|
|
9581
9664
|
var value = /** @type {string} */ (reader.readString());
|
|
9582
9665
|
msg.setAppaccounttype(value);
|
|
9583
9666
|
break;
|
|
9667
|
+
case 20:
|
|
9668
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
9669
|
+
msg.setStandardearnmonthlylimit(value);
|
|
9670
|
+
break;
|
|
9584
9671
|
default:
|
|
9585
9672
|
reader.skipField();
|
|
9586
9673
|
break;
|
|
@@ -9744,6 +9831,13 @@ proto.loyaltyprogramserviceapi.ProgramDetail.serializeBinaryToWriter = function(
|
|
|
9744
9831
|
f
|
|
9745
9832
|
);
|
|
9746
9833
|
}
|
|
9834
|
+
f = message.getStandardearnmonthlylimit();
|
|
9835
|
+
if (f !== 0) {
|
|
9836
|
+
writer.writeInt32(
|
|
9837
|
+
20,
|
|
9838
|
+
f
|
|
9839
|
+
);
|
|
9840
|
+
}
|
|
9747
9841
|
};
|
|
9748
9842
|
|
|
9749
9843
|
|
|
@@ -10119,6 +10213,24 @@ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setAppaccounttype = funct
|
|
|
10119
10213
|
};
|
|
10120
10214
|
|
|
10121
10215
|
|
|
10216
|
+
/**
|
|
10217
|
+
* optional int32 standardEarnMonthlyLimit = 20;
|
|
10218
|
+
* @return {number}
|
|
10219
|
+
*/
|
|
10220
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getStandardearnmonthlylimit = function() {
|
|
10221
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
10222
|
+
};
|
|
10223
|
+
|
|
10224
|
+
|
|
10225
|
+
/**
|
|
10226
|
+
* @param {number} value
|
|
10227
|
+
* @return {!proto.loyaltyprogramserviceapi.ProgramDetail} returns this
|
|
10228
|
+
*/
|
|
10229
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setStandardearnmonthlylimit = function(value) {
|
|
10230
|
+
return jspb.Message.setProto3IntField(this, 20, value);
|
|
10231
|
+
};
|
|
10232
|
+
|
|
10233
|
+
|
|
10122
10234
|
|
|
10123
10235
|
|
|
10124
10236
|
|
|
@@ -13006,4 +13118,164 @@ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prot
|
|
|
13006
13118
|
};
|
|
13007
13119
|
|
|
13008
13120
|
|
|
13121
|
+
|
|
13122
|
+
|
|
13123
|
+
|
|
13124
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13125
|
+
/**
|
|
13126
|
+
* Creates an object representation of this proto.
|
|
13127
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13128
|
+
* Optional fields that are not set will be set to undefined.
|
|
13129
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13130
|
+
* For the list of reserved names please see:
|
|
13131
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13132
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13133
|
+
* JSPB instance for transitional soy proto support:
|
|
13134
|
+
* http://goto/soy-param-migration
|
|
13135
|
+
* @return {!Object}
|
|
13136
|
+
*/
|
|
13137
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13138
|
+
return proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.toObject(opt_includeInstance, this);
|
|
13139
|
+
};
|
|
13140
|
+
|
|
13141
|
+
|
|
13142
|
+
/**
|
|
13143
|
+
* Static version of the {@see toObject} method.
|
|
13144
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13145
|
+
* the JSPB instance for transitional soy proto support:
|
|
13146
|
+
* http://goto/soy-param-migration
|
|
13147
|
+
* @param {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} msg The msg instance to transform.
|
|
13148
|
+
* @return {!Object}
|
|
13149
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13150
|
+
*/
|
|
13151
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.toObject = function(includeInstance, msg) {
|
|
13152
|
+
var f, obj = {
|
|
13153
|
+
loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
13154
|
+
standardearnmonthlylimit: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
13155
|
+
};
|
|
13156
|
+
|
|
13157
|
+
if (includeInstance) {
|
|
13158
|
+
obj.$jspbMessageInstance = msg;
|
|
13159
|
+
}
|
|
13160
|
+
return obj;
|
|
13161
|
+
};
|
|
13162
|
+
}
|
|
13163
|
+
|
|
13164
|
+
|
|
13165
|
+
/**
|
|
13166
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13167
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13168
|
+
* @return {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest}
|
|
13169
|
+
*/
|
|
13170
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.deserializeBinary = function(bytes) {
|
|
13171
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13172
|
+
var msg = new proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest;
|
|
13173
|
+
return proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.deserializeBinaryFromReader(msg, reader);
|
|
13174
|
+
};
|
|
13175
|
+
|
|
13176
|
+
|
|
13177
|
+
/**
|
|
13178
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13179
|
+
* given reader into the given message object.
|
|
13180
|
+
* @param {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} msg The message object to deserialize into.
|
|
13181
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13182
|
+
* @return {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest}
|
|
13183
|
+
*/
|
|
13184
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13185
|
+
while (reader.nextField()) {
|
|
13186
|
+
if (reader.isEndGroup()) {
|
|
13187
|
+
break;
|
|
13188
|
+
}
|
|
13189
|
+
var field = reader.getFieldNumber();
|
|
13190
|
+
switch (field) {
|
|
13191
|
+
case 1:
|
|
13192
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13193
|
+
msg.setLoyaltyprogramid(value);
|
|
13194
|
+
break;
|
|
13195
|
+
case 2:
|
|
13196
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
13197
|
+
msg.setStandardearnmonthlylimit(value);
|
|
13198
|
+
break;
|
|
13199
|
+
default:
|
|
13200
|
+
reader.skipField();
|
|
13201
|
+
break;
|
|
13202
|
+
}
|
|
13203
|
+
}
|
|
13204
|
+
return msg;
|
|
13205
|
+
};
|
|
13206
|
+
|
|
13207
|
+
|
|
13208
|
+
/**
|
|
13209
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13210
|
+
* @return {!Uint8Array}
|
|
13211
|
+
*/
|
|
13212
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.serializeBinary = function() {
|
|
13213
|
+
var writer = new jspb.BinaryWriter();
|
|
13214
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.serializeBinaryToWriter(this, writer);
|
|
13215
|
+
return writer.getResultBuffer();
|
|
13216
|
+
};
|
|
13217
|
+
|
|
13218
|
+
|
|
13219
|
+
/**
|
|
13220
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13221
|
+
* format), writing to the given BinaryWriter.
|
|
13222
|
+
* @param {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} message
|
|
13223
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13224
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13225
|
+
*/
|
|
13226
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13227
|
+
var f = undefined;
|
|
13228
|
+
f = message.getLoyaltyprogramid();
|
|
13229
|
+
if (f !== 0) {
|
|
13230
|
+
writer.writeInt64(
|
|
13231
|
+
1,
|
|
13232
|
+
f
|
|
13233
|
+
);
|
|
13234
|
+
}
|
|
13235
|
+
f = message.getStandardearnmonthlylimit();
|
|
13236
|
+
if (f !== 0) {
|
|
13237
|
+
writer.writeInt32(
|
|
13238
|
+
2,
|
|
13239
|
+
f
|
|
13240
|
+
);
|
|
13241
|
+
}
|
|
13242
|
+
};
|
|
13243
|
+
|
|
13244
|
+
|
|
13245
|
+
/**
|
|
13246
|
+
* optional int64 loyaltyProgramId = 1;
|
|
13247
|
+
* @return {number}
|
|
13248
|
+
*/
|
|
13249
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.getLoyaltyprogramid = function() {
|
|
13250
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
13251
|
+
};
|
|
13252
|
+
|
|
13253
|
+
|
|
13254
|
+
/**
|
|
13255
|
+
* @param {number} value
|
|
13256
|
+
* @return {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} returns this
|
|
13257
|
+
*/
|
|
13258
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.setLoyaltyprogramid = function(value) {
|
|
13259
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
13260
|
+
};
|
|
13261
|
+
|
|
13262
|
+
|
|
13263
|
+
/**
|
|
13264
|
+
* optional int32 standardEarnMonthlyLimit = 2;
|
|
13265
|
+
* @return {number}
|
|
13266
|
+
*/
|
|
13267
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.getStandardearnmonthlylimit = function() {
|
|
13268
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
13269
|
+
};
|
|
13270
|
+
|
|
13271
|
+
|
|
13272
|
+
/**
|
|
13273
|
+
* @param {number} value
|
|
13274
|
+
* @return {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} returns this
|
|
13275
|
+
*/
|
|
13276
|
+
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.setStandardearnmonthlylimit = function(value) {
|
|
13277
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
13278
|
+
};
|
|
13279
|
+
|
|
13280
|
+
|
|
13009
13281
|
goog.object.extend(exports, proto.loyaltyprogramserviceapi);
|