@@ -186,4 +186,73 @@ public class LootLockerEntitlementHistoryResponse : LootLockerResponse
186
186
/// </summary>
187
187
public LootLockerPaginationResponse < string > Pagination { get ; set ; }
188
188
}
189
+
190
+ /// <summary>
191
+ /// Response body of the entitlement history of a single entitlement id
192
+ /// </summary>
193
+ public class LootLockerSingleEntitlementHistoryResponse : LootLockerResponse
194
+ {
195
+ /// <summary>
196
+ /// When this entitlement listing was created
197
+ /// </summary>
198
+ public string created_at { get ; set ; }
199
+ /// <summary>
200
+ /// The type this entitlement is example is a one time purchase
201
+ /// </summary>
202
+ public string type { get ; set ; }
203
+ /// <summary>
204
+ /// The status of the entitlement, (pending, active, canceled)
205
+ /// </summary>
206
+ public string status { get ; set ; }
207
+ /// <summary>
208
+ /// The store connected to the entitlement
209
+ /// </summary>
210
+ public string store { get ; set ; }
211
+ /// <summary>
212
+ /// An array of the items connected to this entitlement
213
+ /// </summary>
214
+ public LootLockerSingleEntitlementItem [ ] items { get ; set ; }
215
+ /// <summary>
216
+ /// Metadata of the entitlement
217
+ /// </summary>
218
+ public MetadataEntry [ ] metadata { get ; set ; }
219
+
220
+ }
221
+
222
+ public class MetadataEntry
223
+ {
224
+ public string key { get ; set ; }
225
+ public string value { get ; set ; }
226
+ }
227
+ /// <summary>
228
+ /// Details of the entitlement item
229
+ /// </summary>
230
+ public class LootLockerSingleEntitlementItem
231
+ {
232
+ /// <summary>
233
+ /// When this entitlement item listing was created
234
+ /// </summary>
235
+ public string created_at { get ; set ; }
236
+ /// <summary>
237
+ /// What type of reward (currency, asset, progression points, progression reset, etc.)
238
+ /// </summary>
239
+ public string reward_kind { get ; set ; }
240
+ /// <summary>
241
+ /// The id of the entitlement item
242
+ /// </summary>
243
+ public string id { get ; set ; }
244
+ /// <summary>
245
+ /// The reward id of the entitlement item
246
+ /// </summary>
247
+ public string reward_id { get ; set ; }
248
+ /// <summary>
249
+ /// The id of the catalog which contains the item
250
+ /// </summary>
251
+ public string catalog_id { get ; set ; }
252
+ /// <summary>
253
+ /// If the item is purchasable
254
+ /// </summary>
255
+ public bool purchasable { get ; set ; }
256
+ }
257
+
189
258
}
0 commit comments