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

7.1 KiB
Raw Blame History

GetWarehouseStocksRequest

Properties

Name Type Description Notes
StocksWarehouseId Pointer to int64 Идентификатор склада. Если параметр указан, возвращаются только товары на переданном складе. Для модели :no-translate[FBY]: получить список складов Маркета можно с помощью метода GET warehouses. [optional]
HasStocks Pointer to bool Фильтр по наличию товаров. Используйте только вместе со `stocksWarehouseId`. Передайте `false`, чтобы получить информацию о товарах, которых нет в наличие. При значении `true` возвращаются данные о товарах, которые есть на указанном складе. [optional]
WithTurnover Pointer to bool Только для модели FBY Возвращать ли информацию по оборачиваемости. Значение по умолчанию: `false`. Если информация нужна, передайте значение `true`. [optional] [default to false]
Archived Pointer to bool Фильтр по нахождению в архиве. Передайте `true`, чтобы получить информацию об остатках товаров, которые находятся в архиве. Если фильтр не заполнен или передано `false`, в ответе возвращается информация о товарах, которые не находятся в архиве. [optional]
OfferIds Pointer to []string Фильтр по вашим :no-translate[SKU] товаров. Возвращается информация об остатках всех переданных :no-translate[SKU], включая товары в архиве. {% note warning "Такой список возвращается только целиком" %} Если вы запрашиваете информацию по конкретным :no-translate[SKU], не заполняйте: * `page_token` * `limit` * `archived` * `stocksOnWarehouse` {% endnote %}   [optional]

Methods

NewGetWarehouseStocksRequest

func NewGetWarehouseStocksRequest() *GetWarehouseStocksRequest

NewGetWarehouseStocksRequest instantiates a new GetWarehouseStocksRequest 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

NewGetWarehouseStocksRequestWithDefaults

func NewGetWarehouseStocksRequestWithDefaults() *GetWarehouseStocksRequest

NewGetWarehouseStocksRequestWithDefaults instantiates a new GetWarehouseStocksRequest 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

GetStocksWarehouseId

func (o *GetWarehouseStocksRequest) GetStocksWarehouseId() int64

GetStocksWarehouseId returns the StocksWarehouseId field if non-nil, zero value otherwise.

GetStocksWarehouseIdOk

func (o *GetWarehouseStocksRequest) GetStocksWarehouseIdOk() (*int64, bool)

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

SetStocksWarehouseId

func (o *GetWarehouseStocksRequest) SetStocksWarehouseId(v int64)

SetStocksWarehouseId sets StocksWarehouseId field to given value.

HasStocksWarehouseId

func (o *GetWarehouseStocksRequest) HasStocksWarehouseId() bool

HasStocksWarehouseId returns a boolean if a field has been set.

GetHasStocks

func (o *GetWarehouseStocksRequest) GetHasStocks() bool

GetHasStocks returns the HasStocks field if non-nil, zero value otherwise.

GetHasStocksOk

func (o *GetWarehouseStocksRequest) GetHasStocksOk() (*bool, bool)

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

SetHasStocks

func (o *GetWarehouseStocksRequest) SetHasStocks(v bool)

SetHasStocks sets HasStocks field to given value.

HasHasStocks

func (o *GetWarehouseStocksRequest) HasHasStocks() bool

HasHasStocks returns a boolean if a field has been set.

GetWithTurnover

func (o *GetWarehouseStocksRequest) GetWithTurnover() bool

GetWithTurnover returns the WithTurnover field if non-nil, zero value otherwise.

GetWithTurnoverOk

func (o *GetWarehouseStocksRequest) GetWithTurnoverOk() (*bool, bool)

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

SetWithTurnover

func (o *GetWarehouseStocksRequest) SetWithTurnover(v bool)

SetWithTurnover sets WithTurnover field to given value.

HasWithTurnover

func (o *GetWarehouseStocksRequest) HasWithTurnover() bool

HasWithTurnover returns a boolean if a field has been set.

GetArchived

func (o *GetWarehouseStocksRequest) GetArchived() bool

GetArchived returns the Archived field if non-nil, zero value otherwise.

GetArchivedOk

func (o *GetWarehouseStocksRequest) GetArchivedOk() (*bool, bool)

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

SetArchived

func (o *GetWarehouseStocksRequest) SetArchived(v bool)

SetArchived sets Archived field to given value.

HasArchived

func (o *GetWarehouseStocksRequest) HasArchived() bool

HasArchived returns a boolean if a field has been set.

GetOfferIds

func (o *GetWarehouseStocksRequest) GetOfferIds() []string

GetOfferIds returns the OfferIds field if non-nil, zero value otherwise.

GetOfferIdsOk

func (o *GetWarehouseStocksRequest) GetOfferIdsOk() (*[]string, bool)

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

SetOfferIds

func (o *GetWarehouseStocksRequest) SetOfferIds(v []string)

SetOfferIds sets OfferIds field to given value.

HasOfferIds

func (o *GetWarehouseStocksRequest) HasOfferIds() bool

HasOfferIds returns a boolean if a field has been set.

SetOfferIdsNil

func (o *GetWarehouseStocksRequest) SetOfferIdsNil(b bool)

SetOfferIdsNil sets the value for OfferIds to be an explicit nil

UnsetOfferIds

func (o *GetWarehouseStocksRequest) UnsetOfferIds()

UnsetOfferIds ensures that no value is present for OfferIds, not even an explicit nil

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