@sniipwebmaster/loyalty-program-client-grpcweb-ts 26.5.3782 → 26.5.3804
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.
|
@@ -1373,6 +1373,49 @@ export class LoyaltyProgramServiceAPIServiceClient {
|
|
|
1373
1373
|
this.methodDescriptorSetLoyaltyEligibilitySettingForBiller);
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
|
+
methodDescriptorCheckBillerLoyaltyRequirement = new grpcWeb.MethodDescriptor(
|
|
1377
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CheckBillerLoyaltyRequirement',
|
|
1378
|
+
grpcWeb.MethodType.UNARY,
|
|
1379
|
+
service_pb.CheckBillerLoyaltyRequirementRequest,
|
|
1380
|
+
service_pb.CheckBillerLoyaltyRequirementResponse,
|
|
1381
|
+
(request: service_pb.CheckBillerLoyaltyRequirementRequest) => {
|
|
1382
|
+
return request.serializeBinary();
|
|
1383
|
+
},
|
|
1384
|
+
service_pb.CheckBillerLoyaltyRequirementResponse.deserializeBinary
|
|
1385
|
+
);
|
|
1386
|
+
|
|
1387
|
+
checkBillerLoyaltyRequirement(
|
|
1388
|
+
request: service_pb.CheckBillerLoyaltyRequirementRequest,
|
|
1389
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.CheckBillerLoyaltyRequirementResponse>;
|
|
1390
|
+
|
|
1391
|
+
checkBillerLoyaltyRequirement(
|
|
1392
|
+
request: service_pb.CheckBillerLoyaltyRequirementRequest,
|
|
1393
|
+
metadata: grpcWeb.Metadata | null,
|
|
1394
|
+
callback: (err: grpcWeb.RpcError,
|
|
1395
|
+
response: service_pb.CheckBillerLoyaltyRequirementResponse) => void): grpcWeb.ClientReadableStream<service_pb.CheckBillerLoyaltyRequirementResponse>;
|
|
1396
|
+
|
|
1397
|
+
checkBillerLoyaltyRequirement(
|
|
1398
|
+
request: service_pb.CheckBillerLoyaltyRequirementRequest,
|
|
1399
|
+
metadata?: grpcWeb.Metadata | null,
|
|
1400
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1401
|
+
response: service_pb.CheckBillerLoyaltyRequirementResponse) => void) {
|
|
1402
|
+
if (callback !== undefined) {
|
|
1403
|
+
return this.client_.rpcCall(
|
|
1404
|
+
this.hostname_ +
|
|
1405
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CheckBillerLoyaltyRequirement',
|
|
1406
|
+
request,
|
|
1407
|
+
metadata || {},
|
|
1408
|
+
this.methodDescriptorCheckBillerLoyaltyRequirement,
|
|
1409
|
+
callback);
|
|
1410
|
+
}
|
|
1411
|
+
return this.client_.unaryCall(
|
|
1412
|
+
this.hostname_ +
|
|
1413
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CheckBillerLoyaltyRequirement',
|
|
1414
|
+
request,
|
|
1415
|
+
metadata || {},
|
|
1416
|
+
this.methodDescriptorCheckBillerLoyaltyRequirement);
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1376
1419
|
methodDescriptorUpdateStandardEarnMonthlyLimit = new grpcWeb.MethodDescriptor(
|
|
1377
1420
|
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateStandardEarnMonthlyLimit',
|
|
1378
1421
|
grpcWeb.MethodType.UNARY,
|
|
@@ -2023,6 +2023,54 @@ export namespace SetLoyaltyEligibilitySettingForBillerRequest {
|
|
|
2023
2023
|
}
|
|
2024
2024
|
}
|
|
2025
2025
|
|
|
2026
|
+
export class CheckBillerLoyaltyRequirementRequest extends jspb.Message {
|
|
2027
|
+
getBillerid(): number;
|
|
2028
|
+
setBillerid(value: number): CheckBillerLoyaltyRequirementRequest;
|
|
2029
|
+
|
|
2030
|
+
serializeBinary(): Uint8Array;
|
|
2031
|
+
toObject(includeInstance?: boolean): CheckBillerLoyaltyRequirementRequest.AsObject;
|
|
2032
|
+
static toObject(includeInstance: boolean, msg: CheckBillerLoyaltyRequirementRequest): CheckBillerLoyaltyRequirementRequest.AsObject;
|
|
2033
|
+
static serializeBinaryToWriter(message: CheckBillerLoyaltyRequirementRequest, writer: jspb.BinaryWriter): void;
|
|
2034
|
+
static deserializeBinary(bytes: Uint8Array): CheckBillerLoyaltyRequirementRequest;
|
|
2035
|
+
static deserializeBinaryFromReader(message: CheckBillerLoyaltyRequirementRequest, reader: jspb.BinaryReader): CheckBillerLoyaltyRequirementRequest;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
export namespace CheckBillerLoyaltyRequirementRequest {
|
|
2039
|
+
export type AsObject = {
|
|
2040
|
+
billerid: number,
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
export class CheckBillerLoyaltyRequirementResponse extends jspb.Message {
|
|
2045
|
+
getResponsecode(): ResponseCode | undefined;
|
|
2046
|
+
setResponsecode(value?: ResponseCode): CheckBillerLoyaltyRequirementResponse;
|
|
2047
|
+
hasResponsecode(): boolean;
|
|
2048
|
+
clearResponsecode(): CheckBillerLoyaltyRequirementResponse;
|
|
2049
|
+
|
|
2050
|
+
getUserhaseligiblemembership(): boolean;
|
|
2051
|
+
setUserhaseligiblemembership(value: boolean): CheckBillerLoyaltyRequirementResponse;
|
|
2052
|
+
|
|
2053
|
+
getEligibleprogramsList(): Array<HypotheticalProgramEarn>;
|
|
2054
|
+
setEligibleprogramsList(value: Array<HypotheticalProgramEarn>): CheckBillerLoyaltyRequirementResponse;
|
|
2055
|
+
clearEligibleprogramsList(): CheckBillerLoyaltyRequirementResponse;
|
|
2056
|
+
addEligibleprograms(value?: HypotheticalProgramEarn, index?: number): HypotheticalProgramEarn;
|
|
2057
|
+
|
|
2058
|
+
serializeBinary(): Uint8Array;
|
|
2059
|
+
toObject(includeInstance?: boolean): CheckBillerLoyaltyRequirementResponse.AsObject;
|
|
2060
|
+
static toObject(includeInstance: boolean, msg: CheckBillerLoyaltyRequirementResponse): CheckBillerLoyaltyRequirementResponse.AsObject;
|
|
2061
|
+
static serializeBinaryToWriter(message: CheckBillerLoyaltyRequirementResponse, writer: jspb.BinaryWriter): void;
|
|
2062
|
+
static deserializeBinary(bytes: Uint8Array): CheckBillerLoyaltyRequirementResponse;
|
|
2063
|
+
static deserializeBinaryFromReader(message: CheckBillerLoyaltyRequirementResponse, reader: jspb.BinaryReader): CheckBillerLoyaltyRequirementResponse;
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
export namespace CheckBillerLoyaltyRequirementResponse {
|
|
2067
|
+
export type AsObject = {
|
|
2068
|
+
responsecode?: ResponseCode.AsObject,
|
|
2069
|
+
userhaseligiblemembership: boolean,
|
|
2070
|
+
eligibleprogramsList: Array<HypotheticalProgramEarn.AsObject>,
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2026
2074
|
export class UpdateStandardEarnMonthlyLimitRequest extends jspb.Message {
|
|
2027
2075
|
getLoyaltyprogramid(): number;
|
|
2028
2076
|
setLoyaltyprogramid(value: number): UpdateStandardEarnMonthlyLimitRequest;
|
|
@@ -23,6 +23,8 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsRespo
|
|
|
23
23
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CalculatePointsReq', null, global);
|
|
24
24
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CalculatePointsRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse', null, global);
|
|
26
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse', null, global);
|
|
26
28
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CheckHasRewardBeenRedeemedRequest', null, global);
|
|
27
29
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest', null, global);
|
|
28
30
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest', null, global);
|
|
@@ -1237,6 +1239,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1237
1239
|
*/
|
|
1238
1240
|
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.displayName = 'proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest';
|
|
1239
1241
|
}
|
|
1242
|
+
/**
|
|
1243
|
+
* Generated by JsPbCodeGenerator.
|
|
1244
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1245
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1246
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1247
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1248
|
+
* valid.
|
|
1249
|
+
* @extends {jspb.Message}
|
|
1250
|
+
* @constructor
|
|
1251
|
+
*/
|
|
1252
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest = function(opt_data) {
|
|
1253
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1254
|
+
};
|
|
1255
|
+
goog.inherits(proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest, jspb.Message);
|
|
1256
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1257
|
+
/**
|
|
1258
|
+
* @public
|
|
1259
|
+
* @override
|
|
1260
|
+
*/
|
|
1261
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.displayName = 'proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest';
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
* Generated by JsPbCodeGenerator.
|
|
1265
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1266
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1267
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1268
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1269
|
+
* valid.
|
|
1270
|
+
* @extends {jspb.Message}
|
|
1271
|
+
* @constructor
|
|
1272
|
+
*/
|
|
1273
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse = function(opt_data) {
|
|
1274
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.repeatedFields_, null);
|
|
1275
|
+
};
|
|
1276
|
+
goog.inherits(proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse, jspb.Message);
|
|
1277
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1278
|
+
/**
|
|
1279
|
+
* @public
|
|
1280
|
+
* @override
|
|
1281
|
+
*/
|
|
1282
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.displayName = 'proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse';
|
|
1283
|
+
}
|
|
1240
1284
|
/**
|
|
1241
1285
|
* Generated by JsPbCodeGenerator.
|
|
1242
1286
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -16502,6 +16546,377 @@ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prot
|
|
|
16502
16546
|
|
|
16503
16547
|
|
|
16504
16548
|
|
|
16549
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16550
|
+
/**
|
|
16551
|
+
* Creates an object representation of this proto.
|
|
16552
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16553
|
+
* Optional fields that are not set will be set to undefined.
|
|
16554
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16555
|
+
* For the list of reserved names please see:
|
|
16556
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16557
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16558
|
+
* JSPB instance for transitional soy proto support:
|
|
16559
|
+
* http://goto/soy-param-migration
|
|
16560
|
+
* @return {!Object}
|
|
16561
|
+
*/
|
|
16562
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.prototype.toObject = function(opt_includeInstance) {
|
|
16563
|
+
return proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.toObject(opt_includeInstance, this);
|
|
16564
|
+
};
|
|
16565
|
+
|
|
16566
|
+
|
|
16567
|
+
/**
|
|
16568
|
+
* Static version of the {@see toObject} method.
|
|
16569
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16570
|
+
* the JSPB instance for transitional soy proto support:
|
|
16571
|
+
* http://goto/soy-param-migration
|
|
16572
|
+
* @param {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest} msg The msg instance to transform.
|
|
16573
|
+
* @return {!Object}
|
|
16574
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16575
|
+
*/
|
|
16576
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.toObject = function(includeInstance, msg) {
|
|
16577
|
+
var f, obj = {
|
|
16578
|
+
billerid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
16579
|
+
};
|
|
16580
|
+
|
|
16581
|
+
if (includeInstance) {
|
|
16582
|
+
obj.$jspbMessageInstance = msg;
|
|
16583
|
+
}
|
|
16584
|
+
return obj;
|
|
16585
|
+
};
|
|
16586
|
+
}
|
|
16587
|
+
|
|
16588
|
+
|
|
16589
|
+
/**
|
|
16590
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16591
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16592
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest}
|
|
16593
|
+
*/
|
|
16594
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.deserializeBinary = function(bytes) {
|
|
16595
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16596
|
+
var msg = new proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest;
|
|
16597
|
+
return proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.deserializeBinaryFromReader(msg, reader);
|
|
16598
|
+
};
|
|
16599
|
+
|
|
16600
|
+
|
|
16601
|
+
/**
|
|
16602
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16603
|
+
* given reader into the given message object.
|
|
16604
|
+
* @param {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest} msg The message object to deserialize into.
|
|
16605
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16606
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest}
|
|
16607
|
+
*/
|
|
16608
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16609
|
+
while (reader.nextField()) {
|
|
16610
|
+
if (reader.isEndGroup()) {
|
|
16611
|
+
break;
|
|
16612
|
+
}
|
|
16613
|
+
var field = reader.getFieldNumber();
|
|
16614
|
+
switch (field) {
|
|
16615
|
+
case 1:
|
|
16616
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16617
|
+
msg.setBillerid(value);
|
|
16618
|
+
break;
|
|
16619
|
+
default:
|
|
16620
|
+
reader.skipField();
|
|
16621
|
+
break;
|
|
16622
|
+
}
|
|
16623
|
+
}
|
|
16624
|
+
return msg;
|
|
16625
|
+
};
|
|
16626
|
+
|
|
16627
|
+
|
|
16628
|
+
/**
|
|
16629
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16630
|
+
* @return {!Uint8Array}
|
|
16631
|
+
*/
|
|
16632
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.prototype.serializeBinary = function() {
|
|
16633
|
+
var writer = new jspb.BinaryWriter();
|
|
16634
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.serializeBinaryToWriter(this, writer);
|
|
16635
|
+
return writer.getResultBuffer();
|
|
16636
|
+
};
|
|
16637
|
+
|
|
16638
|
+
|
|
16639
|
+
/**
|
|
16640
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16641
|
+
* format), writing to the given BinaryWriter.
|
|
16642
|
+
* @param {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest} message
|
|
16643
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16644
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16645
|
+
*/
|
|
16646
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.serializeBinaryToWriter = function(message, writer) {
|
|
16647
|
+
var f = undefined;
|
|
16648
|
+
f = message.getBillerid();
|
|
16649
|
+
if (f !== 0) {
|
|
16650
|
+
writer.writeInt64(
|
|
16651
|
+
1,
|
|
16652
|
+
f
|
|
16653
|
+
);
|
|
16654
|
+
}
|
|
16655
|
+
};
|
|
16656
|
+
|
|
16657
|
+
|
|
16658
|
+
/**
|
|
16659
|
+
* optional int64 billerId = 1;
|
|
16660
|
+
* @return {number}
|
|
16661
|
+
*/
|
|
16662
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.prototype.getBillerid = function() {
|
|
16663
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
16664
|
+
};
|
|
16665
|
+
|
|
16666
|
+
|
|
16667
|
+
/**
|
|
16668
|
+
* @param {number} value
|
|
16669
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest} returns this
|
|
16670
|
+
*/
|
|
16671
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementRequest.prototype.setBillerid = function(value) {
|
|
16672
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
16673
|
+
};
|
|
16674
|
+
|
|
16675
|
+
|
|
16676
|
+
|
|
16677
|
+
/**
|
|
16678
|
+
* List of repeated fields within this message type.
|
|
16679
|
+
* @private {!Array<number>}
|
|
16680
|
+
* @const
|
|
16681
|
+
*/
|
|
16682
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.repeatedFields_ = [3];
|
|
16683
|
+
|
|
16684
|
+
|
|
16685
|
+
|
|
16686
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16687
|
+
/**
|
|
16688
|
+
* Creates an object representation of this proto.
|
|
16689
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16690
|
+
* Optional fields that are not set will be set to undefined.
|
|
16691
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16692
|
+
* For the list of reserved names please see:
|
|
16693
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16694
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16695
|
+
* JSPB instance for transitional soy proto support:
|
|
16696
|
+
* http://goto/soy-param-migration
|
|
16697
|
+
* @return {!Object}
|
|
16698
|
+
*/
|
|
16699
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.toObject = function(opt_includeInstance) {
|
|
16700
|
+
return proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.toObject(opt_includeInstance, this);
|
|
16701
|
+
};
|
|
16702
|
+
|
|
16703
|
+
|
|
16704
|
+
/**
|
|
16705
|
+
* Static version of the {@see toObject} method.
|
|
16706
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16707
|
+
* the JSPB instance for transitional soy proto support:
|
|
16708
|
+
* http://goto/soy-param-migration
|
|
16709
|
+
* @param {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse} msg The msg instance to transform.
|
|
16710
|
+
* @return {!Object}
|
|
16711
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16712
|
+
*/
|
|
16713
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.toObject = function(includeInstance, msg) {
|
|
16714
|
+
var f, obj = {
|
|
16715
|
+
responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
16716
|
+
userhaseligiblemembership: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
16717
|
+
eligibleprogramsList: jspb.Message.toObjectList(msg.getEligibleprogramsList(),
|
|
16718
|
+
proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.toObject, includeInstance)
|
|
16719
|
+
};
|
|
16720
|
+
|
|
16721
|
+
if (includeInstance) {
|
|
16722
|
+
obj.$jspbMessageInstance = msg;
|
|
16723
|
+
}
|
|
16724
|
+
return obj;
|
|
16725
|
+
};
|
|
16726
|
+
}
|
|
16727
|
+
|
|
16728
|
+
|
|
16729
|
+
/**
|
|
16730
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16731
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16732
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse}
|
|
16733
|
+
*/
|
|
16734
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.deserializeBinary = function(bytes) {
|
|
16735
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16736
|
+
var msg = new proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse;
|
|
16737
|
+
return proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.deserializeBinaryFromReader(msg, reader);
|
|
16738
|
+
};
|
|
16739
|
+
|
|
16740
|
+
|
|
16741
|
+
/**
|
|
16742
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16743
|
+
* given reader into the given message object.
|
|
16744
|
+
* @param {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse} msg The message object to deserialize into.
|
|
16745
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16746
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse}
|
|
16747
|
+
*/
|
|
16748
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16749
|
+
while (reader.nextField()) {
|
|
16750
|
+
if (reader.isEndGroup()) {
|
|
16751
|
+
break;
|
|
16752
|
+
}
|
|
16753
|
+
var field = reader.getFieldNumber();
|
|
16754
|
+
switch (field) {
|
|
16755
|
+
case 1:
|
|
16756
|
+
var value = new proto.loyaltyprogramserviceapi.ResponseCode;
|
|
16757
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
16758
|
+
msg.setResponsecode(value);
|
|
16759
|
+
break;
|
|
16760
|
+
case 2:
|
|
16761
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
16762
|
+
msg.setUserhaseligiblemembership(value);
|
|
16763
|
+
break;
|
|
16764
|
+
case 3:
|
|
16765
|
+
var value = new proto.loyaltyprogramserviceapi.HypotheticalProgramEarn;
|
|
16766
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.deserializeBinaryFromReader);
|
|
16767
|
+
msg.addEligibleprograms(value);
|
|
16768
|
+
break;
|
|
16769
|
+
default:
|
|
16770
|
+
reader.skipField();
|
|
16771
|
+
break;
|
|
16772
|
+
}
|
|
16773
|
+
}
|
|
16774
|
+
return msg;
|
|
16775
|
+
};
|
|
16776
|
+
|
|
16777
|
+
|
|
16778
|
+
/**
|
|
16779
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16780
|
+
* @return {!Uint8Array}
|
|
16781
|
+
*/
|
|
16782
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.serializeBinary = function() {
|
|
16783
|
+
var writer = new jspb.BinaryWriter();
|
|
16784
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.serializeBinaryToWriter(this, writer);
|
|
16785
|
+
return writer.getResultBuffer();
|
|
16786
|
+
};
|
|
16787
|
+
|
|
16788
|
+
|
|
16789
|
+
/**
|
|
16790
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16791
|
+
* format), writing to the given BinaryWriter.
|
|
16792
|
+
* @param {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse} message
|
|
16793
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16794
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16795
|
+
*/
|
|
16796
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.serializeBinaryToWriter = function(message, writer) {
|
|
16797
|
+
var f = undefined;
|
|
16798
|
+
f = message.getResponsecode();
|
|
16799
|
+
if (f != null) {
|
|
16800
|
+
writer.writeMessage(
|
|
16801
|
+
1,
|
|
16802
|
+
f,
|
|
16803
|
+
proto.loyaltyprogramserviceapi.ResponseCode.serializeBinaryToWriter
|
|
16804
|
+
);
|
|
16805
|
+
}
|
|
16806
|
+
f = message.getUserhaseligiblemembership();
|
|
16807
|
+
if (f) {
|
|
16808
|
+
writer.writeBool(
|
|
16809
|
+
2,
|
|
16810
|
+
f
|
|
16811
|
+
);
|
|
16812
|
+
}
|
|
16813
|
+
f = message.getEligibleprogramsList();
|
|
16814
|
+
if (f.length > 0) {
|
|
16815
|
+
writer.writeRepeatedMessage(
|
|
16816
|
+
3,
|
|
16817
|
+
f,
|
|
16818
|
+
proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.serializeBinaryToWriter
|
|
16819
|
+
);
|
|
16820
|
+
}
|
|
16821
|
+
};
|
|
16822
|
+
|
|
16823
|
+
|
|
16824
|
+
/**
|
|
16825
|
+
* optional ResponseCode responseCode = 1;
|
|
16826
|
+
* @return {?proto.loyaltyprogramserviceapi.ResponseCode}
|
|
16827
|
+
*/
|
|
16828
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.getResponsecode = function() {
|
|
16829
|
+
return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
|
|
16830
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
|
|
16831
|
+
};
|
|
16832
|
+
|
|
16833
|
+
|
|
16834
|
+
/**
|
|
16835
|
+
* @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
|
|
16836
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse} returns this
|
|
16837
|
+
*/
|
|
16838
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.setResponsecode = function(value) {
|
|
16839
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
16840
|
+
};
|
|
16841
|
+
|
|
16842
|
+
|
|
16843
|
+
/**
|
|
16844
|
+
* Clears the message field making it undefined.
|
|
16845
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse} returns this
|
|
16846
|
+
*/
|
|
16847
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.clearResponsecode = function() {
|
|
16848
|
+
return this.setResponsecode(undefined);
|
|
16849
|
+
};
|
|
16850
|
+
|
|
16851
|
+
|
|
16852
|
+
/**
|
|
16853
|
+
* Returns whether this field is set.
|
|
16854
|
+
* @return {boolean}
|
|
16855
|
+
*/
|
|
16856
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.hasResponsecode = function() {
|
|
16857
|
+
return jspb.Message.getField(this, 1) != null;
|
|
16858
|
+
};
|
|
16859
|
+
|
|
16860
|
+
|
|
16861
|
+
/**
|
|
16862
|
+
* optional bool userHasEligibleMembership = 2;
|
|
16863
|
+
* @return {boolean}
|
|
16864
|
+
*/
|
|
16865
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.getUserhaseligiblemembership = function() {
|
|
16866
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
16867
|
+
};
|
|
16868
|
+
|
|
16869
|
+
|
|
16870
|
+
/**
|
|
16871
|
+
* @param {boolean} value
|
|
16872
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse} returns this
|
|
16873
|
+
*/
|
|
16874
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.setUserhaseligiblemembership = function(value) {
|
|
16875
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
16876
|
+
};
|
|
16877
|
+
|
|
16878
|
+
|
|
16879
|
+
/**
|
|
16880
|
+
* repeated HypotheticalProgramEarn eligiblePrograms = 3;
|
|
16881
|
+
* @return {!Array<!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn>}
|
|
16882
|
+
*/
|
|
16883
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.getEligibleprogramsList = function() {
|
|
16884
|
+
return /** @type{!Array<!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn>} */ (
|
|
16885
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.HypotheticalProgramEarn, 3));
|
|
16886
|
+
};
|
|
16887
|
+
|
|
16888
|
+
|
|
16889
|
+
/**
|
|
16890
|
+
* @param {!Array<!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn>} value
|
|
16891
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse} returns this
|
|
16892
|
+
*/
|
|
16893
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.setEligibleprogramsList = function(value) {
|
|
16894
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
16895
|
+
};
|
|
16896
|
+
|
|
16897
|
+
|
|
16898
|
+
/**
|
|
16899
|
+
* @param {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn=} opt_value
|
|
16900
|
+
* @param {number=} opt_index
|
|
16901
|
+
* @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn}
|
|
16902
|
+
*/
|
|
16903
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.addEligibleprograms = function(opt_value, opt_index) {
|
|
16904
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.loyaltyprogramserviceapi.HypotheticalProgramEarn, opt_index);
|
|
16905
|
+
};
|
|
16906
|
+
|
|
16907
|
+
|
|
16908
|
+
/**
|
|
16909
|
+
* Clears the list making it empty but non-null.
|
|
16910
|
+
* @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse} returns this
|
|
16911
|
+
*/
|
|
16912
|
+
proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.clearEligibleprogramsList = function() {
|
|
16913
|
+
return this.setEligibleprogramsList([]);
|
|
16914
|
+
};
|
|
16915
|
+
|
|
16916
|
+
|
|
16917
|
+
|
|
16918
|
+
|
|
16919
|
+
|
|
16505
16920
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16506
16921
|
/**
|
|
16507
16922
|
* Creates an object representation of this proto.
|