-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding fix for getting changes to sales
- Loading branch information
1 parent
22f3acc
commit 7c9f38d
Showing
4 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,24 @@ | ||
namespace GogoKit.Models.Request | ||
using System.Collections.Generic; | ||
|
||
namespace GogoKit.Models.Request | ||
{ | ||
public class SaleRequest : RequestParameters<string, string> | ||
public class SaleRequest : RequestParameters<SaleEmbed, SaleSort> | ||
{ | ||
protected override IDictionary<SaleSort, string> SortFieldNameMap => | ||
new Dictionary<SaleSort, string> | ||
{ | ||
{SaleSort.CreatedAt, "created_at"}, | ||
{SaleSort.ResourceVersion, "resource_version"} | ||
}; | ||
} | ||
|
||
public enum SaleEmbed | ||
{ | ||
} | ||
|
||
public enum SaleSort | ||
{ | ||
CreatedAt, | ||
ResourceVersion | ||
} | ||
} |