Fix loyalty account request fields

This commit is contained in:
Pavel 2024-09-11 15:01:53 +03:00 committed by GitHub
commit c79e6c0497
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,7 +249,7 @@ type AccountBonusOperationsRequest struct {
type LoyaltyBonusCreditRequest struct { type LoyaltyBonusCreditRequest struct {
Amount float64 `url:"amount"` Amount float64 `url:"amount"`
ActivationDate string `url:"activationDate,omitempty"` ActivationDate string `url:"activationDate,omitempty"`
ExpiredDate string `url:"expiredDate,omitempty"` ExpiredDate string `url:"expireDate,omitempty"`
Comment string `url:"comment,omitempty"` Comment string `url:"comment,omitempty"`
} }
@ -261,7 +261,7 @@ type LoyaltyBonusStatusDetailsRequest struct {
type LoyaltyAccountsRequest struct { type LoyaltyAccountsRequest struct {
Limit int `url:"limit,omitempty"` Limit int `url:"limit,omitempty"`
Page int `url:"limit,omitempty"` Page int `url:"page,omitempty"`
Filter LoyaltyAccountAPIFilter `url:"filter,omitempty"` Filter LoyaltyAccountAPIFilter `url:"filter,omitempty"`
} }