Merge pull request #5 from diPhantxm/refactor-enum-types

add enum types where possible
This commit is contained in:
Kirill
2023-04-02 12:54:17 +03:00
committed by GitHub
6 changed files with 138 additions and 27 deletions

View File

@@ -464,7 +464,7 @@ func (c Promotions) RemoveProductsToHotSale(params *RemoveProductsToHotSaleParam
type ListDiscountRequestsParams struct {
// Discount request status
Status string `json:"status" default:"UNKNOWN"`
Status ListDiscountRequestsStatus `json:"status" default:"UNKNOWN"`
// Page number from which you want to download the list of discount requests
Page uint64 `json:"page"`