@sniipwebmaster/loyalty-program-client-grpcweb 25.10.2352 → 25.10.2372
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.
|
@@ -1664,5 +1664,127 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
|
|
|
1664
1664
|
};
|
|
1665
1665
|
|
|
1666
1666
|
|
|
1667
|
+
/**
|
|
1668
|
+
* @const
|
|
1669
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1670
|
+
* !proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest,
|
|
1671
|
+
* !proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse>}
|
|
1672
|
+
*/
|
|
1673
|
+
const methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyEligibilitySettingsForBiller = new grpc.web.MethodDescriptor(
|
|
1674
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyEligibilitySettingsForBiller',
|
|
1675
|
+
grpc.web.MethodType.UNARY,
|
|
1676
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest,
|
|
1677
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse,
|
|
1678
|
+
/**
|
|
1679
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest} request
|
|
1680
|
+
* @return {!Uint8Array}
|
|
1681
|
+
*/
|
|
1682
|
+
function(request) {
|
|
1683
|
+
return request.serializeBinary();
|
|
1684
|
+
},
|
|
1685
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.deserializeBinary
|
|
1686
|
+
);
|
|
1687
|
+
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest} request The
|
|
1691
|
+
* request proto
|
|
1692
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1693
|
+
* call metadata
|
|
1694
|
+
* @param {function(?grpc.web.RpcError, ?proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse)}
|
|
1695
|
+
* callback The callback function(error, response)
|
|
1696
|
+
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse>|undefined}
|
|
1697
|
+
* The XHR Node Readable Stream
|
|
1698
|
+
*/
|
|
1699
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getLoyaltyEligibilitySettingsForBiller =
|
|
1700
|
+
function(request, metadata, callback) {
|
|
1701
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1702
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyEligibilitySettingsForBiller',
|
|
1703
|
+
request,
|
|
1704
|
+
metadata || {},
|
|
1705
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyEligibilitySettingsForBiller,
|
|
1706
|
+
callback);
|
|
1707
|
+
};
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest} request The
|
|
1712
|
+
* request proto
|
|
1713
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1714
|
+
* call metadata
|
|
1715
|
+
* @return {!Promise<!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse>}
|
|
1716
|
+
* Promise that resolves to the response
|
|
1717
|
+
*/
|
|
1718
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getLoyaltyEligibilitySettingsForBiller =
|
|
1719
|
+
function(request, metadata) {
|
|
1720
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1721
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyEligibilitySettingsForBiller',
|
|
1722
|
+
request,
|
|
1723
|
+
metadata || {},
|
|
1724
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyEligibilitySettingsForBiller);
|
|
1725
|
+
};
|
|
1726
|
+
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* @const
|
|
1730
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1731
|
+
* !proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest,
|
|
1732
|
+
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1733
|
+
*/
|
|
1734
|
+
const methodDescriptor_LoyaltyProgramServiceAPIService_SetLoyaltyEligibilitySettingForBiller = new grpc.web.MethodDescriptor(
|
|
1735
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetLoyaltyEligibilitySettingForBiller',
|
|
1736
|
+
grpc.web.MethodType.UNARY,
|
|
1737
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest,
|
|
1738
|
+
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1739
|
+
/**
|
|
1740
|
+
* @param {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} request
|
|
1741
|
+
* @return {!Uint8Array}
|
|
1742
|
+
*/
|
|
1743
|
+
function(request) {
|
|
1744
|
+
return request.serializeBinary();
|
|
1745
|
+
},
|
|
1746
|
+
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1747
|
+
);
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1751
|
+
* @param {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} request The
|
|
1752
|
+
* request proto
|
|
1753
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1754
|
+
* call metadata
|
|
1755
|
+
* @param {function(?grpc.web.RpcError, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
1756
|
+
* callback The callback function(error, response)
|
|
1757
|
+
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
1758
|
+
* The XHR Node Readable Stream
|
|
1759
|
+
*/
|
|
1760
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.setLoyaltyEligibilitySettingForBiller =
|
|
1761
|
+
function(request, metadata, callback) {
|
|
1762
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1763
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetLoyaltyEligibilitySettingForBiller',
|
|
1764
|
+
request,
|
|
1765
|
+
metadata || {},
|
|
1766
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_SetLoyaltyEligibilitySettingForBiller,
|
|
1767
|
+
callback);
|
|
1768
|
+
};
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* @param {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} request The
|
|
1773
|
+
* request proto
|
|
1774
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1775
|
+
* call metadata
|
|
1776
|
+
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1777
|
+
* Promise that resolves to the response
|
|
1778
|
+
*/
|
|
1779
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.setLoyaltyEligibilitySettingForBiller =
|
|
1780
|
+
function(request, metadata) {
|
|
1781
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1782
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetLoyaltyEligibilitySettingForBiller',
|
|
1783
|
+
request,
|
|
1784
|
+
metadata || {},
|
|
1785
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_SetLoyaltyEligibilitySettingForBiller);
|
|
1786
|
+
};
|
|
1787
|
+
|
|
1788
|
+
|
|
1667
1789
|
module.exports = proto.loyaltyprogramserviceapi;
|
|
1668
1790
|
|
|
@@ -30,6 +30,8 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionReques
|
|
|
30
30
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest', null, global);
|
|
31
31
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType', null, global);
|
|
32
32
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetActiveUserMembershipRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse', null, global);
|
|
33
35
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse', null, global);
|
|
34
36
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest', null, global);
|
|
35
37
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByTransactionIdsRequest', null, global);
|
|
@@ -42,6 +44,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse'
|
|
|
42
44
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LightMembershipDetail', null, global);
|
|
43
45
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LightMembershipDetailResponse', null, global);
|
|
44
46
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LinkMembershipRequest', null, global);
|
|
47
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting', null, global);
|
|
45
48
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyProgramOption', null, global);
|
|
46
49
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTierDetail', null, global);
|
|
47
50
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LoyaltyTransaction', null, global);
|
|
@@ -62,6 +65,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.ProgramDetailResponse', null,
|
|
|
62
65
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.ProgramDetailsResponse', null, global);
|
|
63
66
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.ResponseCode', null, global);
|
|
64
67
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest', null, global);
|
|
68
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest', null, global);
|
|
65
69
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest', null, global);
|
|
66
70
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.UnLinkMembershipRequest', null, global);
|
|
67
71
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipRequest', null, global);
|
|
@@ -1011,6 +1015,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1011
1015
|
*/
|
|
1012
1016
|
proto.loyaltyprogramserviceapi.GetProgramForMembershipInternalRequest.displayName = 'proto.loyaltyprogramserviceapi.GetProgramForMembershipInternalRequest';
|
|
1013
1017
|
}
|
|
1018
|
+
/**
|
|
1019
|
+
* Generated by JsPbCodeGenerator.
|
|
1020
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1021
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1022
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1023
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1024
|
+
* valid.
|
|
1025
|
+
* @extends {jspb.Message}
|
|
1026
|
+
* @constructor
|
|
1027
|
+
*/
|
|
1028
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting = function(opt_data) {
|
|
1029
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1030
|
+
};
|
|
1031
|
+
goog.inherits(proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting, jspb.Message);
|
|
1032
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1033
|
+
/**
|
|
1034
|
+
* @public
|
|
1035
|
+
* @override
|
|
1036
|
+
*/
|
|
1037
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.displayName = 'proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting';
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* Generated by JsPbCodeGenerator.
|
|
1041
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1042
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1043
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1044
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1045
|
+
* valid.
|
|
1046
|
+
* @extends {jspb.Message}
|
|
1047
|
+
* @constructor
|
|
1048
|
+
*/
|
|
1049
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest = function(opt_data) {
|
|
1050
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1051
|
+
};
|
|
1052
|
+
goog.inherits(proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest, jspb.Message);
|
|
1053
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1054
|
+
/**
|
|
1055
|
+
* @public
|
|
1056
|
+
* @override
|
|
1057
|
+
*/
|
|
1058
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.displayName = 'proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest';
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* Generated by JsPbCodeGenerator.
|
|
1062
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1063
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1064
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1065
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1066
|
+
* valid.
|
|
1067
|
+
* @extends {jspb.Message}
|
|
1068
|
+
* @constructor
|
|
1069
|
+
*/
|
|
1070
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse = function(opt_data) {
|
|
1071
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.repeatedFields_, null);
|
|
1072
|
+
};
|
|
1073
|
+
goog.inherits(proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse, jspb.Message);
|
|
1074
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1075
|
+
/**
|
|
1076
|
+
* @public
|
|
1077
|
+
* @override
|
|
1078
|
+
*/
|
|
1079
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.displayName = 'proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse';
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
* Generated by JsPbCodeGenerator.
|
|
1083
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1084
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1085
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1086
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1087
|
+
* valid.
|
|
1088
|
+
* @extends {jspb.Message}
|
|
1089
|
+
* @constructor
|
|
1090
|
+
*/
|
|
1091
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest = function(opt_data) {
|
|
1092
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1093
|
+
};
|
|
1094
|
+
goog.inherits(proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest, jspb.Message);
|
|
1095
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1096
|
+
/**
|
|
1097
|
+
* @public
|
|
1098
|
+
* @override
|
|
1099
|
+
*/
|
|
1100
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.displayName = 'proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest';
|
|
1101
|
+
}
|
|
1014
1102
|
|
|
1015
1103
|
/**
|
|
1016
1104
|
* List of repeated fields within this message type.
|
|
@@ -11733,4 +11821,716 @@ proto.loyaltyprogramserviceapi.GetProgramForMembershipInternalRequest.prototype.
|
|
|
11733
11821
|
};
|
|
11734
11822
|
|
|
11735
11823
|
|
|
11824
|
+
|
|
11825
|
+
|
|
11826
|
+
|
|
11827
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11828
|
+
/**
|
|
11829
|
+
* Creates an object representation of this proto.
|
|
11830
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11831
|
+
* Optional fields that are not set will be set to undefined.
|
|
11832
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11833
|
+
* For the list of reserved names please see:
|
|
11834
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11835
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11836
|
+
* JSPB instance for transitional soy proto support:
|
|
11837
|
+
* http://goto/soy-param-migration
|
|
11838
|
+
* @return {!Object}
|
|
11839
|
+
*/
|
|
11840
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.toObject = function(opt_includeInstance) {
|
|
11841
|
+
return proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.toObject(opt_includeInstance, this);
|
|
11842
|
+
};
|
|
11843
|
+
|
|
11844
|
+
|
|
11845
|
+
/**
|
|
11846
|
+
* Static version of the {@see toObject} method.
|
|
11847
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11848
|
+
* the JSPB instance for transitional soy proto support:
|
|
11849
|
+
* http://goto/soy-param-migration
|
|
11850
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting} msg The msg instance to transform.
|
|
11851
|
+
* @return {!Object}
|
|
11852
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11853
|
+
*/
|
|
11854
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.toObject = function(includeInstance, msg) {
|
|
11855
|
+
var f, obj = {
|
|
11856
|
+
program: (f = msg.getProgram()) && proto.loyaltyprogramserviceapi.ProgramDetail.toObject(includeInstance, f),
|
|
11857
|
+
eligible: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
11858
|
+
};
|
|
11859
|
+
|
|
11860
|
+
if (includeInstance) {
|
|
11861
|
+
obj.$jspbMessageInstance = msg;
|
|
11862
|
+
}
|
|
11863
|
+
return obj;
|
|
11864
|
+
};
|
|
11865
|
+
}
|
|
11866
|
+
|
|
11867
|
+
|
|
11868
|
+
/**
|
|
11869
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11870
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11871
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting}
|
|
11872
|
+
*/
|
|
11873
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.deserializeBinary = function(bytes) {
|
|
11874
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11875
|
+
var msg = new proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting;
|
|
11876
|
+
return proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.deserializeBinaryFromReader(msg, reader);
|
|
11877
|
+
};
|
|
11878
|
+
|
|
11879
|
+
|
|
11880
|
+
/**
|
|
11881
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11882
|
+
* given reader into the given message object.
|
|
11883
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting} msg The message object to deserialize into.
|
|
11884
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11885
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting}
|
|
11886
|
+
*/
|
|
11887
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.deserializeBinaryFromReader = function(msg, reader) {
|
|
11888
|
+
while (reader.nextField()) {
|
|
11889
|
+
if (reader.isEndGroup()) {
|
|
11890
|
+
break;
|
|
11891
|
+
}
|
|
11892
|
+
var field = reader.getFieldNumber();
|
|
11893
|
+
switch (field) {
|
|
11894
|
+
case 1:
|
|
11895
|
+
var value = new proto.loyaltyprogramserviceapi.ProgramDetail;
|
|
11896
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.ProgramDetail.deserializeBinaryFromReader);
|
|
11897
|
+
msg.setProgram(value);
|
|
11898
|
+
break;
|
|
11899
|
+
case 2:
|
|
11900
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
11901
|
+
msg.setEligible(value);
|
|
11902
|
+
break;
|
|
11903
|
+
default:
|
|
11904
|
+
reader.skipField();
|
|
11905
|
+
break;
|
|
11906
|
+
}
|
|
11907
|
+
}
|
|
11908
|
+
return msg;
|
|
11909
|
+
};
|
|
11910
|
+
|
|
11911
|
+
|
|
11912
|
+
/**
|
|
11913
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11914
|
+
* @return {!Uint8Array}
|
|
11915
|
+
*/
|
|
11916
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.serializeBinary = function() {
|
|
11917
|
+
var writer = new jspb.BinaryWriter();
|
|
11918
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.serializeBinaryToWriter(this, writer);
|
|
11919
|
+
return writer.getResultBuffer();
|
|
11920
|
+
};
|
|
11921
|
+
|
|
11922
|
+
|
|
11923
|
+
/**
|
|
11924
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11925
|
+
* format), writing to the given BinaryWriter.
|
|
11926
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting} message
|
|
11927
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11928
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11929
|
+
*/
|
|
11930
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.serializeBinaryToWriter = function(message, writer) {
|
|
11931
|
+
var f = undefined;
|
|
11932
|
+
f = message.getProgram();
|
|
11933
|
+
if (f != null) {
|
|
11934
|
+
writer.writeMessage(
|
|
11935
|
+
1,
|
|
11936
|
+
f,
|
|
11937
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.serializeBinaryToWriter
|
|
11938
|
+
);
|
|
11939
|
+
}
|
|
11940
|
+
f = message.getEligible();
|
|
11941
|
+
if (f) {
|
|
11942
|
+
writer.writeBool(
|
|
11943
|
+
2,
|
|
11944
|
+
f
|
|
11945
|
+
);
|
|
11946
|
+
}
|
|
11947
|
+
};
|
|
11948
|
+
|
|
11949
|
+
|
|
11950
|
+
/**
|
|
11951
|
+
* optional ProgramDetail program = 1;
|
|
11952
|
+
* @return {?proto.loyaltyprogramserviceapi.ProgramDetail}
|
|
11953
|
+
*/
|
|
11954
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.getProgram = function() {
|
|
11955
|
+
return /** @type{?proto.loyaltyprogramserviceapi.ProgramDetail} */ (
|
|
11956
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ProgramDetail, 1));
|
|
11957
|
+
};
|
|
11958
|
+
|
|
11959
|
+
|
|
11960
|
+
/**
|
|
11961
|
+
* @param {?proto.loyaltyprogramserviceapi.ProgramDetail|undefined} value
|
|
11962
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting} returns this
|
|
11963
|
+
*/
|
|
11964
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.setProgram = function(value) {
|
|
11965
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
11966
|
+
};
|
|
11967
|
+
|
|
11968
|
+
|
|
11969
|
+
/**
|
|
11970
|
+
* Clears the message field making it undefined.
|
|
11971
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting} returns this
|
|
11972
|
+
*/
|
|
11973
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.clearProgram = function() {
|
|
11974
|
+
return this.setProgram(undefined);
|
|
11975
|
+
};
|
|
11976
|
+
|
|
11977
|
+
|
|
11978
|
+
/**
|
|
11979
|
+
* Returns whether this field is set.
|
|
11980
|
+
* @return {boolean}
|
|
11981
|
+
*/
|
|
11982
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.hasProgram = function() {
|
|
11983
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11984
|
+
};
|
|
11985
|
+
|
|
11986
|
+
|
|
11987
|
+
/**
|
|
11988
|
+
* optional bool eligible = 2;
|
|
11989
|
+
* @return {boolean}
|
|
11990
|
+
*/
|
|
11991
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.getEligible = function() {
|
|
11992
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
11993
|
+
};
|
|
11994
|
+
|
|
11995
|
+
|
|
11996
|
+
/**
|
|
11997
|
+
* @param {boolean} value
|
|
11998
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting} returns this
|
|
11999
|
+
*/
|
|
12000
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.prototype.setEligible = function(value) {
|
|
12001
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
12002
|
+
};
|
|
12003
|
+
|
|
12004
|
+
|
|
12005
|
+
|
|
12006
|
+
|
|
12007
|
+
|
|
12008
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12009
|
+
/**
|
|
12010
|
+
* Creates an object representation of this proto.
|
|
12011
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12012
|
+
* Optional fields that are not set will be set to undefined.
|
|
12013
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12014
|
+
* For the list of reserved names please see:
|
|
12015
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12016
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12017
|
+
* JSPB instance for transitional soy proto support:
|
|
12018
|
+
* http://goto/soy-param-migration
|
|
12019
|
+
* @return {!Object}
|
|
12020
|
+
*/
|
|
12021
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.prototype.toObject = function(opt_includeInstance) {
|
|
12022
|
+
return proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.toObject(opt_includeInstance, this);
|
|
12023
|
+
};
|
|
12024
|
+
|
|
12025
|
+
|
|
12026
|
+
/**
|
|
12027
|
+
* Static version of the {@see toObject} method.
|
|
12028
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12029
|
+
* the JSPB instance for transitional soy proto support:
|
|
12030
|
+
* http://goto/soy-param-migration
|
|
12031
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest} msg The msg instance to transform.
|
|
12032
|
+
* @return {!Object}
|
|
12033
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12034
|
+
*/
|
|
12035
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.toObject = function(includeInstance, msg) {
|
|
12036
|
+
var f, obj = {
|
|
12037
|
+
billerid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
12038
|
+
};
|
|
12039
|
+
|
|
12040
|
+
if (includeInstance) {
|
|
12041
|
+
obj.$jspbMessageInstance = msg;
|
|
12042
|
+
}
|
|
12043
|
+
return obj;
|
|
12044
|
+
};
|
|
12045
|
+
}
|
|
12046
|
+
|
|
12047
|
+
|
|
12048
|
+
/**
|
|
12049
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12050
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12051
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest}
|
|
12052
|
+
*/
|
|
12053
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.deserializeBinary = function(bytes) {
|
|
12054
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12055
|
+
var msg = new proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest;
|
|
12056
|
+
return proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.deserializeBinaryFromReader(msg, reader);
|
|
12057
|
+
};
|
|
12058
|
+
|
|
12059
|
+
|
|
12060
|
+
/**
|
|
12061
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12062
|
+
* given reader into the given message object.
|
|
12063
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest} msg The message object to deserialize into.
|
|
12064
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12065
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest}
|
|
12066
|
+
*/
|
|
12067
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12068
|
+
while (reader.nextField()) {
|
|
12069
|
+
if (reader.isEndGroup()) {
|
|
12070
|
+
break;
|
|
12071
|
+
}
|
|
12072
|
+
var field = reader.getFieldNumber();
|
|
12073
|
+
switch (field) {
|
|
12074
|
+
case 1:
|
|
12075
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12076
|
+
msg.setBillerid(value);
|
|
12077
|
+
break;
|
|
12078
|
+
default:
|
|
12079
|
+
reader.skipField();
|
|
12080
|
+
break;
|
|
12081
|
+
}
|
|
12082
|
+
}
|
|
12083
|
+
return msg;
|
|
12084
|
+
};
|
|
12085
|
+
|
|
12086
|
+
|
|
12087
|
+
/**
|
|
12088
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12089
|
+
* @return {!Uint8Array}
|
|
12090
|
+
*/
|
|
12091
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.prototype.serializeBinary = function() {
|
|
12092
|
+
var writer = new jspb.BinaryWriter();
|
|
12093
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.serializeBinaryToWriter(this, writer);
|
|
12094
|
+
return writer.getResultBuffer();
|
|
12095
|
+
};
|
|
12096
|
+
|
|
12097
|
+
|
|
12098
|
+
/**
|
|
12099
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12100
|
+
* format), writing to the given BinaryWriter.
|
|
12101
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest} message
|
|
12102
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12103
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12104
|
+
*/
|
|
12105
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.serializeBinaryToWriter = function(message, writer) {
|
|
12106
|
+
var f = undefined;
|
|
12107
|
+
f = message.getBillerid();
|
|
12108
|
+
if (f !== 0) {
|
|
12109
|
+
writer.writeInt64(
|
|
12110
|
+
1,
|
|
12111
|
+
f
|
|
12112
|
+
);
|
|
12113
|
+
}
|
|
12114
|
+
};
|
|
12115
|
+
|
|
12116
|
+
|
|
12117
|
+
/**
|
|
12118
|
+
* optional int64 billerId = 1;
|
|
12119
|
+
* @return {number}
|
|
12120
|
+
*/
|
|
12121
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.prototype.getBillerid = function() {
|
|
12122
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12123
|
+
};
|
|
12124
|
+
|
|
12125
|
+
|
|
12126
|
+
/**
|
|
12127
|
+
* @param {number} value
|
|
12128
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest} returns this
|
|
12129
|
+
*/
|
|
12130
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest.prototype.setBillerid = function(value) {
|
|
12131
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
12132
|
+
};
|
|
12133
|
+
|
|
12134
|
+
|
|
12135
|
+
|
|
12136
|
+
/**
|
|
12137
|
+
* List of repeated fields within this message type.
|
|
12138
|
+
* @private {!Array<number>}
|
|
12139
|
+
* @const
|
|
12140
|
+
*/
|
|
12141
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.repeatedFields_ = [2];
|
|
12142
|
+
|
|
12143
|
+
|
|
12144
|
+
|
|
12145
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12146
|
+
/**
|
|
12147
|
+
* Creates an object representation of this proto.
|
|
12148
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12149
|
+
* Optional fields that are not set will be set to undefined.
|
|
12150
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12151
|
+
* For the list of reserved names please see:
|
|
12152
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12153
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12154
|
+
* JSPB instance for transitional soy proto support:
|
|
12155
|
+
* http://goto/soy-param-migration
|
|
12156
|
+
* @return {!Object}
|
|
12157
|
+
*/
|
|
12158
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.toObject = function(opt_includeInstance) {
|
|
12159
|
+
return proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.toObject(opt_includeInstance, this);
|
|
12160
|
+
};
|
|
12161
|
+
|
|
12162
|
+
|
|
12163
|
+
/**
|
|
12164
|
+
* Static version of the {@see toObject} method.
|
|
12165
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12166
|
+
* the JSPB instance for transitional soy proto support:
|
|
12167
|
+
* http://goto/soy-param-migration
|
|
12168
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse} msg The msg instance to transform.
|
|
12169
|
+
* @return {!Object}
|
|
12170
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12171
|
+
*/
|
|
12172
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.toObject = function(includeInstance, msg) {
|
|
12173
|
+
var f, obj = {
|
|
12174
|
+
responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
12175
|
+
billereligibilitysettingsList: jspb.Message.toObjectList(msg.getBillereligibilitysettingsList(),
|
|
12176
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.toObject, includeInstance)
|
|
12177
|
+
};
|
|
12178
|
+
|
|
12179
|
+
if (includeInstance) {
|
|
12180
|
+
obj.$jspbMessageInstance = msg;
|
|
12181
|
+
}
|
|
12182
|
+
return obj;
|
|
12183
|
+
};
|
|
12184
|
+
}
|
|
12185
|
+
|
|
12186
|
+
|
|
12187
|
+
/**
|
|
12188
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12189
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12190
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse}
|
|
12191
|
+
*/
|
|
12192
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.deserializeBinary = function(bytes) {
|
|
12193
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12194
|
+
var msg = new proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse;
|
|
12195
|
+
return proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.deserializeBinaryFromReader(msg, reader);
|
|
12196
|
+
};
|
|
12197
|
+
|
|
12198
|
+
|
|
12199
|
+
/**
|
|
12200
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12201
|
+
* given reader into the given message object.
|
|
12202
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse} msg The message object to deserialize into.
|
|
12203
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12204
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse}
|
|
12205
|
+
*/
|
|
12206
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12207
|
+
while (reader.nextField()) {
|
|
12208
|
+
if (reader.isEndGroup()) {
|
|
12209
|
+
break;
|
|
12210
|
+
}
|
|
12211
|
+
var field = reader.getFieldNumber();
|
|
12212
|
+
switch (field) {
|
|
12213
|
+
case 1:
|
|
12214
|
+
var value = new proto.loyaltyprogramserviceapi.ResponseCode;
|
|
12215
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
12216
|
+
msg.setResponsecode(value);
|
|
12217
|
+
break;
|
|
12218
|
+
case 2:
|
|
12219
|
+
var value = new proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting;
|
|
12220
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.deserializeBinaryFromReader);
|
|
12221
|
+
msg.addBillereligibilitysettings(value);
|
|
12222
|
+
break;
|
|
12223
|
+
default:
|
|
12224
|
+
reader.skipField();
|
|
12225
|
+
break;
|
|
12226
|
+
}
|
|
12227
|
+
}
|
|
12228
|
+
return msg;
|
|
12229
|
+
};
|
|
12230
|
+
|
|
12231
|
+
|
|
12232
|
+
/**
|
|
12233
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12234
|
+
* @return {!Uint8Array}
|
|
12235
|
+
*/
|
|
12236
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.serializeBinary = function() {
|
|
12237
|
+
var writer = new jspb.BinaryWriter();
|
|
12238
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.serializeBinaryToWriter(this, writer);
|
|
12239
|
+
return writer.getResultBuffer();
|
|
12240
|
+
};
|
|
12241
|
+
|
|
12242
|
+
|
|
12243
|
+
/**
|
|
12244
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12245
|
+
* format), writing to the given BinaryWriter.
|
|
12246
|
+
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse} message
|
|
12247
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12248
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12249
|
+
*/
|
|
12250
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.serializeBinaryToWriter = function(message, writer) {
|
|
12251
|
+
var f = undefined;
|
|
12252
|
+
f = message.getResponsecode();
|
|
12253
|
+
if (f != null) {
|
|
12254
|
+
writer.writeMessage(
|
|
12255
|
+
1,
|
|
12256
|
+
f,
|
|
12257
|
+
proto.loyaltyprogramserviceapi.ResponseCode.serializeBinaryToWriter
|
|
12258
|
+
);
|
|
12259
|
+
}
|
|
12260
|
+
f = message.getBillereligibilitysettingsList();
|
|
12261
|
+
if (f.length > 0) {
|
|
12262
|
+
writer.writeRepeatedMessage(
|
|
12263
|
+
2,
|
|
12264
|
+
f,
|
|
12265
|
+
proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting.serializeBinaryToWriter
|
|
12266
|
+
);
|
|
12267
|
+
}
|
|
12268
|
+
};
|
|
12269
|
+
|
|
12270
|
+
|
|
12271
|
+
/**
|
|
12272
|
+
* optional ResponseCode responseCode = 1;
|
|
12273
|
+
* @return {?proto.loyaltyprogramserviceapi.ResponseCode}
|
|
12274
|
+
*/
|
|
12275
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.getResponsecode = function() {
|
|
12276
|
+
return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
|
|
12277
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
|
|
12278
|
+
};
|
|
12279
|
+
|
|
12280
|
+
|
|
12281
|
+
/**
|
|
12282
|
+
* @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
|
|
12283
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse} returns this
|
|
12284
|
+
*/
|
|
12285
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.setResponsecode = function(value) {
|
|
12286
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
12287
|
+
};
|
|
12288
|
+
|
|
12289
|
+
|
|
12290
|
+
/**
|
|
12291
|
+
* Clears the message field making it undefined.
|
|
12292
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse} returns this
|
|
12293
|
+
*/
|
|
12294
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.clearResponsecode = function() {
|
|
12295
|
+
return this.setResponsecode(undefined);
|
|
12296
|
+
};
|
|
12297
|
+
|
|
12298
|
+
|
|
12299
|
+
/**
|
|
12300
|
+
* Returns whether this field is set.
|
|
12301
|
+
* @return {boolean}
|
|
12302
|
+
*/
|
|
12303
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.hasResponsecode = function() {
|
|
12304
|
+
return jspb.Message.getField(this, 1) != null;
|
|
12305
|
+
};
|
|
12306
|
+
|
|
12307
|
+
|
|
12308
|
+
/**
|
|
12309
|
+
* repeated LoyaltyEligibilitySetting billerEligibilitySettings = 2;
|
|
12310
|
+
* @return {!Array<!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting>}
|
|
12311
|
+
*/
|
|
12312
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.getBillereligibilitysettingsList = function() {
|
|
12313
|
+
return /** @type{!Array<!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting>} */ (
|
|
12314
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting, 2));
|
|
12315
|
+
};
|
|
12316
|
+
|
|
12317
|
+
|
|
12318
|
+
/**
|
|
12319
|
+
* @param {!Array<!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting>} value
|
|
12320
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse} returns this
|
|
12321
|
+
*/
|
|
12322
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.setBillereligibilitysettingsList = function(value) {
|
|
12323
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
12324
|
+
};
|
|
12325
|
+
|
|
12326
|
+
|
|
12327
|
+
/**
|
|
12328
|
+
* @param {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting=} opt_value
|
|
12329
|
+
* @param {number=} opt_index
|
|
12330
|
+
* @return {!proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting}
|
|
12331
|
+
*/
|
|
12332
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.addBillereligibilitysettings = function(opt_value, opt_index) {
|
|
12333
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.loyaltyprogramserviceapi.LoyaltyEligibilitySetting, opt_index);
|
|
12334
|
+
};
|
|
12335
|
+
|
|
12336
|
+
|
|
12337
|
+
/**
|
|
12338
|
+
* Clears the list making it empty but non-null.
|
|
12339
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse} returns this
|
|
12340
|
+
*/
|
|
12341
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse.prototype.clearBillereligibilitysettingsList = function() {
|
|
12342
|
+
return this.setBillereligibilitysettingsList([]);
|
|
12343
|
+
};
|
|
12344
|
+
|
|
12345
|
+
|
|
12346
|
+
|
|
12347
|
+
|
|
12348
|
+
|
|
12349
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12350
|
+
/**
|
|
12351
|
+
* Creates an object representation of this proto.
|
|
12352
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12353
|
+
* Optional fields that are not set will be set to undefined.
|
|
12354
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12355
|
+
* For the list of reserved names please see:
|
|
12356
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12357
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12358
|
+
* JSPB instance for transitional soy proto support:
|
|
12359
|
+
* http://goto/soy-param-migration
|
|
12360
|
+
* @return {!Object}
|
|
12361
|
+
*/
|
|
12362
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.toObject = function(opt_includeInstance) {
|
|
12363
|
+
return proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.toObject(opt_includeInstance, this);
|
|
12364
|
+
};
|
|
12365
|
+
|
|
12366
|
+
|
|
12367
|
+
/**
|
|
12368
|
+
* Static version of the {@see toObject} method.
|
|
12369
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12370
|
+
* the JSPB instance for transitional soy proto support:
|
|
12371
|
+
* http://goto/soy-param-migration
|
|
12372
|
+
* @param {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} msg The msg instance to transform.
|
|
12373
|
+
* @return {!Object}
|
|
12374
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12375
|
+
*/
|
|
12376
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.toObject = function(includeInstance, msg) {
|
|
12377
|
+
var f, obj = {
|
|
12378
|
+
billerid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
12379
|
+
loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
12380
|
+
eligible: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
12381
|
+
};
|
|
12382
|
+
|
|
12383
|
+
if (includeInstance) {
|
|
12384
|
+
obj.$jspbMessageInstance = msg;
|
|
12385
|
+
}
|
|
12386
|
+
return obj;
|
|
12387
|
+
};
|
|
12388
|
+
}
|
|
12389
|
+
|
|
12390
|
+
|
|
12391
|
+
/**
|
|
12392
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12393
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12394
|
+
* @return {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest}
|
|
12395
|
+
*/
|
|
12396
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.deserializeBinary = function(bytes) {
|
|
12397
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12398
|
+
var msg = new proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest;
|
|
12399
|
+
return proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.deserializeBinaryFromReader(msg, reader);
|
|
12400
|
+
};
|
|
12401
|
+
|
|
12402
|
+
|
|
12403
|
+
/**
|
|
12404
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12405
|
+
* given reader into the given message object.
|
|
12406
|
+
* @param {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} msg The message object to deserialize into.
|
|
12407
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12408
|
+
* @return {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest}
|
|
12409
|
+
*/
|
|
12410
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12411
|
+
while (reader.nextField()) {
|
|
12412
|
+
if (reader.isEndGroup()) {
|
|
12413
|
+
break;
|
|
12414
|
+
}
|
|
12415
|
+
var field = reader.getFieldNumber();
|
|
12416
|
+
switch (field) {
|
|
12417
|
+
case 1:
|
|
12418
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12419
|
+
msg.setBillerid(value);
|
|
12420
|
+
break;
|
|
12421
|
+
case 2:
|
|
12422
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12423
|
+
msg.setLoyaltyprogramid(value);
|
|
12424
|
+
break;
|
|
12425
|
+
case 3:
|
|
12426
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
12427
|
+
msg.setEligible(value);
|
|
12428
|
+
break;
|
|
12429
|
+
default:
|
|
12430
|
+
reader.skipField();
|
|
12431
|
+
break;
|
|
12432
|
+
}
|
|
12433
|
+
}
|
|
12434
|
+
return msg;
|
|
12435
|
+
};
|
|
12436
|
+
|
|
12437
|
+
|
|
12438
|
+
/**
|
|
12439
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12440
|
+
* @return {!Uint8Array}
|
|
12441
|
+
*/
|
|
12442
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.serializeBinary = function() {
|
|
12443
|
+
var writer = new jspb.BinaryWriter();
|
|
12444
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.serializeBinaryToWriter(this, writer);
|
|
12445
|
+
return writer.getResultBuffer();
|
|
12446
|
+
};
|
|
12447
|
+
|
|
12448
|
+
|
|
12449
|
+
/**
|
|
12450
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12451
|
+
* format), writing to the given BinaryWriter.
|
|
12452
|
+
* @param {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} message
|
|
12453
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12454
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12455
|
+
*/
|
|
12456
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.serializeBinaryToWriter = function(message, writer) {
|
|
12457
|
+
var f = undefined;
|
|
12458
|
+
f = message.getBillerid();
|
|
12459
|
+
if (f !== 0) {
|
|
12460
|
+
writer.writeInt64(
|
|
12461
|
+
1,
|
|
12462
|
+
f
|
|
12463
|
+
);
|
|
12464
|
+
}
|
|
12465
|
+
f = message.getLoyaltyprogramid();
|
|
12466
|
+
if (f !== 0) {
|
|
12467
|
+
writer.writeInt64(
|
|
12468
|
+
2,
|
|
12469
|
+
f
|
|
12470
|
+
);
|
|
12471
|
+
}
|
|
12472
|
+
f = message.getEligible();
|
|
12473
|
+
if (f) {
|
|
12474
|
+
writer.writeBool(
|
|
12475
|
+
3,
|
|
12476
|
+
f
|
|
12477
|
+
);
|
|
12478
|
+
}
|
|
12479
|
+
};
|
|
12480
|
+
|
|
12481
|
+
|
|
12482
|
+
/**
|
|
12483
|
+
* optional int64 billerId = 1;
|
|
12484
|
+
* @return {number}
|
|
12485
|
+
*/
|
|
12486
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.getBillerid = function() {
|
|
12487
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12488
|
+
};
|
|
12489
|
+
|
|
12490
|
+
|
|
12491
|
+
/**
|
|
12492
|
+
* @param {number} value
|
|
12493
|
+
* @return {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} returns this
|
|
12494
|
+
*/
|
|
12495
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.setBillerid = function(value) {
|
|
12496
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
12497
|
+
};
|
|
12498
|
+
|
|
12499
|
+
|
|
12500
|
+
/**
|
|
12501
|
+
* optional int64 loyaltyProgramId = 2;
|
|
12502
|
+
* @return {number}
|
|
12503
|
+
*/
|
|
12504
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.getLoyaltyprogramid = function() {
|
|
12505
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
12506
|
+
};
|
|
12507
|
+
|
|
12508
|
+
|
|
12509
|
+
/**
|
|
12510
|
+
* @param {number} value
|
|
12511
|
+
* @return {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} returns this
|
|
12512
|
+
*/
|
|
12513
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.setLoyaltyprogramid = function(value) {
|
|
12514
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
12515
|
+
};
|
|
12516
|
+
|
|
12517
|
+
|
|
12518
|
+
/**
|
|
12519
|
+
* optional bool eligible = 3;
|
|
12520
|
+
* @return {boolean}
|
|
12521
|
+
*/
|
|
12522
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.getEligible = function() {
|
|
12523
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
12524
|
+
};
|
|
12525
|
+
|
|
12526
|
+
|
|
12527
|
+
/**
|
|
12528
|
+
* @param {boolean} value
|
|
12529
|
+
* @return {!proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest} returns this
|
|
12530
|
+
*/
|
|
12531
|
+
proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prototype.setEligible = function(value) {
|
|
12532
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
12533
|
+
};
|
|
12534
|
+
|
|
12535
|
+
|
|
11736
12536
|
goog.object.extend(exports, proto.loyaltyprogramserviceapi);
|