add enum types where possible

This commit is contained in:
diPhantxm
2023-04-02 12:52:55 +03:00
parent 3af6ad40c5
commit 3507be6ec2
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"`