@sniipwebmaster/loyalty-program-client-grpcweb-ts 26.5.3724 → 26.5.3738

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.
@@ -47,6 +47,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMember
47
47
  goog.exportSymbol('proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest', null, global);
48
48
  goog.exportSymbol('proto.loyaltyprogramserviceapi.GetUserMembershipsRequest', null, global);
49
49
  goog.exportSymbol('proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse', null, global);
50
+ goog.exportSymbol('proto.loyaltyprogramserviceapi.HypotheticalProgramEarn', null, global);
50
51
  goog.exportSymbol('proto.loyaltyprogramserviceapi.LightMembershipDetail', null, global);
51
52
  goog.exportSymbol('proto.loyaltyprogramserviceapi.LightMembershipDetailResponse', null, global);
52
53
  goog.exportSymbol('proto.loyaltyprogramserviceapi.LinkMembershipRequest', null, global);
@@ -144,6 +145,27 @@ if (goog.DEBUG && !COMPILED) {
144
145
  */
145
146
  proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.displayName = 'proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse';
146
147
  }
148
+ /**
149
+ * Generated by JsPbCodeGenerator.
150
+ * @param {Array=} opt_data Optional initial data array, typically from a
151
+ * server response, or constructed directly in Javascript. The array is used
152
+ * in place and becomes part of the constructed object. It is not cloned.
153
+ * If no data is provided, the constructed object will be empty, but still
154
+ * valid.
155
+ * @extends {jspb.Message}
156
+ * @constructor
157
+ */
158
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn = function(opt_data) {
159
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
160
+ };
161
+ goog.inherits(proto.loyaltyprogramserviceapi.HypotheticalProgramEarn, jspb.Message);
162
+ if (goog.DEBUG && !COMPILED) {
163
+ /**
164
+ * @public
165
+ * @override
166
+ */
167
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.displayName = 'proto.loyaltyprogramserviceapi.HypotheticalProgramEarn';
168
+ }
147
169
  /**
148
170
  * Generated by JsPbCodeGenerator.
149
171
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1858,7 +1880,8 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.toObject = functi
1858
1880
  loyaltyprogramverticallogourl: jspb.Message.getFieldWithDefault(msg, 13, ""),
1859
1881
  earncardtitle: jspb.Message.getFieldWithDefault(msg, 14, ""),
1860
1882
  earncardbody: jspb.Message.getFieldWithDefault(msg, 15, ""),
1861
- eligibleforbiller: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
1883
+ eligibleforbiller: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
1884
+ hypotheticalprogramearn: (f = msg.getHypotheticalprogramearn()) && proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.toObject(includeInstance, f)
1862
1885
  };
1863
1886
 
1864
1887
  if (includeInstance) {
@@ -1960,6 +1983,11 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
1960
1983
  var value = /** @type {boolean} */ (reader.readBool());
1961
1984
  msg.setEligibleforbiller(value);
1962
1985
  break;
1986
+ case 17:
1987
+ var value = new proto.loyaltyprogramserviceapi.HypotheticalProgramEarn;
1988
+ reader.readMessage(value,proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.deserializeBinaryFromReader);
1989
+ msg.setHypotheticalprogramearn(value);
1990
+ break;
1963
1991
  default:
1964
1992
  reader.skipField();
1965
1993
  break;
@@ -2095,10 +2123,630 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.serializeBinaryTo
2095
2123
  f
2096
2124
  );
2097
2125
  }
2098
- f = message.getEligibleforbiller();
2099
- if (f) {
2100
- writer.writeBool(
2101
- 16,
2126
+ f = message.getEligibleforbiller();
2127
+ if (f) {
2128
+ writer.writeBool(
2129
+ 16,
2130
+ f
2131
+ );
2132
+ }
2133
+ f = message.getHypotheticalprogramearn();
2134
+ if (f != null) {
2135
+ writer.writeMessage(
2136
+ 17,
2137
+ f,
2138
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.serializeBinaryToWriter
2139
+ );
2140
+ }
2141
+ };
2142
+
2143
+
2144
+ /**
2145
+ * optional ResponseCode responseCode = 1;
2146
+ * @return {?proto.loyaltyprogramserviceapi.ResponseCode}
2147
+ */
2148
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getResponsecode = function() {
2149
+ return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
2150
+ jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
2151
+ };
2152
+
2153
+
2154
+ /**
2155
+ * @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
2156
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2157
+ */
2158
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setResponsecode = function(value) {
2159
+ return jspb.Message.setWrapperField(this, 1, value);
2160
+ };
2161
+
2162
+
2163
+ /**
2164
+ * Clears the message field making it undefined.
2165
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2166
+ */
2167
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.clearResponsecode = function() {
2168
+ return this.setResponsecode(undefined);
2169
+ };
2170
+
2171
+
2172
+ /**
2173
+ * Returns whether this field is set.
2174
+ * @return {boolean}
2175
+ */
2176
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.hasResponsecode = function() {
2177
+ return jspb.Message.getField(this, 1) != null;
2178
+ };
2179
+
2180
+
2181
+ /**
2182
+ * optional int64 membershipId = 2;
2183
+ * @return {number}
2184
+ */
2185
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getMembershipid = function() {
2186
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2187
+ };
2188
+
2189
+
2190
+ /**
2191
+ * @param {number} value
2192
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2193
+ */
2194
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setMembershipid = function(value) {
2195
+ return jspb.Message.setProto3IntField(this, 2, value);
2196
+ };
2197
+
2198
+
2199
+ /**
2200
+ * optional int32 amountOfPoints = 3;
2201
+ * @return {number}
2202
+ */
2203
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getAmountofpoints = function() {
2204
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2205
+ };
2206
+
2207
+
2208
+ /**
2209
+ * @param {number} value
2210
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2211
+ */
2212
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setAmountofpoints = function(value) {
2213
+ return jspb.Message.setProto3IntField(this, 3, value);
2214
+ };
2215
+
2216
+
2217
+ /**
2218
+ * optional string membershipNumber = 4;
2219
+ * @return {string}
2220
+ */
2221
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getMembershipnumber = function() {
2222
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2223
+ };
2224
+
2225
+
2226
+ /**
2227
+ * @param {string} value
2228
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2229
+ */
2230
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setMembershipnumber = function(value) {
2231
+ return jspb.Message.setProto3StringField(this, 4, value);
2232
+ };
2233
+
2234
+
2235
+ /**
2236
+ * optional string loyaltyProgramName = 5;
2237
+ * @return {string}
2238
+ */
2239
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramname = function() {
2240
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2241
+ };
2242
+
2243
+
2244
+ /**
2245
+ * @param {string} value
2246
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2247
+ */
2248
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramname = function(value) {
2249
+ return jspb.Message.setProto3StringField(this, 5, value);
2250
+ };
2251
+
2252
+
2253
+ /**
2254
+ * optional string loyaltyPointsLabel = 6;
2255
+ * @return {string}
2256
+ */
2257
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltypointslabel = function() {
2258
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2259
+ };
2260
+
2261
+
2262
+ /**
2263
+ * @param {string} value
2264
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2265
+ */
2266
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltypointslabel = function(value) {
2267
+ return jspb.Message.setProto3StringField(this, 6, value);
2268
+ };
2269
+
2270
+
2271
+ /**
2272
+ * optional string loyaltyProgramCode = 7;
2273
+ * @return {string}
2274
+ */
2275
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramcode = function() {
2276
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2277
+ };
2278
+
2279
+
2280
+ /**
2281
+ * @param {string} value
2282
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2283
+ */
2284
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramcode = function(value) {
2285
+ return jspb.Message.setProto3StringField(this, 7, value);
2286
+ };
2287
+
2288
+
2289
+ /**
2290
+ * optional string loyaltyProgramLogoUrl = 8;
2291
+ * @return {string}
2292
+ */
2293
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramlogourl = function() {
2294
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2295
+ };
2296
+
2297
+
2298
+ /**
2299
+ * @param {string} value
2300
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2301
+ */
2302
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramlogourl = function(value) {
2303
+ return jspb.Message.setProto3StringField(this, 8, value);
2304
+ };
2305
+
2306
+
2307
+ /**
2308
+ * optional bool adjustedForMonthlyLimit = 9;
2309
+ * @return {boolean}
2310
+ */
2311
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getAdjustedformonthlylimit = function() {
2312
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
2313
+ };
2314
+
2315
+
2316
+ /**
2317
+ * @param {boolean} value
2318
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2319
+ */
2320
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setAdjustedformonthlylimit = function(value) {
2321
+ return jspb.Message.setProto3BooleanField(this, 9, value);
2322
+ };
2323
+
2324
+
2325
+ /**
2326
+ * optional string loyaltyProgramSmallLogoUrl = 10;
2327
+ * @return {string}
2328
+ */
2329
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramsmalllogourl = function() {
2330
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
2331
+ };
2332
+
2333
+
2334
+ /**
2335
+ * @param {string} value
2336
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2337
+ */
2338
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramsmalllogourl = function(value) {
2339
+ return jspb.Message.setProto3StringField(this, 10, value);
2340
+ };
2341
+
2342
+
2343
+ /**
2344
+ * optional string loyaltyProgramShortName = 11;
2345
+ * @return {string}
2346
+ */
2347
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramshortname = function() {
2348
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2349
+ };
2350
+
2351
+
2352
+ /**
2353
+ * @param {string} value
2354
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2355
+ */
2356
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramshortname = function(value) {
2357
+ return jspb.Message.setProto3StringField(this, 11, value);
2358
+ };
2359
+
2360
+
2361
+ /**
2362
+ * optional string loyaltyProgramHorizontalLogoUrl = 12;
2363
+ * @return {string}
2364
+ */
2365
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramhorizontallogourl = function() {
2366
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
2367
+ };
2368
+
2369
+
2370
+ /**
2371
+ * @param {string} value
2372
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2373
+ */
2374
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramhorizontallogourl = function(value) {
2375
+ return jspb.Message.setProto3StringField(this, 12, value);
2376
+ };
2377
+
2378
+
2379
+ /**
2380
+ * optional string loyaltyProgramVerticalLogoUrl = 13;
2381
+ * @return {string}
2382
+ */
2383
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramverticallogourl = function() {
2384
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
2385
+ };
2386
+
2387
+
2388
+ /**
2389
+ * @param {string} value
2390
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2391
+ */
2392
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramverticallogourl = function(value) {
2393
+ return jspb.Message.setProto3StringField(this, 13, value);
2394
+ };
2395
+
2396
+
2397
+ /**
2398
+ * optional string earnCardTitle = 14;
2399
+ * @return {string}
2400
+ */
2401
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getEarncardtitle = function() {
2402
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2403
+ };
2404
+
2405
+
2406
+ /**
2407
+ * @param {string} value
2408
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2409
+ */
2410
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setEarncardtitle = function(value) {
2411
+ return jspb.Message.setProto3StringField(this, 14, value);
2412
+ };
2413
+
2414
+
2415
+ /**
2416
+ * optional string earnCardBody = 15;
2417
+ * @return {string}
2418
+ */
2419
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getEarncardbody = function() {
2420
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
2421
+ };
2422
+
2423
+
2424
+ /**
2425
+ * @param {string} value
2426
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2427
+ */
2428
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setEarncardbody = function(value) {
2429
+ return jspb.Message.setProto3StringField(this, 15, value);
2430
+ };
2431
+
2432
+
2433
+ /**
2434
+ * optional bool eligibleForBiller = 16;
2435
+ * @return {boolean}
2436
+ */
2437
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getEligibleforbiller = function() {
2438
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
2439
+ };
2440
+
2441
+
2442
+ /**
2443
+ * @param {boolean} value
2444
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2445
+ */
2446
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setEligibleforbiller = function(value) {
2447
+ return jspb.Message.setProto3BooleanField(this, 16, value);
2448
+ };
2449
+
2450
+
2451
+ /**
2452
+ * optional HypotheticalProgramEarn hypotheticalProgramEarn = 17;
2453
+ * @return {?proto.loyaltyprogramserviceapi.HypotheticalProgramEarn}
2454
+ */
2455
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getHypotheticalprogramearn = function() {
2456
+ return /** @type{?proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} */ (
2457
+ jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.HypotheticalProgramEarn, 17));
2458
+ };
2459
+
2460
+
2461
+ /**
2462
+ * @param {?proto.loyaltyprogramserviceapi.HypotheticalProgramEarn|undefined} value
2463
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2464
+ */
2465
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setHypotheticalprogramearn = function(value) {
2466
+ return jspb.Message.setWrapperField(this, 17, value);
2467
+ };
2468
+
2469
+
2470
+ /**
2471
+ * Clears the message field making it undefined.
2472
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2473
+ */
2474
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.clearHypotheticalprogramearn = function() {
2475
+ return this.setHypotheticalprogramearn(undefined);
2476
+ };
2477
+
2478
+
2479
+ /**
2480
+ * Returns whether this field is set.
2481
+ * @return {boolean}
2482
+ */
2483
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.hasHypotheticalprogramearn = function() {
2484
+ return jspb.Message.getField(this, 17) != null;
2485
+ };
2486
+
2487
+
2488
+
2489
+
2490
+
2491
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2492
+ /**
2493
+ * Creates an object representation of this proto.
2494
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2495
+ * Optional fields that are not set will be set to undefined.
2496
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2497
+ * For the list of reserved names please see:
2498
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2499
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2500
+ * JSPB instance for transitional soy proto support:
2501
+ * http://goto/soy-param-migration
2502
+ * @return {!Object}
2503
+ */
2504
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.toObject = function(opt_includeInstance) {
2505
+ return proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.toObject(opt_includeInstance, this);
2506
+ };
2507
+
2508
+
2509
+ /**
2510
+ * Static version of the {@see toObject} method.
2511
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2512
+ * the JSPB instance for transitional soy proto support:
2513
+ * http://goto/soy-param-migration
2514
+ * @param {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} msg The msg instance to transform.
2515
+ * @return {!Object}
2516
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2517
+ */
2518
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.toObject = function(includeInstance, msg) {
2519
+ var f, obj = {
2520
+ loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 1, 0),
2521
+ loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 2, ""),
2522
+ loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 3, ""),
2523
+ loyaltyprogramshortname: jspb.Message.getFieldWithDefault(msg, 4, ""),
2524
+ pointlabelsingular: jspb.Message.getFieldWithDefault(msg, 5, ""),
2525
+ pointlabelplural: jspb.Message.getFieldWithDefault(msg, 6, ""),
2526
+ amountofpoints: jspb.Message.getFieldWithDefault(msg, 7, 0),
2527
+ loyaltyprogramlogourl: jspb.Message.getFieldWithDefault(msg, 8, ""),
2528
+ loyaltyprogramsmalllogourl: jspb.Message.getFieldWithDefault(msg, 9, ""),
2529
+ loyaltyprogramhorizontallogourl: jspb.Message.getFieldWithDefault(msg, 10, ""),
2530
+ loyaltyprogramverticallogourl: jspb.Message.getFieldWithDefault(msg, 11, ""),
2531
+ hypotheticalearncardtitle: jspb.Message.getFieldWithDefault(msg, 12, ""),
2532
+ hypotheticalearncardbody: jspb.Message.getFieldWithDefault(msg, 13, ""),
2533
+ hypotheticalearncardbuttontext: jspb.Message.getFieldWithDefault(msg, 14, "")
2534
+ };
2535
+
2536
+ if (includeInstance) {
2537
+ obj.$jspbMessageInstance = msg;
2538
+ }
2539
+ return obj;
2540
+ };
2541
+ }
2542
+
2543
+
2544
+ /**
2545
+ * Deserializes binary data (in protobuf wire format).
2546
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2547
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn}
2548
+ */
2549
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.deserializeBinary = function(bytes) {
2550
+ var reader = new jspb.BinaryReader(bytes);
2551
+ var msg = new proto.loyaltyprogramserviceapi.HypotheticalProgramEarn;
2552
+ return proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.deserializeBinaryFromReader(msg, reader);
2553
+ };
2554
+
2555
+
2556
+ /**
2557
+ * Deserializes binary data (in protobuf wire format) from the
2558
+ * given reader into the given message object.
2559
+ * @param {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} msg The message object to deserialize into.
2560
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2561
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn}
2562
+ */
2563
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.deserializeBinaryFromReader = function(msg, reader) {
2564
+ while (reader.nextField()) {
2565
+ if (reader.isEndGroup()) {
2566
+ break;
2567
+ }
2568
+ var field = reader.getFieldNumber();
2569
+ switch (field) {
2570
+ case 1:
2571
+ var value = /** @type {number} */ (reader.readInt64());
2572
+ msg.setLoyaltyprogramid(value);
2573
+ break;
2574
+ case 2:
2575
+ var value = /** @type {string} */ (reader.readString());
2576
+ msg.setLoyaltyprogramcode(value);
2577
+ break;
2578
+ case 3:
2579
+ var value = /** @type {string} */ (reader.readString());
2580
+ msg.setLoyaltyprogramname(value);
2581
+ break;
2582
+ case 4:
2583
+ var value = /** @type {string} */ (reader.readString());
2584
+ msg.setLoyaltyprogramshortname(value);
2585
+ break;
2586
+ case 5:
2587
+ var value = /** @type {string} */ (reader.readString());
2588
+ msg.setPointlabelsingular(value);
2589
+ break;
2590
+ case 6:
2591
+ var value = /** @type {string} */ (reader.readString());
2592
+ msg.setPointlabelplural(value);
2593
+ break;
2594
+ case 7:
2595
+ var value = /** @type {number} */ (reader.readInt32());
2596
+ msg.setAmountofpoints(value);
2597
+ break;
2598
+ case 8:
2599
+ var value = /** @type {string} */ (reader.readString());
2600
+ msg.setLoyaltyprogramlogourl(value);
2601
+ break;
2602
+ case 9:
2603
+ var value = /** @type {string} */ (reader.readString());
2604
+ msg.setLoyaltyprogramsmalllogourl(value);
2605
+ break;
2606
+ case 10:
2607
+ var value = /** @type {string} */ (reader.readString());
2608
+ msg.setLoyaltyprogramhorizontallogourl(value);
2609
+ break;
2610
+ case 11:
2611
+ var value = /** @type {string} */ (reader.readString());
2612
+ msg.setLoyaltyprogramverticallogourl(value);
2613
+ break;
2614
+ case 12:
2615
+ var value = /** @type {string} */ (reader.readString());
2616
+ msg.setHypotheticalearncardtitle(value);
2617
+ break;
2618
+ case 13:
2619
+ var value = /** @type {string} */ (reader.readString());
2620
+ msg.setHypotheticalearncardbody(value);
2621
+ break;
2622
+ case 14:
2623
+ var value = /** @type {string} */ (reader.readString());
2624
+ msg.setHypotheticalearncardbuttontext(value);
2625
+ break;
2626
+ default:
2627
+ reader.skipField();
2628
+ break;
2629
+ }
2630
+ }
2631
+ return msg;
2632
+ };
2633
+
2634
+
2635
+ /**
2636
+ * Serializes the message to binary data (in protobuf wire format).
2637
+ * @return {!Uint8Array}
2638
+ */
2639
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.serializeBinary = function() {
2640
+ var writer = new jspb.BinaryWriter();
2641
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.serializeBinaryToWriter(this, writer);
2642
+ return writer.getResultBuffer();
2643
+ };
2644
+
2645
+
2646
+ /**
2647
+ * Serializes the given message to binary data (in protobuf wire
2648
+ * format), writing to the given BinaryWriter.
2649
+ * @param {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} message
2650
+ * @param {!jspb.BinaryWriter} writer
2651
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2652
+ */
2653
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.serializeBinaryToWriter = function(message, writer) {
2654
+ var f = undefined;
2655
+ f = message.getLoyaltyprogramid();
2656
+ if (f !== 0) {
2657
+ writer.writeInt64(
2658
+ 1,
2659
+ f
2660
+ );
2661
+ }
2662
+ f = message.getLoyaltyprogramcode();
2663
+ if (f.length > 0) {
2664
+ writer.writeString(
2665
+ 2,
2666
+ f
2667
+ );
2668
+ }
2669
+ f = message.getLoyaltyprogramname();
2670
+ if (f.length > 0) {
2671
+ writer.writeString(
2672
+ 3,
2673
+ f
2674
+ );
2675
+ }
2676
+ f = message.getLoyaltyprogramshortname();
2677
+ if (f.length > 0) {
2678
+ writer.writeString(
2679
+ 4,
2680
+ f
2681
+ );
2682
+ }
2683
+ f = message.getPointlabelsingular();
2684
+ if (f.length > 0) {
2685
+ writer.writeString(
2686
+ 5,
2687
+ f
2688
+ );
2689
+ }
2690
+ f = message.getPointlabelplural();
2691
+ if (f.length > 0) {
2692
+ writer.writeString(
2693
+ 6,
2694
+ f
2695
+ );
2696
+ }
2697
+ f = message.getAmountofpoints();
2698
+ if (f !== 0) {
2699
+ writer.writeInt32(
2700
+ 7,
2701
+ f
2702
+ );
2703
+ }
2704
+ f = message.getLoyaltyprogramlogourl();
2705
+ if (f.length > 0) {
2706
+ writer.writeString(
2707
+ 8,
2708
+ f
2709
+ );
2710
+ }
2711
+ f = message.getLoyaltyprogramsmalllogourl();
2712
+ if (f.length > 0) {
2713
+ writer.writeString(
2714
+ 9,
2715
+ f
2716
+ );
2717
+ }
2718
+ f = message.getLoyaltyprogramhorizontallogourl();
2719
+ if (f.length > 0) {
2720
+ writer.writeString(
2721
+ 10,
2722
+ f
2723
+ );
2724
+ }
2725
+ f = message.getLoyaltyprogramverticallogourl();
2726
+ if (f.length > 0) {
2727
+ writer.writeString(
2728
+ 11,
2729
+ f
2730
+ );
2731
+ }
2732
+ f = message.getHypotheticalearncardtitle();
2733
+ if (f.length > 0) {
2734
+ writer.writeString(
2735
+ 12,
2736
+ f
2737
+ );
2738
+ }
2739
+ f = message.getHypotheticalearncardbody();
2740
+ if (f.length > 0) {
2741
+ writer.writeString(
2742
+ 13,
2743
+ f
2744
+ );
2745
+ }
2746
+ f = message.getHypotheticalearncardbuttontext();
2747
+ if (f.length > 0) {
2748
+ writer.writeString(
2749
+ 14,
2102
2750
  f
2103
2751
  );
2104
2752
  }
@@ -2106,147 +2754,128 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.serializeBinaryTo
2106
2754
 
2107
2755
 
2108
2756
  /**
2109
- * optional ResponseCode responseCode = 1;
2110
- * @return {?proto.loyaltyprogramserviceapi.ResponseCode}
2111
- */
2112
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getResponsecode = function() {
2113
- return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
2114
- jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
2115
- };
2116
-
2117
-
2118
- /**
2119
- * @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
2120
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2121
- */
2122
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setResponsecode = function(value) {
2123
- return jspb.Message.setWrapperField(this, 1, value);
2124
- };
2125
-
2126
-
2127
- /**
2128
- * Clears the message field making it undefined.
2129
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2757
+ * optional int64 loyaltyProgramId = 1;
2758
+ * @return {number}
2130
2759
  */
2131
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.clearResponsecode = function() {
2132
- return this.setResponsecode(undefined);
2760
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramid = function() {
2761
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2133
2762
  };
2134
2763
 
2135
2764
 
2136
2765
  /**
2137
- * Returns whether this field is set.
2138
- * @return {boolean}
2766
+ * @param {number} value
2767
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2139
2768
  */
2140
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.hasResponsecode = function() {
2141
- return jspb.Message.getField(this, 1) != null;
2769
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramid = function(value) {
2770
+ return jspb.Message.setProto3IntField(this, 1, value);
2142
2771
  };
2143
2772
 
2144
2773
 
2145
2774
  /**
2146
- * optional int64 membershipId = 2;
2147
- * @return {number}
2775
+ * optional string loyaltyProgramCode = 2;
2776
+ * @return {string}
2148
2777
  */
2149
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getMembershipid = function() {
2150
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2778
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramcode = function() {
2779
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2151
2780
  };
2152
2781
 
2153
2782
 
2154
2783
  /**
2155
- * @param {number} value
2156
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2784
+ * @param {string} value
2785
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2157
2786
  */
2158
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setMembershipid = function(value) {
2159
- return jspb.Message.setProto3IntField(this, 2, value);
2787
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramcode = function(value) {
2788
+ return jspb.Message.setProto3StringField(this, 2, value);
2160
2789
  };
2161
2790
 
2162
2791
 
2163
2792
  /**
2164
- * optional int32 amountOfPoints = 3;
2165
- * @return {number}
2793
+ * optional string loyaltyProgramName = 3;
2794
+ * @return {string}
2166
2795
  */
2167
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getAmountofpoints = function() {
2168
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2796
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramname = function() {
2797
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2169
2798
  };
2170
2799
 
2171
2800
 
2172
2801
  /**
2173
- * @param {number} value
2174
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2802
+ * @param {string} value
2803
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2175
2804
  */
2176
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setAmountofpoints = function(value) {
2177
- return jspb.Message.setProto3IntField(this, 3, value);
2805
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramname = function(value) {
2806
+ return jspb.Message.setProto3StringField(this, 3, value);
2178
2807
  };
2179
2808
 
2180
2809
 
2181
2810
  /**
2182
- * optional string membershipNumber = 4;
2811
+ * optional string loyaltyProgramShortName = 4;
2183
2812
  * @return {string}
2184
2813
  */
2185
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getMembershipnumber = function() {
2814
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramshortname = function() {
2186
2815
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2187
2816
  };
2188
2817
 
2189
2818
 
2190
2819
  /**
2191
2820
  * @param {string} value
2192
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2821
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2193
2822
  */
2194
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setMembershipnumber = function(value) {
2823
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramshortname = function(value) {
2195
2824
  return jspb.Message.setProto3StringField(this, 4, value);
2196
2825
  };
2197
2826
 
2198
2827
 
2199
2828
  /**
2200
- * optional string loyaltyProgramName = 5;
2829
+ * optional string pointLabelSingular = 5;
2201
2830
  * @return {string}
2202
2831
  */
2203
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramname = function() {
2832
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getPointlabelsingular = function() {
2204
2833
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2205
2834
  };
2206
2835
 
2207
2836
 
2208
2837
  /**
2209
2838
  * @param {string} value
2210
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2839
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2211
2840
  */
2212
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramname = function(value) {
2841
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setPointlabelsingular = function(value) {
2213
2842
  return jspb.Message.setProto3StringField(this, 5, value);
2214
2843
  };
2215
2844
 
2216
2845
 
2217
2846
  /**
2218
- * optional string loyaltyPointsLabel = 6;
2847
+ * optional string pointLabelPlural = 6;
2219
2848
  * @return {string}
2220
2849
  */
2221
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltypointslabel = function() {
2850
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getPointlabelplural = function() {
2222
2851
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2223
2852
  };
2224
2853
 
2225
2854
 
2226
2855
  /**
2227
2856
  * @param {string} value
2228
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2857
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2229
2858
  */
2230
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltypointslabel = function(value) {
2859
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setPointlabelplural = function(value) {
2231
2860
  return jspb.Message.setProto3StringField(this, 6, value);
2232
2861
  };
2233
2862
 
2234
2863
 
2235
2864
  /**
2236
- * optional string loyaltyProgramCode = 7;
2237
- * @return {string}
2865
+ * optional int32 amountOfPoints = 7;
2866
+ * @return {number}
2238
2867
  */
2239
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramcode = function() {
2240
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2868
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getAmountofpoints = function() {
2869
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
2241
2870
  };
2242
2871
 
2243
2872
 
2244
2873
  /**
2245
- * @param {string} value
2246
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2874
+ * @param {number} value
2875
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2247
2876
  */
2248
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramcode = function(value) {
2249
- return jspb.Message.setProto3StringField(this, 7, value);
2877
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setAmountofpoints = function(value) {
2878
+ return jspb.Message.setProto3IntField(this, 7, value);
2250
2879
  };
2251
2880
 
2252
2881
 
@@ -2254,164 +2883,128 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoya
2254
2883
  * optional string loyaltyProgramLogoUrl = 8;
2255
2884
  * @return {string}
2256
2885
  */
2257
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramlogourl = function() {
2886
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramlogourl = function() {
2258
2887
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2259
2888
  };
2260
2889
 
2261
2890
 
2262
2891
  /**
2263
2892
  * @param {string} value
2264
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2893
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2265
2894
  */
2266
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramlogourl = function(value) {
2895
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramlogourl = function(value) {
2267
2896
  return jspb.Message.setProto3StringField(this, 8, value);
2268
2897
  };
2269
2898
 
2270
2899
 
2271
2900
  /**
2272
- * optional bool adjustedForMonthlyLimit = 9;
2273
- * @return {boolean}
2901
+ * optional string loyaltyProgramSmallLogoUrl = 9;
2902
+ * @return {string}
2274
2903
  */
2275
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getAdjustedformonthlylimit = function() {
2276
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
2904
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramsmalllogourl = function() {
2905
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2277
2906
  };
2278
2907
 
2279
2908
 
2280
2909
  /**
2281
- * @param {boolean} value
2282
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2910
+ * @param {string} value
2911
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2283
2912
  */
2284
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setAdjustedformonthlylimit = function(value) {
2285
- return jspb.Message.setProto3BooleanField(this, 9, value);
2913
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramsmalllogourl = function(value) {
2914
+ return jspb.Message.setProto3StringField(this, 9, value);
2286
2915
  };
2287
2916
 
2288
2917
 
2289
2918
  /**
2290
- * optional string loyaltyProgramSmallLogoUrl = 10;
2919
+ * optional string loyaltyProgramHorizontalLogoUrl = 10;
2291
2920
  * @return {string}
2292
2921
  */
2293
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramsmalllogourl = function() {
2922
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramhorizontallogourl = function() {
2294
2923
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
2295
2924
  };
2296
2925
 
2297
2926
 
2298
2927
  /**
2299
2928
  * @param {string} value
2300
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2929
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2301
2930
  */
2302
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramsmalllogourl = function(value) {
2931
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramhorizontallogourl = function(value) {
2303
2932
  return jspb.Message.setProto3StringField(this, 10, value);
2304
2933
  };
2305
2934
 
2306
2935
 
2307
2936
  /**
2308
- * optional string loyaltyProgramShortName = 11;
2937
+ * optional string loyaltyProgramVerticalLogoUrl = 11;
2309
2938
  * @return {string}
2310
2939
  */
2311
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramshortname = function() {
2940
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramverticallogourl = function() {
2312
2941
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2313
2942
  };
2314
2943
 
2315
2944
 
2316
2945
  /**
2317
2946
  * @param {string} value
2318
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2947
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2319
2948
  */
2320
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramshortname = function(value) {
2949
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramverticallogourl = function(value) {
2321
2950
  return jspb.Message.setProto3StringField(this, 11, value);
2322
2951
  };
2323
2952
 
2324
2953
 
2325
2954
  /**
2326
- * optional string loyaltyProgramHorizontalLogoUrl = 12;
2955
+ * optional string hypotheticalEarnCardTitle = 12;
2327
2956
  * @return {string}
2328
2957
  */
2329
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramhorizontallogourl = function() {
2958
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getHypotheticalearncardtitle = function() {
2330
2959
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
2331
2960
  };
2332
2961
 
2333
2962
 
2334
2963
  /**
2335
2964
  * @param {string} value
2336
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2965
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2337
2966
  */
2338
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramhorizontallogourl = function(value) {
2967
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setHypotheticalearncardtitle = function(value) {
2339
2968
  return jspb.Message.setProto3StringField(this, 12, value);
2340
2969
  };
2341
2970
 
2342
2971
 
2343
2972
  /**
2344
- * optional string loyaltyProgramVerticalLogoUrl = 13;
2973
+ * optional string hypotheticalEarnCardBody = 13;
2345
2974
  * @return {string}
2346
2975
  */
2347
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramverticallogourl = function() {
2976
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getHypotheticalearncardbody = function() {
2348
2977
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
2349
2978
  };
2350
2979
 
2351
2980
 
2352
2981
  /**
2353
2982
  * @param {string} value
2354
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2983
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2355
2984
  */
2356
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramverticallogourl = function(value) {
2985
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setHypotheticalearncardbody = function(value) {
2357
2986
  return jspb.Message.setProto3StringField(this, 13, value);
2358
2987
  };
2359
2988
 
2360
2989
 
2361
2990
  /**
2362
- * optional string earnCardTitle = 14;
2991
+ * optional string hypotheticalEarnCardButtonText = 14;
2363
2992
  * @return {string}
2364
2993
  */
2365
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getEarncardtitle = function() {
2994
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getHypotheticalearncardbuttontext = function() {
2366
2995
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2367
2996
  };
2368
2997
 
2369
2998
 
2370
2999
  /**
2371
3000
  * @param {string} value
2372
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
3001
+ * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2373
3002
  */
2374
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setEarncardtitle = function(value) {
3003
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setHypotheticalearncardbuttontext = function(value) {
2375
3004
  return jspb.Message.setProto3StringField(this, 14, value);
2376
3005
  };
2377
3006
 
2378
3007
 
2379
- /**
2380
- * optional string earnCardBody = 15;
2381
- * @return {string}
2382
- */
2383
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getEarncardbody = function() {
2384
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
2385
- };
2386
-
2387
-
2388
- /**
2389
- * @param {string} value
2390
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2391
- */
2392
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setEarncardbody = function(value) {
2393
- return jspb.Message.setProto3StringField(this, 15, value);
2394
- };
2395
-
2396
-
2397
- /**
2398
- * optional bool eligibleForBiller = 16;
2399
- * @return {boolean}
2400
- */
2401
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getEligibleforbiller = function() {
2402
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
2403
- };
2404
-
2405
-
2406
- /**
2407
- * @param {boolean} value
2408
- * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2409
- */
2410
- proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setEligibleforbiller = function(value) {
2411
- return jspb.Message.setProto3BooleanField(this, 16, value);
2412
- };
2413
-
2414
-
2415
3008
 
2416
3009
 
2417
3010
 
@@ -14957,7 +15550,9 @@ proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.toObject = fu
14957
15550
  proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.toObject = function(includeInstance, msg) {
14958
15551
  var f, obj = {
14959
15552
  program: (f = msg.getProgram()) && proto.loyaltyprogramserviceapi.ProgramDetail.toObject(includeInstance, f),
14960
- eligible: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
15553
+ eligible: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
15554
+ enableHypotheticalProgramEarn: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
15555
+ enableMembershipFallback: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
14961
15556
  };
14962
15557
 
14963
15558
  if (includeInstance) {
@@ -15003,6 +15598,14 @@ proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.deserializeBinaryFromRe
15003
15598
  var value = /** @type {boolean} */ (reader.readBool());
15004
15599
  msg.setEligible(value);
15005
15600
  break;
15601
+ case 3:
15602
+ var value = /** @type {boolean} */ (reader.readBool());
15603
+ msg.setEnableHypotheticalProgramEarn(value);
15604
+ break;
15605
+ case 4:
15606
+ var value = /** @type {boolean} */ (reader.readBool());
15607
+ msg.setEnableMembershipFallback(value);
15608
+ break;
15006
15609
  default:
15007
15610
  reader.skipField();
15008
15611
  break;
@@ -15047,6 +15650,20 @@ proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.serializeBinaryToWriter
15047
15650
  f
15048
15651
  );
15049
15652
  }
15653
+ f = message.getEnableHypotheticalProgramEarn();
15654
+ if (f) {
15655
+ writer.writeBool(
15656
+ 3,
15657
+ f
15658
+ );
15659
+ }
15660
+ f = message.getEnableMembershipFallback();
15661
+ if (f) {
15662
+ writer.writeBool(
15663
+ 4,
15664
+ f
15665
+ );
15666
+ }
15050
15667
  };
15051
15668
 
15052
15669
 
@@ -15105,6 +15722,42 @@ proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.setEligible =
15105
15722
  };
15106
15723
 
15107
15724
 
15725
+ /**
15726
+ * optional bool enable_hypothetical_program_earn = 3;
15727
+ * @return {boolean}
15728
+ */
15729
+ proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.getEnableHypotheticalProgramEarn = function() {
15730
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
15731
+ };
15732
+
15733
+
15734
+ /**
15735
+ * @param {boolean} value
15736
+ * @return {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting} returns this
15737
+ */
15738
+ proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.setEnableHypotheticalProgramEarn = function(value) {
15739
+ return jspb.Message.setProto3BooleanField(this, 3, value);
15740
+ };
15741
+
15742
+
15743
+ /**
15744
+ * optional bool enable_membership_fallback = 4;
15745
+ * @return {boolean}
15746
+ */
15747
+ proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.getEnableMembershipFallback = function() {
15748
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
15749
+ };
15750
+
15751
+
15752
+ /**
15753
+ * @param {boolean} value
15754
+ * @return {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting} returns this
15755
+ */
15756
+ proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.setEnableMembershipFallback = function(value) {
15757
+ return jspb.Message.setProto3BooleanField(this, 4, value);
15758
+ };
15759
+
15760
+
15108
15761
 
15109
15762
 
15110
15763
 
@@ -15480,7 +16133,9 @@ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.toOb
15480
16133
  var f, obj = {
15481
16134
  billerid: jspb.Message.getFieldWithDefault(msg, 1, 0),
15482
16135
  loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 2, 0),
15483
- eligible: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
16136
+ eligible: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
16137
+ enableHypotheticalProgramEarn: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
16138
+ enableMembershipFallback: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
15484
16139
  };
15485
16140
 
15486
16141
  if (includeInstance) {
@@ -15529,6 +16184,14 @@ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.dese
15529
16184
  var value = /** @type {boolean} */ (reader.readBool());
15530
16185
  msg.setEligible(value);
15531
16186
  break;
16187
+ case 4:
16188
+ var value = /** @type {boolean} */ (reader.readBool());
16189
+ msg.setEnableHypotheticalProgramEarn(value);
16190
+ break;
16191
+ case 5:
16192
+ var value = /** @type {boolean} */ (reader.readBool());
16193
+ msg.setEnableMembershipFallback(value);
16194
+ break;
15532
16195
  default:
15533
16196
  reader.skipField();
15534
16197
  break;
@@ -15579,6 +16242,20 @@ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.seri
15579
16242
  f
15580
16243
  );
15581
16244
  }
16245
+ f = message.getEnableHypotheticalProgramEarn();
16246
+ if (f) {
16247
+ writer.writeBool(
16248
+ 4,
16249
+ f
16250
+ );
16251
+ }
16252
+ f = message.getEnableMembershipFallback();
16253
+ if (f) {
16254
+ writer.writeBool(
16255
+ 5,
16256
+ f
16257
+ );
16258
+ }
15582
16259
  };
15583
16260
 
15584
16261
 
@@ -15636,6 +16313,42 @@ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prot
15636
16313
  };
15637
16314
 
15638
16315
 
16316
+ /**
16317
+ * optional bool enable_hypothetical_program_earn = 4;
16318
+ * @return {boolean}
16319
+ */
16320
+ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.getEnableHypotheticalProgramEarn = function() {
16321
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
16322
+ };
16323
+
16324
+
16325
+ /**
16326
+ * @param {boolean} value
16327
+ * @return {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} returns this
16328
+ */
16329
+ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.setEnableHypotheticalProgramEarn = function(value) {
16330
+ return jspb.Message.setProto3BooleanField(this, 4, value);
16331
+ };
16332
+
16333
+
16334
+ /**
16335
+ * optional bool enable_membership_fallback = 5;
16336
+ * @return {boolean}
16337
+ */
16338
+ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.getEnableMembershipFallback = function() {
16339
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
16340
+ };
16341
+
16342
+
16343
+ /**
16344
+ * @param {boolean} value
16345
+ * @return {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} returns this
16346
+ */
16347
+ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.setEnableMembershipFallback = function(value) {
16348
+ return jspb.Message.setProto3BooleanField(this, 5, value);
16349
+ };
16350
+
16351
+
15639
16352
 
15640
16353
 
15641
16354