public static CreateTemporaryItemContract ToContract(this CreateTemporaryItemRequest request)
 {
     return(new CreateTemporaryItemContract
     {
         ClientSideId = request.OfflineId,
         Name = request.Name,
         Availability = new ItemAvailabilityContract
         {
             StoreId = request.StoreId,
             Price = request.Price,
             DefaultSectionId = request.DefaultSectionId
         }
     });
 }
 public async Task CreateTemporaryItem(CreateTemporaryItemRequest request)
 {
     await client.CreateTemporaryItem(request.ToContract());
 }