@sniipwebmaster/loyalty-program-client-grpcweb-ts 26.4.3501 → 26.4.3523
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.
|
@@ -384,6 +384,49 @@ export class LoyaltyProgramServiceAPIServiceClient {
|
|
|
384
384
|
this.methodDescriptorGetLoyaltyTransactionsByTransactionIds);
|
|
385
385
|
}
|
|
386
386
|
|
|
387
|
+
methodDescriptorGetActiveLoyaltyTransactions = new grpcWeb.MethodDescriptor(
|
|
388
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetActiveLoyaltyTransactions',
|
|
389
|
+
grpcWeb.MethodType.UNARY,
|
|
390
|
+
service_pb.GetLoyaltyTransactionsByTransactionIdsRequest,
|
|
391
|
+
service_pb.ActiveLoyaltyTransactionsResponse,
|
|
392
|
+
(request: service_pb.GetLoyaltyTransactionsByTransactionIdsRequest) => {
|
|
393
|
+
return request.serializeBinary();
|
|
394
|
+
},
|
|
395
|
+
service_pb.ActiveLoyaltyTransactionsResponse.deserializeBinary
|
|
396
|
+
);
|
|
397
|
+
|
|
398
|
+
getActiveLoyaltyTransactions(
|
|
399
|
+
request: service_pb.GetLoyaltyTransactionsByTransactionIdsRequest,
|
|
400
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.ActiveLoyaltyTransactionsResponse>;
|
|
401
|
+
|
|
402
|
+
getActiveLoyaltyTransactions(
|
|
403
|
+
request: service_pb.GetLoyaltyTransactionsByTransactionIdsRequest,
|
|
404
|
+
metadata: grpcWeb.Metadata | null,
|
|
405
|
+
callback: (err: grpcWeb.RpcError,
|
|
406
|
+
response: service_pb.ActiveLoyaltyTransactionsResponse) => void): grpcWeb.ClientReadableStream<service_pb.ActiveLoyaltyTransactionsResponse>;
|
|
407
|
+
|
|
408
|
+
getActiveLoyaltyTransactions(
|
|
409
|
+
request: service_pb.GetLoyaltyTransactionsByTransactionIdsRequest,
|
|
410
|
+
metadata?: grpcWeb.Metadata | null,
|
|
411
|
+
callback?: (err: grpcWeb.RpcError,
|
|
412
|
+
response: service_pb.ActiveLoyaltyTransactionsResponse) => void) {
|
|
413
|
+
if (callback !== undefined) {
|
|
414
|
+
return this.client_.rpcCall(
|
|
415
|
+
this.hostname_ +
|
|
416
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetActiveLoyaltyTransactions',
|
|
417
|
+
request,
|
|
418
|
+
metadata || {},
|
|
419
|
+
this.methodDescriptorGetActiveLoyaltyTransactions,
|
|
420
|
+
callback);
|
|
421
|
+
}
|
|
422
|
+
return this.client_.unaryCall(
|
|
423
|
+
this.hostname_ +
|
|
424
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetActiveLoyaltyTransactions',
|
|
425
|
+
request,
|
|
426
|
+
metadata || {},
|
|
427
|
+
this.methodDescriptorGetActiveLoyaltyTransactions);
|
|
428
|
+
}
|
|
429
|
+
|
|
387
430
|
methodDescriptorGetMembershipById = new grpcWeb.MethodDescriptor(
|
|
388
431
|
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipById',
|
|
389
432
|
grpcWeb.MethodType.UNARY,
|
|
@@ -711,6 +711,12 @@ export class LoyaltyTransaction extends jspb.Message {
|
|
|
711
711
|
getUncappedpoints(): number;
|
|
712
712
|
setUncappedpoints(value: number): LoyaltyTransaction;
|
|
713
713
|
|
|
714
|
+
getLoyaltyprogramid(): number;
|
|
715
|
+
setLoyaltyprogramid(value: number): LoyaltyTransaction;
|
|
716
|
+
|
|
717
|
+
getLoyaltyprogramname(): string;
|
|
718
|
+
setLoyaltyprogramname(value: string): LoyaltyTransaction;
|
|
719
|
+
|
|
714
720
|
serializeBinary(): Uint8Array;
|
|
715
721
|
toObject(includeInstance?: boolean): LoyaltyTransaction.AsObject;
|
|
716
722
|
static toObject(includeInstance: boolean, msg: LoyaltyTransaction): LoyaltyTransaction.AsObject;
|
|
@@ -737,6 +743,8 @@ export namespace LoyaltyTransaction {
|
|
|
737
743
|
loyaltyoptioncode: string,
|
|
738
744
|
adjustedformonthlylimit: boolean,
|
|
739
745
|
uncappedpoints: number,
|
|
746
|
+
loyaltyprogramid: number,
|
|
747
|
+
loyaltyprogramname: string,
|
|
740
748
|
}
|
|
741
749
|
}
|
|
742
750
|
|
|
@@ -834,6 +842,32 @@ export namespace LoyaltyTransactionsWithMembershipDetailsResponse {
|
|
|
834
842
|
}
|
|
835
843
|
}
|
|
836
844
|
|
|
845
|
+
export class ActiveLoyaltyTransactionsResponse extends jspb.Message {
|
|
846
|
+
getResponsecode(): ResponseCode | undefined;
|
|
847
|
+
setResponsecode(value?: ResponseCode): ActiveLoyaltyTransactionsResponse;
|
|
848
|
+
hasResponsecode(): boolean;
|
|
849
|
+
clearResponsecode(): ActiveLoyaltyTransactionsResponse;
|
|
850
|
+
|
|
851
|
+
getTransactionsList(): Array<LoyaltyTransaction>;
|
|
852
|
+
setTransactionsList(value: Array<LoyaltyTransaction>): ActiveLoyaltyTransactionsResponse;
|
|
853
|
+
clearTransactionsList(): ActiveLoyaltyTransactionsResponse;
|
|
854
|
+
addTransactions(value?: LoyaltyTransaction, index?: number): LoyaltyTransaction;
|
|
855
|
+
|
|
856
|
+
serializeBinary(): Uint8Array;
|
|
857
|
+
toObject(includeInstance?: boolean): ActiveLoyaltyTransactionsResponse.AsObject;
|
|
858
|
+
static toObject(includeInstance: boolean, msg: ActiveLoyaltyTransactionsResponse): ActiveLoyaltyTransactionsResponse.AsObject;
|
|
859
|
+
static serializeBinaryToWriter(message: ActiveLoyaltyTransactionsResponse, writer: jspb.BinaryWriter): void;
|
|
860
|
+
static deserializeBinary(bytes: Uint8Array): ActiveLoyaltyTransactionsResponse;
|
|
861
|
+
static deserializeBinaryFromReader(message: ActiveLoyaltyTransactionsResponse, reader: jspb.BinaryReader): ActiveLoyaltyTransactionsResponse;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export namespace ActiveLoyaltyTransactionsResponse {
|
|
865
|
+
export type AsObject = {
|
|
866
|
+
responsecode?: ResponseCode.AsObject,
|
|
867
|
+
transactionsList: Array<LoyaltyTransaction.AsObject>,
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
|
|
837
871
|
export class MembershipDetail extends jspb.Message {
|
|
838
872
|
getId(): number;
|
|
839
873
|
setId(value: number): MembershipDetail;
|
|
@@ -19,6 +19,7 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
|
19
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
20
20
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
21
21
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
22
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse', null, global);
|
|
22
23
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CalculatePointsReq', null, global);
|
|
23
24
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CalculatePointsRequest', null, global);
|
|
24
25
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse', null, global);
|
|
@@ -583,6 +584,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
583
584
|
*/
|
|
584
585
|
proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.displayName = 'proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse';
|
|
585
586
|
}
|
|
587
|
+
/**
|
|
588
|
+
* Generated by JsPbCodeGenerator.
|
|
589
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
590
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
591
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
592
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
593
|
+
* valid.
|
|
594
|
+
* @extends {jspb.Message}
|
|
595
|
+
* @constructor
|
|
596
|
+
*/
|
|
597
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse = function(opt_data) {
|
|
598
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.repeatedFields_, null);
|
|
599
|
+
};
|
|
600
|
+
goog.inherits(proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse, jspb.Message);
|
|
601
|
+
if (goog.DEBUG && !COMPILED) {
|
|
602
|
+
/**
|
|
603
|
+
* @public
|
|
604
|
+
* @override
|
|
605
|
+
*/
|
|
606
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.displayName = 'proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse';
|
|
607
|
+
}
|
|
586
608
|
/**
|
|
587
609
|
* Generated by JsPbCodeGenerator.
|
|
588
610
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6228,7 +6250,9 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.toObject = function(includeIns
|
|
|
6228
6250
|
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
6229
6251
|
loyaltyoptioncode: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
6230
6252
|
adjustedformonthlylimit: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
|
|
6231
|
-
uncappedpoints: jspb.Message.getFieldWithDefault(msg, 16, 0)
|
|
6253
|
+
uncappedpoints: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
6254
|
+
loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
6255
|
+
loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
6232
6256
|
};
|
|
6233
6257
|
|
|
6234
6258
|
if (includeInstance) {
|
|
@@ -6329,6 +6353,14 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.deserializeBinaryFromReader =
|
|
|
6329
6353
|
var value = /** @type {number} */ (reader.readInt32());
|
|
6330
6354
|
msg.setUncappedpoints(value);
|
|
6331
6355
|
break;
|
|
6356
|
+
case 17:
|
|
6357
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6358
|
+
msg.setLoyaltyprogramid(value);
|
|
6359
|
+
break;
|
|
6360
|
+
case 18:
|
|
6361
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6362
|
+
msg.setLoyaltyprogramname(value);
|
|
6363
|
+
break;
|
|
6332
6364
|
default:
|
|
6333
6365
|
reader.skipField();
|
|
6334
6366
|
break;
|
|
@@ -6470,6 +6502,20 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.serializeBinaryToWriter = func
|
|
|
6470
6502
|
f
|
|
6471
6503
|
);
|
|
6472
6504
|
}
|
|
6505
|
+
f = message.getLoyaltyprogramid();
|
|
6506
|
+
if (f !== 0) {
|
|
6507
|
+
writer.writeInt64(
|
|
6508
|
+
17,
|
|
6509
|
+
f
|
|
6510
|
+
);
|
|
6511
|
+
}
|
|
6512
|
+
f = message.getLoyaltyprogramname();
|
|
6513
|
+
if (f.length > 0) {
|
|
6514
|
+
writer.writeString(
|
|
6515
|
+
18,
|
|
6516
|
+
f
|
|
6517
|
+
);
|
|
6518
|
+
}
|
|
6473
6519
|
};
|
|
6474
6520
|
|
|
6475
6521
|
|
|
@@ -6761,6 +6807,42 @@ proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.setUncappedpoints =
|
|
|
6761
6807
|
};
|
|
6762
6808
|
|
|
6763
6809
|
|
|
6810
|
+
/**
|
|
6811
|
+
* optional int64 loyaltyProgramId = 17;
|
|
6812
|
+
* @return {number}
|
|
6813
|
+
*/
|
|
6814
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.getLoyaltyprogramid = function() {
|
|
6815
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
6816
|
+
};
|
|
6817
|
+
|
|
6818
|
+
|
|
6819
|
+
/**
|
|
6820
|
+
* @param {number} value
|
|
6821
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransaction} returns this
|
|
6822
|
+
*/
|
|
6823
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.setLoyaltyprogramid = function(value) {
|
|
6824
|
+
return jspb.Message.setProto3IntField(this, 17, value);
|
|
6825
|
+
};
|
|
6826
|
+
|
|
6827
|
+
|
|
6828
|
+
/**
|
|
6829
|
+
* optional string loyaltyProgramName = 18;
|
|
6830
|
+
* @return {string}
|
|
6831
|
+
*/
|
|
6832
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.getLoyaltyprogramname = function() {
|
|
6833
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
6834
|
+
};
|
|
6835
|
+
|
|
6836
|
+
|
|
6837
|
+
/**
|
|
6838
|
+
* @param {string} value
|
|
6839
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransaction} returns this
|
|
6840
|
+
*/
|
|
6841
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransaction.prototype.setLoyaltyprogramname = function(value) {
|
|
6842
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
6843
|
+
};
|
|
6844
|
+
|
|
6845
|
+
|
|
6764
6846
|
|
|
6765
6847
|
|
|
6766
6848
|
|
|
@@ -7506,6 +7588,217 @@ proto.loyaltyprogramserviceapi.LoyaltyTransactionsWithMembershipDetailsResponse.
|
|
|
7506
7588
|
|
|
7507
7589
|
|
|
7508
7590
|
|
|
7591
|
+
/**
|
|
7592
|
+
* List of repeated fields within this message type.
|
|
7593
|
+
* @private {!Array<number>}
|
|
7594
|
+
* @const
|
|
7595
|
+
*/
|
|
7596
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.repeatedFields_ = [2];
|
|
7597
|
+
|
|
7598
|
+
|
|
7599
|
+
|
|
7600
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7601
|
+
/**
|
|
7602
|
+
* Creates an object representation of this proto.
|
|
7603
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7604
|
+
* Optional fields that are not set will be set to undefined.
|
|
7605
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7606
|
+
* For the list of reserved names please see:
|
|
7607
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7608
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7609
|
+
* JSPB instance for transitional soy proto support:
|
|
7610
|
+
* http://goto/soy-param-migration
|
|
7611
|
+
* @return {!Object}
|
|
7612
|
+
*/
|
|
7613
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7614
|
+
return proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.toObject(opt_includeInstance, this);
|
|
7615
|
+
};
|
|
7616
|
+
|
|
7617
|
+
|
|
7618
|
+
/**
|
|
7619
|
+
* Static version of the {@see toObject} method.
|
|
7620
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7621
|
+
* the JSPB instance for transitional soy proto support:
|
|
7622
|
+
* http://goto/soy-param-migration
|
|
7623
|
+
* @param {!proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse} msg The msg instance to transform.
|
|
7624
|
+
* @return {!Object}
|
|
7625
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7626
|
+
*/
|
|
7627
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.toObject = function(includeInstance, msg) {
|
|
7628
|
+
var f, obj = {
|
|
7629
|
+
responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
7630
|
+
transactionsList: jspb.Message.toObjectList(msg.getTransactionsList(),
|
|
7631
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransaction.toObject, includeInstance)
|
|
7632
|
+
};
|
|
7633
|
+
|
|
7634
|
+
if (includeInstance) {
|
|
7635
|
+
obj.$jspbMessageInstance = msg;
|
|
7636
|
+
}
|
|
7637
|
+
return obj;
|
|
7638
|
+
};
|
|
7639
|
+
}
|
|
7640
|
+
|
|
7641
|
+
|
|
7642
|
+
/**
|
|
7643
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7644
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7645
|
+
* @return {!proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse}
|
|
7646
|
+
*/
|
|
7647
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.deserializeBinary = function(bytes) {
|
|
7648
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7649
|
+
var msg = new proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse;
|
|
7650
|
+
return proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.deserializeBinaryFromReader(msg, reader);
|
|
7651
|
+
};
|
|
7652
|
+
|
|
7653
|
+
|
|
7654
|
+
/**
|
|
7655
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7656
|
+
* given reader into the given message object.
|
|
7657
|
+
* @param {!proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse} msg The message object to deserialize into.
|
|
7658
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7659
|
+
* @return {!proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse}
|
|
7660
|
+
*/
|
|
7661
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7662
|
+
while (reader.nextField()) {
|
|
7663
|
+
if (reader.isEndGroup()) {
|
|
7664
|
+
break;
|
|
7665
|
+
}
|
|
7666
|
+
var field = reader.getFieldNumber();
|
|
7667
|
+
switch (field) {
|
|
7668
|
+
case 1:
|
|
7669
|
+
var value = new proto.loyaltyprogramserviceapi.ResponseCode;
|
|
7670
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
7671
|
+
msg.setResponsecode(value);
|
|
7672
|
+
break;
|
|
7673
|
+
case 2:
|
|
7674
|
+
var value = new proto.loyaltyprogramserviceapi.LoyaltyTransaction;
|
|
7675
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.LoyaltyTransaction.deserializeBinaryFromReader);
|
|
7676
|
+
msg.addTransactions(value);
|
|
7677
|
+
break;
|
|
7678
|
+
default:
|
|
7679
|
+
reader.skipField();
|
|
7680
|
+
break;
|
|
7681
|
+
}
|
|
7682
|
+
}
|
|
7683
|
+
return msg;
|
|
7684
|
+
};
|
|
7685
|
+
|
|
7686
|
+
|
|
7687
|
+
/**
|
|
7688
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7689
|
+
* @return {!Uint8Array}
|
|
7690
|
+
*/
|
|
7691
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.serializeBinary = function() {
|
|
7692
|
+
var writer = new jspb.BinaryWriter();
|
|
7693
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.serializeBinaryToWriter(this, writer);
|
|
7694
|
+
return writer.getResultBuffer();
|
|
7695
|
+
};
|
|
7696
|
+
|
|
7697
|
+
|
|
7698
|
+
/**
|
|
7699
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7700
|
+
* format), writing to the given BinaryWriter.
|
|
7701
|
+
* @param {!proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse} message
|
|
7702
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7703
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7704
|
+
*/
|
|
7705
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7706
|
+
var f = undefined;
|
|
7707
|
+
f = message.getResponsecode();
|
|
7708
|
+
if (f != null) {
|
|
7709
|
+
writer.writeMessage(
|
|
7710
|
+
1,
|
|
7711
|
+
f,
|
|
7712
|
+
proto.loyaltyprogramserviceapi.ResponseCode.serializeBinaryToWriter
|
|
7713
|
+
);
|
|
7714
|
+
}
|
|
7715
|
+
f = message.getTransactionsList();
|
|
7716
|
+
if (f.length > 0) {
|
|
7717
|
+
writer.writeRepeatedMessage(
|
|
7718
|
+
2,
|
|
7719
|
+
f,
|
|
7720
|
+
proto.loyaltyprogramserviceapi.LoyaltyTransaction.serializeBinaryToWriter
|
|
7721
|
+
);
|
|
7722
|
+
}
|
|
7723
|
+
};
|
|
7724
|
+
|
|
7725
|
+
|
|
7726
|
+
/**
|
|
7727
|
+
* optional ResponseCode responseCode = 1;
|
|
7728
|
+
* @return {?proto.loyaltyprogramserviceapi.ResponseCode}
|
|
7729
|
+
*/
|
|
7730
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.getResponsecode = function() {
|
|
7731
|
+
return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
|
|
7732
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
|
|
7733
|
+
};
|
|
7734
|
+
|
|
7735
|
+
|
|
7736
|
+
/**
|
|
7737
|
+
* @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
|
|
7738
|
+
* @return {!proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse} returns this
|
|
7739
|
+
*/
|
|
7740
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.setResponsecode = function(value) {
|
|
7741
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
7742
|
+
};
|
|
7743
|
+
|
|
7744
|
+
|
|
7745
|
+
/**
|
|
7746
|
+
* Clears the message field making it undefined.
|
|
7747
|
+
* @return {!proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse} returns this
|
|
7748
|
+
*/
|
|
7749
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.clearResponsecode = function() {
|
|
7750
|
+
return this.setResponsecode(undefined);
|
|
7751
|
+
};
|
|
7752
|
+
|
|
7753
|
+
|
|
7754
|
+
/**
|
|
7755
|
+
* Returns whether this field is set.
|
|
7756
|
+
* @return {boolean}
|
|
7757
|
+
*/
|
|
7758
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.hasResponsecode = function() {
|
|
7759
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7760
|
+
};
|
|
7761
|
+
|
|
7762
|
+
|
|
7763
|
+
/**
|
|
7764
|
+
* repeated LoyaltyTransaction transactions = 2;
|
|
7765
|
+
* @return {!Array<!proto.loyaltyprogramserviceapi.LoyaltyTransaction>}
|
|
7766
|
+
*/
|
|
7767
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.getTransactionsList = function() {
|
|
7768
|
+
return /** @type{!Array<!proto.loyaltyprogramserviceapi.LoyaltyTransaction>} */ (
|
|
7769
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyTransaction, 2));
|
|
7770
|
+
};
|
|
7771
|
+
|
|
7772
|
+
|
|
7773
|
+
/**
|
|
7774
|
+
* @param {!Array<!proto.loyaltyprogramserviceapi.LoyaltyTransaction>} value
|
|
7775
|
+
* @return {!proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse} returns this
|
|
7776
|
+
*/
|
|
7777
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.setTransactionsList = function(value) {
|
|
7778
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
7779
|
+
};
|
|
7780
|
+
|
|
7781
|
+
|
|
7782
|
+
/**
|
|
7783
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyTransaction=} opt_value
|
|
7784
|
+
* @param {number=} opt_index
|
|
7785
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyTransaction}
|
|
7786
|
+
*/
|
|
7787
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.addTransactions = function(opt_value, opt_index) {
|
|
7788
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.loyaltyprogramserviceapi.LoyaltyTransaction, opt_index);
|
|
7789
|
+
};
|
|
7790
|
+
|
|
7791
|
+
|
|
7792
|
+
/**
|
|
7793
|
+
* Clears the list making it empty but non-null.
|
|
7794
|
+
* @return {!proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse} returns this
|
|
7795
|
+
*/
|
|
7796
|
+
proto.loyaltyprogramserviceapi.ActiveLoyaltyTransactionsResponse.prototype.clearTransactionsList = function() {
|
|
7797
|
+
return this.setTransactionsList([]);
|
|
7798
|
+
};
|
|
7799
|
+
|
|
7800
|
+
|
|
7801
|
+
|
|
7509
7802
|
/**
|
|
7510
7803
|
* List of repeated fields within this message type.
|
|
7511
7804
|
* @private {!Array<number>}
|