@sniipwebmaster/loyalty-program-client-grpcweb 26.2.3173 → 26.2.3224
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.
|
@@ -2030,5 +2030,66 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
|
|
|
2030
2030
|
};
|
|
2031
2031
|
|
|
2032
2032
|
|
|
2033
|
+
/**
|
|
2034
|
+
* @const
|
|
2035
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2036
|
+
* !proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest,
|
|
2037
|
+
* !proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse>}
|
|
2038
|
+
*/
|
|
2039
|
+
const methodDescriptor_LoyaltyProgramServiceAPIService_GetUserLoyaltyMonthlyLimitStatus = new grpc.web.MethodDescriptor(
|
|
2040
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetUserLoyaltyMonthlyLimitStatus',
|
|
2041
|
+
grpc.web.MethodType.UNARY,
|
|
2042
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest,
|
|
2043
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse,
|
|
2044
|
+
/**
|
|
2045
|
+
* @param {!proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest} request
|
|
2046
|
+
* @return {!Uint8Array}
|
|
2047
|
+
*/
|
|
2048
|
+
function(request) {
|
|
2049
|
+
return request.serializeBinary();
|
|
2050
|
+
},
|
|
2051
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.deserializeBinary
|
|
2052
|
+
);
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* @param {!proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest} request The
|
|
2057
|
+
* request proto
|
|
2058
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2059
|
+
* call metadata
|
|
2060
|
+
* @param {function(?grpc.web.RpcError, ?proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse)}
|
|
2061
|
+
* callback The callback function(error, response)
|
|
2062
|
+
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse>|undefined}
|
|
2063
|
+
* The XHR Node Readable Stream
|
|
2064
|
+
*/
|
|
2065
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getUserLoyaltyMonthlyLimitStatus =
|
|
2066
|
+
function(request, metadata, callback) {
|
|
2067
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2068
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetUserLoyaltyMonthlyLimitStatus',
|
|
2069
|
+
request,
|
|
2070
|
+
metadata || {},
|
|
2071
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_GetUserLoyaltyMonthlyLimitStatus,
|
|
2072
|
+
callback);
|
|
2073
|
+
};
|
|
2074
|
+
|
|
2075
|
+
|
|
2076
|
+
/**
|
|
2077
|
+
* @param {!proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest} request The
|
|
2078
|
+
* request proto
|
|
2079
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2080
|
+
* call metadata
|
|
2081
|
+
* @return {!Promise<!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse>}
|
|
2082
|
+
* Promise that resolves to the response
|
|
2083
|
+
*/
|
|
2084
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getUserLoyaltyMonthlyLimitStatus =
|
|
2085
|
+
function(request, metadata) {
|
|
2086
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2087
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetUserLoyaltyMonthlyLimitStatus',
|
|
2088
|
+
request,
|
|
2089
|
+
metadata || {},
|
|
2090
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_GetUserLoyaltyMonthlyLimitStatus);
|
|
2091
|
+
};
|
|
2092
|
+
|
|
2093
|
+
|
|
2033
2094
|
module.exports = proto.loyaltyprogramserviceapi;
|
|
2034
2095
|
|
|
@@ -41,6 +41,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.GetMembershipByIdRequest', nul
|
|
|
41
41
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetProgramForMembershipInternalRequest', null, global);
|
|
42
42
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetProgramListInternalRequest', null, global);
|
|
43
43
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest', null, global);
|
|
44
45
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetUserMembershipsRequest', null, global);
|
|
45
46
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse', null, global);
|
|
46
47
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LightMembershipDetail', null, global);
|
|
@@ -72,6 +73,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingFo
|
|
|
72
73
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest', null, global);
|
|
73
74
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.UnLinkMembershipRequest', null, global);
|
|
74
75
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest', null, global);
|
|
76
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse', null, global);
|
|
75
77
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipRequest', null, global);
|
|
76
78
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipResponse', null, global);
|
|
77
79
|
/**
|
|
@@ -1145,6 +1147,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1145
1147
|
*/
|
|
1146
1148
|
proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.displayName = 'proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest';
|
|
1147
1149
|
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Generated by JsPbCodeGenerator.
|
|
1152
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1153
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1154
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1155
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1156
|
+
* valid.
|
|
1157
|
+
* @extends {jspb.Message}
|
|
1158
|
+
* @constructor
|
|
1159
|
+
*/
|
|
1160
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest = function(opt_data) {
|
|
1161
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1162
|
+
};
|
|
1163
|
+
goog.inherits(proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest, jspb.Message);
|
|
1164
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1165
|
+
/**
|
|
1166
|
+
* @public
|
|
1167
|
+
* @override
|
|
1168
|
+
*/
|
|
1169
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.displayName = 'proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest';
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* Generated by JsPbCodeGenerator.
|
|
1173
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1174
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1175
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1176
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1177
|
+
* valid.
|
|
1178
|
+
* @extends {jspb.Message}
|
|
1179
|
+
* @constructor
|
|
1180
|
+
*/
|
|
1181
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse = function(opt_data) {
|
|
1182
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1183
|
+
};
|
|
1184
|
+
goog.inherits(proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse, jspb.Message);
|
|
1185
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1186
|
+
/**
|
|
1187
|
+
* @public
|
|
1188
|
+
* @override
|
|
1189
|
+
*/
|
|
1190
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.displayName = 'proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse';
|
|
1191
|
+
}
|
|
1148
1192
|
/**
|
|
1149
1193
|
* Generated by JsPbCodeGenerator.
|
|
1150
1194
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1720,7 +1764,9 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.toObject = functi
|
|
|
1720
1764
|
loyaltyprogramlogourl: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1721
1765
|
adjustedformonthlylimit: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
1722
1766
|
loyaltyprogramsmalllogourl: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1723
|
-
loyaltyprogramshortname: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
1767
|
+
loyaltyprogramshortname: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1768
|
+
loyaltyprogramhorizontallogourl: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
1769
|
+
loyaltyprogramverticallogourl: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
1724
1770
|
};
|
|
1725
1771
|
|
|
1726
1772
|
if (includeInstance) {
|
|
@@ -1802,6 +1848,14 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
|
|
|
1802
1848
|
var value = /** @type {string} */ (reader.readString());
|
|
1803
1849
|
msg.setLoyaltyprogramshortname(value);
|
|
1804
1850
|
break;
|
|
1851
|
+
case 12:
|
|
1852
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1853
|
+
msg.setLoyaltyprogramhorizontallogourl(value);
|
|
1854
|
+
break;
|
|
1855
|
+
case 13:
|
|
1856
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1857
|
+
msg.setLoyaltyprogramverticallogourl(value);
|
|
1858
|
+
break;
|
|
1805
1859
|
default:
|
|
1806
1860
|
reader.skipField();
|
|
1807
1861
|
break;
|
|
@@ -1909,6 +1963,20 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.serializeBinaryTo
|
|
|
1909
1963
|
f
|
|
1910
1964
|
);
|
|
1911
1965
|
}
|
|
1966
|
+
f = message.getLoyaltyprogramhorizontallogourl();
|
|
1967
|
+
if (f.length > 0) {
|
|
1968
|
+
writer.writeString(
|
|
1969
|
+
12,
|
|
1970
|
+
f
|
|
1971
|
+
);
|
|
1972
|
+
}
|
|
1973
|
+
f = message.getLoyaltyprogramverticallogourl();
|
|
1974
|
+
if (f.length > 0) {
|
|
1975
|
+
writer.writeString(
|
|
1976
|
+
13,
|
|
1977
|
+
f
|
|
1978
|
+
);
|
|
1979
|
+
}
|
|
1912
1980
|
};
|
|
1913
1981
|
|
|
1914
1982
|
|
|
@@ -2129,6 +2197,42 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoya
|
|
|
2129
2197
|
};
|
|
2130
2198
|
|
|
2131
2199
|
|
|
2200
|
+
/**
|
|
2201
|
+
* optional string loyaltyProgramHorizontalLogoUrl = 12;
|
|
2202
|
+
* @return {string}
|
|
2203
|
+
*/
|
|
2204
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramhorizontallogourl = function() {
|
|
2205
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
2206
|
+
};
|
|
2207
|
+
|
|
2208
|
+
|
|
2209
|
+
/**
|
|
2210
|
+
* @param {string} value
|
|
2211
|
+
* @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
|
|
2212
|
+
*/
|
|
2213
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramhorizontallogourl = function(value) {
|
|
2214
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
2215
|
+
};
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
/**
|
|
2219
|
+
* optional string loyaltyProgramVerticalLogoUrl = 13;
|
|
2220
|
+
* @return {string}
|
|
2221
|
+
*/
|
|
2222
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramverticallogourl = function() {
|
|
2223
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
2224
|
+
};
|
|
2225
|
+
|
|
2226
|
+
|
|
2227
|
+
/**
|
|
2228
|
+
* @param {string} value
|
|
2229
|
+
* @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
|
|
2230
|
+
*/
|
|
2231
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramverticallogourl = function(value) {
|
|
2232
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
2233
|
+
};
|
|
2234
|
+
|
|
2235
|
+
|
|
2132
2236
|
|
|
2133
2237
|
|
|
2134
2238
|
|
|
@@ -4108,7 +4212,9 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.toObject = function
|
|
|
4108
4212
|
proto.loyaltyprogramserviceapi.LoyaltyTierDetail.toObject, includeInstance),
|
|
4109
4213
|
loyaltyprogramlogourl: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4110
4214
|
loyaltyprogramsmalllogourl: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4111
|
-
loyaltyprogramshortname: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
4215
|
+
loyaltyprogramshortname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4216
|
+
loyaltyprogramhorizontallogourl: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4217
|
+
loyaltyprogramverticallogourl: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
4112
4218
|
};
|
|
4113
4219
|
|
|
4114
4220
|
if (includeInstance) {
|
|
@@ -4187,6 +4293,14 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.deserializeBinaryFr
|
|
|
4187
4293
|
var value = /** @type {string} */ (reader.readString());
|
|
4188
4294
|
msg.setLoyaltyprogramshortname(value);
|
|
4189
4295
|
break;
|
|
4296
|
+
case 11:
|
|
4297
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4298
|
+
msg.setLoyaltyprogramhorizontallogourl(value);
|
|
4299
|
+
break;
|
|
4300
|
+
case 12:
|
|
4301
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4302
|
+
msg.setLoyaltyprogramverticallogourl(value);
|
|
4303
|
+
break;
|
|
4190
4304
|
default:
|
|
4191
4305
|
reader.skipField();
|
|
4192
4306
|
break;
|
|
@@ -4288,6 +4402,20 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.serializeBinaryToWr
|
|
|
4288
4402
|
f
|
|
4289
4403
|
);
|
|
4290
4404
|
}
|
|
4405
|
+
f = message.getLoyaltyprogramhorizontallogourl();
|
|
4406
|
+
if (f.length > 0) {
|
|
4407
|
+
writer.writeString(
|
|
4408
|
+
11,
|
|
4409
|
+
f
|
|
4410
|
+
);
|
|
4411
|
+
}
|
|
4412
|
+
f = message.getLoyaltyprogramverticallogourl();
|
|
4413
|
+
if (f.length > 0) {
|
|
4414
|
+
writer.writeString(
|
|
4415
|
+
12,
|
|
4416
|
+
f
|
|
4417
|
+
);
|
|
4418
|
+
}
|
|
4291
4419
|
};
|
|
4292
4420
|
|
|
4293
4421
|
|
|
@@ -4510,6 +4638,42 @@ proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setLoyalt
|
|
|
4510
4638
|
};
|
|
4511
4639
|
|
|
4512
4640
|
|
|
4641
|
+
/**
|
|
4642
|
+
* optional string loyaltyProgramHorizontalLogoUrl = 11;
|
|
4643
|
+
* @return {string}
|
|
4644
|
+
*/
|
|
4645
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getLoyaltyprogramhorizontallogourl = function() {
|
|
4646
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4647
|
+
};
|
|
4648
|
+
|
|
4649
|
+
|
|
4650
|
+
/**
|
|
4651
|
+
* @param {string} value
|
|
4652
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
4653
|
+
*/
|
|
4654
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setLoyaltyprogramhorizontallogourl = function(value) {
|
|
4655
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
4656
|
+
};
|
|
4657
|
+
|
|
4658
|
+
|
|
4659
|
+
/**
|
|
4660
|
+
* optional string loyaltyProgramVerticalLogoUrl = 12;
|
|
4661
|
+
* @return {string}
|
|
4662
|
+
*/
|
|
4663
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.getLoyaltyprogramverticallogourl = function() {
|
|
4664
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
4665
|
+
};
|
|
4666
|
+
|
|
4667
|
+
|
|
4668
|
+
/**
|
|
4669
|
+
* @param {string} value
|
|
4670
|
+
* @return {!proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse} returns this
|
|
4671
|
+
*/
|
|
4672
|
+
proto.loyaltyprogramserviceapi.GetLoyaltyTiersDetailResponse.prototype.setLoyaltyprogramverticallogourl = function(value) {
|
|
4673
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
4674
|
+
};
|
|
4675
|
+
|
|
4676
|
+
|
|
4513
4677
|
|
|
4514
4678
|
|
|
4515
4679
|
|
|
@@ -7022,7 +7186,9 @@ proto.loyaltyprogramserviceapi.MembershipDetail.toObject = function(includeInsta
|
|
|
7022
7186
|
loyaltyoptionsList: jspb.Message.toObjectList(msg.getLoyaltyoptionsList(),
|
|
7023
7187
|
proto.loyaltyprogramserviceapi.LoyaltyProgramOption.toObject, includeInstance),
|
|
7024
7188
|
programsmalllogourl: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
7025
|
-
programshortname: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
7189
|
+
programshortname: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
7190
|
+
programhorizontallogourl: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
7191
|
+
programverticallogourl: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
7026
7192
|
};
|
|
7027
7193
|
|
|
7028
7194
|
if (includeInstance) {
|
|
@@ -7132,6 +7298,14 @@ proto.loyaltyprogramserviceapi.MembershipDetail.deserializeBinaryFromReader = fu
|
|
|
7132
7298
|
var value = /** @type {string} */ (reader.readString());
|
|
7133
7299
|
msg.setProgramshortname(value);
|
|
7134
7300
|
break;
|
|
7301
|
+
case 19:
|
|
7302
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7303
|
+
msg.setProgramhorizontallogourl(value);
|
|
7304
|
+
break;
|
|
7305
|
+
case 20:
|
|
7306
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7307
|
+
msg.setProgramverticallogourl(value);
|
|
7308
|
+
break;
|
|
7135
7309
|
default:
|
|
7136
7310
|
reader.skipField();
|
|
7137
7311
|
break;
|
|
@@ -7288,6 +7462,20 @@ proto.loyaltyprogramserviceapi.MembershipDetail.serializeBinaryToWriter = functi
|
|
|
7288
7462
|
f
|
|
7289
7463
|
);
|
|
7290
7464
|
}
|
|
7465
|
+
f = message.getProgramhorizontallogourl();
|
|
7466
|
+
if (f.length > 0) {
|
|
7467
|
+
writer.writeString(
|
|
7468
|
+
19,
|
|
7469
|
+
f
|
|
7470
|
+
);
|
|
7471
|
+
}
|
|
7472
|
+
f = message.getProgramverticallogourl();
|
|
7473
|
+
if (f.length > 0) {
|
|
7474
|
+
writer.writeString(
|
|
7475
|
+
20,
|
|
7476
|
+
f
|
|
7477
|
+
);
|
|
7478
|
+
}
|
|
7291
7479
|
};
|
|
7292
7480
|
|
|
7293
7481
|
|
|
@@ -7635,6 +7823,42 @@ proto.loyaltyprogramserviceapi.MembershipDetail.prototype.setProgramshortname =
|
|
|
7635
7823
|
};
|
|
7636
7824
|
|
|
7637
7825
|
|
|
7826
|
+
/**
|
|
7827
|
+
* optional string programHorizontalLogoUrl = 19;
|
|
7828
|
+
* @return {string}
|
|
7829
|
+
*/
|
|
7830
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.getProgramhorizontallogourl = function() {
|
|
7831
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
7832
|
+
};
|
|
7833
|
+
|
|
7834
|
+
|
|
7835
|
+
/**
|
|
7836
|
+
* @param {string} value
|
|
7837
|
+
* @return {!proto.loyaltyprogramserviceapi.MembershipDetail} returns this
|
|
7838
|
+
*/
|
|
7839
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.setProgramhorizontallogourl = function(value) {
|
|
7840
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
7841
|
+
};
|
|
7842
|
+
|
|
7843
|
+
|
|
7844
|
+
/**
|
|
7845
|
+
* optional string programVerticalLogoUrl = 20;
|
|
7846
|
+
* @return {string}
|
|
7847
|
+
*/
|
|
7848
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.getProgramverticallogourl = function() {
|
|
7849
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
7850
|
+
};
|
|
7851
|
+
|
|
7852
|
+
|
|
7853
|
+
/**
|
|
7854
|
+
* @param {string} value
|
|
7855
|
+
* @return {!proto.loyaltyprogramserviceapi.MembershipDetail} returns this
|
|
7856
|
+
*/
|
|
7857
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.setProgramverticallogourl = function(value) {
|
|
7858
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
7859
|
+
};
|
|
7860
|
+
|
|
7861
|
+
|
|
7638
7862
|
|
|
7639
7863
|
|
|
7640
7864
|
|
|
@@ -7680,7 +7904,9 @@ proto.loyaltyprogramserviceapi.LightMembershipDetail.toObject = function(include
|
|
|
7680
7904
|
feediscountmessage: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
7681
7905
|
programcode: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
7682
7906
|
programsmalllogourl: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
7683
|
-
programshortname: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
7907
|
+
programshortname: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
7908
|
+
programhorizontallogourl: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
7909
|
+
programverticallogourl: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
7684
7910
|
};
|
|
7685
7911
|
|
|
7686
7912
|
if (includeInstance) {
|
|
@@ -7773,6 +7999,14 @@ proto.loyaltyprogramserviceapi.LightMembershipDetail.deserializeBinaryFromReader
|
|
|
7773
7999
|
var value = /** @type {string} */ (reader.readString());
|
|
7774
8000
|
msg.setProgramshortname(value);
|
|
7775
8001
|
break;
|
|
8002
|
+
case 18:
|
|
8003
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8004
|
+
msg.setProgramhorizontallogourl(value);
|
|
8005
|
+
break;
|
|
8006
|
+
case 19:
|
|
8007
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8008
|
+
msg.setProgramverticallogourl(value);
|
|
8009
|
+
break;
|
|
7776
8010
|
default:
|
|
7777
8011
|
reader.skipField();
|
|
7778
8012
|
break;
|
|
@@ -7900,6 +8134,20 @@ proto.loyaltyprogramserviceapi.LightMembershipDetail.serializeBinaryToWriter = f
|
|
|
7900
8134
|
f
|
|
7901
8135
|
);
|
|
7902
8136
|
}
|
|
8137
|
+
f = message.getProgramhorizontallogourl();
|
|
8138
|
+
if (f.length > 0) {
|
|
8139
|
+
writer.writeString(
|
|
8140
|
+
18,
|
|
8141
|
+
f
|
|
8142
|
+
);
|
|
8143
|
+
}
|
|
8144
|
+
f = message.getProgramverticallogourl();
|
|
8145
|
+
if (f.length > 0) {
|
|
8146
|
+
writer.writeString(
|
|
8147
|
+
19,
|
|
8148
|
+
f
|
|
8149
|
+
);
|
|
8150
|
+
}
|
|
7903
8151
|
};
|
|
7904
8152
|
|
|
7905
8153
|
|
|
@@ -8155,6 +8403,42 @@ proto.loyaltyprogramserviceapi.LightMembershipDetail.prototype.setProgramshortna
|
|
|
8155
8403
|
};
|
|
8156
8404
|
|
|
8157
8405
|
|
|
8406
|
+
/**
|
|
8407
|
+
* optional string programHorizontalLogoUrl = 18;
|
|
8408
|
+
* @return {string}
|
|
8409
|
+
*/
|
|
8410
|
+
proto.loyaltyprogramserviceapi.LightMembershipDetail.prototype.getProgramhorizontallogourl = function() {
|
|
8411
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
8412
|
+
};
|
|
8413
|
+
|
|
8414
|
+
|
|
8415
|
+
/**
|
|
8416
|
+
* @param {string} value
|
|
8417
|
+
* @return {!proto.loyaltyprogramserviceapi.LightMembershipDetail} returns this
|
|
8418
|
+
*/
|
|
8419
|
+
proto.loyaltyprogramserviceapi.LightMembershipDetail.prototype.setProgramhorizontallogourl = function(value) {
|
|
8420
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
8421
|
+
};
|
|
8422
|
+
|
|
8423
|
+
|
|
8424
|
+
/**
|
|
8425
|
+
* optional string programVerticalLogoUrl = 19;
|
|
8426
|
+
* @return {string}
|
|
8427
|
+
*/
|
|
8428
|
+
proto.loyaltyprogramserviceapi.LightMembershipDetail.prototype.getProgramverticallogourl = function() {
|
|
8429
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
8430
|
+
};
|
|
8431
|
+
|
|
8432
|
+
|
|
8433
|
+
/**
|
|
8434
|
+
* @param {string} value
|
|
8435
|
+
* @return {!proto.loyaltyprogramserviceapi.LightMembershipDetail} returns this
|
|
8436
|
+
*/
|
|
8437
|
+
proto.loyaltyprogramserviceapi.LightMembershipDetail.prototype.setProgramverticallogourl = function(value) {
|
|
8438
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
8439
|
+
};
|
|
8440
|
+
|
|
8441
|
+
|
|
8158
8442
|
|
|
8159
8443
|
|
|
8160
8444
|
|
|
@@ -9986,7 +10270,9 @@ proto.loyaltyprogramserviceapi.ProgramDetail.toObject = function(includeInstance
|
|
|
9986
10270
|
appaccounttype: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
9987
10271
|
standardearnmonthlylimit: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
9988
10272
|
smalllogourl: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
9989
|
-
shortname: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
10273
|
+
shortname: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
10274
|
+
horizontallogourl: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
10275
|
+
verticallogourl: jspb.Message.getFieldWithDefault(msg, 24, "")
|
|
9990
10276
|
};
|
|
9991
10277
|
|
|
9992
10278
|
if (includeInstance) {
|
|
@@ -10112,6 +10398,14 @@ proto.loyaltyprogramserviceapi.ProgramDetail.deserializeBinaryFromReader = funct
|
|
|
10112
10398
|
var value = /** @type {string} */ (reader.readString());
|
|
10113
10399
|
msg.setShortname(value);
|
|
10114
10400
|
break;
|
|
10401
|
+
case 23:
|
|
10402
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10403
|
+
msg.setHorizontallogourl(value);
|
|
10404
|
+
break;
|
|
10405
|
+
case 24:
|
|
10406
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10407
|
+
msg.setVerticallogourl(value);
|
|
10408
|
+
break;
|
|
10115
10409
|
default:
|
|
10116
10410
|
reader.skipField();
|
|
10117
10411
|
break;
|
|
@@ -10296,6 +10590,20 @@ proto.loyaltyprogramserviceapi.ProgramDetail.serializeBinaryToWriter = function(
|
|
|
10296
10590
|
f
|
|
10297
10591
|
);
|
|
10298
10592
|
}
|
|
10593
|
+
f = message.getHorizontallogourl();
|
|
10594
|
+
if (f.length > 0) {
|
|
10595
|
+
writer.writeString(
|
|
10596
|
+
23,
|
|
10597
|
+
f
|
|
10598
|
+
);
|
|
10599
|
+
}
|
|
10600
|
+
f = message.getVerticallogourl();
|
|
10601
|
+
if (f.length > 0) {
|
|
10602
|
+
writer.writeString(
|
|
10603
|
+
24,
|
|
10604
|
+
f
|
|
10605
|
+
);
|
|
10606
|
+
}
|
|
10299
10607
|
};
|
|
10300
10608
|
|
|
10301
10609
|
|
|
@@ -10725,16 +11033,52 @@ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setShortname = function(v
|
|
|
10725
11033
|
};
|
|
10726
11034
|
|
|
10727
11035
|
|
|
11036
|
+
/**
|
|
11037
|
+
* optional string horizontalLogoUrl = 23;
|
|
11038
|
+
* @return {string}
|
|
11039
|
+
*/
|
|
11040
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getHorizontallogourl = function() {
|
|
11041
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
11042
|
+
};
|
|
10728
11043
|
|
|
10729
11044
|
|
|
11045
|
+
/**
|
|
11046
|
+
* @param {string} value
|
|
11047
|
+
* @return {!proto.loyaltyprogramserviceapi.ProgramDetail} returns this
|
|
11048
|
+
*/
|
|
11049
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setHorizontallogourl = function(value) {
|
|
11050
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
11051
|
+
};
|
|
11052
|
+
|
|
10730
11053
|
|
|
10731
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10732
11054
|
/**
|
|
10733
|
-
*
|
|
10734
|
-
*
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
11055
|
+
* optional string verticalLogoUrl = 24;
|
|
11056
|
+
* @return {string}
|
|
11057
|
+
*/
|
|
11058
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getVerticallogourl = function() {
|
|
11059
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
11060
|
+
};
|
|
11061
|
+
|
|
11062
|
+
|
|
11063
|
+
/**
|
|
11064
|
+
* @param {string} value
|
|
11065
|
+
* @return {!proto.loyaltyprogramserviceapi.ProgramDetail} returns this
|
|
11066
|
+
*/
|
|
11067
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setVerticallogourl = function(value) {
|
|
11068
|
+
return jspb.Message.setProto3StringField(this, 24, value);
|
|
11069
|
+
};
|
|
11070
|
+
|
|
11071
|
+
|
|
11072
|
+
|
|
11073
|
+
|
|
11074
|
+
|
|
11075
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11076
|
+
/**
|
|
11077
|
+
* Creates an object representation of this proto.
|
|
11078
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11079
|
+
* Optional fields that are not set will be set to undefined.
|
|
11080
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11081
|
+
* For the list of reserved names please see:
|
|
10738
11082
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10739
11083
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10740
11084
|
* JSPB instance for transitional soy proto support:
|
|
@@ -13835,6 +14179,347 @@ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.s
|
|
|
13835
14179
|
|
|
13836
14180
|
|
|
13837
14181
|
|
|
14182
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14183
|
+
/**
|
|
14184
|
+
* Creates an object representation of this proto.
|
|
14185
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14186
|
+
* Optional fields that are not set will be set to undefined.
|
|
14187
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14188
|
+
* For the list of reserved names please see:
|
|
14189
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14190
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14191
|
+
* JSPB instance for transitional soy proto support:
|
|
14192
|
+
* http://goto/soy-param-migration
|
|
14193
|
+
* @return {!Object}
|
|
14194
|
+
*/
|
|
14195
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14196
|
+
return proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.toObject(opt_includeInstance, this);
|
|
14197
|
+
};
|
|
14198
|
+
|
|
14199
|
+
|
|
14200
|
+
/**
|
|
14201
|
+
* Static version of the {@see toObject} method.
|
|
14202
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14203
|
+
* the JSPB instance for transitional soy proto support:
|
|
14204
|
+
* http://goto/soy-param-migration
|
|
14205
|
+
* @param {!proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest} msg The msg instance to transform.
|
|
14206
|
+
* @return {!Object}
|
|
14207
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14208
|
+
*/
|
|
14209
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.toObject = function(includeInstance, msg) {
|
|
14210
|
+
var f, obj = {
|
|
14211
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
14212
|
+
};
|
|
14213
|
+
|
|
14214
|
+
if (includeInstance) {
|
|
14215
|
+
obj.$jspbMessageInstance = msg;
|
|
14216
|
+
}
|
|
14217
|
+
return obj;
|
|
14218
|
+
};
|
|
14219
|
+
}
|
|
14220
|
+
|
|
14221
|
+
|
|
14222
|
+
/**
|
|
14223
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14224
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14225
|
+
* @return {!proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest}
|
|
14226
|
+
*/
|
|
14227
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.deserializeBinary = function(bytes) {
|
|
14228
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14229
|
+
var msg = new proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest;
|
|
14230
|
+
return proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
14231
|
+
};
|
|
14232
|
+
|
|
14233
|
+
|
|
14234
|
+
/**
|
|
14235
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14236
|
+
* given reader into the given message object.
|
|
14237
|
+
* @param {!proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest} msg The message object to deserialize into.
|
|
14238
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14239
|
+
* @return {!proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest}
|
|
14240
|
+
*/
|
|
14241
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14242
|
+
while (reader.nextField()) {
|
|
14243
|
+
if (reader.isEndGroup()) {
|
|
14244
|
+
break;
|
|
14245
|
+
}
|
|
14246
|
+
var field = reader.getFieldNumber();
|
|
14247
|
+
switch (field) {
|
|
14248
|
+
case 1:
|
|
14249
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14250
|
+
msg.setUserid(value);
|
|
14251
|
+
break;
|
|
14252
|
+
default:
|
|
14253
|
+
reader.skipField();
|
|
14254
|
+
break;
|
|
14255
|
+
}
|
|
14256
|
+
}
|
|
14257
|
+
return msg;
|
|
14258
|
+
};
|
|
14259
|
+
|
|
14260
|
+
|
|
14261
|
+
/**
|
|
14262
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14263
|
+
* @return {!Uint8Array}
|
|
14264
|
+
*/
|
|
14265
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.prototype.serializeBinary = function() {
|
|
14266
|
+
var writer = new jspb.BinaryWriter();
|
|
14267
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.serializeBinaryToWriter(this, writer);
|
|
14268
|
+
return writer.getResultBuffer();
|
|
14269
|
+
};
|
|
14270
|
+
|
|
14271
|
+
|
|
14272
|
+
/**
|
|
14273
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14274
|
+
* format), writing to the given BinaryWriter.
|
|
14275
|
+
* @param {!proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest} message
|
|
14276
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14277
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14278
|
+
*/
|
|
14279
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14280
|
+
var f = undefined;
|
|
14281
|
+
f = message.getUserid();
|
|
14282
|
+
if (f !== 0) {
|
|
14283
|
+
writer.writeInt64(
|
|
14284
|
+
1,
|
|
14285
|
+
f
|
|
14286
|
+
);
|
|
14287
|
+
}
|
|
14288
|
+
};
|
|
14289
|
+
|
|
14290
|
+
|
|
14291
|
+
/**
|
|
14292
|
+
* optional int64 userId = 1;
|
|
14293
|
+
* @return {number}
|
|
14294
|
+
*/
|
|
14295
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.prototype.getUserid = function() {
|
|
14296
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
14297
|
+
};
|
|
14298
|
+
|
|
14299
|
+
|
|
14300
|
+
/**
|
|
14301
|
+
* @param {number} value
|
|
14302
|
+
* @return {!proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest} returns this
|
|
14303
|
+
*/
|
|
14304
|
+
proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest.prototype.setUserid = function(value) {
|
|
14305
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
14306
|
+
};
|
|
14307
|
+
|
|
14308
|
+
|
|
14309
|
+
|
|
14310
|
+
|
|
14311
|
+
|
|
14312
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14313
|
+
/**
|
|
14314
|
+
* Creates an object representation of this proto.
|
|
14315
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14316
|
+
* Optional fields that are not set will be set to undefined.
|
|
14317
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14318
|
+
* For the list of reserved names please see:
|
|
14319
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14320
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14321
|
+
* JSPB instance for transitional soy proto support:
|
|
14322
|
+
* http://goto/soy-param-migration
|
|
14323
|
+
* @return {!Object}
|
|
14324
|
+
*/
|
|
14325
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
14326
|
+
return proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.toObject(opt_includeInstance, this);
|
|
14327
|
+
};
|
|
14328
|
+
|
|
14329
|
+
|
|
14330
|
+
/**
|
|
14331
|
+
* Static version of the {@see toObject} method.
|
|
14332
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14333
|
+
* the JSPB instance for transitional soy proto support:
|
|
14334
|
+
* http://goto/soy-param-migration
|
|
14335
|
+
* @param {!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse} msg The msg instance to transform.
|
|
14336
|
+
* @return {!Object}
|
|
14337
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14338
|
+
*/
|
|
14339
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.toObject = function(includeInstance, msg) {
|
|
14340
|
+
var f, obj = {
|
|
14341
|
+
responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
14342
|
+
defaultprogrammonthlylimithit: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
14343
|
+
anyprogrammonthlylimithit: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
14344
|
+
};
|
|
14345
|
+
|
|
14346
|
+
if (includeInstance) {
|
|
14347
|
+
obj.$jspbMessageInstance = msg;
|
|
14348
|
+
}
|
|
14349
|
+
return obj;
|
|
14350
|
+
};
|
|
14351
|
+
}
|
|
14352
|
+
|
|
14353
|
+
|
|
14354
|
+
/**
|
|
14355
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14356
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14357
|
+
* @return {!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse}
|
|
14358
|
+
*/
|
|
14359
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.deserializeBinary = function(bytes) {
|
|
14360
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14361
|
+
var msg = new proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse;
|
|
14362
|
+
return proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.deserializeBinaryFromReader(msg, reader);
|
|
14363
|
+
};
|
|
14364
|
+
|
|
14365
|
+
|
|
14366
|
+
/**
|
|
14367
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14368
|
+
* given reader into the given message object.
|
|
14369
|
+
* @param {!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse} msg The message object to deserialize into.
|
|
14370
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14371
|
+
* @return {!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse}
|
|
14372
|
+
*/
|
|
14373
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
14374
|
+
while (reader.nextField()) {
|
|
14375
|
+
if (reader.isEndGroup()) {
|
|
14376
|
+
break;
|
|
14377
|
+
}
|
|
14378
|
+
var field = reader.getFieldNumber();
|
|
14379
|
+
switch (field) {
|
|
14380
|
+
case 1:
|
|
14381
|
+
var value = new proto.loyaltyprogramserviceapi.ResponseCode;
|
|
14382
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
14383
|
+
msg.setResponsecode(value);
|
|
14384
|
+
break;
|
|
14385
|
+
case 2:
|
|
14386
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14387
|
+
msg.setDefaultprogrammonthlylimithit(value);
|
|
14388
|
+
break;
|
|
14389
|
+
case 3:
|
|
14390
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14391
|
+
msg.setAnyprogrammonthlylimithit(value);
|
|
14392
|
+
break;
|
|
14393
|
+
default:
|
|
14394
|
+
reader.skipField();
|
|
14395
|
+
break;
|
|
14396
|
+
}
|
|
14397
|
+
}
|
|
14398
|
+
return msg;
|
|
14399
|
+
};
|
|
14400
|
+
|
|
14401
|
+
|
|
14402
|
+
/**
|
|
14403
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14404
|
+
* @return {!Uint8Array}
|
|
14405
|
+
*/
|
|
14406
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.serializeBinary = function() {
|
|
14407
|
+
var writer = new jspb.BinaryWriter();
|
|
14408
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.serializeBinaryToWriter(this, writer);
|
|
14409
|
+
return writer.getResultBuffer();
|
|
14410
|
+
};
|
|
14411
|
+
|
|
14412
|
+
|
|
14413
|
+
/**
|
|
14414
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14415
|
+
* format), writing to the given BinaryWriter.
|
|
14416
|
+
* @param {!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse} message
|
|
14417
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14418
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14419
|
+
*/
|
|
14420
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
|
14421
|
+
var f = undefined;
|
|
14422
|
+
f = message.getResponsecode();
|
|
14423
|
+
if (f != null) {
|
|
14424
|
+
writer.writeMessage(
|
|
14425
|
+
1,
|
|
14426
|
+
f,
|
|
14427
|
+
proto.loyaltyprogramserviceapi.ResponseCode.serializeBinaryToWriter
|
|
14428
|
+
);
|
|
14429
|
+
}
|
|
14430
|
+
f = message.getDefaultprogrammonthlylimithit();
|
|
14431
|
+
if (f) {
|
|
14432
|
+
writer.writeBool(
|
|
14433
|
+
2,
|
|
14434
|
+
f
|
|
14435
|
+
);
|
|
14436
|
+
}
|
|
14437
|
+
f = message.getAnyprogrammonthlylimithit();
|
|
14438
|
+
if (f) {
|
|
14439
|
+
writer.writeBool(
|
|
14440
|
+
3,
|
|
14441
|
+
f
|
|
14442
|
+
);
|
|
14443
|
+
}
|
|
14444
|
+
};
|
|
14445
|
+
|
|
14446
|
+
|
|
14447
|
+
/**
|
|
14448
|
+
* optional ResponseCode responseCode = 1;
|
|
14449
|
+
* @return {?proto.loyaltyprogramserviceapi.ResponseCode}
|
|
14450
|
+
*/
|
|
14451
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.getResponsecode = function() {
|
|
14452
|
+
return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
|
|
14453
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
|
|
14454
|
+
};
|
|
14455
|
+
|
|
14456
|
+
|
|
14457
|
+
/**
|
|
14458
|
+
* @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
|
|
14459
|
+
* @return {!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse} returns this
|
|
14460
|
+
*/
|
|
14461
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.setResponsecode = function(value) {
|
|
14462
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
14463
|
+
};
|
|
14464
|
+
|
|
14465
|
+
|
|
14466
|
+
/**
|
|
14467
|
+
* Clears the message field making it undefined.
|
|
14468
|
+
* @return {!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse} returns this
|
|
14469
|
+
*/
|
|
14470
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.clearResponsecode = function() {
|
|
14471
|
+
return this.setResponsecode(undefined);
|
|
14472
|
+
};
|
|
14473
|
+
|
|
14474
|
+
|
|
14475
|
+
/**
|
|
14476
|
+
* Returns whether this field is set.
|
|
14477
|
+
* @return {boolean}
|
|
14478
|
+
*/
|
|
14479
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.hasResponsecode = function() {
|
|
14480
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14481
|
+
};
|
|
14482
|
+
|
|
14483
|
+
|
|
14484
|
+
/**
|
|
14485
|
+
* optional bool defaultProgramMonthlyLimitHit = 2;
|
|
14486
|
+
* @return {boolean}
|
|
14487
|
+
*/
|
|
14488
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.getDefaultprogrammonthlylimithit = function() {
|
|
14489
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
14490
|
+
};
|
|
14491
|
+
|
|
14492
|
+
|
|
14493
|
+
/**
|
|
14494
|
+
* @param {boolean} value
|
|
14495
|
+
* @return {!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse} returns this
|
|
14496
|
+
*/
|
|
14497
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.setDefaultprogrammonthlylimithit = function(value) {
|
|
14498
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
14499
|
+
};
|
|
14500
|
+
|
|
14501
|
+
|
|
14502
|
+
/**
|
|
14503
|
+
* optional bool anyProgramMonthlyLimitHit = 3;
|
|
14504
|
+
* @return {boolean}
|
|
14505
|
+
*/
|
|
14506
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.getAnyprogrammonthlylimithit = function() {
|
|
14507
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
14508
|
+
};
|
|
14509
|
+
|
|
14510
|
+
|
|
14511
|
+
/**
|
|
14512
|
+
* @param {boolean} value
|
|
14513
|
+
* @return {!proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse} returns this
|
|
14514
|
+
*/
|
|
14515
|
+
proto.loyaltyprogramserviceapi.UserLoyaltyMonthlyLimitStatusResponse.prototype.setAnyprogrammonthlylimithit = function(value) {
|
|
14516
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
14517
|
+
};
|
|
14518
|
+
|
|
14519
|
+
|
|
14520
|
+
|
|
14521
|
+
|
|
14522
|
+
|
|
13838
14523
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13839
14524
|
/**
|
|
13840
14525
|
* Creates an object representation of this proto.
|