Files
Sipro-Marketplaces/pkg/api/yandex/ymclient/docs/GetPromoBestsellerInfoDTO.md
2025-08-15 11:10:28 +03:00

4.2 KiB
Raw Blame History

GetPromoBestsellerInfoDTO

Properties

Name Type Description Notes
Bestseller bool Является ли акция «Бестселлером Маркета». Подробнее об этой акции читайте в Справке Маркета для продавцов.
EntryDeadline Pointer to time.Time До какой даты можно добавить товар в акцию «Бестселлеры Маркета». Параметр возвращается только для текущих и будущих акций «Бестселлеры Маркета». [optional]
RenewalEnabled Pointer to bool Включен ли автоматический перенос ассортимента между акциями «Бестселлеры Маркета». О том, как это работает, читайте в Справке Маркета для продавцов. Параметр возвращается только для текущих и будущих акций «Бестселлеры Маркета». [optional]

Methods

NewGetPromoBestsellerInfoDTO

func NewGetPromoBestsellerInfoDTO(bestseller bool, ) *GetPromoBestsellerInfoDTO

NewGetPromoBestsellerInfoDTO instantiates a new GetPromoBestsellerInfoDTO object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewGetPromoBestsellerInfoDTOWithDefaults

func NewGetPromoBestsellerInfoDTOWithDefaults() *GetPromoBestsellerInfoDTO

NewGetPromoBestsellerInfoDTOWithDefaults instantiates a new GetPromoBestsellerInfoDTO object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetBestseller

func (o *GetPromoBestsellerInfoDTO) GetBestseller() bool

GetBestseller returns the Bestseller field if non-nil, zero value otherwise.

GetBestsellerOk

func (o *GetPromoBestsellerInfoDTO) GetBestsellerOk() (*bool, bool)

GetBestsellerOk returns a tuple with the Bestseller field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBestseller

func (o *GetPromoBestsellerInfoDTO) SetBestseller(v bool)

SetBestseller sets Bestseller field to given value.

GetEntryDeadline

func (o *GetPromoBestsellerInfoDTO) GetEntryDeadline() time.Time

GetEntryDeadline returns the EntryDeadline field if non-nil, zero value otherwise.

GetEntryDeadlineOk

func (o *GetPromoBestsellerInfoDTO) GetEntryDeadlineOk() (*time.Time, bool)

GetEntryDeadlineOk returns a tuple with the EntryDeadline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEntryDeadline

func (o *GetPromoBestsellerInfoDTO) SetEntryDeadline(v time.Time)

SetEntryDeadline sets EntryDeadline field to given value.

HasEntryDeadline

func (o *GetPromoBestsellerInfoDTO) HasEntryDeadline() bool

HasEntryDeadline returns a boolean if a field has been set.

GetRenewalEnabled

func (o *GetPromoBestsellerInfoDTO) GetRenewalEnabled() bool

GetRenewalEnabled returns the RenewalEnabled field if non-nil, zero value otherwise.

GetRenewalEnabledOk

func (o *GetPromoBestsellerInfoDTO) GetRenewalEnabledOk() (*bool, bool)

GetRenewalEnabledOk returns a tuple with the RenewalEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRenewalEnabled

func (o *GetPromoBestsellerInfoDTO) SetRenewalEnabled(v bool)

SetRenewalEnabled sets RenewalEnabled field to given value.

HasRenewalEnabled

func (o *GetPromoBestsellerInfoDTO) HasRenewalEnabled() bool

HasRenewalEnabled returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]