feat: shit shit

This commit is contained in:
2025-08-15 11:10:28 +03:00
parent 0c86228095
commit 38acc4a443
1402 changed files with 453050 additions and 111 deletions

View File

@@ -0,0 +1,77 @@
# AcceptOrderCancellationRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Accepted** | **bool** | Решение об отмене заказа: * `true` — заказ отменяется, служба доставки узнала об отмене до передачи заказа покупателю. * `false` — заказ не отменяется, так как он уже доставлен покупателю курьером или передан в пункт выдачи заказов. |
**Reason** | Pointer to [**OrderCancellationReasonType**](OrderCancellationReasonType.md) | | [optional]
## Methods
### NewAcceptOrderCancellationRequest
`func NewAcceptOrderCancellationRequest(accepted bool, ) *AcceptOrderCancellationRequest`
NewAcceptOrderCancellationRequest instantiates a new AcceptOrderCancellationRequest 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
### NewAcceptOrderCancellationRequestWithDefaults
`func NewAcceptOrderCancellationRequestWithDefaults() *AcceptOrderCancellationRequest`
NewAcceptOrderCancellationRequestWithDefaults instantiates a new AcceptOrderCancellationRequest 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
### GetAccepted
`func (o *AcceptOrderCancellationRequest) GetAccepted() bool`
GetAccepted returns the Accepted field if non-nil, zero value otherwise.
### GetAcceptedOk
`func (o *AcceptOrderCancellationRequest) GetAcceptedOk() (*bool, bool)`
GetAcceptedOk returns a tuple with the Accepted field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAccepted
`func (o *AcceptOrderCancellationRequest) SetAccepted(v bool)`
SetAccepted sets Accepted field to given value.
### GetReason
`func (o *AcceptOrderCancellationRequest) GetReason() OrderCancellationReasonType`
GetReason returns the Reason field if non-nil, zero value otherwise.
### GetReasonOk
`func (o *AcceptOrderCancellationRequest) GetReasonOk() (*OrderCancellationReasonType, bool)`
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetReason
`func (o *AcceptOrderCancellationRequest) SetReason(v OrderCancellationReasonType)`
SetReason sets Reason field to given value.
### HasReason
`func (o *AcceptOrderCancellationRequest) HasReason() bool`
HasReason returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# AddHiddenOffersRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**HiddenOffers** | [**[]HiddenOfferDTO**](HiddenOfferDTO.md) | Список скрытых товаров. |
## Methods
### NewAddHiddenOffersRequest
`func NewAddHiddenOffersRequest(hiddenOffers []HiddenOfferDTO, ) *AddHiddenOffersRequest`
NewAddHiddenOffersRequest instantiates a new AddHiddenOffersRequest 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
### NewAddHiddenOffersRequestWithDefaults
`func NewAddHiddenOffersRequestWithDefaults() *AddHiddenOffersRequest`
NewAddHiddenOffersRequestWithDefaults instantiates a new AddHiddenOffersRequest 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
### GetHiddenOffers
`func (o *AddHiddenOffersRequest) GetHiddenOffers() []HiddenOfferDTO`
GetHiddenOffers returns the HiddenOffers field if non-nil, zero value otherwise.
### GetHiddenOffersOk
`func (o *AddHiddenOffersRequest) GetHiddenOffersOk() (*[]HiddenOfferDTO, bool)`
GetHiddenOffersOk returns a tuple with the HiddenOffers field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetHiddenOffers
`func (o *AddHiddenOffersRequest) SetHiddenOffers(v []HiddenOfferDTO)`
SetHiddenOffers sets HiddenOffers field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,66 @@
# AddOffersToArchiveDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**NotArchivedOffers** | Pointer to [**[]AddOffersToArchiveErrorDTO**](AddOffersToArchiveErrorDTO.md) | Список товаров, которые не удалось поместить в архив. | [optional]
## Methods
### NewAddOffersToArchiveDTO
`func NewAddOffersToArchiveDTO() *AddOffersToArchiveDTO`
NewAddOffersToArchiveDTO instantiates a new AddOffersToArchiveDTO 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
### NewAddOffersToArchiveDTOWithDefaults
`func NewAddOffersToArchiveDTOWithDefaults() *AddOffersToArchiveDTO`
NewAddOffersToArchiveDTOWithDefaults instantiates a new AddOffersToArchiveDTO 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
### GetNotArchivedOffers
`func (o *AddOffersToArchiveDTO) GetNotArchivedOffers() []AddOffersToArchiveErrorDTO`
GetNotArchivedOffers returns the NotArchivedOffers field if non-nil, zero value otherwise.
### GetNotArchivedOffersOk
`func (o *AddOffersToArchiveDTO) GetNotArchivedOffersOk() (*[]AddOffersToArchiveErrorDTO, bool)`
GetNotArchivedOffersOk returns a tuple with the NotArchivedOffers field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNotArchivedOffers
`func (o *AddOffersToArchiveDTO) SetNotArchivedOffers(v []AddOffersToArchiveErrorDTO)`
SetNotArchivedOffers sets NotArchivedOffers field to given value.
### HasNotArchivedOffers
`func (o *AddOffersToArchiveDTO) HasNotArchivedOffers() bool`
HasNotArchivedOffers returns a boolean if a field has been set.
### SetNotArchivedOffersNil
`func (o *AddOffersToArchiveDTO) SetNotArchivedOffersNil(b bool)`
SetNotArchivedOffersNil sets the value for NotArchivedOffers to be an explicit nil
### UnsetNotArchivedOffers
`func (o *AddOffersToArchiveDTO) UnsetNotArchivedOffers()`
UnsetNotArchivedOffers ensures that no value is present for NotArchivedOffers, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# AddOffersToArchiveErrorDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OfferId** | **string** | Ваш :no-translate[SKU] — идентификатор товара в вашей системе. Правила использования :no-translate[SKU]: * У каждого товара :no-translate[SKU] должен быть свой. * Уже заданный :no-translate[SKU] нельзя освободить и использовать заново для другого товара. Каждый товар должен получать новый идентификатор, до того никогда не использовавшийся в вашем каталоге. :no-translate[SKU] товара можно изменить в кабинете продавца на Маркете. О том, как это сделать, читайте [в Справке Маркета для продавцов](https://yandex.ru/support2/marketplace/ru/assortment/operations/edit-sku). [Что такое :no-translate[SKU] и как его назначать](https://yandex.ru/support/marketplace/assortment/add/index.html#fields) |
**Error** | [**AddOffersToArchiveErrorType**](AddOffersToArchiveErrorType.md) | |
## Methods
### NewAddOffersToArchiveErrorDTO
`func NewAddOffersToArchiveErrorDTO(offerId string, error_ AddOffersToArchiveErrorType, ) *AddOffersToArchiveErrorDTO`
NewAddOffersToArchiveErrorDTO instantiates a new AddOffersToArchiveErrorDTO 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
### NewAddOffersToArchiveErrorDTOWithDefaults
`func NewAddOffersToArchiveErrorDTOWithDefaults() *AddOffersToArchiveErrorDTO`
NewAddOffersToArchiveErrorDTOWithDefaults instantiates a new AddOffersToArchiveErrorDTO 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
### GetOfferId
`func (o *AddOffersToArchiveErrorDTO) GetOfferId() string`
GetOfferId returns the OfferId field if non-nil, zero value otherwise.
### GetOfferIdOk
`func (o *AddOffersToArchiveErrorDTO) GetOfferIdOk() (*string, bool)`
GetOfferIdOk returns a tuple with the OfferId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOfferId
`func (o *AddOffersToArchiveErrorDTO) SetOfferId(v string)`
SetOfferId sets OfferId field to given value.
### GetError
`func (o *AddOffersToArchiveErrorDTO) GetError() AddOffersToArchiveErrorType`
GetError returns the Error field if non-nil, zero value otherwise.
### GetErrorOk
`func (o *AddOffersToArchiveErrorDTO) GetErrorOk() (*AddOffersToArchiveErrorType, bool)`
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetError
`func (o *AddOffersToArchiveErrorDTO) SetError(v AddOffersToArchiveErrorType)`
SetError sets Error field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,13 @@
# AddOffersToArchiveErrorType
## Enum
* `OFFER_HAS_STOCKS` (value: `"OFFER_HAS_STOCKS"`)
* `UNKNOWN` (value: `"UNKNOWN"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# AddOffersToArchiveRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OfferIds** | **[]string** | Список товаров, которые нужно поместить в архив. |
## Methods
### NewAddOffersToArchiveRequest
`func NewAddOffersToArchiveRequest(offerIds []string, ) *AddOffersToArchiveRequest`
NewAddOffersToArchiveRequest instantiates a new AddOffersToArchiveRequest 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
### NewAddOffersToArchiveRequestWithDefaults
`func NewAddOffersToArchiveRequestWithDefaults() *AddOffersToArchiveRequest`
NewAddOffersToArchiveRequestWithDefaults instantiates a new AddOffersToArchiveRequest 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
### GetOfferIds
`func (o *AddOffersToArchiveRequest) GetOfferIds() []string`
GetOfferIds returns the OfferIds field if non-nil, zero value otherwise.
### GetOfferIdsOk
`func (o *AddOffersToArchiveRequest) 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 *AddOffersToArchiveRequest) SetOfferIds(v []string)`
SetOfferIds sets OfferIds field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# AddOffersToArchiveResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Result** | Pointer to [**AddOffersToArchiveDTO**](AddOffersToArchiveDTO.md) | | [optional]
## Methods
### NewAddOffersToArchiveResponse
`func NewAddOffersToArchiveResponse() *AddOffersToArchiveResponse`
NewAddOffersToArchiveResponse instantiates a new AddOffersToArchiveResponse 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
### NewAddOffersToArchiveResponseWithDefaults
`func NewAddOffersToArchiveResponseWithDefaults() *AddOffersToArchiveResponse`
NewAddOffersToArchiveResponseWithDefaults instantiates a new AddOffersToArchiveResponse 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
### GetStatus
`func (o *AddOffersToArchiveResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *AddOffersToArchiveResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *AddOffersToArchiveResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *AddOffersToArchiveResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetResult
`func (o *AddOffersToArchiveResponse) GetResult() AddOffersToArchiveDTO`
GetResult returns the Result field if non-nil, zero value otherwise.
### GetResultOk
`func (o *AddOffersToArchiveResponse) GetResultOk() (*AddOffersToArchiveDTO, bool)`
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetResult
`func (o *AddOffersToArchiveResponse) SetResult(v AddOffersToArchiveDTO)`
SetResult sets Result field to given value.
### HasResult
`func (o *AddOffersToArchiveResponse) HasResult() bool`
HasResult returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,17 @@
# AffectedOrderQualityRatingComponentType
## Enum
* `DBS_CANCELLATION_RATE` (value: `"DBS_CANCELLATION_RATE"`)
* `DBS_LATE_DELIVERY_RATE` (value: `"DBS_LATE_DELIVERY_RATE"`)
* `FBS_CANCELLATION_RATE` (value: `"FBS_CANCELLATION_RATE"`)
* `FBS_LATE_SHIP_RATE` (value: `"FBS_LATE_SHIP_RATE"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# AgeDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **float32** | Значение. |
**AgeUnit** | [**AgeUnitType**](AgeUnitType.md) | |
## Methods
### NewAgeDTO
`func NewAgeDTO(value float32, ageUnit AgeUnitType, ) *AgeDTO`
NewAgeDTO instantiates a new AgeDTO 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
### NewAgeDTOWithDefaults
`func NewAgeDTOWithDefaults() *AgeDTO`
NewAgeDTOWithDefaults instantiates a new AgeDTO 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
### GetValue
`func (o *AgeDTO) GetValue() float32`
GetValue returns the Value field if non-nil, zero value otherwise.
### GetValueOk
`func (o *AgeDTO) GetValueOk() (*float32, bool)`
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetValue
`func (o *AgeDTO) SetValue(v float32)`
SetValue sets Value field to given value.
### GetAgeUnit
`func (o *AgeDTO) GetAgeUnit() AgeUnitType`
GetAgeUnit returns the AgeUnit field if non-nil, zero value otherwise.
### GetAgeUnitOk
`func (o *AgeDTO) GetAgeUnitOk() (*AgeUnitType, bool)`
GetAgeUnitOk returns a tuple with the AgeUnit field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAgeUnit
`func (o *AgeDTO) SetAgeUnit(v AgeUnitType)`
SetAgeUnit sets AgeUnit field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,13 @@
# AgeUnitType
## Enum
* `YEAR` (value: `"YEAR"`)
* `MONTH` (value: `"MONTH"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,92 @@
# ApiClientDataErrorResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Errors** | Pointer to [**[]ApiErrorDTO**](ApiErrorDTO.md) | Список ошибок. | [optional]
## Methods
### NewApiClientDataErrorResponse
`func NewApiClientDataErrorResponse() *ApiClientDataErrorResponse`
NewApiClientDataErrorResponse instantiates a new ApiClientDataErrorResponse 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
### NewApiClientDataErrorResponseWithDefaults
`func NewApiClientDataErrorResponseWithDefaults() *ApiClientDataErrorResponse`
NewApiClientDataErrorResponseWithDefaults instantiates a new ApiClientDataErrorResponse 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
### GetStatus
`func (o *ApiClientDataErrorResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *ApiClientDataErrorResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *ApiClientDataErrorResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *ApiClientDataErrorResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetErrors
`func (o *ApiClientDataErrorResponse) GetErrors() []ApiErrorDTO`
GetErrors returns the Errors field if non-nil, zero value otherwise.
### GetErrorsOk
`func (o *ApiClientDataErrorResponse) GetErrorsOk() (*[]ApiErrorDTO, bool)`
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetErrors
`func (o *ApiClientDataErrorResponse) SetErrors(v []ApiErrorDTO)`
SetErrors sets Errors field to given value.
### HasErrors
`func (o *ApiClientDataErrorResponse) HasErrors() bool`
HasErrors returns a boolean if a field has been set.
### SetErrorsNil
`func (o *ApiClientDataErrorResponse) SetErrorsNil(b bool)`
SetErrorsNil sets the value for Errors to be an explicit nil
### UnsetErrors
`func (o *ApiClientDataErrorResponse) UnsetErrors()`
UnsetErrors ensures that no value is present for Errors, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,77 @@
# ApiErrorDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Code** | **string** | Код ошибки. |
**Message** | Pointer to **string** | Описание ошибки. | [optional]
## Methods
### NewApiErrorDTO
`func NewApiErrorDTO(code string, ) *ApiErrorDTO`
NewApiErrorDTO instantiates a new ApiErrorDTO 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
### NewApiErrorDTOWithDefaults
`func NewApiErrorDTOWithDefaults() *ApiErrorDTO`
NewApiErrorDTOWithDefaults instantiates a new ApiErrorDTO 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
### GetCode
`func (o *ApiErrorDTO) GetCode() string`
GetCode returns the Code field if non-nil, zero value otherwise.
### GetCodeOk
`func (o *ApiErrorDTO) GetCodeOk() (*string, bool)`
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCode
`func (o *ApiErrorDTO) SetCode(v string)`
SetCode sets Code field to given value.
### GetMessage
`func (o *ApiErrorDTO) GetMessage() string`
GetMessage returns the Message field if non-nil, zero value otherwise.
### GetMessageOk
`func (o *ApiErrorDTO) GetMessageOk() (*string, bool)`
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMessage
`func (o *ApiErrorDTO) SetMessage(v string)`
SetMessage sets Message field to given value.
### HasMessage
`func (o *ApiErrorDTO) HasMessage() bool`
HasMessage returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,92 @@
# ApiErrorResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Errors** | Pointer to [**[]ApiErrorDTO**](ApiErrorDTO.md) | Список ошибок. | [optional]
## Methods
### NewApiErrorResponse
`func NewApiErrorResponse() *ApiErrorResponse`
NewApiErrorResponse instantiates a new ApiErrorResponse 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
### NewApiErrorResponseWithDefaults
`func NewApiErrorResponseWithDefaults() *ApiErrorResponse`
NewApiErrorResponseWithDefaults instantiates a new ApiErrorResponse 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
### GetStatus
`func (o *ApiErrorResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *ApiErrorResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *ApiErrorResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *ApiErrorResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetErrors
`func (o *ApiErrorResponse) GetErrors() []ApiErrorDTO`
GetErrors returns the Errors field if non-nil, zero value otherwise.
### GetErrorsOk
`func (o *ApiErrorResponse) GetErrorsOk() (*[]ApiErrorDTO, bool)`
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetErrors
`func (o *ApiErrorResponse) SetErrors(v []ApiErrorDTO)`
SetErrors sets Errors field to given value.
### HasErrors
`func (o *ApiErrorResponse) HasErrors() bool`
HasErrors returns a boolean if a field has been set.
### SetErrorsNil
`func (o *ApiErrorResponse) SetErrorsNil(b bool)`
SetErrorsNil sets the value for Errors to be an explicit nil
### UnsetErrors
`func (o *ApiErrorResponse) UnsetErrors()`
UnsetErrors ensures that no value is present for Errors, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,92 @@
# ApiForbiddenErrorResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Errors** | Pointer to [**[]ApiErrorDTO**](ApiErrorDTO.md) | Список ошибок. | [optional]
## Methods
### NewApiForbiddenErrorResponse
`func NewApiForbiddenErrorResponse() *ApiForbiddenErrorResponse`
NewApiForbiddenErrorResponse instantiates a new ApiForbiddenErrorResponse 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
### NewApiForbiddenErrorResponseWithDefaults
`func NewApiForbiddenErrorResponseWithDefaults() *ApiForbiddenErrorResponse`
NewApiForbiddenErrorResponseWithDefaults instantiates a new ApiForbiddenErrorResponse 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
### GetStatus
`func (o *ApiForbiddenErrorResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *ApiForbiddenErrorResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *ApiForbiddenErrorResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *ApiForbiddenErrorResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetErrors
`func (o *ApiForbiddenErrorResponse) GetErrors() []ApiErrorDTO`
GetErrors returns the Errors field if non-nil, zero value otherwise.
### GetErrorsOk
`func (o *ApiForbiddenErrorResponse) GetErrorsOk() (*[]ApiErrorDTO, bool)`
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetErrors
`func (o *ApiForbiddenErrorResponse) SetErrors(v []ApiErrorDTO)`
SetErrors sets Errors field to given value.
### HasErrors
`func (o *ApiForbiddenErrorResponse) HasErrors() bool`
HasErrors returns a boolean if a field has been set.
### SetErrorsNil
`func (o *ApiForbiddenErrorResponse) SetErrorsNil(b bool)`
SetErrorsNil sets the value for Errors to be an explicit nil
### UnsetErrors
`func (o *ApiForbiddenErrorResponse) UnsetErrors()`
UnsetErrors ensures that no value is present for Errors, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# ApiKeyDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Название токена. |
**AuthScopes** | [**[]ApiKeyScopeType**](ApiKeyScopeType.md) | Доступы к методам по Api-Key-токену. |
## Methods
### NewApiKeyDTO
`func NewApiKeyDTO(name string, authScopes []ApiKeyScopeType, ) *ApiKeyDTO`
NewApiKeyDTO instantiates a new ApiKeyDTO 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
### NewApiKeyDTOWithDefaults
`func NewApiKeyDTOWithDefaults() *ApiKeyDTO`
NewApiKeyDTOWithDefaults instantiates a new ApiKeyDTO 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
### GetName
`func (o *ApiKeyDTO) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *ApiKeyDTO) GetNameOk() (*string, bool)`
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetName
`func (o *ApiKeyDTO) SetName(v string)`
SetName sets Name field to given value.
### GetAuthScopes
`func (o *ApiKeyDTO) GetAuthScopes() []ApiKeyScopeType`
GetAuthScopes returns the AuthScopes field if non-nil, zero value otherwise.
### GetAuthScopesOk
`func (o *ApiKeyDTO) GetAuthScopesOk() (*[]ApiKeyScopeType, bool)`
GetAuthScopesOk returns a tuple with the AuthScopes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAuthScopes
`func (o *ApiKeyDTO) SetAuthScopes(v []ApiKeyScopeType)`
SetAuthScopes sets AuthScopes field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,37 @@
# ApiKeyScopeType
## Enum
* `ALL_METHODS` (value: `"ALL_METHODS"`)
* `ALL_METHODS_READ_ONLY` (value: `"ALL_METHODS_READ_ONLY"`)
* `INVENTORY_AND_ORDER_PROCESSING` (value: `"INVENTORY_AND_ORDER_PROCESSING"`)
* `INVENTORY_AND_ORDER_PROCESSING_READ_ONLY` (value: `"INVENTORY_AND_ORDER_PROCESSING_READ_ONLY"`)
* `PRICING` (value: `"PRICING"`)
* `PRICING_READ_ONLY` (value: `"PRICING_READ_ONLY"`)
* `OFFERS_AND_CARDS_MANAGEMENT` (value: `"OFFERS_AND_CARDS_MANAGEMENT"`)
* `OFFERS_AND_CARDS_MANAGEMENT_READ_ONLY` (value: `"OFFERS_AND_CARDS_MANAGEMENT_READ_ONLY"`)
* `PROMOTION` (value: `"PROMOTION"`)
* `PROMOTION_READ_ONLY` (value: `"PROMOTION_READ_ONLY"`)
* `FINANCE_AND_ACCOUNTING` (value: `"FINANCE_AND_ACCOUNTING"`)
* `COMMUNICATION` (value: `"COMMUNICATION"`)
* `SETTINGS_MANAGEMENT` (value: `"SETTINGS_MANAGEMENT"`)
* `SUPPLIES_MANAGEMENT_READ_ONLY` (value: `"SUPPLIES_MANAGEMENT_READ_ONLY"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,92 @@
# ApiLimitErrorResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Errors** | Pointer to [**[]ApiErrorDTO**](ApiErrorDTO.md) | Список ошибок. | [optional]
## Methods
### NewApiLimitErrorResponse
`func NewApiLimitErrorResponse() *ApiLimitErrorResponse`
NewApiLimitErrorResponse instantiates a new ApiLimitErrorResponse 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
### NewApiLimitErrorResponseWithDefaults
`func NewApiLimitErrorResponseWithDefaults() *ApiLimitErrorResponse`
NewApiLimitErrorResponseWithDefaults instantiates a new ApiLimitErrorResponse 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
### GetStatus
`func (o *ApiLimitErrorResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *ApiLimitErrorResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *ApiLimitErrorResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *ApiLimitErrorResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetErrors
`func (o *ApiLimitErrorResponse) GetErrors() []ApiErrorDTO`
GetErrors returns the Errors field if non-nil, zero value otherwise.
### GetErrorsOk
`func (o *ApiLimitErrorResponse) GetErrorsOk() (*[]ApiErrorDTO, bool)`
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetErrors
`func (o *ApiLimitErrorResponse) SetErrors(v []ApiErrorDTO)`
SetErrors sets Errors field to given value.
### HasErrors
`func (o *ApiLimitErrorResponse) HasErrors() bool`
HasErrors returns a boolean if a field has been set.
### SetErrorsNil
`func (o *ApiLimitErrorResponse) SetErrorsNil(b bool)`
SetErrorsNil sets the value for Errors to be an explicit nil
### UnsetErrors
`func (o *ApiLimitErrorResponse) UnsetErrors()`
UnsetErrors ensures that no value is present for Errors, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,92 @@
# ApiLockedErrorResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Errors** | Pointer to [**[]ApiErrorDTO**](ApiErrorDTO.md) | Список ошибок. | [optional]
## Methods
### NewApiLockedErrorResponse
`func NewApiLockedErrorResponse() *ApiLockedErrorResponse`
NewApiLockedErrorResponse instantiates a new ApiLockedErrorResponse 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
### NewApiLockedErrorResponseWithDefaults
`func NewApiLockedErrorResponseWithDefaults() *ApiLockedErrorResponse`
NewApiLockedErrorResponseWithDefaults instantiates a new ApiLockedErrorResponse 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
### GetStatus
`func (o *ApiLockedErrorResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *ApiLockedErrorResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *ApiLockedErrorResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *ApiLockedErrorResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetErrors
`func (o *ApiLockedErrorResponse) GetErrors() []ApiErrorDTO`
GetErrors returns the Errors field if non-nil, zero value otherwise.
### GetErrorsOk
`func (o *ApiLockedErrorResponse) GetErrorsOk() (*[]ApiErrorDTO, bool)`
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetErrors
`func (o *ApiLockedErrorResponse) SetErrors(v []ApiErrorDTO)`
SetErrors sets Errors field to given value.
### HasErrors
`func (o *ApiLockedErrorResponse) HasErrors() bool`
HasErrors returns a boolean if a field has been set.
### SetErrorsNil
`func (o *ApiLockedErrorResponse) SetErrorsNil(b bool)`
SetErrorsNil sets the value for Errors to be an explicit nil
### UnsetErrors
`func (o *ApiLockedErrorResponse) UnsetErrors()`
UnsetErrors ensures that no value is present for Errors, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,92 @@
# ApiNotFoundErrorResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Errors** | Pointer to [**[]ApiErrorDTO**](ApiErrorDTO.md) | Список ошибок. | [optional]
## Methods
### NewApiNotFoundErrorResponse
`func NewApiNotFoundErrorResponse() *ApiNotFoundErrorResponse`
NewApiNotFoundErrorResponse instantiates a new ApiNotFoundErrorResponse 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
### NewApiNotFoundErrorResponseWithDefaults
`func NewApiNotFoundErrorResponseWithDefaults() *ApiNotFoundErrorResponse`
NewApiNotFoundErrorResponseWithDefaults instantiates a new ApiNotFoundErrorResponse 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
### GetStatus
`func (o *ApiNotFoundErrorResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *ApiNotFoundErrorResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *ApiNotFoundErrorResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *ApiNotFoundErrorResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetErrors
`func (o *ApiNotFoundErrorResponse) GetErrors() []ApiErrorDTO`
GetErrors returns the Errors field if non-nil, zero value otherwise.
### GetErrorsOk
`func (o *ApiNotFoundErrorResponse) GetErrorsOk() (*[]ApiErrorDTO, bool)`
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetErrors
`func (o *ApiNotFoundErrorResponse) SetErrors(v []ApiErrorDTO)`
SetErrors sets Errors field to given value.
### HasErrors
`func (o *ApiNotFoundErrorResponse) HasErrors() bool`
HasErrors returns a boolean if a field has been set.
### SetErrorsNil
`func (o *ApiNotFoundErrorResponse) SetErrorsNil(b bool)`
SetErrorsNil sets the value for Errors to be an explicit nil
### UnsetErrors
`func (o *ApiNotFoundErrorResponse) UnsetErrors()`
UnsetErrors ensures that no value is present for Errors, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,56 @@
# ApiResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
## Methods
### NewApiResponse
`func NewApiResponse() *ApiResponse`
NewApiResponse instantiates a new ApiResponse 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
### NewApiResponseWithDefaults
`func NewApiResponseWithDefaults() *ApiResponse`
NewApiResponseWithDefaults instantiates a new ApiResponse 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
### GetStatus
`func (o *ApiResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *ApiResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *ApiResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *ApiResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,13 @@
# ApiResponseStatusType
## Enum
* `OK` (value: `"OK"`)
* `ERROR` (value: `"ERROR"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,92 @@
# ApiServerErrorResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Errors** | Pointer to [**[]ApiErrorDTO**](ApiErrorDTO.md) | Список ошибок. | [optional]
## Methods
### NewApiServerErrorResponse
`func NewApiServerErrorResponse() *ApiServerErrorResponse`
NewApiServerErrorResponse instantiates a new ApiServerErrorResponse 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
### NewApiServerErrorResponseWithDefaults
`func NewApiServerErrorResponseWithDefaults() *ApiServerErrorResponse`
NewApiServerErrorResponseWithDefaults instantiates a new ApiServerErrorResponse 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
### GetStatus
`func (o *ApiServerErrorResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *ApiServerErrorResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *ApiServerErrorResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *ApiServerErrorResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetErrors
`func (o *ApiServerErrorResponse) GetErrors() []ApiErrorDTO`
GetErrors returns the Errors field if non-nil, zero value otherwise.
### GetErrorsOk
`func (o *ApiServerErrorResponse) GetErrorsOk() (*[]ApiErrorDTO, bool)`
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetErrors
`func (o *ApiServerErrorResponse) SetErrors(v []ApiErrorDTO)`
SetErrors sets Errors field to given value.
### HasErrors
`func (o *ApiServerErrorResponse) HasErrors() bool`
HasErrors returns a boolean if a field has been set.
### SetErrorsNil
`func (o *ApiServerErrorResponse) SetErrorsNil(b bool)`
SetErrorsNil sets the value for Errors to be an explicit nil
### UnsetErrors
`func (o *ApiServerErrorResponse) UnsetErrors()`
UnsetErrors ensures that no value is present for Errors, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,92 @@
# ApiUnauthorizedErrorResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Errors** | Pointer to [**[]ApiErrorDTO**](ApiErrorDTO.md) | Список ошибок. | [optional]
## Methods
### NewApiUnauthorizedErrorResponse
`func NewApiUnauthorizedErrorResponse() *ApiUnauthorizedErrorResponse`
NewApiUnauthorizedErrorResponse instantiates a new ApiUnauthorizedErrorResponse 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
### NewApiUnauthorizedErrorResponseWithDefaults
`func NewApiUnauthorizedErrorResponseWithDefaults() *ApiUnauthorizedErrorResponse`
NewApiUnauthorizedErrorResponseWithDefaults instantiates a new ApiUnauthorizedErrorResponse 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
### GetStatus
`func (o *ApiUnauthorizedErrorResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *ApiUnauthorizedErrorResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *ApiUnauthorizedErrorResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *ApiUnauthorizedErrorResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetErrors
`func (o *ApiUnauthorizedErrorResponse) GetErrors() []ApiErrorDTO`
GetErrors returns the Errors field if non-nil, zero value otherwise.
### GetErrorsOk
`func (o *ApiUnauthorizedErrorResponse) GetErrorsOk() (*[]ApiErrorDTO, bool)`
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetErrors
`func (o *ApiUnauthorizedErrorResponse) SetErrors(v []ApiErrorDTO)`
SetErrors sets Errors field to given value.
### HasErrors
`func (o *ApiUnauthorizedErrorResponse) HasErrors() bool`
HasErrors returns a boolean if a field has been set.
### SetErrorsNil
`func (o *ApiUnauthorizedErrorResponse) SetErrorsNil(b bool)`
SetErrorsNil sets the value for Errors to be an explicit nil
### UnsetErrors
`func (o *ApiUnauthorizedErrorResponse) UnsetErrors()`
UnsetErrors ensures that no value is present for Errors, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,70 @@
# \AuthAPI
All URIs are relative to *https://api.partner.market.yandex.ru*
Method | HTTP request | Description
------------- | ------------- | -------------
[**GetAuthTokenInfo**](AuthAPI.md#GetAuthTokenInfo) | **Post** /auth/token | Получение информации об авторизационном токене
## GetAuthTokenInfo
> GetTokenInfoResponse GetAuthTokenInfo(ctx).Execute()
Получение информации об авторизационном токене
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthAPI.GetAuthTokenInfo(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.GetAuthTokenInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetAuthTokenInfo`: GetTokenInfoResponse
fmt.Fprintf(os.Stdout, "Response from `AuthAPI.GetAuthTokenInfo`: %v\n", resp)
}
```
### Path Parameters
This endpoint does not need any parameter.
### Other Parameters
Other parameters are passed through a pointer to a apiGetAuthTokenInfoRequest struct via the builder pattern
### Return type
[**GetTokenInfoResponse**](GetTokenInfoResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)

View File

@@ -0,0 +1,103 @@
# BaseCampaignOfferDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OfferId** | **string** | Ваш :no-translate[SKU] — идентификатор товара в вашей системе. Правила использования :no-translate[SKU]: * У каждого товара :no-translate[SKU] должен быть свой. * Уже заданный :no-translate[SKU] нельзя освободить и использовать заново для другого товара. Каждый товар должен получать новый идентификатор, до того никогда не использовавшийся в вашем каталоге. :no-translate[SKU] товара можно изменить в кабинете продавца на Маркете. О том, как это сделать, читайте [в Справке Маркета для продавцов](https://yandex.ru/support2/marketplace/ru/assortment/operations/edit-sku). [Что такое :no-translate[SKU] и как его назначать](https://yandex.ru/support/marketplace/assortment/add/index.html#fields) |
**Quantum** | Pointer to [**QuantumDTO**](QuantumDTO.md) | | [optional]
**Available** | Pointer to **bool** | {% note warning \"Вместо него используйте методы скрытия товаров с витрины\" %} * [GET campaigns/{campaignId}/hidden-offers](../../reference/assortment/getHiddenOffers.md) — просмотр скрытых товаров; * [POST campaigns/{campaignId}/hidden-offers](../../reference/assortment/addHiddenOffers.md) — скрытие товаров; * [POST campaigns/{campaignId}/hidden-offers/delete](../../reference/assortment/deleteHiddenOffers.md) — возобновление показа. {% endnote %} Есть ли товар в продаже. | [optional]
## Methods
### NewBaseCampaignOfferDTO
`func NewBaseCampaignOfferDTO(offerId string, ) *BaseCampaignOfferDTO`
NewBaseCampaignOfferDTO instantiates a new BaseCampaignOfferDTO 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
### NewBaseCampaignOfferDTOWithDefaults
`func NewBaseCampaignOfferDTOWithDefaults() *BaseCampaignOfferDTO`
NewBaseCampaignOfferDTOWithDefaults instantiates a new BaseCampaignOfferDTO 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
### GetOfferId
`func (o *BaseCampaignOfferDTO) GetOfferId() string`
GetOfferId returns the OfferId field if non-nil, zero value otherwise.
### GetOfferIdOk
`func (o *BaseCampaignOfferDTO) GetOfferIdOk() (*string, bool)`
GetOfferIdOk returns a tuple with the OfferId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOfferId
`func (o *BaseCampaignOfferDTO) SetOfferId(v string)`
SetOfferId sets OfferId field to given value.
### GetQuantum
`func (o *BaseCampaignOfferDTO) GetQuantum() QuantumDTO`
GetQuantum returns the Quantum field if non-nil, zero value otherwise.
### GetQuantumOk
`func (o *BaseCampaignOfferDTO) GetQuantumOk() (*QuantumDTO, bool)`
GetQuantumOk returns a tuple with the Quantum field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetQuantum
`func (o *BaseCampaignOfferDTO) SetQuantum(v QuantumDTO)`
SetQuantum sets Quantum field to given value.
### HasQuantum
`func (o *BaseCampaignOfferDTO) HasQuantum() bool`
HasQuantum returns a boolean if a field has been set.
### GetAvailable
`func (o *BaseCampaignOfferDTO) GetAvailable() bool`
GetAvailable returns the Available field if non-nil, zero value otherwise.
### GetAvailableOk
`func (o *BaseCampaignOfferDTO) GetAvailableOk() (*bool, bool)`
GetAvailableOk returns a tuple with the Available field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAvailable
`func (o *BaseCampaignOfferDTO) SetAvailable(v bool)`
SetAvailable sets Available field to given value.
### HasAvailable
`func (o *BaseCampaignOfferDTO) HasAvailable() bool`
HasAvailable returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,817 @@
# BaseOfferDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OfferId** | **string** | Ваш :no-translate[SKU] — идентификатор товара в вашей системе. Правила использования :no-translate[SKU]: * У каждого товара :no-translate[SKU] должен быть свой. * Уже заданный :no-translate[SKU] нельзя освободить и использовать заново для другого товара. Каждый товар должен получать новый идентификатор, до того никогда не использовавшийся в вашем каталоге. :no-translate[SKU] товара можно изменить в кабинете продавца на Маркете. О том, как это сделать, читайте [в Справке Маркета для продавцов](https://yandex.ru/support2/marketplace/ru/assortment/operations/edit-sku). [Что такое :no-translate[SKU] и как его назначать](https://yandex.ru/support/marketplace/assortment/add/index.html#fields) |
**Name** | Pointer to **string** | Составляйте название по схеме: тип + бренд или производитель + модель + особенности, если есть (например, цвет, размер или вес) и количество в упаковке. Не включайте в название условия продажи (например, «скидка», «бесплатная доставка» и т. д.), эмоциональные характеристики («хит», «супер» и т. д.). Не пишите слова большими буквами — кроме устоявшихся названий брендов и моделей. Оптимальная длина — 5060 символов. [Рекомендации и правила](https://yandex.ru/support/marketplace/assortment/fields/title.html) | [optional]
**MarketCategoryId** | Pointer to **int64** | Идентификатор категории на Маркете, к которой вы относите свой товар. {% note warning \"Всегда указывайте, когда передаете `parameterValues`\" %} Если при изменении характеристик передать `parameterValues` и не указать `marketCategoryId`, характеристики обновятся, но в ответе придет предупреждение (параметр `warnings`). Если не передать их оба, будет использована информация из устаревших параметров `params` и `category`, а `marketCategoryId` будет определен автоматически. {% endnote %} При изменении категории убедитесь, что характеристики товара и их значения в параметре `parameterValues` вы передаете для новой категории. Список категорий Маркета можно получить с помощью запроса [POST categories/tree](../../reference/categories/getCategoriesTree.md). | [optional]
**Category** | Pointer to **string** | {% note warning \"Вместо него используйте `marketCategoryId`.\" %}   {% endnote %} Категория товара в вашем магазине. | [optional]
**Pictures** | Pointer to **[]string** | Ссылки на изображения товара. Изображение по первой ссылке считается основным, остальные дополнительными. **Требования к ссылкам** * Указывайте ссылку целиком, включая протокол http или https. * Русские буквы в URL можно. * Можно использовать прямые ссылки на изображения и на Яндекс Диск. Ссылки на Яндекс Диске нужно копировать с помощью функции **Поделиться**. Относительные ссылки и ссылки на другие облачные хранилища — не работают. ✅ `https://example-shop.ru/images/sku12345.jpg``https://yadi.sk/i/NaBoRsimVOLov``/images/sku12345.jpg``https://www.dropbox.com/s/818f/tovar.jpg` Ссылки на изображение должны быть постоянными. Нельзя использовать динамические ссылки, меняющиеся от выгрузки к выгрузке. Если нужно заменить изображение, выложите новое изображение по новой ссылке, а ссылку на старое удалите. Если просто заменить изображение по старой ссылке, оно не обновится. [Требования к изображениям](https://yandex.ru/support/marketplace/assortment/fields/images.html) | [optional]
**Videos** | Pointer to **[]string** | Ссылки (URL) на видео товара. **Требования к ссылке** * Указывайте ссылку целиком, включая протокол http или https. * Русские буквы в URL можно. * Можно использовать прямые ссылки на видео и на Яндекс Диск. Ссылки на Яндекс Диске нужно копировать с помощью функции **Поделиться**. Относительные ссылки и ссылки на другие облачные хранилища — не работают. ✅ `https://example-shop.ru/video/sku12345.avi``https://yadi.sk/i/NaBoRsimVOLov``/video/sku12345.avi``https://www.dropbox.com/s/818f/super-tovar.avi` Ссылки на видео должны быть постоянными. Нельзя использовать динамические ссылки, меняющиеся от выгрузки к выгрузке. Если нужно заменить видео, выложите новое видео по новой ссылке, а ссылку на старое удалите. Если просто заменить видео по старой ссылке, оно не обновится. [Требования к видео](https://yandex.ru/support/marketplace/assortment/fields/video.html) | [optional]
**Manuals** | Pointer to [**[]OfferManualDTO**](OfferManualDTO.md) | Список инструкций по использованию товара. | [optional]
**Vendor** | Pointer to **string** | Название бренда или производителя. Должно быть записано так, как его пишет сам бренд. | [optional]
**Barcodes** | Pointer to **[]string** | Указывайте в виде последовательности цифр. Подойдут коды :no-translate[EAN-13, EAN-8, UPC-A, UPC-E] или :no-translate[Code 128]. Для книг указывайте :no-translate[ISBN]. Для товаров [определенных категорий и торговых марок](https://yastatic.net/s3/doc-binary/src/support/market/ru/yandex-market-list-for-gtin.xlsx) штрихкод должен быть действительным кодом :no-translate[GTIN]. Обратите внимание: внутренние штрихкоды, начинающиеся на 2 или 02, и коды формата :no-translate[Code 128] не являются :no-translate[GTIN]. [Что такое :no-translate[GTIN]](:no-translate[*gtin]) | [optional]
**Description** | Pointer to **string** | Подробное описание товара: например, его преимущества и особенности. Не давайте в описании инструкций по установке и сборке. Не используйте слова «скидка», «распродажа», «дешевый», «подарок» (кроме подарочных категорий), «бесплатно», «акция», «специальная цена», «новинка», «new», «аналог», «заказ», «хит». Не указывайте никакой контактной информации и не давайте ссылок. Для форматирования текста можно использовать теги HTML: * \\<h>, \\<h1>, \\<h2> и так далее — для заголовков; * \\<br> и \\<p> — для переноса строки; * \\<ol> — для нумерованного списка; * \\<ul> — для маркированного списка; * \\<li> — для создания элементов списка (должен находиться внутри \\<ol> или \\<ul>); * \\<div> — поддерживается, но не влияет на отображение текста. Оптимальная длина — 400600 символов. [Рекомендации и правила](https://yandex.ru/support/marketplace/assortment/fields/description.html) | [optional]
**ManufacturerCountries** | Pointer to **[]string** | Страна, где был произведен товар. Записывайте названия стран так, как они записаны в [списке](https://yastatic.net/s3/doc-binary/src/support/market/ru/countries.xlsx). | [optional]
**WeightDimensions** | Pointer to [**OfferWeightDimensionsDTO**](OfferWeightDimensionsDTO.md) | | [optional]
**VendorCode** | Pointer to **string** | Артикул товара от производителя. | [optional]
**Tags** | Pointer to **[]string** | Метки товара, которые использует магазин. Покупателям теги не видны. По тегам можно группировать и фильтровать разные товары в каталоге — например, товары одной серии, коллекции или линейки. Максимальная длина тега — 20 символов. У одного товара может быть максимум 10 тегов. | [optional]
**ShelfLife** | Pointer to [**TimePeriodDTO**](TimePeriodDTO.md) | | [optional]
**LifeTime** | Pointer to [**TimePeriodDTO**](TimePeriodDTO.md) | | [optional]
**GuaranteePeriod** | Pointer to [**TimePeriodDTO**](TimePeriodDTO.md) | | [optional]
**CustomsCommodityCode** | Pointer to **string** | {% note warning \"Вместо него используйте `commodityCodes` с типом `CUSTOMS_COMMODITY_CODE`.\" %}   {% endnote %} Код товара в единой Товарной номенклатуре внешнеэкономической деятельности (ТН ВЭД) — 10 или 14 цифр без пробелов. Обязательно укажите, если он есть. | [optional]
**CommodityCodes** | Pointer to [**[]CommodityCodeDTO**](CommodityCodeDTO.md) | Товарные коды. | [optional]
**Certificates** | Pointer to **[]string** | Номера документов на товар: сертификата, декларации соответствия и т. п. Передавать можно только номера документов, сканы которого загружены в кабинете продавца по [инструкции](https://yandex.ru/support/marketplace/assortment/restrictions/certificates.html). | [optional]
**BoxCount** | Pointer to **int32** | Количество грузовых мест. Параметр используется, если товар представляет собой несколько коробок, упаковок и так далее. Например, кондиционер занимает два места — внешний и внутренний блоки в двух коробках. Для товаров, занимающих одно место, не передавайте этот параметр. | [optional]
**Condition** | Pointer to [**OfferConditionDTO**](OfferConditionDTO.md) | | [optional]
**Type** | Pointer to [**OfferType**](OfferType.md) | | [optional]
**Downloadable** | Pointer to **bool** | Признак цифрового товара. Укажите `true`, если товар доставляется по электронной почте. [Как работать с цифровыми товарами](../../step-by-step/digital.md) | [optional]
**Adult** | Pointer to **bool** | Параметр включает для товара пометку 18+. Устанавливайте ее только для товаров, которые относятся к удовлетворению сексуальных потребностей. | [optional]
**Age** | Pointer to [**AgeDTO**](AgeDTO.md) | | [optional]
**Params** | Pointer to [**[]OfferParamDTO**](OfferParamDTO.md) | {% note warning \"При передаче характеристик используйте `parameterValues`.\" %}   {% endnote %} Характеристики, которые есть только у товаров конкретной категории — например, диаметр колес велосипеда или материал подошвы обуви. | [optional]
## Methods
### NewBaseOfferDTO
`func NewBaseOfferDTO(offerId string, ) *BaseOfferDTO`
NewBaseOfferDTO instantiates a new BaseOfferDTO 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
### NewBaseOfferDTOWithDefaults
`func NewBaseOfferDTOWithDefaults() *BaseOfferDTO`
NewBaseOfferDTOWithDefaults instantiates a new BaseOfferDTO 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
### GetOfferId
`func (o *BaseOfferDTO) GetOfferId() string`
GetOfferId returns the OfferId field if non-nil, zero value otherwise.
### GetOfferIdOk
`func (o *BaseOfferDTO) GetOfferIdOk() (*string, bool)`
GetOfferIdOk returns a tuple with the OfferId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOfferId
`func (o *BaseOfferDTO) SetOfferId(v string)`
SetOfferId sets OfferId field to given value.
### GetName
`func (o *BaseOfferDTO) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *BaseOfferDTO) GetNameOk() (*string, bool)`
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetName
`func (o *BaseOfferDTO) SetName(v string)`
SetName sets Name field to given value.
### HasName
`func (o *BaseOfferDTO) HasName() bool`
HasName returns a boolean if a field has been set.
### GetMarketCategoryId
`func (o *BaseOfferDTO) GetMarketCategoryId() int64`
GetMarketCategoryId returns the MarketCategoryId field if non-nil, zero value otherwise.
### GetMarketCategoryIdOk
`func (o *BaseOfferDTO) GetMarketCategoryIdOk() (*int64, bool)`
GetMarketCategoryIdOk returns a tuple with the MarketCategoryId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMarketCategoryId
`func (o *BaseOfferDTO) SetMarketCategoryId(v int64)`
SetMarketCategoryId sets MarketCategoryId field to given value.
### HasMarketCategoryId
`func (o *BaseOfferDTO) HasMarketCategoryId() bool`
HasMarketCategoryId returns a boolean if a field has been set.
### GetCategory
`func (o *BaseOfferDTO) GetCategory() string`
GetCategory returns the Category field if non-nil, zero value otherwise.
### GetCategoryOk
`func (o *BaseOfferDTO) GetCategoryOk() (*string, bool)`
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCategory
`func (o *BaseOfferDTO) SetCategory(v string)`
SetCategory sets Category field to given value.
### HasCategory
`func (o *BaseOfferDTO) HasCategory() bool`
HasCategory returns a boolean if a field has been set.
### GetPictures
`func (o *BaseOfferDTO) GetPictures() []string`
GetPictures returns the Pictures field if non-nil, zero value otherwise.
### GetPicturesOk
`func (o *BaseOfferDTO) GetPicturesOk() (*[]string, bool)`
GetPicturesOk returns a tuple with the Pictures field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPictures
`func (o *BaseOfferDTO) SetPictures(v []string)`
SetPictures sets Pictures field to given value.
### HasPictures
`func (o *BaseOfferDTO) HasPictures() bool`
HasPictures returns a boolean if a field has been set.
### SetPicturesNil
`func (o *BaseOfferDTO) SetPicturesNil(b bool)`
SetPicturesNil sets the value for Pictures to be an explicit nil
### UnsetPictures
`func (o *BaseOfferDTO) UnsetPictures()`
UnsetPictures ensures that no value is present for Pictures, not even an explicit nil
### GetVideos
`func (o *BaseOfferDTO) GetVideos() []string`
GetVideos returns the Videos field if non-nil, zero value otherwise.
### GetVideosOk
`func (o *BaseOfferDTO) GetVideosOk() (*[]string, bool)`
GetVideosOk returns a tuple with the Videos field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetVideos
`func (o *BaseOfferDTO) SetVideos(v []string)`
SetVideos sets Videos field to given value.
### HasVideos
`func (o *BaseOfferDTO) HasVideos() bool`
HasVideos returns a boolean if a field has been set.
### SetVideosNil
`func (o *BaseOfferDTO) SetVideosNil(b bool)`
SetVideosNil sets the value for Videos to be an explicit nil
### UnsetVideos
`func (o *BaseOfferDTO) UnsetVideos()`
UnsetVideos ensures that no value is present for Videos, not even an explicit nil
### GetManuals
`func (o *BaseOfferDTO) GetManuals() []OfferManualDTO`
GetManuals returns the Manuals field if non-nil, zero value otherwise.
### GetManualsOk
`func (o *BaseOfferDTO) GetManualsOk() (*[]OfferManualDTO, bool)`
GetManualsOk returns a tuple with the Manuals field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetManuals
`func (o *BaseOfferDTO) SetManuals(v []OfferManualDTO)`
SetManuals sets Manuals field to given value.
### HasManuals
`func (o *BaseOfferDTO) HasManuals() bool`
HasManuals returns a boolean if a field has been set.
### SetManualsNil
`func (o *BaseOfferDTO) SetManualsNil(b bool)`
SetManualsNil sets the value for Manuals to be an explicit nil
### UnsetManuals
`func (o *BaseOfferDTO) UnsetManuals()`
UnsetManuals ensures that no value is present for Manuals, not even an explicit nil
### GetVendor
`func (o *BaseOfferDTO) GetVendor() string`
GetVendor returns the Vendor field if non-nil, zero value otherwise.
### GetVendorOk
`func (o *BaseOfferDTO) GetVendorOk() (*string, bool)`
GetVendorOk returns a tuple with the Vendor field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetVendor
`func (o *BaseOfferDTO) SetVendor(v string)`
SetVendor sets Vendor field to given value.
### HasVendor
`func (o *BaseOfferDTO) HasVendor() bool`
HasVendor returns a boolean if a field has been set.
### GetBarcodes
`func (o *BaseOfferDTO) GetBarcodes() []string`
GetBarcodes returns the Barcodes field if non-nil, zero value otherwise.
### GetBarcodesOk
`func (o *BaseOfferDTO) GetBarcodesOk() (*[]string, bool)`
GetBarcodesOk returns a tuple with the Barcodes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetBarcodes
`func (o *BaseOfferDTO) SetBarcodes(v []string)`
SetBarcodes sets Barcodes field to given value.
### HasBarcodes
`func (o *BaseOfferDTO) HasBarcodes() bool`
HasBarcodes returns a boolean if a field has been set.
### SetBarcodesNil
`func (o *BaseOfferDTO) SetBarcodesNil(b bool)`
SetBarcodesNil sets the value for Barcodes to be an explicit nil
### UnsetBarcodes
`func (o *BaseOfferDTO) UnsetBarcodes()`
UnsetBarcodes ensures that no value is present for Barcodes, not even an explicit nil
### GetDescription
`func (o *BaseOfferDTO) GetDescription() string`
GetDescription returns the Description field if non-nil, zero value otherwise.
### GetDescriptionOk
`func (o *BaseOfferDTO) GetDescriptionOk() (*string, bool)`
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDescription
`func (o *BaseOfferDTO) SetDescription(v string)`
SetDescription sets Description field to given value.
### HasDescription
`func (o *BaseOfferDTO) HasDescription() bool`
HasDescription returns a boolean if a field has been set.
### GetManufacturerCountries
`func (o *BaseOfferDTO) GetManufacturerCountries() []string`
GetManufacturerCountries returns the ManufacturerCountries field if non-nil, zero value otherwise.
### GetManufacturerCountriesOk
`func (o *BaseOfferDTO) GetManufacturerCountriesOk() (*[]string, bool)`
GetManufacturerCountriesOk returns a tuple with the ManufacturerCountries field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetManufacturerCountries
`func (o *BaseOfferDTO) SetManufacturerCountries(v []string)`
SetManufacturerCountries sets ManufacturerCountries field to given value.
### HasManufacturerCountries
`func (o *BaseOfferDTO) HasManufacturerCountries() bool`
HasManufacturerCountries returns a boolean if a field has been set.
### SetManufacturerCountriesNil
`func (o *BaseOfferDTO) SetManufacturerCountriesNil(b bool)`
SetManufacturerCountriesNil sets the value for ManufacturerCountries to be an explicit nil
### UnsetManufacturerCountries
`func (o *BaseOfferDTO) UnsetManufacturerCountries()`
UnsetManufacturerCountries ensures that no value is present for ManufacturerCountries, not even an explicit nil
### GetWeightDimensions
`func (o *BaseOfferDTO) GetWeightDimensions() OfferWeightDimensionsDTO`
GetWeightDimensions returns the WeightDimensions field if non-nil, zero value otherwise.
### GetWeightDimensionsOk
`func (o *BaseOfferDTO) GetWeightDimensionsOk() (*OfferWeightDimensionsDTO, bool)`
GetWeightDimensionsOk returns a tuple with the WeightDimensions field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetWeightDimensions
`func (o *BaseOfferDTO) SetWeightDimensions(v OfferWeightDimensionsDTO)`
SetWeightDimensions sets WeightDimensions field to given value.
### HasWeightDimensions
`func (o *BaseOfferDTO) HasWeightDimensions() bool`
HasWeightDimensions returns a boolean if a field has been set.
### GetVendorCode
`func (o *BaseOfferDTO) GetVendorCode() string`
GetVendorCode returns the VendorCode field if non-nil, zero value otherwise.
### GetVendorCodeOk
`func (o *BaseOfferDTO) GetVendorCodeOk() (*string, bool)`
GetVendorCodeOk returns a tuple with the VendorCode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetVendorCode
`func (o *BaseOfferDTO) SetVendorCode(v string)`
SetVendorCode sets VendorCode field to given value.
### HasVendorCode
`func (o *BaseOfferDTO) HasVendorCode() bool`
HasVendorCode returns a boolean if a field has been set.
### GetTags
`func (o *BaseOfferDTO) GetTags() []string`
GetTags returns the Tags field if non-nil, zero value otherwise.
### GetTagsOk
`func (o *BaseOfferDTO) GetTagsOk() (*[]string, bool)`
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetTags
`func (o *BaseOfferDTO) SetTags(v []string)`
SetTags sets Tags field to given value.
### HasTags
`func (o *BaseOfferDTO) HasTags() bool`
HasTags returns a boolean if a field has been set.
### SetTagsNil
`func (o *BaseOfferDTO) SetTagsNil(b bool)`
SetTagsNil sets the value for Tags to be an explicit nil
### UnsetTags
`func (o *BaseOfferDTO) UnsetTags()`
UnsetTags ensures that no value is present for Tags, not even an explicit nil
### GetShelfLife
`func (o *BaseOfferDTO) GetShelfLife() TimePeriodDTO`
GetShelfLife returns the ShelfLife field if non-nil, zero value otherwise.
### GetShelfLifeOk
`func (o *BaseOfferDTO) GetShelfLifeOk() (*TimePeriodDTO, bool)`
GetShelfLifeOk returns a tuple with the ShelfLife field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetShelfLife
`func (o *BaseOfferDTO) SetShelfLife(v TimePeriodDTO)`
SetShelfLife sets ShelfLife field to given value.
### HasShelfLife
`func (o *BaseOfferDTO) HasShelfLife() bool`
HasShelfLife returns a boolean if a field has been set.
### GetLifeTime
`func (o *BaseOfferDTO) GetLifeTime() TimePeriodDTO`
GetLifeTime returns the LifeTime field if non-nil, zero value otherwise.
### GetLifeTimeOk
`func (o *BaseOfferDTO) GetLifeTimeOk() (*TimePeriodDTO, bool)`
GetLifeTimeOk returns a tuple with the LifeTime field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetLifeTime
`func (o *BaseOfferDTO) SetLifeTime(v TimePeriodDTO)`
SetLifeTime sets LifeTime field to given value.
### HasLifeTime
`func (o *BaseOfferDTO) HasLifeTime() bool`
HasLifeTime returns a boolean if a field has been set.
### GetGuaranteePeriod
`func (o *BaseOfferDTO) GetGuaranteePeriod() TimePeriodDTO`
GetGuaranteePeriod returns the GuaranteePeriod field if non-nil, zero value otherwise.
### GetGuaranteePeriodOk
`func (o *BaseOfferDTO) GetGuaranteePeriodOk() (*TimePeriodDTO, bool)`
GetGuaranteePeriodOk returns a tuple with the GuaranteePeriod field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetGuaranteePeriod
`func (o *BaseOfferDTO) SetGuaranteePeriod(v TimePeriodDTO)`
SetGuaranteePeriod sets GuaranteePeriod field to given value.
### HasGuaranteePeriod
`func (o *BaseOfferDTO) HasGuaranteePeriod() bool`
HasGuaranteePeriod returns a boolean if a field has been set.
### GetCustomsCommodityCode
`func (o *BaseOfferDTO) GetCustomsCommodityCode() string`
GetCustomsCommodityCode returns the CustomsCommodityCode field if non-nil, zero value otherwise.
### GetCustomsCommodityCodeOk
`func (o *BaseOfferDTO) GetCustomsCommodityCodeOk() (*string, bool)`
GetCustomsCommodityCodeOk returns a tuple with the CustomsCommodityCode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCustomsCommodityCode
`func (o *BaseOfferDTO) SetCustomsCommodityCode(v string)`
SetCustomsCommodityCode sets CustomsCommodityCode field to given value.
### HasCustomsCommodityCode
`func (o *BaseOfferDTO) HasCustomsCommodityCode() bool`
HasCustomsCommodityCode returns a boolean if a field has been set.
### GetCommodityCodes
`func (o *BaseOfferDTO) GetCommodityCodes() []CommodityCodeDTO`
GetCommodityCodes returns the CommodityCodes field if non-nil, zero value otherwise.
### GetCommodityCodesOk
`func (o *BaseOfferDTO) GetCommodityCodesOk() (*[]CommodityCodeDTO, bool)`
GetCommodityCodesOk returns a tuple with the CommodityCodes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCommodityCodes
`func (o *BaseOfferDTO) SetCommodityCodes(v []CommodityCodeDTO)`
SetCommodityCodes sets CommodityCodes field to given value.
### HasCommodityCodes
`func (o *BaseOfferDTO) HasCommodityCodes() bool`
HasCommodityCodes returns a boolean if a field has been set.
### SetCommodityCodesNil
`func (o *BaseOfferDTO) SetCommodityCodesNil(b bool)`
SetCommodityCodesNil sets the value for CommodityCodes to be an explicit nil
### UnsetCommodityCodes
`func (o *BaseOfferDTO) UnsetCommodityCodes()`
UnsetCommodityCodes ensures that no value is present for CommodityCodes, not even an explicit nil
### GetCertificates
`func (o *BaseOfferDTO) GetCertificates() []string`
GetCertificates returns the Certificates field if non-nil, zero value otherwise.
### GetCertificatesOk
`func (o *BaseOfferDTO) GetCertificatesOk() (*[]string, bool)`
GetCertificatesOk returns a tuple with the Certificates field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCertificates
`func (o *BaseOfferDTO) SetCertificates(v []string)`
SetCertificates sets Certificates field to given value.
### HasCertificates
`func (o *BaseOfferDTO) HasCertificates() bool`
HasCertificates returns a boolean if a field has been set.
### SetCertificatesNil
`func (o *BaseOfferDTO) SetCertificatesNil(b bool)`
SetCertificatesNil sets the value for Certificates to be an explicit nil
### UnsetCertificates
`func (o *BaseOfferDTO) UnsetCertificates()`
UnsetCertificates ensures that no value is present for Certificates, not even an explicit nil
### GetBoxCount
`func (o *BaseOfferDTO) GetBoxCount() int32`
GetBoxCount returns the BoxCount field if non-nil, zero value otherwise.
### GetBoxCountOk
`func (o *BaseOfferDTO) GetBoxCountOk() (*int32, bool)`
GetBoxCountOk returns a tuple with the BoxCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetBoxCount
`func (o *BaseOfferDTO) SetBoxCount(v int32)`
SetBoxCount sets BoxCount field to given value.
### HasBoxCount
`func (o *BaseOfferDTO) HasBoxCount() bool`
HasBoxCount returns a boolean if a field has been set.
### GetCondition
`func (o *BaseOfferDTO) GetCondition() OfferConditionDTO`
GetCondition returns the Condition field if non-nil, zero value otherwise.
### GetConditionOk
`func (o *BaseOfferDTO) GetConditionOk() (*OfferConditionDTO, bool)`
GetConditionOk returns a tuple with the Condition field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCondition
`func (o *BaseOfferDTO) SetCondition(v OfferConditionDTO)`
SetCondition sets Condition field to given value.
### HasCondition
`func (o *BaseOfferDTO) HasCondition() bool`
HasCondition returns a boolean if a field has been set.
### GetType
`func (o *BaseOfferDTO) GetType() OfferType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *BaseOfferDTO) GetTypeOk() (*OfferType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *BaseOfferDTO) SetType(v OfferType)`
SetType sets Type field to given value.
### HasType
`func (o *BaseOfferDTO) HasType() bool`
HasType returns a boolean if a field has been set.
### GetDownloadable
`func (o *BaseOfferDTO) GetDownloadable() bool`
GetDownloadable returns the Downloadable field if non-nil, zero value otherwise.
### GetDownloadableOk
`func (o *BaseOfferDTO) GetDownloadableOk() (*bool, bool)`
GetDownloadableOk returns a tuple with the Downloadable field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDownloadable
`func (o *BaseOfferDTO) SetDownloadable(v bool)`
SetDownloadable sets Downloadable field to given value.
### HasDownloadable
`func (o *BaseOfferDTO) HasDownloadable() bool`
HasDownloadable returns a boolean if a field has been set.
### GetAdult
`func (o *BaseOfferDTO) GetAdult() bool`
GetAdult returns the Adult field if non-nil, zero value otherwise.
### GetAdultOk
`func (o *BaseOfferDTO) GetAdultOk() (*bool, bool)`
GetAdultOk returns a tuple with the Adult field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAdult
`func (o *BaseOfferDTO) SetAdult(v bool)`
SetAdult sets Adult field to given value.
### HasAdult
`func (o *BaseOfferDTO) HasAdult() bool`
HasAdult returns a boolean if a field has been set.
### GetAge
`func (o *BaseOfferDTO) GetAge() AgeDTO`
GetAge returns the Age field if non-nil, zero value otherwise.
### GetAgeOk
`func (o *BaseOfferDTO) GetAgeOk() (*AgeDTO, bool)`
GetAgeOk returns a tuple with the Age field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAge
`func (o *BaseOfferDTO) SetAge(v AgeDTO)`
SetAge sets Age field to given value.
### HasAge
`func (o *BaseOfferDTO) HasAge() bool`
HasAge returns a boolean if a field has been set.
### GetParams
`func (o *BaseOfferDTO) GetParams() []OfferParamDTO`
GetParams returns the Params field if non-nil, zero value otherwise.
### GetParamsOk
`func (o *BaseOfferDTO) GetParamsOk() (*[]OfferParamDTO, bool)`
GetParamsOk returns a tuple with the Params field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetParams
`func (o *BaseOfferDTO) SetParams(v []OfferParamDTO)`
SetParams sets Params field to given value.
### HasParams
`func (o *BaseOfferDTO) HasParams() bool`
HasParams returns a boolean if a field has been set.
### SetParamsNil
`func (o *BaseOfferDTO) SetParamsNil(b bool)`
SetParamsNil sets the value for Params to be an explicit nil
### UnsetParams
`func (o *BaseOfferDTO) UnsetParams()`
UnsetParams ensures that no value is present for Params, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,817 @@
# BaseOfferResponseDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OfferId** | **string** | Ваш :no-translate[SKU] — идентификатор товара в вашей системе. Правила использования :no-translate[SKU]: * У каждого товара :no-translate[SKU] должен быть свой. * Уже заданный :no-translate[SKU] нельзя освободить и использовать заново для другого товара. Каждый товар должен получать новый идентификатор, до того никогда не использовавшийся в вашем каталоге. :no-translate[SKU] товара можно изменить в кабинете продавца на Маркете. О том, как это сделать, читайте [в Справке Маркета для продавцов](https://yandex.ru/support2/marketplace/ru/assortment/operations/edit-sku). [Что такое :no-translate[SKU] и как его назначать](https://yandex.ru/support/marketplace/assortment/add/index.html#fields) |
**Name** | Pointer to **string** | Составляйте название по схеме: тип + бренд или производитель + модель + особенности, если есть (например, цвет, размер или вес) и количество в упаковке. Не включайте в название условия продажи (например, «скидка», «бесплатная доставка» и т. д.), эмоциональные характеристики («хит», «супер» и т. д.). Не пишите слова большими буквами — кроме устоявшихся названий брендов и моделей. Оптимальная длина — 5060 символов. [Рекомендации и правила](https://yandex.ru/support/marketplace/assortment/fields/title.html) | [optional]
**MarketCategoryId** | Pointer to **int64** | Идентификатор категории на Маркете, к которой вы относите свой товар. {% note warning \"Всегда указывайте, когда передаете `parameterValues`\" %} Если при изменении характеристик передать `parameterValues` и не указать `marketCategoryId`, характеристики обновятся, но в ответе придет предупреждение (параметр `warnings`). Если не передать их оба, будет использована информация из устаревших параметров `params` и `category`, а `marketCategoryId` будет определен автоматически. {% endnote %} При изменении категории убедитесь, что характеристики товара и их значения в параметре `parameterValues` вы передаете для новой категории. Список категорий Маркета можно получить с помощью запроса [POST categories/tree](../../reference/categories/getCategoriesTree.md). | [optional]
**Category** | Pointer to **string** | {% note warning \"Вместо него используйте `marketCategoryId`.\" %}   {% endnote %} Категория товара в вашем магазине. | [optional]
**Pictures** | Pointer to **[]string** | Ссылки на изображения товара. Изображение по первой ссылке считается основным, остальные дополнительными. **Требования к ссылкам** * Ссылок может быть до 30. * Указывайте ссылку целиком, включая протокол http или https. * Максимальная длина — 512 символов. * Русские буквы в URL можно. * Можно использовать прямые ссылки на изображения и на Яндекс Диск. Ссылки на Яндекс Диске нужно копировать с помощью функции **Поделиться**. Относительные ссылки и ссылки на другие облачные хранилища — не работают. ✅ `https://example-shop.ru/images/sku12345.jpg``https://yadi.sk/i/NaBoRsimVOLov``/images/sku12345.jpg``https://www.dropbox.com/s/818f/tovar.jpg` Ссылки на изображение должны быть постоянными. Нельзя использовать динамические ссылки, меняющиеся от выгрузки к выгрузке. Если нужно заменить изображение, выложите новое изображение по новой ссылке, а ссылку на старое удалите. Если просто заменить изображение по старой ссылке, оно не обновится. [Требования к изображениям](https://yandex.ru/support/marketplace/assortment/fields/images.html) | [optional]
**Videos** | Pointer to **[]string** | Ссылки (URL) на видео товара. **Требования к ссылке** * Указывайте ссылку целиком, включая протокол http или https. * Максимальная длина — 512 символов. * Русские буквы в URL можно. * Можно использовать прямые ссылки на видео и на Яндекс Диск. Ссылки на Яндекс Диске нужно копировать с помощью функции **Поделиться**. Относительные ссылки и ссылки на другие облачные хранилища — не работают. ✅ `https://example-shop.ru/video/sku12345.avi``https://yadi.sk/i/NaBoRsimVOLov``/video/sku12345.avi``https://www.dropbox.com/s/818f/super-tovar.avi` Ссылки на видео должны быть постоянными. Нельзя использовать динамические ссылки, меняющиеся от выгрузки к выгрузке. Если нужно заменить видео, выложите новое видео по новой ссылке, а ссылку на старое удалите. Если просто заменить видео по старой ссылке, оно не обновится. [Требования к видео](https://yandex.ru/support/marketplace/assortment/fields/video.html) | [optional]
**Manuals** | Pointer to [**[]OfferManualDTO**](OfferManualDTO.md) | Список инструкций по использованию товара. | [optional]
**Vendor** | Pointer to **string** | Название бренда или производителя. Должно быть записано так, как его пишет сам бренд. | [optional]
**Barcodes** | Pointer to **[]string** | Указывайте в виде последовательности цифр. Подойдут коды :no-translate[EAN-13, EAN-8, UPC-A, UPC-E] или :no-translate[Code 128]. Для книг указывайте :no-translate[ISBN]. Для товаров [определенных категорий и торговых марок](https://yastatic.net/s3/doc-binary/src/support/market/ru/yandex-market-list-for-gtin.xlsx) штрихкод должен быть действительным кодом :no-translate[GTIN]. Обратите внимание: внутренние штрихкоды, начинающиеся на 2 или 02, и коды формата :no-translate[Code 128] не являются :no-translate[GTIN]. [Что такое :no-translate[GTIN]](:no-translate[*gtin]) | [optional]
**Description** | Pointer to **string** | Подробное описание товара: например, его преимущества и особенности. Не давайте в описании инструкций по установке и сборке. Не используйте слова «скидка», «распродажа», «дешевый», «подарок» (кроме подарочных категорий), «бесплатно», «акция», «специальная цена», «новинка», «new», «аналог», «заказ», «хит». Не указывайте никакой контактной информации и не давайте ссылок. Для форматирования текста можно использовать теги HTML: * \\<h>, \\<h1>, \\<h2> и так далее — для заголовков; * \\<br> и \\<p> — для переноса строки; * \\<ol> — для нумерованного списка; * \\<ul> — для маркированного списка; * \\<li> — для создания элементов списка (должен находиться внутри \\<ol> или \\<ul>); * \\<div> — поддерживается, но не влияет на отображение текста. Оптимальная длина — 400600 символов. [Рекомендации и правила](https://yandex.ru/support/marketplace/assortment/fields/description.html) | [optional]
**ManufacturerCountries** | Pointer to **[]string** | Страна, где был произведен товар. Записывайте названия стран так, как они записаны в [списке](https://yastatic.net/s3/doc-binary/src/support/market/ru/countries.xlsx). | [optional]
**WeightDimensions** | Pointer to [**OfferWeightDimensionsDTO**](OfferWeightDimensionsDTO.md) | | [optional]
**VendorCode** | Pointer to **string** | Артикул товара от производителя. | [optional]
**Tags** | Pointer to **[]string** | Метки товара, которые использует магазин. Покупателям теги не видны. По тегам можно группировать и фильтровать разные товары в каталоге — например, товары одной серии, коллекции или линейки. Максимальная длина тега — 20 символов. У одного товара может быть максимум 10 тегов. | [optional]
**ShelfLife** | Pointer to [**TimePeriodDTO**](TimePeriodDTO.md) | | [optional]
**LifeTime** | Pointer to [**TimePeriodDTO**](TimePeriodDTO.md) | | [optional]
**GuaranteePeriod** | Pointer to [**TimePeriodDTO**](TimePeriodDTO.md) | | [optional]
**CustomsCommodityCode** | Pointer to **string** | {% note warning \"Вместо него используйте `commodityCodes` с типом `CUSTOMS_COMMODITY_CODE`.\" %}   {% endnote %} Код товара в единой Товарной номенклатуре внешнеэкономической деятельности (ТН ВЭД) — 10 или 14 цифр без пробелов. Обязательно укажите, если он есть. | [optional]
**CommodityCodes** | Pointer to [**[]CommodityCodeDTO**](CommodityCodeDTO.md) | Товарные коды. | [optional]
**Certificates** | Pointer to **[]string** | Номера документов на товар: сертификата, декларации соответствия и т. п. Передавать можно только номера документов, сканы которого загружены в кабинете продавца по [инструкции](https://yandex.ru/support/marketplace/assortment/restrictions/certificates.html). | [optional]
**BoxCount** | Pointer to **int32** | Количество грузовых мест. Параметр используется, если товар представляет собой несколько коробок, упаковок и так далее. Например, кондиционер занимает два места — внешний и внутренний блоки в двух коробках. Для товаров, занимающих одно место, не передавайте этот параметр. | [optional]
**Condition** | Pointer to [**OfferConditionDTO**](OfferConditionDTO.md) | | [optional]
**Type** | Pointer to [**OfferType**](OfferType.md) | | [optional]
**Downloadable** | Pointer to **bool** | Признак цифрового товара. Укажите `true`, если товар доставляется по электронной почте. [Как работать с цифровыми товарами](../../step-by-step/digital.md) | [optional]
**Adult** | Pointer to **bool** | Параметр включает для товара пометку 18+. Устанавливайте ее только для товаров, которые относятся к удовлетворению сексуальных потребностей. | [optional]
**Age** | Pointer to [**AgeDTO**](AgeDTO.md) | | [optional]
**Params** | Pointer to [**[]OfferParamDTO**](OfferParamDTO.md) | {% note warning \"При передаче характеристик используйте `parameterValues`.\" %}   {% endnote %} Характеристики, которые есть только у товаров конкретной категории — например, диаметр колес велосипеда или материал подошвы обуви. | [optional]
## Methods
### NewBaseOfferResponseDTO
`func NewBaseOfferResponseDTO(offerId string, ) *BaseOfferResponseDTO`
NewBaseOfferResponseDTO instantiates a new BaseOfferResponseDTO 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
### NewBaseOfferResponseDTOWithDefaults
`func NewBaseOfferResponseDTOWithDefaults() *BaseOfferResponseDTO`
NewBaseOfferResponseDTOWithDefaults instantiates a new BaseOfferResponseDTO 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
### GetOfferId
`func (o *BaseOfferResponseDTO) GetOfferId() string`
GetOfferId returns the OfferId field if non-nil, zero value otherwise.
### GetOfferIdOk
`func (o *BaseOfferResponseDTO) GetOfferIdOk() (*string, bool)`
GetOfferIdOk returns a tuple with the OfferId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOfferId
`func (o *BaseOfferResponseDTO) SetOfferId(v string)`
SetOfferId sets OfferId field to given value.
### GetName
`func (o *BaseOfferResponseDTO) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *BaseOfferResponseDTO) GetNameOk() (*string, bool)`
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetName
`func (o *BaseOfferResponseDTO) SetName(v string)`
SetName sets Name field to given value.
### HasName
`func (o *BaseOfferResponseDTO) HasName() bool`
HasName returns a boolean if a field has been set.
### GetMarketCategoryId
`func (o *BaseOfferResponseDTO) GetMarketCategoryId() int64`
GetMarketCategoryId returns the MarketCategoryId field if non-nil, zero value otherwise.
### GetMarketCategoryIdOk
`func (o *BaseOfferResponseDTO) GetMarketCategoryIdOk() (*int64, bool)`
GetMarketCategoryIdOk returns a tuple with the MarketCategoryId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMarketCategoryId
`func (o *BaseOfferResponseDTO) SetMarketCategoryId(v int64)`
SetMarketCategoryId sets MarketCategoryId field to given value.
### HasMarketCategoryId
`func (o *BaseOfferResponseDTO) HasMarketCategoryId() bool`
HasMarketCategoryId returns a boolean if a field has been set.
### GetCategory
`func (o *BaseOfferResponseDTO) GetCategory() string`
GetCategory returns the Category field if non-nil, zero value otherwise.
### GetCategoryOk
`func (o *BaseOfferResponseDTO) GetCategoryOk() (*string, bool)`
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCategory
`func (o *BaseOfferResponseDTO) SetCategory(v string)`
SetCategory sets Category field to given value.
### HasCategory
`func (o *BaseOfferResponseDTO) HasCategory() bool`
HasCategory returns a boolean if a field has been set.
### GetPictures
`func (o *BaseOfferResponseDTO) GetPictures() []string`
GetPictures returns the Pictures field if non-nil, zero value otherwise.
### GetPicturesOk
`func (o *BaseOfferResponseDTO) GetPicturesOk() (*[]string, bool)`
GetPicturesOk returns a tuple with the Pictures field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPictures
`func (o *BaseOfferResponseDTO) SetPictures(v []string)`
SetPictures sets Pictures field to given value.
### HasPictures
`func (o *BaseOfferResponseDTO) HasPictures() bool`
HasPictures returns a boolean if a field has been set.
### SetPicturesNil
`func (o *BaseOfferResponseDTO) SetPicturesNil(b bool)`
SetPicturesNil sets the value for Pictures to be an explicit nil
### UnsetPictures
`func (o *BaseOfferResponseDTO) UnsetPictures()`
UnsetPictures ensures that no value is present for Pictures, not even an explicit nil
### GetVideos
`func (o *BaseOfferResponseDTO) GetVideos() []string`
GetVideos returns the Videos field if non-nil, zero value otherwise.
### GetVideosOk
`func (o *BaseOfferResponseDTO) GetVideosOk() (*[]string, bool)`
GetVideosOk returns a tuple with the Videos field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetVideos
`func (o *BaseOfferResponseDTO) SetVideos(v []string)`
SetVideos sets Videos field to given value.
### HasVideos
`func (o *BaseOfferResponseDTO) HasVideos() bool`
HasVideos returns a boolean if a field has been set.
### SetVideosNil
`func (o *BaseOfferResponseDTO) SetVideosNil(b bool)`
SetVideosNil sets the value for Videos to be an explicit nil
### UnsetVideos
`func (o *BaseOfferResponseDTO) UnsetVideos()`
UnsetVideos ensures that no value is present for Videos, not even an explicit nil
### GetManuals
`func (o *BaseOfferResponseDTO) GetManuals() []OfferManualDTO`
GetManuals returns the Manuals field if non-nil, zero value otherwise.
### GetManualsOk
`func (o *BaseOfferResponseDTO) GetManualsOk() (*[]OfferManualDTO, bool)`
GetManualsOk returns a tuple with the Manuals field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetManuals
`func (o *BaseOfferResponseDTO) SetManuals(v []OfferManualDTO)`
SetManuals sets Manuals field to given value.
### HasManuals
`func (o *BaseOfferResponseDTO) HasManuals() bool`
HasManuals returns a boolean if a field has been set.
### SetManualsNil
`func (o *BaseOfferResponseDTO) SetManualsNil(b bool)`
SetManualsNil sets the value for Manuals to be an explicit nil
### UnsetManuals
`func (o *BaseOfferResponseDTO) UnsetManuals()`
UnsetManuals ensures that no value is present for Manuals, not even an explicit nil
### GetVendor
`func (o *BaseOfferResponseDTO) GetVendor() string`
GetVendor returns the Vendor field if non-nil, zero value otherwise.
### GetVendorOk
`func (o *BaseOfferResponseDTO) GetVendorOk() (*string, bool)`
GetVendorOk returns a tuple with the Vendor field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetVendor
`func (o *BaseOfferResponseDTO) SetVendor(v string)`
SetVendor sets Vendor field to given value.
### HasVendor
`func (o *BaseOfferResponseDTO) HasVendor() bool`
HasVendor returns a boolean if a field has been set.
### GetBarcodes
`func (o *BaseOfferResponseDTO) GetBarcodes() []string`
GetBarcodes returns the Barcodes field if non-nil, zero value otherwise.
### GetBarcodesOk
`func (o *BaseOfferResponseDTO) GetBarcodesOk() (*[]string, bool)`
GetBarcodesOk returns a tuple with the Barcodes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetBarcodes
`func (o *BaseOfferResponseDTO) SetBarcodes(v []string)`
SetBarcodes sets Barcodes field to given value.
### HasBarcodes
`func (o *BaseOfferResponseDTO) HasBarcodes() bool`
HasBarcodes returns a boolean if a field has been set.
### SetBarcodesNil
`func (o *BaseOfferResponseDTO) SetBarcodesNil(b bool)`
SetBarcodesNil sets the value for Barcodes to be an explicit nil
### UnsetBarcodes
`func (o *BaseOfferResponseDTO) UnsetBarcodes()`
UnsetBarcodes ensures that no value is present for Barcodes, not even an explicit nil
### GetDescription
`func (o *BaseOfferResponseDTO) GetDescription() string`
GetDescription returns the Description field if non-nil, zero value otherwise.
### GetDescriptionOk
`func (o *BaseOfferResponseDTO) GetDescriptionOk() (*string, bool)`
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDescription
`func (o *BaseOfferResponseDTO) SetDescription(v string)`
SetDescription sets Description field to given value.
### HasDescription
`func (o *BaseOfferResponseDTO) HasDescription() bool`
HasDescription returns a boolean if a field has been set.
### GetManufacturerCountries
`func (o *BaseOfferResponseDTO) GetManufacturerCountries() []string`
GetManufacturerCountries returns the ManufacturerCountries field if non-nil, zero value otherwise.
### GetManufacturerCountriesOk
`func (o *BaseOfferResponseDTO) GetManufacturerCountriesOk() (*[]string, bool)`
GetManufacturerCountriesOk returns a tuple with the ManufacturerCountries field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetManufacturerCountries
`func (o *BaseOfferResponseDTO) SetManufacturerCountries(v []string)`
SetManufacturerCountries sets ManufacturerCountries field to given value.
### HasManufacturerCountries
`func (o *BaseOfferResponseDTO) HasManufacturerCountries() bool`
HasManufacturerCountries returns a boolean if a field has been set.
### SetManufacturerCountriesNil
`func (o *BaseOfferResponseDTO) SetManufacturerCountriesNil(b bool)`
SetManufacturerCountriesNil sets the value for ManufacturerCountries to be an explicit nil
### UnsetManufacturerCountries
`func (o *BaseOfferResponseDTO) UnsetManufacturerCountries()`
UnsetManufacturerCountries ensures that no value is present for ManufacturerCountries, not even an explicit nil
### GetWeightDimensions
`func (o *BaseOfferResponseDTO) GetWeightDimensions() OfferWeightDimensionsDTO`
GetWeightDimensions returns the WeightDimensions field if non-nil, zero value otherwise.
### GetWeightDimensionsOk
`func (o *BaseOfferResponseDTO) GetWeightDimensionsOk() (*OfferWeightDimensionsDTO, bool)`
GetWeightDimensionsOk returns a tuple with the WeightDimensions field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetWeightDimensions
`func (o *BaseOfferResponseDTO) SetWeightDimensions(v OfferWeightDimensionsDTO)`
SetWeightDimensions sets WeightDimensions field to given value.
### HasWeightDimensions
`func (o *BaseOfferResponseDTO) HasWeightDimensions() bool`
HasWeightDimensions returns a boolean if a field has been set.
### GetVendorCode
`func (o *BaseOfferResponseDTO) GetVendorCode() string`
GetVendorCode returns the VendorCode field if non-nil, zero value otherwise.
### GetVendorCodeOk
`func (o *BaseOfferResponseDTO) GetVendorCodeOk() (*string, bool)`
GetVendorCodeOk returns a tuple with the VendorCode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetVendorCode
`func (o *BaseOfferResponseDTO) SetVendorCode(v string)`
SetVendorCode sets VendorCode field to given value.
### HasVendorCode
`func (o *BaseOfferResponseDTO) HasVendorCode() bool`
HasVendorCode returns a boolean if a field has been set.
### GetTags
`func (o *BaseOfferResponseDTO) GetTags() []string`
GetTags returns the Tags field if non-nil, zero value otherwise.
### GetTagsOk
`func (o *BaseOfferResponseDTO) GetTagsOk() (*[]string, bool)`
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetTags
`func (o *BaseOfferResponseDTO) SetTags(v []string)`
SetTags sets Tags field to given value.
### HasTags
`func (o *BaseOfferResponseDTO) HasTags() bool`
HasTags returns a boolean if a field has been set.
### SetTagsNil
`func (o *BaseOfferResponseDTO) SetTagsNil(b bool)`
SetTagsNil sets the value for Tags to be an explicit nil
### UnsetTags
`func (o *BaseOfferResponseDTO) UnsetTags()`
UnsetTags ensures that no value is present for Tags, not even an explicit nil
### GetShelfLife
`func (o *BaseOfferResponseDTO) GetShelfLife() TimePeriodDTO`
GetShelfLife returns the ShelfLife field if non-nil, zero value otherwise.
### GetShelfLifeOk
`func (o *BaseOfferResponseDTO) GetShelfLifeOk() (*TimePeriodDTO, bool)`
GetShelfLifeOk returns a tuple with the ShelfLife field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetShelfLife
`func (o *BaseOfferResponseDTO) SetShelfLife(v TimePeriodDTO)`
SetShelfLife sets ShelfLife field to given value.
### HasShelfLife
`func (o *BaseOfferResponseDTO) HasShelfLife() bool`
HasShelfLife returns a boolean if a field has been set.
### GetLifeTime
`func (o *BaseOfferResponseDTO) GetLifeTime() TimePeriodDTO`
GetLifeTime returns the LifeTime field if non-nil, zero value otherwise.
### GetLifeTimeOk
`func (o *BaseOfferResponseDTO) GetLifeTimeOk() (*TimePeriodDTO, bool)`
GetLifeTimeOk returns a tuple with the LifeTime field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetLifeTime
`func (o *BaseOfferResponseDTO) SetLifeTime(v TimePeriodDTO)`
SetLifeTime sets LifeTime field to given value.
### HasLifeTime
`func (o *BaseOfferResponseDTO) HasLifeTime() bool`
HasLifeTime returns a boolean if a field has been set.
### GetGuaranteePeriod
`func (o *BaseOfferResponseDTO) GetGuaranteePeriod() TimePeriodDTO`
GetGuaranteePeriod returns the GuaranteePeriod field if non-nil, zero value otherwise.
### GetGuaranteePeriodOk
`func (o *BaseOfferResponseDTO) GetGuaranteePeriodOk() (*TimePeriodDTO, bool)`
GetGuaranteePeriodOk returns a tuple with the GuaranteePeriod field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetGuaranteePeriod
`func (o *BaseOfferResponseDTO) SetGuaranteePeriod(v TimePeriodDTO)`
SetGuaranteePeriod sets GuaranteePeriod field to given value.
### HasGuaranteePeriod
`func (o *BaseOfferResponseDTO) HasGuaranteePeriod() bool`
HasGuaranteePeriod returns a boolean if a field has been set.
### GetCustomsCommodityCode
`func (o *BaseOfferResponseDTO) GetCustomsCommodityCode() string`
GetCustomsCommodityCode returns the CustomsCommodityCode field if non-nil, zero value otherwise.
### GetCustomsCommodityCodeOk
`func (o *BaseOfferResponseDTO) GetCustomsCommodityCodeOk() (*string, bool)`
GetCustomsCommodityCodeOk returns a tuple with the CustomsCommodityCode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCustomsCommodityCode
`func (o *BaseOfferResponseDTO) SetCustomsCommodityCode(v string)`
SetCustomsCommodityCode sets CustomsCommodityCode field to given value.
### HasCustomsCommodityCode
`func (o *BaseOfferResponseDTO) HasCustomsCommodityCode() bool`
HasCustomsCommodityCode returns a boolean if a field has been set.
### GetCommodityCodes
`func (o *BaseOfferResponseDTO) GetCommodityCodes() []CommodityCodeDTO`
GetCommodityCodes returns the CommodityCodes field if non-nil, zero value otherwise.
### GetCommodityCodesOk
`func (o *BaseOfferResponseDTO) GetCommodityCodesOk() (*[]CommodityCodeDTO, bool)`
GetCommodityCodesOk returns a tuple with the CommodityCodes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCommodityCodes
`func (o *BaseOfferResponseDTO) SetCommodityCodes(v []CommodityCodeDTO)`
SetCommodityCodes sets CommodityCodes field to given value.
### HasCommodityCodes
`func (o *BaseOfferResponseDTO) HasCommodityCodes() bool`
HasCommodityCodes returns a boolean if a field has been set.
### SetCommodityCodesNil
`func (o *BaseOfferResponseDTO) SetCommodityCodesNil(b bool)`
SetCommodityCodesNil sets the value for CommodityCodes to be an explicit nil
### UnsetCommodityCodes
`func (o *BaseOfferResponseDTO) UnsetCommodityCodes()`
UnsetCommodityCodes ensures that no value is present for CommodityCodes, not even an explicit nil
### GetCertificates
`func (o *BaseOfferResponseDTO) GetCertificates() []string`
GetCertificates returns the Certificates field if non-nil, zero value otherwise.
### GetCertificatesOk
`func (o *BaseOfferResponseDTO) GetCertificatesOk() (*[]string, bool)`
GetCertificatesOk returns a tuple with the Certificates field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCertificates
`func (o *BaseOfferResponseDTO) SetCertificates(v []string)`
SetCertificates sets Certificates field to given value.
### HasCertificates
`func (o *BaseOfferResponseDTO) HasCertificates() bool`
HasCertificates returns a boolean if a field has been set.
### SetCertificatesNil
`func (o *BaseOfferResponseDTO) SetCertificatesNil(b bool)`
SetCertificatesNil sets the value for Certificates to be an explicit nil
### UnsetCertificates
`func (o *BaseOfferResponseDTO) UnsetCertificates()`
UnsetCertificates ensures that no value is present for Certificates, not even an explicit nil
### GetBoxCount
`func (o *BaseOfferResponseDTO) GetBoxCount() int32`
GetBoxCount returns the BoxCount field if non-nil, zero value otherwise.
### GetBoxCountOk
`func (o *BaseOfferResponseDTO) GetBoxCountOk() (*int32, bool)`
GetBoxCountOk returns a tuple with the BoxCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetBoxCount
`func (o *BaseOfferResponseDTO) SetBoxCount(v int32)`
SetBoxCount sets BoxCount field to given value.
### HasBoxCount
`func (o *BaseOfferResponseDTO) HasBoxCount() bool`
HasBoxCount returns a boolean if a field has been set.
### GetCondition
`func (o *BaseOfferResponseDTO) GetCondition() OfferConditionDTO`
GetCondition returns the Condition field if non-nil, zero value otherwise.
### GetConditionOk
`func (o *BaseOfferResponseDTO) GetConditionOk() (*OfferConditionDTO, bool)`
GetConditionOk returns a tuple with the Condition field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCondition
`func (o *BaseOfferResponseDTO) SetCondition(v OfferConditionDTO)`
SetCondition sets Condition field to given value.
### HasCondition
`func (o *BaseOfferResponseDTO) HasCondition() bool`
HasCondition returns a boolean if a field has been set.
### GetType
`func (o *BaseOfferResponseDTO) GetType() OfferType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *BaseOfferResponseDTO) GetTypeOk() (*OfferType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *BaseOfferResponseDTO) SetType(v OfferType)`
SetType sets Type field to given value.
### HasType
`func (o *BaseOfferResponseDTO) HasType() bool`
HasType returns a boolean if a field has been set.
### GetDownloadable
`func (o *BaseOfferResponseDTO) GetDownloadable() bool`
GetDownloadable returns the Downloadable field if non-nil, zero value otherwise.
### GetDownloadableOk
`func (o *BaseOfferResponseDTO) GetDownloadableOk() (*bool, bool)`
GetDownloadableOk returns a tuple with the Downloadable field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDownloadable
`func (o *BaseOfferResponseDTO) SetDownloadable(v bool)`
SetDownloadable sets Downloadable field to given value.
### HasDownloadable
`func (o *BaseOfferResponseDTO) HasDownloadable() bool`
HasDownloadable returns a boolean if a field has been set.
### GetAdult
`func (o *BaseOfferResponseDTO) GetAdult() bool`
GetAdult returns the Adult field if non-nil, zero value otherwise.
### GetAdultOk
`func (o *BaseOfferResponseDTO) GetAdultOk() (*bool, bool)`
GetAdultOk returns a tuple with the Adult field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAdult
`func (o *BaseOfferResponseDTO) SetAdult(v bool)`
SetAdult sets Adult field to given value.
### HasAdult
`func (o *BaseOfferResponseDTO) HasAdult() bool`
HasAdult returns a boolean if a field has been set.
### GetAge
`func (o *BaseOfferResponseDTO) GetAge() AgeDTO`
GetAge returns the Age field if non-nil, zero value otherwise.
### GetAgeOk
`func (o *BaseOfferResponseDTO) GetAgeOk() (*AgeDTO, bool)`
GetAgeOk returns a tuple with the Age field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAge
`func (o *BaseOfferResponseDTO) SetAge(v AgeDTO)`
SetAge sets Age field to given value.
### HasAge
`func (o *BaseOfferResponseDTO) HasAge() bool`
HasAge returns a boolean if a field has been set.
### GetParams
`func (o *BaseOfferResponseDTO) GetParams() []OfferParamDTO`
GetParams returns the Params field if non-nil, zero value otherwise.
### GetParamsOk
`func (o *BaseOfferResponseDTO) GetParamsOk() (*[]OfferParamDTO, bool)`
GetParamsOk returns a tuple with the Params field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetParams
`func (o *BaseOfferResponseDTO) SetParams(v []OfferParamDTO)`
SetParams sets Params field to given value.
### HasParams
`func (o *BaseOfferResponseDTO) HasParams() bool`
HasParams returns a boolean if a field has been set.
### SetParamsNil
`func (o *BaseOfferResponseDTO) SetParamsNil(b bool)`
SetParamsNil sets the value for Params to be an explicit nil
### UnsetParams
`func (o *BaseOfferResponseDTO) UnsetParams()`
UnsetParams ensures that no value is present for Params, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# BasePriceDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **float32** | Цена товара. |
**CurrencyId** | [**CurrencyType**](CurrencyType.md) | |
## Methods
### NewBasePriceDTO
`func NewBasePriceDTO(value float32, currencyId CurrencyType, ) *BasePriceDTO`
NewBasePriceDTO instantiates a new BasePriceDTO 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
### NewBasePriceDTOWithDefaults
`func NewBasePriceDTOWithDefaults() *BasePriceDTO`
NewBasePriceDTOWithDefaults instantiates a new BasePriceDTO 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
### GetValue
`func (o *BasePriceDTO) GetValue() float32`
GetValue returns the Value field if non-nil, zero value otherwise.
### GetValueOk
`func (o *BasePriceDTO) GetValueOk() (*float32, bool)`
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetValue
`func (o *BasePriceDTO) SetValue(v float32)`
SetValue sets Value field to given value.
### GetCurrencyId
`func (o *BasePriceDTO) GetCurrencyId() CurrencyType`
GetCurrencyId returns the CurrencyId field if non-nil, zero value otherwise.
### GetCurrencyIdOk
`func (o *BasePriceDTO) GetCurrencyIdOk() (*CurrencyType, bool)`
GetCurrencyIdOk returns a tuple with the CurrencyId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCurrencyId
`func (o *BasePriceDTO) SetCurrencyId(v CurrencyType)`
SetCurrencyId sets CurrencyId field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,354 @@
# BaseShipmentDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int64** | Идентификатор отгрузки. |
**PlanIntervalFrom** | **time.Time** | Начало планового интервала отгрузки. Формат даты: :no-translate[ISO 8601] со смещением относительно :no-translate[UTC]. |
**PlanIntervalTo** | **time.Time** | Конец планового интервала отгрузки. Формат даты: :no-translate[ISO 8601] со смещением относительно :no-translate[UTC. |
**ShipmentType** | Pointer to [**ShipmentType**](ShipmentType.md) | | [optional]
**Warehouse** | Pointer to [**PartnerShipmentWarehouseDTO**](PartnerShipmentWarehouseDTO.md) | | [optional]
**WarehouseTo** | Pointer to [**PartnerShipmentWarehouseDTO**](PartnerShipmentWarehouseDTO.md) | | [optional]
**ExternalId** | Pointer to **string** | Идентификатор отгрузки в вашей системе. Если вы еще не передавали идентификатор, вернется идентификатор из параметра `id`. | [optional]
**DeliveryService** | Pointer to [**DeliveryServiceDTO**](DeliveryServiceDTO.md) | | [optional]
**PalletsCount** | Pointer to [**PalletsCountDTO**](PalletsCountDTO.md) | | [optional]
**OrderIds** | **[]int64** | Идентификаторы заказов в отгрузке. |
**DraftCount** | **int32** | Количество заказов, которое Маркет запланировал к отгрузке. |
**PlannedCount** | **int32** | Количество заказов, которое Маркет подтвердил к отгрузке. |
**FactCount** | **int32** | Количество заказов, принятых в сортировочном центре или пункте приема. |
**Signature** | [**SignatureDTO**](SignatureDTO.md) | |
## Methods
### NewBaseShipmentDTO
`func NewBaseShipmentDTO(id int64, planIntervalFrom time.Time, planIntervalTo time.Time, orderIds []int64, draftCount int32, plannedCount int32, factCount int32, signature SignatureDTO, ) *BaseShipmentDTO`
NewBaseShipmentDTO instantiates a new BaseShipmentDTO 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
### NewBaseShipmentDTOWithDefaults
`func NewBaseShipmentDTOWithDefaults() *BaseShipmentDTO`
NewBaseShipmentDTOWithDefaults instantiates a new BaseShipmentDTO 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
### GetId
`func (o *BaseShipmentDTO) GetId() int64`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *BaseShipmentDTO) GetIdOk() (*int64, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
`func (o *BaseShipmentDTO) SetId(v int64)`
SetId sets Id field to given value.
### GetPlanIntervalFrom
`func (o *BaseShipmentDTO) GetPlanIntervalFrom() time.Time`
GetPlanIntervalFrom returns the PlanIntervalFrom field if non-nil, zero value otherwise.
### GetPlanIntervalFromOk
`func (o *BaseShipmentDTO) GetPlanIntervalFromOk() (*time.Time, bool)`
GetPlanIntervalFromOk returns a tuple with the PlanIntervalFrom field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPlanIntervalFrom
`func (o *BaseShipmentDTO) SetPlanIntervalFrom(v time.Time)`
SetPlanIntervalFrom sets PlanIntervalFrom field to given value.
### GetPlanIntervalTo
`func (o *BaseShipmentDTO) GetPlanIntervalTo() time.Time`
GetPlanIntervalTo returns the PlanIntervalTo field if non-nil, zero value otherwise.
### GetPlanIntervalToOk
`func (o *BaseShipmentDTO) GetPlanIntervalToOk() (*time.Time, bool)`
GetPlanIntervalToOk returns a tuple with the PlanIntervalTo field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPlanIntervalTo
`func (o *BaseShipmentDTO) SetPlanIntervalTo(v time.Time)`
SetPlanIntervalTo sets PlanIntervalTo field to given value.
### GetShipmentType
`func (o *BaseShipmentDTO) GetShipmentType() ShipmentType`
GetShipmentType returns the ShipmentType field if non-nil, zero value otherwise.
### GetShipmentTypeOk
`func (o *BaseShipmentDTO) GetShipmentTypeOk() (*ShipmentType, bool)`
GetShipmentTypeOk returns a tuple with the ShipmentType field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetShipmentType
`func (o *BaseShipmentDTO) SetShipmentType(v ShipmentType)`
SetShipmentType sets ShipmentType field to given value.
### HasShipmentType
`func (o *BaseShipmentDTO) HasShipmentType() bool`
HasShipmentType returns a boolean if a field has been set.
### GetWarehouse
`func (o *BaseShipmentDTO) GetWarehouse() PartnerShipmentWarehouseDTO`
GetWarehouse returns the Warehouse field if non-nil, zero value otherwise.
### GetWarehouseOk
`func (o *BaseShipmentDTO) GetWarehouseOk() (*PartnerShipmentWarehouseDTO, bool)`
GetWarehouseOk returns a tuple with the Warehouse field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetWarehouse
`func (o *BaseShipmentDTO) SetWarehouse(v PartnerShipmentWarehouseDTO)`
SetWarehouse sets Warehouse field to given value.
### HasWarehouse
`func (o *BaseShipmentDTO) HasWarehouse() bool`
HasWarehouse returns a boolean if a field has been set.
### GetWarehouseTo
`func (o *BaseShipmentDTO) GetWarehouseTo() PartnerShipmentWarehouseDTO`
GetWarehouseTo returns the WarehouseTo field if non-nil, zero value otherwise.
### GetWarehouseToOk
`func (o *BaseShipmentDTO) GetWarehouseToOk() (*PartnerShipmentWarehouseDTO, bool)`
GetWarehouseToOk returns a tuple with the WarehouseTo field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetWarehouseTo
`func (o *BaseShipmentDTO) SetWarehouseTo(v PartnerShipmentWarehouseDTO)`
SetWarehouseTo sets WarehouseTo field to given value.
### HasWarehouseTo
`func (o *BaseShipmentDTO) HasWarehouseTo() bool`
HasWarehouseTo returns a boolean if a field has been set.
### GetExternalId
`func (o *BaseShipmentDTO) GetExternalId() string`
GetExternalId returns the ExternalId field if non-nil, zero value otherwise.
### GetExternalIdOk
`func (o *BaseShipmentDTO) GetExternalIdOk() (*string, bool)`
GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetExternalId
`func (o *BaseShipmentDTO) SetExternalId(v string)`
SetExternalId sets ExternalId field to given value.
### HasExternalId
`func (o *BaseShipmentDTO) HasExternalId() bool`
HasExternalId returns a boolean if a field has been set.
### GetDeliveryService
`func (o *BaseShipmentDTO) GetDeliveryService() DeliveryServiceDTO`
GetDeliveryService returns the DeliveryService field if non-nil, zero value otherwise.
### GetDeliveryServiceOk
`func (o *BaseShipmentDTO) GetDeliveryServiceOk() (*DeliveryServiceDTO, bool)`
GetDeliveryServiceOk returns a tuple with the DeliveryService field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDeliveryService
`func (o *BaseShipmentDTO) SetDeliveryService(v DeliveryServiceDTO)`
SetDeliveryService sets DeliveryService field to given value.
### HasDeliveryService
`func (o *BaseShipmentDTO) HasDeliveryService() bool`
HasDeliveryService returns a boolean if a field has been set.
### GetPalletsCount
`func (o *BaseShipmentDTO) GetPalletsCount() PalletsCountDTO`
GetPalletsCount returns the PalletsCount field if non-nil, zero value otherwise.
### GetPalletsCountOk
`func (o *BaseShipmentDTO) GetPalletsCountOk() (*PalletsCountDTO, bool)`
GetPalletsCountOk returns a tuple with the PalletsCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPalletsCount
`func (o *BaseShipmentDTO) SetPalletsCount(v PalletsCountDTO)`
SetPalletsCount sets PalletsCount field to given value.
### HasPalletsCount
`func (o *BaseShipmentDTO) HasPalletsCount() bool`
HasPalletsCount returns a boolean if a field has been set.
### GetOrderIds
`func (o *BaseShipmentDTO) GetOrderIds() []int64`
GetOrderIds returns the OrderIds field if non-nil, zero value otherwise.
### GetOrderIdsOk
`func (o *BaseShipmentDTO) GetOrderIdsOk() (*[]int64, bool)`
GetOrderIdsOk returns a tuple with the OrderIds field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOrderIds
`func (o *BaseShipmentDTO) SetOrderIds(v []int64)`
SetOrderIds sets OrderIds field to given value.
### GetDraftCount
`func (o *BaseShipmentDTO) GetDraftCount() int32`
GetDraftCount returns the DraftCount field if non-nil, zero value otherwise.
### GetDraftCountOk
`func (o *BaseShipmentDTO) GetDraftCountOk() (*int32, bool)`
GetDraftCountOk returns a tuple with the DraftCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDraftCount
`func (o *BaseShipmentDTO) SetDraftCount(v int32)`
SetDraftCount sets DraftCount field to given value.
### GetPlannedCount
`func (o *BaseShipmentDTO) GetPlannedCount() int32`
GetPlannedCount returns the PlannedCount field if non-nil, zero value otherwise.
### GetPlannedCountOk
`func (o *BaseShipmentDTO) GetPlannedCountOk() (*int32, bool)`
GetPlannedCountOk returns a tuple with the PlannedCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPlannedCount
`func (o *BaseShipmentDTO) SetPlannedCount(v int32)`
SetPlannedCount sets PlannedCount field to given value.
### GetFactCount
`func (o *BaseShipmentDTO) GetFactCount() int32`
GetFactCount returns the FactCount field if non-nil, zero value otherwise.
### GetFactCountOk
`func (o *BaseShipmentDTO) GetFactCountOk() (*int32, bool)`
GetFactCountOk returns a tuple with the FactCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetFactCount
`func (o *BaseShipmentDTO) SetFactCount(v int32)`
SetFactCount sets FactCount field to given value.
### GetSignature
`func (o *BaseShipmentDTO) GetSignature() SignatureDTO`
GetSignature returns the Signature field if non-nil, zero value otherwise.
### GetSignatureOk
`func (o *BaseShipmentDTO) GetSignatureOk() (*SignatureDTO, bool)`
GetSignatureOk returns a tuple with the Signature field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSignature
`func (o *BaseShipmentDTO) SetSignature(v SignatureDTO)`
SetSignature sets Signature field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,23 @@
# BenefitType
## Enum
* `BESTS` (value: `"BESTS"`)
* `SPLIT_0_0_4` (value: `"SPLIT_0_0_4"`)
* `SPLIT_0_0_6` (value: `"SPLIT_0_0_6"`)
* `SPLIT_0_0_12` (value: `"SPLIT_0_0_12"`)
* `MARKET_SUBSIDY_1_4` (value: `"MARKET_SUBSIDY_1_4"`)
* `MARKET_SUBSIDY_5_9` (value: `"MARKET_SUBSIDY_5_9"`)
* `MARKET_SUBSIDY_10` (value: `"MARKET_SUBSIDY_10"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,108 @@
# BidRecommendationItemDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bid** | **int32** | Значение ставки. |
**ShowPercent** | **int64** | Доля показов. |
**Benefits** | Pointer to [**[]BenefitType**](BenefitType.md) | Список доступных субсидий. Чтобы получить необходимый инструмент продвижения, установите ставку, которая будет рекомендована для этого инструмента или выше. | [optional]
## Methods
### NewBidRecommendationItemDTO
`func NewBidRecommendationItemDTO(bid int32, showPercent int64, ) *BidRecommendationItemDTO`
NewBidRecommendationItemDTO instantiates a new BidRecommendationItemDTO 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
### NewBidRecommendationItemDTOWithDefaults
`func NewBidRecommendationItemDTOWithDefaults() *BidRecommendationItemDTO`
NewBidRecommendationItemDTOWithDefaults instantiates a new BidRecommendationItemDTO 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
### GetBid
`func (o *BidRecommendationItemDTO) GetBid() int32`
GetBid returns the Bid field if non-nil, zero value otherwise.
### GetBidOk
`func (o *BidRecommendationItemDTO) GetBidOk() (*int32, bool)`
GetBidOk returns a tuple with the Bid field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetBid
`func (o *BidRecommendationItemDTO) SetBid(v int32)`
SetBid sets Bid field to given value.
### GetShowPercent
`func (o *BidRecommendationItemDTO) GetShowPercent() int64`
GetShowPercent returns the ShowPercent field if non-nil, zero value otherwise.
### GetShowPercentOk
`func (o *BidRecommendationItemDTO) GetShowPercentOk() (*int64, bool)`
GetShowPercentOk returns a tuple with the ShowPercent field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetShowPercent
`func (o *BidRecommendationItemDTO) SetShowPercent(v int64)`
SetShowPercent sets ShowPercent field to given value.
### GetBenefits
`func (o *BidRecommendationItemDTO) GetBenefits() []BenefitType`
GetBenefits returns the Benefits field if non-nil, zero value otherwise.
### GetBenefitsOk
`func (o *BidRecommendationItemDTO) GetBenefitsOk() (*[]BenefitType, bool)`
GetBenefitsOk returns a tuple with the Benefits field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetBenefits
`func (o *BidRecommendationItemDTO) SetBenefits(v []BenefitType)`
SetBenefits sets Benefits field to given value.
### HasBenefits
`func (o *BidRecommendationItemDTO) HasBenefits() bool`
HasBenefits returns a boolean if a field has been set.
### SetBenefitsNil
`func (o *BidRecommendationItemDTO) SetBenefitsNil(b bool)`
SetBenefitsNil sets the value for Benefits to be an explicit nil
### UnsetBenefits
`func (o *BidRecommendationItemDTO) UnsetBenefits()`
UnsetBenefits ensures that no value is present for Benefits, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,304 @@
# \BidsAPI
All URIs are relative to *https://api.partner.market.yandex.ru*
Method | HTTP request | Description
------------- | ------------- | -------------
[**GetBidsInfoForBusiness**](BidsAPI.md#GetBidsInfoForBusiness) | **Post** /businesses/{businessId}/bids/info | Информация об установленных ставках
[**GetBidsRecommendations**](BidsAPI.md#GetBidsRecommendations) | **Post** /businesses/{businessId}/bids/recommendations | Рекомендованные ставки для заданных товаров
[**PutBidsForBusiness**](BidsAPI.md#PutBidsForBusiness) | **Put** /businesses/{businessId}/bids | Включение буста продаж и установка ставок
[**PutBidsForCampaign**](BidsAPI.md#PutBidsForCampaign) | **Put** /campaigns/{campaignId}/bids | Включение буста продаж и установка ставок для магазина
## GetBidsInfoForBusiness
> GetBidsInfoResponse GetBidsInfoForBusiness(ctx, businessId).PageToken(pageToken).Limit(limit).GetBidsInfoRequest(getBidsInfoRequest).Execute()
Информация об установленных ставках
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
pageToken := "eyBuZXh0SWQ6IDIzNDIgfQ==" // string | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. (optional)
limit := int32(20) // int32 | Количество значений на одной странице. (optional)
getBidsInfoRequest := *openapiclient.NewGetBidsInfoRequest() // GetBidsInfoRequest | description (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BidsAPI.GetBidsInfoForBusiness(context.Background(), businessId).PageToken(pageToken).Limit(limit).GetBidsInfoRequest(getBidsInfoRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BidsAPI.GetBidsInfoForBusiness``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetBidsInfoForBusiness`: GetBidsInfoResponse
fmt.Fprintf(os.Stdout, "Response from `BidsAPI.GetBidsInfoForBusiness`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetBidsInfoForBusinessRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pageToken** | **string** | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. |
**limit** | **int32** | Количество значений на одной странице. |
**getBidsInfoRequest** | [**GetBidsInfoRequest**](GetBidsInfoRequest.md) | description |
### Return type
[**GetBidsInfoResponse**](GetBidsInfoResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetBidsRecommendations
> GetBidsRecommendationsResponse GetBidsRecommendations(ctx, businessId).GetBidsRecommendationsRequest(getBidsRecommendationsRequest).Execute()
Рекомендованные ставки для заданных товаров
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
getBidsRecommendationsRequest := *openapiclient.NewGetBidsRecommendationsRequest([]string{"Skus_example"}) // GetBidsRecommendationsRequest | description.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BidsAPI.GetBidsRecommendations(context.Background(), businessId).GetBidsRecommendationsRequest(getBidsRecommendationsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BidsAPI.GetBidsRecommendations``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetBidsRecommendations`: GetBidsRecommendationsResponse
fmt.Fprintf(os.Stdout, "Response from `BidsAPI.GetBidsRecommendations`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetBidsRecommendationsRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**getBidsRecommendationsRequest** | [**GetBidsRecommendationsRequest**](GetBidsRecommendationsRequest.md) | description. |
### Return type
[**GetBidsRecommendationsResponse**](GetBidsRecommendationsResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## PutBidsForBusiness
> EmptyApiResponse PutBidsForBusiness(ctx, businessId).PutSkuBidsRequest(putSkuBidsRequest).Execute()
Включение буста продаж и установка ставок
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
putSkuBidsRequest := *openapiclient.NewPutSkuBidsRequest([]openapiclient.SkuBidItemDTO{*openapiclient.NewSkuBidItemDTO("Sku_example", int32(570))}) // PutSkuBidsRequest | description
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BidsAPI.PutBidsForBusiness(context.Background(), businessId).PutSkuBidsRequest(putSkuBidsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BidsAPI.PutBidsForBusiness``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PutBidsForBusiness`: EmptyApiResponse
fmt.Fprintf(os.Stdout, "Response from `BidsAPI.PutBidsForBusiness`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiPutBidsForBusinessRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**putSkuBidsRequest** | [**PutSkuBidsRequest**](PutSkuBidsRequest.md) | description |
### Return type
[**EmptyApiResponse**](EmptyApiResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## PutBidsForCampaign
> EmptyApiResponse PutBidsForCampaign(ctx, campaignId).PutSkuBidsRequest(putSkuBidsRequest).Execute()
Включение буста продаж и установка ставок для магазина
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
campaignId := int64(789) // int64 | Идентификатор кампании. Его можно узнать с помощью запроса [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]) или найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * **Модули и :no-translate[API]** → блок **Передача данных Маркету**. * **Лог запросов** → выпадающий список в блоке **Показывать логи**. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах.
putSkuBidsRequest := *openapiclient.NewPutSkuBidsRequest([]openapiclient.SkuBidItemDTO{*openapiclient.NewSkuBidItemDTO("Sku_example", int32(570))}) // PutSkuBidsRequest | description
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BidsAPI.PutBidsForCampaign(context.Background(), campaignId).PutSkuBidsRequest(putSkuBidsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BidsAPI.PutBidsForCampaign``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PutBidsForCampaign`: EmptyApiResponse
fmt.Fprintf(os.Stdout, "Response from `BidsAPI.PutBidsForCampaign`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**campaignId** | **int64** | Идентификатор кампании. Его можно узнать с помощью запроса [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]) или найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * **Модули и :no-translate[API]** → блок **Передача данных Маркету**. * **Лог запросов** → выпадающий список в блоке **Показывать логи**. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах. |
### Other Parameters
Other parameters are passed through a pointer to a apiPutBidsForCampaignRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**putSkuBidsRequest** | [**PutSkuBidsRequest**](PutSkuBidsRequest.md) | description |
### Return type
[**EmptyApiResponse**](EmptyApiResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)

View File

@@ -0,0 +1,222 @@
# BriefOrderItemDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | Pointer to **int64** | Идентификатор товара в заказе. Позволяет идентифицировать товар в рамках данного заказа. | [optional]
**Vat** | Pointer to [**OrderVatType**](OrderVatType.md) | | [optional]
**Count** | Pointer to **int32** | Количество единиц товара. | [optional]
**Price** | Pointer to **float32** | Цена на товар. Указана в той валюте, которая была задана в каталоге. Разделитель целой и дробной части — точка. | [optional]
**OfferName** | Pointer to **string** | Название товара. | [optional]
**OfferId** | Pointer to **string** | Ваш :no-translate[SKU] — идентификатор товара в вашей системе. Правила использования :no-translate[SKU]: * У каждого товара :no-translate[SKU] должен быть свой. * Уже заданный :no-translate[SKU] нельзя освободить и использовать заново для другого товара. Каждый товар должен получать новый идентификатор, до того никогда не использовавшийся в вашем каталоге. :no-translate[SKU] товара можно изменить в кабинете продавца на Маркете. О том, как это сделать, читайте [в Справке Маркета для продавцов](https://yandex.ru/support2/marketplace/ru/assortment/operations/edit-sku). [Что такое :no-translate[SKU] и как его назначать](https://yandex.ru/support/marketplace/assortment/add/index.html#fields) | [optional]
**Instances** | Pointer to [**[]OrderItemInstanceDTO**](OrderItemInstanceDTO.md) | Переданные вами коды маркировки. | [optional]
## Methods
### NewBriefOrderItemDTO
`func NewBriefOrderItemDTO() *BriefOrderItemDTO`
NewBriefOrderItemDTO instantiates a new BriefOrderItemDTO 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
### NewBriefOrderItemDTOWithDefaults
`func NewBriefOrderItemDTOWithDefaults() *BriefOrderItemDTO`
NewBriefOrderItemDTOWithDefaults instantiates a new BriefOrderItemDTO 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
### GetId
`func (o *BriefOrderItemDTO) GetId() int64`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *BriefOrderItemDTO) GetIdOk() (*int64, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
`func (o *BriefOrderItemDTO) SetId(v int64)`
SetId sets Id field to given value.
### HasId
`func (o *BriefOrderItemDTO) HasId() bool`
HasId returns a boolean if a field has been set.
### GetVat
`func (o *BriefOrderItemDTO) GetVat() OrderVatType`
GetVat returns the Vat field if non-nil, zero value otherwise.
### GetVatOk
`func (o *BriefOrderItemDTO) GetVatOk() (*OrderVatType, bool)`
GetVatOk returns a tuple with the Vat field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetVat
`func (o *BriefOrderItemDTO) SetVat(v OrderVatType)`
SetVat sets Vat field to given value.
### HasVat
`func (o *BriefOrderItemDTO) HasVat() bool`
HasVat returns a boolean if a field has been set.
### GetCount
`func (o *BriefOrderItemDTO) GetCount() int32`
GetCount returns the Count field if non-nil, zero value otherwise.
### GetCountOk
`func (o *BriefOrderItemDTO) GetCountOk() (*int32, bool)`
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCount
`func (o *BriefOrderItemDTO) SetCount(v int32)`
SetCount sets Count field to given value.
### HasCount
`func (o *BriefOrderItemDTO) HasCount() bool`
HasCount returns a boolean if a field has been set.
### GetPrice
`func (o *BriefOrderItemDTO) GetPrice() float32`
GetPrice returns the Price field if non-nil, zero value otherwise.
### GetPriceOk
`func (o *BriefOrderItemDTO) GetPriceOk() (*float32, bool)`
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPrice
`func (o *BriefOrderItemDTO) SetPrice(v float32)`
SetPrice sets Price field to given value.
### HasPrice
`func (o *BriefOrderItemDTO) HasPrice() bool`
HasPrice returns a boolean if a field has been set.
### GetOfferName
`func (o *BriefOrderItemDTO) GetOfferName() string`
GetOfferName returns the OfferName field if non-nil, zero value otherwise.
### GetOfferNameOk
`func (o *BriefOrderItemDTO) GetOfferNameOk() (*string, bool)`
GetOfferNameOk returns a tuple with the OfferName field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOfferName
`func (o *BriefOrderItemDTO) SetOfferName(v string)`
SetOfferName sets OfferName field to given value.
### HasOfferName
`func (o *BriefOrderItemDTO) HasOfferName() bool`
HasOfferName returns a boolean if a field has been set.
### GetOfferId
`func (o *BriefOrderItemDTO) GetOfferId() string`
GetOfferId returns the OfferId field if non-nil, zero value otherwise.
### GetOfferIdOk
`func (o *BriefOrderItemDTO) GetOfferIdOk() (*string, bool)`
GetOfferIdOk returns a tuple with the OfferId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOfferId
`func (o *BriefOrderItemDTO) SetOfferId(v string)`
SetOfferId sets OfferId field to given value.
### HasOfferId
`func (o *BriefOrderItemDTO) HasOfferId() bool`
HasOfferId returns a boolean if a field has been set.
### GetInstances
`func (o *BriefOrderItemDTO) GetInstances() []OrderItemInstanceDTO`
GetInstances returns the Instances field if non-nil, zero value otherwise.
### GetInstancesOk
`func (o *BriefOrderItemDTO) GetInstancesOk() (*[]OrderItemInstanceDTO, bool)`
GetInstancesOk returns a tuple with the Instances field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetInstances
`func (o *BriefOrderItemDTO) SetInstances(v []OrderItemInstanceDTO)`
SetInstances sets Instances field to given value.
### HasInstances
`func (o *BriefOrderItemDTO) HasInstances() bool`
HasInstances returns a boolean if a field has been set.
### SetInstancesNil
`func (o *BriefOrderItemDTO) SetInstancesNil(b bool)`
SetInstancesNil sets the value for Instances to be an explicit nil
### UnsetInstances
`func (o *BriefOrderItemDTO) UnsetInstances()`
UnsetInstances ensures that no value is present for Instances, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,160 @@
# BriefOrderItemInstanceDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Cis** | Pointer to **string** | Код идентификации единицы товара в системе [«Честный ЗНАК»](https://честныйзнак.рф/) или [«ASL BELGISI»](https://aslbelgisi.uz) (для продавцов Market Yandex Go). {% note warning \"Не экранируйте косую черту в коде символа-разделителя `\\u001d`\" %} ✅ `01030410947874432155Qbag!\\u001d93Zjqw``01030410947874432155Qbag!\\\\u001d93Zjqw` Косые черты и кавычки в других местах экранируйте по правилам JSON: `\\\\` и `\\\"` {% endnote %} | [optional]
**Uin** | Pointer to **string** | Уникальный идентификационный номер ювелирного изделия. Представляет собой число из 16 цифр. | [optional]
**Rnpt** | Pointer to **string** | Регистрационный номер партии товара. Представляет собой строку из четырех чисел, разделенных косой чертой: ХХХХХХХХ/ХХХХХХ/ХХХХХХХ/ХХХ. Первая часть — код таможни, которая зарегистрировала декларацию на партию товара. Далее — дата, номер декларации и номер маркированного товара в декларации. | [optional]
**Gtd** | Pointer to **string** | Грузовая таможенная декларация. Представляет собой строку из трех чисел, разделенных косой чертой: ХХХХХХХХ/ХХХХХХ/ХХХХХХХ. Первая часть — код таможни, которая зарегистрировала декларацию на ввезенные товары. Далее — дата и номер декларации. | [optional]
**CountryCode** | Pointer to **string** | Страна производства в формате ISO 3166-1 alpha-2. [Как получить](../../reference/regions/getRegionsCodes.md) | [optional]
## Methods
### NewBriefOrderItemInstanceDTO
`func NewBriefOrderItemInstanceDTO() *BriefOrderItemInstanceDTO`
NewBriefOrderItemInstanceDTO instantiates a new BriefOrderItemInstanceDTO 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
### NewBriefOrderItemInstanceDTOWithDefaults
`func NewBriefOrderItemInstanceDTOWithDefaults() *BriefOrderItemInstanceDTO`
NewBriefOrderItemInstanceDTOWithDefaults instantiates a new BriefOrderItemInstanceDTO 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
### GetCis
`func (o *BriefOrderItemInstanceDTO) GetCis() string`
GetCis returns the Cis field if non-nil, zero value otherwise.
### GetCisOk
`func (o *BriefOrderItemInstanceDTO) GetCisOk() (*string, bool)`
GetCisOk returns a tuple with the Cis field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCis
`func (o *BriefOrderItemInstanceDTO) SetCis(v string)`
SetCis sets Cis field to given value.
### HasCis
`func (o *BriefOrderItemInstanceDTO) HasCis() bool`
HasCis returns a boolean if a field has been set.
### GetUin
`func (o *BriefOrderItemInstanceDTO) GetUin() string`
GetUin returns the Uin field if non-nil, zero value otherwise.
### GetUinOk
`func (o *BriefOrderItemInstanceDTO) GetUinOk() (*string, bool)`
GetUinOk returns a tuple with the Uin field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetUin
`func (o *BriefOrderItemInstanceDTO) SetUin(v string)`
SetUin sets Uin field to given value.
### HasUin
`func (o *BriefOrderItemInstanceDTO) HasUin() bool`
HasUin returns a boolean if a field has been set.
### GetRnpt
`func (o *BriefOrderItemInstanceDTO) GetRnpt() string`
GetRnpt returns the Rnpt field if non-nil, zero value otherwise.
### GetRnptOk
`func (o *BriefOrderItemInstanceDTO) GetRnptOk() (*string, bool)`
GetRnptOk returns a tuple with the Rnpt field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRnpt
`func (o *BriefOrderItemInstanceDTO) SetRnpt(v string)`
SetRnpt sets Rnpt field to given value.
### HasRnpt
`func (o *BriefOrderItemInstanceDTO) HasRnpt() bool`
HasRnpt returns a boolean if a field has been set.
### GetGtd
`func (o *BriefOrderItemInstanceDTO) GetGtd() string`
GetGtd returns the Gtd field if non-nil, zero value otherwise.
### GetGtdOk
`func (o *BriefOrderItemInstanceDTO) GetGtdOk() (*string, bool)`
GetGtdOk returns a tuple with the Gtd field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetGtd
`func (o *BriefOrderItemInstanceDTO) SetGtd(v string)`
SetGtd sets Gtd field to given value.
### HasGtd
`func (o *BriefOrderItemInstanceDTO) HasGtd() bool`
HasGtd returns a boolean if a field has been set.
### GetCountryCode
`func (o *BriefOrderItemInstanceDTO) GetCountryCode() string`
GetCountryCode returns the CountryCode field if non-nil, zero value otherwise.
### GetCountryCodeOk
`func (o *BriefOrderItemInstanceDTO) GetCountryCodeOk() (*string, bool)`
GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCountryCode
`func (o *BriefOrderItemInstanceDTO) SetCountryCode(v string)`
SetCountryCode sets CountryCode field to given value.
### HasCountryCode
`func (o *BriefOrderItemInstanceDTO) HasCountryCode() bool`
HasCountryCode returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# BusinessDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | Pointer to **int64** | Идентификатор кабинета. | [optional]
**Name** | Pointer to **string** | Название бизнеса. | [optional]
## Methods
### NewBusinessDTO
`func NewBusinessDTO() *BusinessDTO`
NewBusinessDTO instantiates a new BusinessDTO 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
### NewBusinessDTOWithDefaults
`func NewBusinessDTOWithDefaults() *BusinessDTO`
NewBusinessDTOWithDefaults instantiates a new BusinessDTO 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
### GetId
`func (o *BusinessDTO) GetId() int64`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *BusinessDTO) GetIdOk() (*int64, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
`func (o *BusinessDTO) SetId(v int64)`
SetId sets Id field to given value.
### HasId
`func (o *BusinessDTO) HasId() bool`
HasId returns a boolean if a field has been set.
### GetName
`func (o *BusinessDTO) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *BusinessDTO) GetNameOk() (*string, bool)`
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetName
`func (o *BusinessDTO) SetName(v string)`
SetName sets Name field to given value.
### HasName
`func (o *BusinessDTO) HasName() bool`
HasName returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,454 @@
# \BusinessOfferMappingsAPI
All URIs are relative to *https://api.partner.market.yandex.ru*
Method | HTTP request | Description
------------- | ------------- | -------------
[**AddOffersToArchive**](BusinessOfferMappingsAPI.md#AddOffersToArchive) | **Post** /businesses/{businessId}/offer-mappings/archive | Добавление товаров в архив
[**DeleteOffers**](BusinessOfferMappingsAPI.md#DeleteOffers) | **Post** /businesses/{businessId}/offer-mappings/delete | Удаление товаров из каталога
[**DeleteOffersFromArchive**](BusinessOfferMappingsAPI.md#DeleteOffersFromArchive) | **Post** /businesses/{businessId}/offer-mappings/unarchive | Удаление товаров из архива
[**GetOfferMappings**](BusinessOfferMappingsAPI.md#GetOfferMappings) | **Post** /businesses/{businessId}/offer-mappings | Информация о товарах в каталоге
[**GetSuggestedOfferMappings**](BusinessOfferMappingsAPI.md#GetSuggestedOfferMappings) | **Post** /businesses/{businessId}/offer-mappings/suggestions | Просмотр карточек на Маркете, которые подходят вашим товарам
[**UpdateOfferMappings**](BusinessOfferMappingsAPI.md#UpdateOfferMappings) | **Post** /businesses/{businessId}/offer-mappings/update | Добавление товаров в каталог и изменение информации о них
## AddOffersToArchive
> AddOffersToArchiveResponse AddOffersToArchive(ctx, businessId).AddOffersToArchiveRequest(addOffersToArchiveRequest).Execute()
Добавление товаров в архив
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
addOffersToArchiveRequest := *openapiclient.NewAddOffersToArchiveRequest([]string{"OfferIds_example"}) // AddOffersToArchiveRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BusinessOfferMappingsAPI.AddOffersToArchive(context.Background(), businessId).AddOffersToArchiveRequest(addOffersToArchiveRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BusinessOfferMappingsAPI.AddOffersToArchive``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddOffersToArchive`: AddOffersToArchiveResponse
fmt.Fprintf(os.Stdout, "Response from `BusinessOfferMappingsAPI.AddOffersToArchive`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiAddOffersToArchiveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**addOffersToArchiveRequest** | [**AddOffersToArchiveRequest**](AddOffersToArchiveRequest.md) | |
### Return type
[**AddOffersToArchiveResponse**](AddOffersToArchiveResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## DeleteOffers
> DeleteOffersResponse DeleteOffers(ctx, businessId).DeleteOffersRequest(deleteOffersRequest).Execute()
Удаление товаров из каталога
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
deleteOffersRequest := *openapiclient.NewDeleteOffersRequest([]string{"OfferIds_example"}) // DeleteOffersRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BusinessOfferMappingsAPI.DeleteOffers(context.Background(), businessId).DeleteOffersRequest(deleteOffersRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BusinessOfferMappingsAPI.DeleteOffers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteOffers`: DeleteOffersResponse
fmt.Fprintf(os.Stdout, "Response from `BusinessOfferMappingsAPI.DeleteOffers`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiDeleteOffersRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**deleteOffersRequest** | [**DeleteOffersRequest**](DeleteOffersRequest.md) | |
### Return type
[**DeleteOffersResponse**](DeleteOffersResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## DeleteOffersFromArchive
> DeleteOffersFromArchiveResponse DeleteOffersFromArchive(ctx, businessId).DeleteOffersFromArchiveRequest(deleteOffersFromArchiveRequest).Execute()
Удаление товаров из архива
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
deleteOffersFromArchiveRequest := *openapiclient.NewDeleteOffersFromArchiveRequest([]string{"OfferIds_example"}) // DeleteOffersFromArchiveRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BusinessOfferMappingsAPI.DeleteOffersFromArchive(context.Background(), businessId).DeleteOffersFromArchiveRequest(deleteOffersFromArchiveRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BusinessOfferMappingsAPI.DeleteOffersFromArchive``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteOffersFromArchive`: DeleteOffersFromArchiveResponse
fmt.Fprintf(os.Stdout, "Response from `BusinessOfferMappingsAPI.DeleteOffersFromArchive`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiDeleteOffersFromArchiveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**deleteOffersFromArchiveRequest** | [**DeleteOffersFromArchiveRequest**](DeleteOffersFromArchiveRequest.md) | |
### Return type
[**DeleteOffersFromArchiveResponse**](DeleteOffersFromArchiveResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetOfferMappings
> GetOfferMappingsResponse GetOfferMappings(ctx, businessId).PageToken(pageToken).Limit(limit).Language(language).GetOfferMappingsRequest(getOfferMappingsRequest).Execute()
Информация о товарах в каталоге
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
pageToken := "eyBuZXh0SWQ6IDIzNDIgfQ==" // string | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. (optional)
limit := int32(20) // int32 | Количество значений на одной странице. (optional)
language := openapiclient.CatalogLanguageType("RU") // CatalogLanguageType | Язык, на котором принимаются и возвращаются значения в параметрах :no-translate[`name`] и :no-translate[`description`]. Значение по умолчанию: :no-translate[`RU`]. (optional)
getOfferMappingsRequest := *openapiclient.NewGetOfferMappingsRequest() // GetOfferMappingsRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BusinessOfferMappingsAPI.GetOfferMappings(context.Background(), businessId).PageToken(pageToken).Limit(limit).Language(language).GetOfferMappingsRequest(getOfferMappingsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BusinessOfferMappingsAPI.GetOfferMappings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetOfferMappings`: GetOfferMappingsResponse
fmt.Fprintf(os.Stdout, "Response from `BusinessOfferMappingsAPI.GetOfferMappings`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetOfferMappingsRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pageToken** | **string** | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. |
**limit** | **int32** | Количество значений на одной странице. |
**language** | [**CatalogLanguageType**](CatalogLanguageType.md) | Язык, на котором принимаются и возвращаются значения в параметрах :no-translate[`name`] и :no-translate[`description`]. Значение по умолчанию: :no-translate[`RU`]. |
**getOfferMappingsRequest** | [**GetOfferMappingsRequest**](GetOfferMappingsRequest.md) | |
### Return type
[**GetOfferMappingsResponse**](GetOfferMappingsResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetSuggestedOfferMappings
> GetSuggestedOfferMappingsResponse GetSuggestedOfferMappings(ctx, businessId).GetSuggestedOfferMappingsRequest(getSuggestedOfferMappingsRequest).Execute()
Просмотр карточек на Маркете, которые подходят вашим товарам
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
getSuggestedOfferMappingsRequest := *openapiclient.NewGetSuggestedOfferMappingsRequest() // GetSuggestedOfferMappingsRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BusinessOfferMappingsAPI.GetSuggestedOfferMappings(context.Background(), businessId).GetSuggestedOfferMappingsRequest(getSuggestedOfferMappingsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BusinessOfferMappingsAPI.GetSuggestedOfferMappings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetSuggestedOfferMappings`: GetSuggestedOfferMappingsResponse
fmt.Fprintf(os.Stdout, "Response from `BusinessOfferMappingsAPI.GetSuggestedOfferMappings`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetSuggestedOfferMappingsRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**getSuggestedOfferMappingsRequest** | [**GetSuggestedOfferMappingsRequest**](GetSuggestedOfferMappingsRequest.md) | |
### Return type
[**GetSuggestedOfferMappingsResponse**](GetSuggestedOfferMappingsResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## UpdateOfferMappings
> UpdateOfferMappingsResponse UpdateOfferMappings(ctx, businessId).UpdateOfferMappingsRequest(updateOfferMappingsRequest).Language(language).Execute()
Добавление товаров в каталог и изменение информации о них
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
updateOfferMappingsRequest := *openapiclient.NewUpdateOfferMappingsRequest([]openapiclient.UpdateOfferMappingDTO{*openapiclient.NewUpdateOfferMappingDTO(*openapiclient.NewUpdateOfferDTO("OfferId_example"))}) // UpdateOfferMappingsRequest |
language := openapiclient.CatalogLanguageType("RU") // CatalogLanguageType | Язык, на котором принимаются и возвращаются значения в параметрах :no-translate[`name`] и :no-translate[`description`]. Значение по умолчанию: :no-translate[`RU`]. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BusinessOfferMappingsAPI.UpdateOfferMappings(context.Background(), businessId).UpdateOfferMappingsRequest(updateOfferMappingsRequest).Language(language).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BusinessOfferMappingsAPI.UpdateOfferMappings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateOfferMappings`: UpdateOfferMappingsResponse
fmt.Fprintf(os.Stdout, "Response from `BusinessOfferMappingsAPI.UpdateOfferMappings`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiUpdateOfferMappingsRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**updateOfferMappingsRequest** | [**UpdateOfferMappingsRequest**](UpdateOfferMappingsRequest.md) | |
**language** | [**CatalogLanguageType**](CatalogLanguageType.md) | Язык, на котором принимаются и возвращаются значения в параметрах :no-translate[`name`] и :no-translate[`description`]. Значение по умолчанию: :no-translate[`RU`]. |
### Return type
[**UpdateOfferMappingsResponse**](UpdateOfferMappingsResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# BusinessSettingsDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OnlyDefaultPrice** | Pointer to **bool** | Управление ценами на товары: * `false` — можно установить цену, которая действует: * во всех магазинах кабинета — [POST businesses/{businessId}/offer-prices/updates](../../reference/business-assortment/updateBusinessPrices.md); * в конкретном магазине — [POST campaigns/{campaignId}/offer-prices/updates](../../reference/assortment/updatePrices.md). * `true` — можно установить только цену, которая действует во всех магазинах кабинета, — [POST businesses/{businessId}/offer-prices/updates](../../reference/business-assortment/updateBusinessPrices.md). | [optional]
**Currency** | Pointer to [**CurrencyType**](CurrencyType.md) | | [optional]
## Methods
### NewBusinessSettingsDTO
`func NewBusinessSettingsDTO() *BusinessSettingsDTO`
NewBusinessSettingsDTO instantiates a new BusinessSettingsDTO 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
### NewBusinessSettingsDTOWithDefaults
`func NewBusinessSettingsDTOWithDefaults() *BusinessSettingsDTO`
NewBusinessSettingsDTOWithDefaults instantiates a new BusinessSettingsDTO 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
### GetOnlyDefaultPrice
`func (o *BusinessSettingsDTO) GetOnlyDefaultPrice() bool`
GetOnlyDefaultPrice returns the OnlyDefaultPrice field if non-nil, zero value otherwise.
### GetOnlyDefaultPriceOk
`func (o *BusinessSettingsDTO) GetOnlyDefaultPriceOk() (*bool, bool)`
GetOnlyDefaultPriceOk returns a tuple with the OnlyDefaultPrice field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOnlyDefaultPrice
`func (o *BusinessSettingsDTO) SetOnlyDefaultPrice(v bool)`
SetOnlyDefaultPrice sets OnlyDefaultPrice field to given value.
### HasOnlyDefaultPrice
`func (o *BusinessSettingsDTO) HasOnlyDefaultPrice() bool`
HasOnlyDefaultPrice returns a boolean if a field has been set.
### GetCurrency
`func (o *BusinessSettingsDTO) GetCurrency() CurrencyType`
GetCurrency returns the Currency field if non-nil, zero value otherwise.
### GetCurrencyOk
`func (o *BusinessSettingsDTO) GetCurrencyOk() (*CurrencyType, bool)`
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCurrency
`func (o *BusinessSettingsDTO) SetCurrency(v CurrencyType)`
SetCurrency sets Currency field to given value.
### HasCurrency
`func (o *BusinessSettingsDTO) HasCurrency() bool`
HasCurrency returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,79 @@
# \BusinessesAPI
All URIs are relative to *https://api.partner.market.yandex.ru*
Method | HTTP request | Description
------------- | ------------- | -------------
[**GetBusinessSettings**](BusinessesAPI.md#GetBusinessSettings) | **Post** /businesses/{businessId}/settings | Настройки кабинета
## GetBusinessSettings
> GetBusinessSettingsResponse GetBusinessSettings(ctx, businessId).Execute()
Настройки кабинета
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BusinessesAPI.GetBusinessSettings(context.Background(), businessId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BusinessesAPI.GetBusinessSettings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetBusinessSettings`: GetBusinessSettingsResponse
fmt.Fprintf(os.Stdout, "Response from `BusinessesAPI.GetBusinessSettings`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetBusinessSettingsRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
### Return type
[**GetBusinessSettingsResponse**](GetBusinessSettingsResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)

View File

@@ -0,0 +1,182 @@
# CalculateTariffsOfferDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CategoryId** | **int64** | Идентификатор категории товара на Маркете. Для расчета стоимости услуг необходимо указать идентификатор листовой категории товара — той, которая не имеет дочерних категорий. Чтобы узнать идентификатор категории, к которой относится товар, воспользуйтесь запросом [POST categories/tree](../../reference/categories/getCategoriesTree.md). |
**Price** | **float32** | Цена на товар в рублях. |
**Length** | **float32** | Длина товара в сантиметрах. |
**Width** | **float32** | Ширина товара в сантиметрах. |
**Height** | **float32** | Высота товара в сантиметрах. |
**Weight** | **float32** | Вес товара в килограммах. |
**Quantity** | Pointer to **int32** | Квант продажи — количество единиц товара в одном товарном предложении. | [optional] [default to 1]
## Methods
### NewCalculateTariffsOfferDTO
`func NewCalculateTariffsOfferDTO(categoryId int64, price float32, length float32, width float32, height float32, weight float32, ) *CalculateTariffsOfferDTO`
NewCalculateTariffsOfferDTO instantiates a new CalculateTariffsOfferDTO 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
### NewCalculateTariffsOfferDTOWithDefaults
`func NewCalculateTariffsOfferDTOWithDefaults() *CalculateTariffsOfferDTO`
NewCalculateTariffsOfferDTOWithDefaults instantiates a new CalculateTariffsOfferDTO 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
### GetCategoryId
`func (o *CalculateTariffsOfferDTO) GetCategoryId() int64`
GetCategoryId returns the CategoryId field if non-nil, zero value otherwise.
### GetCategoryIdOk
`func (o *CalculateTariffsOfferDTO) GetCategoryIdOk() (*int64, bool)`
GetCategoryIdOk returns a tuple with the CategoryId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCategoryId
`func (o *CalculateTariffsOfferDTO) SetCategoryId(v int64)`
SetCategoryId sets CategoryId field to given value.
### GetPrice
`func (o *CalculateTariffsOfferDTO) GetPrice() float32`
GetPrice returns the Price field if non-nil, zero value otherwise.
### GetPriceOk
`func (o *CalculateTariffsOfferDTO) GetPriceOk() (*float32, bool)`
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPrice
`func (o *CalculateTariffsOfferDTO) SetPrice(v float32)`
SetPrice sets Price field to given value.
### GetLength
`func (o *CalculateTariffsOfferDTO) GetLength() float32`
GetLength returns the Length field if non-nil, zero value otherwise.
### GetLengthOk
`func (o *CalculateTariffsOfferDTO) GetLengthOk() (*float32, bool)`
GetLengthOk returns a tuple with the Length field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetLength
`func (o *CalculateTariffsOfferDTO) SetLength(v float32)`
SetLength sets Length field to given value.
### GetWidth
`func (o *CalculateTariffsOfferDTO) GetWidth() float32`
GetWidth returns the Width field if non-nil, zero value otherwise.
### GetWidthOk
`func (o *CalculateTariffsOfferDTO) GetWidthOk() (*float32, bool)`
GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetWidth
`func (o *CalculateTariffsOfferDTO) SetWidth(v float32)`
SetWidth sets Width field to given value.
### GetHeight
`func (o *CalculateTariffsOfferDTO) GetHeight() float32`
GetHeight returns the Height field if non-nil, zero value otherwise.
### GetHeightOk
`func (o *CalculateTariffsOfferDTO) GetHeightOk() (*float32, bool)`
GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetHeight
`func (o *CalculateTariffsOfferDTO) SetHeight(v float32)`
SetHeight sets Height field to given value.
### GetWeight
`func (o *CalculateTariffsOfferDTO) GetWeight() float32`
GetWeight returns the Weight field if non-nil, zero value otherwise.
### GetWeightOk
`func (o *CalculateTariffsOfferDTO) GetWeightOk() (*float32, bool)`
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetWeight
`func (o *CalculateTariffsOfferDTO) SetWeight(v float32)`
SetWeight sets Weight field to given value.
### GetQuantity
`func (o *CalculateTariffsOfferDTO) GetQuantity() int32`
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
### GetQuantityOk
`func (o *CalculateTariffsOfferDTO) GetQuantityOk() (*int32, bool)`
GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetQuantity
`func (o *CalculateTariffsOfferDTO) SetQuantity(v int32)`
SetQuantity sets Quantity field to given value.
### HasQuantity
`func (o *CalculateTariffsOfferDTO) HasQuantity() bool`
HasQuantity returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# CalculateTariffsOfferInfoDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Offer** | [**CalculateTariffsOfferDTO**](CalculateTariffsOfferDTO.md) | |
**Tariffs** | [**[]CalculatedTariffDTO**](CalculatedTariffDTO.md) | Список услуг и их стоимость. По некоторым услугам могут возвращаться несколько разных стоимостей. Например, в модели :no-translate[FBS] стоимость услуги `SORTING` (обработка заказа) зависит от способа отгрузки и количества заказов в отгрузке. Подробнее о тарифах на услуги читайте [в Справке Маркета для продавцов](https://yandex.ru/support2/marketplace/ru/introduction/rates/models/). |
## Methods
### NewCalculateTariffsOfferInfoDTO
`func NewCalculateTariffsOfferInfoDTO(offer CalculateTariffsOfferDTO, tariffs []CalculatedTariffDTO, ) *CalculateTariffsOfferInfoDTO`
NewCalculateTariffsOfferInfoDTO instantiates a new CalculateTariffsOfferInfoDTO 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
### NewCalculateTariffsOfferInfoDTOWithDefaults
`func NewCalculateTariffsOfferInfoDTOWithDefaults() *CalculateTariffsOfferInfoDTO`
NewCalculateTariffsOfferInfoDTOWithDefaults instantiates a new CalculateTariffsOfferInfoDTO 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
### GetOffer
`func (o *CalculateTariffsOfferInfoDTO) GetOffer() CalculateTariffsOfferDTO`
GetOffer returns the Offer field if non-nil, zero value otherwise.
### GetOfferOk
`func (o *CalculateTariffsOfferInfoDTO) GetOfferOk() (*CalculateTariffsOfferDTO, bool)`
GetOfferOk returns a tuple with the Offer field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOffer
`func (o *CalculateTariffsOfferInfoDTO) SetOffer(v CalculateTariffsOfferDTO)`
SetOffer sets Offer field to given value.
### GetTariffs
`func (o *CalculateTariffsOfferInfoDTO) GetTariffs() []CalculatedTariffDTO`
GetTariffs returns the Tariffs field if non-nil, zero value otherwise.
### GetTariffsOk
`func (o *CalculateTariffsOfferInfoDTO) GetTariffsOk() (*[]CalculatedTariffDTO, bool)`
GetTariffsOk returns a tuple with the Tariffs field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetTariffs
`func (o *CalculateTariffsOfferInfoDTO) SetTariffs(v []CalculatedTariffDTO)`
SetTariffs sets Tariffs field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,134 @@
# CalculateTariffsParametersDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CampaignId** | Pointer to **int64** | Идентификатор кампании. Его можно узнать с помощью запроса [GET campaigns](../../reference/campaigns/getCampaigns.md) или найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * **Модули и :no-translate[API]** → блок **Передача данных Маркету**. * **Лог запросов** → выпадающий список в блоке **Показывать логи**. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах. У пользователя, который выполняет запрос, должен быть доступ к этой кампании. Используйте параметр `campaignId`, если уже завершили подключение магазина на Маркете. Иначе вернется пустой список. Обязательный параметр, если не указан параметр `sellingProgram`. Совместное использование параметров приведет к ошибке. | [optional]
**SellingProgram** | Pointer to [**SellingProgramType**](SellingProgramType.md) | | [optional]
**Frequency** | Pointer to [**PaymentFrequencyType**](PaymentFrequencyType.md) | | [optional]
**Currency** | Pointer to [**CurrencyType**](CurrencyType.md) | | [optional]
## Methods
### NewCalculateTariffsParametersDTO
`func NewCalculateTariffsParametersDTO() *CalculateTariffsParametersDTO`
NewCalculateTariffsParametersDTO instantiates a new CalculateTariffsParametersDTO 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
### NewCalculateTariffsParametersDTOWithDefaults
`func NewCalculateTariffsParametersDTOWithDefaults() *CalculateTariffsParametersDTO`
NewCalculateTariffsParametersDTOWithDefaults instantiates a new CalculateTariffsParametersDTO 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
### GetCampaignId
`func (o *CalculateTariffsParametersDTO) GetCampaignId() int64`
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
### GetCampaignIdOk
`func (o *CalculateTariffsParametersDTO) GetCampaignIdOk() (*int64, bool)`
GetCampaignIdOk returns a tuple with the CampaignId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCampaignId
`func (o *CalculateTariffsParametersDTO) SetCampaignId(v int64)`
SetCampaignId sets CampaignId field to given value.
### HasCampaignId
`func (o *CalculateTariffsParametersDTO) HasCampaignId() bool`
HasCampaignId returns a boolean if a field has been set.
### GetSellingProgram
`func (o *CalculateTariffsParametersDTO) GetSellingProgram() SellingProgramType`
GetSellingProgram returns the SellingProgram field if non-nil, zero value otherwise.
### GetSellingProgramOk
`func (o *CalculateTariffsParametersDTO) GetSellingProgramOk() (*SellingProgramType, bool)`
GetSellingProgramOk returns a tuple with the SellingProgram field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSellingProgram
`func (o *CalculateTariffsParametersDTO) SetSellingProgram(v SellingProgramType)`
SetSellingProgram sets SellingProgram field to given value.
### HasSellingProgram
`func (o *CalculateTariffsParametersDTO) HasSellingProgram() bool`
HasSellingProgram returns a boolean if a field has been set.
### GetFrequency
`func (o *CalculateTariffsParametersDTO) GetFrequency() PaymentFrequencyType`
GetFrequency returns the Frequency field if non-nil, zero value otherwise.
### GetFrequencyOk
`func (o *CalculateTariffsParametersDTO) GetFrequencyOk() (*PaymentFrequencyType, bool)`
GetFrequencyOk returns a tuple with the Frequency field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetFrequency
`func (o *CalculateTariffsParametersDTO) SetFrequency(v PaymentFrequencyType)`
SetFrequency sets Frequency field to given value.
### HasFrequency
`func (o *CalculateTariffsParametersDTO) HasFrequency() bool`
HasFrequency returns a boolean if a field has been set.
### GetCurrency
`func (o *CalculateTariffsParametersDTO) GetCurrency() CurrencyType`
GetCurrency returns the Currency field if non-nil, zero value otherwise.
### GetCurrencyOk
`func (o *CalculateTariffsParametersDTO) GetCurrencyOk() (*CurrencyType, bool)`
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCurrency
`func (o *CalculateTariffsParametersDTO) SetCurrency(v CurrencyType)`
SetCurrency sets Currency field to given value.
### HasCurrency
`func (o *CalculateTariffsParametersDTO) HasCurrency() bool`
HasCurrency returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# CalculateTariffsRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Parameters** | [**CalculateTariffsParametersDTO**](CalculateTariffsParametersDTO.md) | |
**Offers** | [**[]CalculateTariffsOfferDTO**](CalculateTariffsOfferDTO.md) | Товары, для которых нужно рассчитать стоимость услуг. |
## Methods
### NewCalculateTariffsRequest
`func NewCalculateTariffsRequest(parameters CalculateTariffsParametersDTO, offers []CalculateTariffsOfferDTO, ) *CalculateTariffsRequest`
NewCalculateTariffsRequest instantiates a new CalculateTariffsRequest 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
### NewCalculateTariffsRequestWithDefaults
`func NewCalculateTariffsRequestWithDefaults() *CalculateTariffsRequest`
NewCalculateTariffsRequestWithDefaults instantiates a new CalculateTariffsRequest 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
### GetParameters
`func (o *CalculateTariffsRequest) GetParameters() CalculateTariffsParametersDTO`
GetParameters returns the Parameters field if non-nil, zero value otherwise.
### GetParametersOk
`func (o *CalculateTariffsRequest) GetParametersOk() (*CalculateTariffsParametersDTO, bool)`
GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetParameters
`func (o *CalculateTariffsRequest) SetParameters(v CalculateTariffsParametersDTO)`
SetParameters sets Parameters field to given value.
### GetOffers
`func (o *CalculateTariffsRequest) GetOffers() []CalculateTariffsOfferDTO`
GetOffers returns the Offers field if non-nil, zero value otherwise.
### GetOffersOk
`func (o *CalculateTariffsRequest) GetOffersOk() (*[]CalculateTariffsOfferDTO, bool)`
GetOffersOk returns a tuple with the Offers field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOffers
`func (o *CalculateTariffsRequest) SetOffers(v []CalculateTariffsOfferDTO)`
SetOffers sets Offers field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# CalculateTariffsResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Result** | Pointer to [**CalculateTariffsResponseDTO**](CalculateTariffsResponseDTO.md) | | [optional]
## Methods
### NewCalculateTariffsResponse
`func NewCalculateTariffsResponse() *CalculateTariffsResponse`
NewCalculateTariffsResponse instantiates a new CalculateTariffsResponse 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
### NewCalculateTariffsResponseWithDefaults
`func NewCalculateTariffsResponseWithDefaults() *CalculateTariffsResponse`
NewCalculateTariffsResponseWithDefaults instantiates a new CalculateTariffsResponse 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
### GetStatus
`func (o *CalculateTariffsResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *CalculateTariffsResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *CalculateTariffsResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *CalculateTariffsResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetResult
`func (o *CalculateTariffsResponse) GetResult() CalculateTariffsResponseDTO`
GetResult returns the Result field if non-nil, zero value otherwise.
### GetResultOk
`func (o *CalculateTariffsResponse) GetResultOk() (*CalculateTariffsResponseDTO, bool)`
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetResult
`func (o *CalculateTariffsResponse) SetResult(v CalculateTariffsResponseDTO)`
SetResult sets Result field to given value.
### HasResult
`func (o *CalculateTariffsResponse) HasResult() bool`
HasResult returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# CalculateTariffsResponseDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Offers** | [**[]CalculateTariffsOfferInfoDTO**](CalculateTariffsOfferInfoDTO.md) | Стоимость услуг. |
## Methods
### NewCalculateTariffsResponseDTO
`func NewCalculateTariffsResponseDTO(offers []CalculateTariffsOfferInfoDTO, ) *CalculateTariffsResponseDTO`
NewCalculateTariffsResponseDTO instantiates a new CalculateTariffsResponseDTO 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
### NewCalculateTariffsResponseDTOWithDefaults
`func NewCalculateTariffsResponseDTOWithDefaults() *CalculateTariffsResponseDTO`
NewCalculateTariffsResponseDTOWithDefaults instantiates a new CalculateTariffsResponseDTO 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
### GetOffers
`func (o *CalculateTariffsResponseDTO) GetOffers() []CalculateTariffsOfferInfoDTO`
GetOffers returns the Offers field if non-nil, zero value otherwise.
### GetOffersOk
`func (o *CalculateTariffsResponseDTO) GetOffersOk() (*[]CalculateTariffsOfferInfoDTO, bool)`
GetOffersOk returns a tuple with the Offers field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOffers
`func (o *CalculateTariffsResponseDTO) SetOffers(v []CalculateTariffsOfferInfoDTO)`
SetOffers sets Offers field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,124 @@
# CalculatedTariffDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Type** | [**CalculatedTariffType**](CalculatedTariffType.md) | |
**Amount** | Pointer to **float32** | Стоимость услуги в рублях. | [optional]
**Currency** | Pointer to [**CurrencyType**](CurrencyType.md) | | [optional]
**Parameters** | [**[]TariffParameterDTO**](TariffParameterDTO.md) | Параметры расчета тарифа. |
## Methods
### NewCalculatedTariffDTO
`func NewCalculatedTariffDTO(type_ CalculatedTariffType, parameters []TariffParameterDTO, ) *CalculatedTariffDTO`
NewCalculatedTariffDTO instantiates a new CalculatedTariffDTO 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
### NewCalculatedTariffDTOWithDefaults
`func NewCalculatedTariffDTOWithDefaults() *CalculatedTariffDTO`
NewCalculatedTariffDTOWithDefaults instantiates a new CalculatedTariffDTO 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
### GetType
`func (o *CalculatedTariffDTO) GetType() CalculatedTariffType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *CalculatedTariffDTO) GetTypeOk() (*CalculatedTariffType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *CalculatedTariffDTO) SetType(v CalculatedTariffType)`
SetType sets Type field to given value.
### GetAmount
`func (o *CalculatedTariffDTO) GetAmount() float32`
GetAmount returns the Amount field if non-nil, zero value otherwise.
### GetAmountOk
`func (o *CalculatedTariffDTO) GetAmountOk() (*float32, bool)`
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAmount
`func (o *CalculatedTariffDTO) SetAmount(v float32)`
SetAmount sets Amount field to given value.
### HasAmount
`func (o *CalculatedTariffDTO) HasAmount() bool`
HasAmount returns a boolean if a field has been set.
### GetCurrency
`func (o *CalculatedTariffDTO) GetCurrency() CurrencyType`
GetCurrency returns the Currency field if non-nil, zero value otherwise.
### GetCurrencyOk
`func (o *CalculatedTariffDTO) GetCurrencyOk() (*CurrencyType, bool)`
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCurrency
`func (o *CalculatedTariffDTO) SetCurrency(v CurrencyType)`
SetCurrency sets Currency field to given value.
### HasCurrency
`func (o *CalculatedTariffDTO) HasCurrency() bool`
HasCurrency returns a boolean if a field has been set.
### GetParameters
`func (o *CalculatedTariffDTO) GetParameters() []TariffParameterDTO`
GetParameters returns the Parameters field if non-nil, zero value otherwise.
### GetParametersOk
`func (o *CalculatedTariffDTO) GetParametersOk() (*[]TariffParameterDTO, bool)`
GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetParameters
`func (o *CalculatedTariffDTO) SetParameters(v []TariffParameterDTO)`
SetParameters sets Parameters field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,25 @@
# CalculatedTariffType
## Enum
* `AGENCY_COMMISSION` (value: `"AGENCY_COMMISSION"`)
* `PAYMENT_TRANSFER` (value: `"PAYMENT_TRANSFER"`)
* `FEE` (value: `"FEE"`)
* `DELIVERY_TO_CUSTOMER` (value: `"DELIVERY_TO_CUSTOMER"`)
* `CROSSREGIONAL_DELIVERY` (value: `"CROSSREGIONAL_DELIVERY"`)
* `EXPRESS_DELIVERY` (value: `"EXPRESS_DELIVERY"`)
* `SORTING` (value: `"SORTING"`)
* `MIDDLE_MILE` (value: `"MIDDLE_MILE"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,160 @@
# CampaignDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Domain** | Pointer to **string** | Название магазина. | [optional]
**Id** | Pointer to **int64** | Идентификатор кампании. Его также можно найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * **Модули и :no-translate[API]** → блок **Передача данных Маркету**. * **Лог запросов** → выпадающий список в блоке **Показывать логи**. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах. | [optional]
**ClientId** | Pointer to **int64** | Идентификатор плательщика в Яндекс Балансе. | [optional]
**Business** | Pointer to [**BusinessDTO**](BusinessDTO.md) | | [optional]
**PlacementType** | Pointer to [**PlacementType**](PlacementType.md) | | [optional]
## Methods
### NewCampaignDTO
`func NewCampaignDTO() *CampaignDTO`
NewCampaignDTO instantiates a new CampaignDTO 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
### NewCampaignDTOWithDefaults
`func NewCampaignDTOWithDefaults() *CampaignDTO`
NewCampaignDTOWithDefaults instantiates a new CampaignDTO 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
### GetDomain
`func (o *CampaignDTO) GetDomain() string`
GetDomain returns the Domain field if non-nil, zero value otherwise.
### GetDomainOk
`func (o *CampaignDTO) GetDomainOk() (*string, bool)`
GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDomain
`func (o *CampaignDTO) SetDomain(v string)`
SetDomain sets Domain field to given value.
### HasDomain
`func (o *CampaignDTO) HasDomain() bool`
HasDomain returns a boolean if a field has been set.
### GetId
`func (o *CampaignDTO) GetId() int64`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *CampaignDTO) GetIdOk() (*int64, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
`func (o *CampaignDTO) SetId(v int64)`
SetId sets Id field to given value.
### HasId
`func (o *CampaignDTO) HasId() bool`
HasId returns a boolean if a field has been set.
### GetClientId
`func (o *CampaignDTO) GetClientId() int64`
GetClientId returns the ClientId field if non-nil, zero value otherwise.
### GetClientIdOk
`func (o *CampaignDTO) GetClientIdOk() (*int64, bool)`
GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetClientId
`func (o *CampaignDTO) SetClientId(v int64)`
SetClientId sets ClientId field to given value.
### HasClientId
`func (o *CampaignDTO) HasClientId() bool`
HasClientId returns a boolean if a field has been set.
### GetBusiness
`func (o *CampaignDTO) GetBusiness() BusinessDTO`
GetBusiness returns the Business field if non-nil, zero value otherwise.
### GetBusinessOk
`func (o *CampaignDTO) GetBusinessOk() (*BusinessDTO, bool)`
GetBusinessOk returns a tuple with the Business field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetBusiness
`func (o *CampaignDTO) SetBusiness(v BusinessDTO)`
SetBusiness sets Business field to given value.
### HasBusiness
`func (o *CampaignDTO) HasBusiness() bool`
HasBusiness returns a boolean if a field has been set.
### GetPlacementType
`func (o *CampaignDTO) GetPlacementType() PlacementType`
GetPlacementType returns the PlacementType field if non-nil, zero value otherwise.
### GetPlacementTypeOk
`func (o *CampaignDTO) GetPlacementTypeOk() (*PlacementType, bool)`
GetPlacementTypeOk returns a tuple with the PlacementType field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPlacementType
`func (o *CampaignDTO) SetPlacementType(v PlacementType)`
SetPlacementType sets PlacementType field to given value.
### HasPlacementType
`func (o *CampaignDTO) HasPlacementType() bool`
HasPlacementType returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# CampaignQualityRatingDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CampaignId** | **int64** | Идентификатор кампании. Его можно узнать с помощью запроса [GET campaigns](../../reference/campaigns/getCampaigns.md) или найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * **Модули и :no-translate[API]** → блок **Передача данных Маркету**. * **Лог запросов** → выпадающий список в блоке **Показывать логи**. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах. |
**Ratings** | [**[]QualityRatingDTO**](QualityRatingDTO.md) | Список значений индекса качества. |
## Methods
### NewCampaignQualityRatingDTO
`func NewCampaignQualityRatingDTO(campaignId int64, ratings []QualityRatingDTO, ) *CampaignQualityRatingDTO`
NewCampaignQualityRatingDTO instantiates a new CampaignQualityRatingDTO 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
### NewCampaignQualityRatingDTOWithDefaults
`func NewCampaignQualityRatingDTOWithDefaults() *CampaignQualityRatingDTO`
NewCampaignQualityRatingDTOWithDefaults instantiates a new CampaignQualityRatingDTO 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
### GetCampaignId
`func (o *CampaignQualityRatingDTO) GetCampaignId() int64`
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
### GetCampaignIdOk
`func (o *CampaignQualityRatingDTO) GetCampaignIdOk() (*int64, bool)`
GetCampaignIdOk returns a tuple with the CampaignId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCampaignId
`func (o *CampaignQualityRatingDTO) SetCampaignId(v int64)`
SetCampaignId sets CampaignId field to given value.
### GetRatings
`func (o *CampaignQualityRatingDTO) GetRatings() []QualityRatingDTO`
GetRatings returns the Ratings field if non-nil, zero value otherwise.
### GetRatingsOk
`func (o *CampaignQualityRatingDTO) GetRatingsOk() (*[]QualityRatingDTO, bool)`
GetRatingsOk returns a tuple with the Ratings field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRatings
`func (o *CampaignQualityRatingDTO) SetRatings(v []QualityRatingDTO)`
SetRatings sets Ratings field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,186 @@
# CampaignSettingsDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CountryRegion** | Pointer to **int64** | Идентификатор региона, в котором находится магазин. | [optional]
**ShopName** | Pointer to **string** | Наименование магазина на Яндекс Маркете. Если наименование отсутствует, значение параметра выводится — `null`. | [optional]
**ShowInContext** | Pointer to **bool** | Признак размещения магазина на сайтах партнеров Яндекс Дистрибуции. Возможные значения: * `false` — магазин не размещен на сайтах партнеров Яндекс Дистрибуции. * `true` — магазин размещен на сайтах партнеров Яндекс Дистрибуции. | [optional]
**ShowInPremium** | Pointer to **bool** | Признак показа предложений магазина в блоке над результатами поиска (cпецразмещение). Возможные значения: * `false` — предложения не показываются в блоке cпецразмещения. * `true` — предложения показываются в блоке cпецразмещения. | [optional]
**UseOpenStat** | Pointer to **bool** | Признак использования внешней интернет-статистики. Возможные значения: * `false` — внешняя интернет-статистика не используется. * `true` — внешняя интернет-статистика используется. | [optional]
**LocalRegion** | Pointer to [**CampaignSettingsLocalRegionDTO**](CampaignSettingsLocalRegionDTO.md) | | [optional]
## Methods
### NewCampaignSettingsDTO
`func NewCampaignSettingsDTO() *CampaignSettingsDTO`
NewCampaignSettingsDTO instantiates a new CampaignSettingsDTO 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
### NewCampaignSettingsDTOWithDefaults
`func NewCampaignSettingsDTOWithDefaults() *CampaignSettingsDTO`
NewCampaignSettingsDTOWithDefaults instantiates a new CampaignSettingsDTO 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
### GetCountryRegion
`func (o *CampaignSettingsDTO) GetCountryRegion() int64`
GetCountryRegion returns the CountryRegion field if non-nil, zero value otherwise.
### GetCountryRegionOk
`func (o *CampaignSettingsDTO) GetCountryRegionOk() (*int64, bool)`
GetCountryRegionOk returns a tuple with the CountryRegion field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCountryRegion
`func (o *CampaignSettingsDTO) SetCountryRegion(v int64)`
SetCountryRegion sets CountryRegion field to given value.
### HasCountryRegion
`func (o *CampaignSettingsDTO) HasCountryRegion() bool`
HasCountryRegion returns a boolean if a field has been set.
### GetShopName
`func (o *CampaignSettingsDTO) GetShopName() string`
GetShopName returns the ShopName field if non-nil, zero value otherwise.
### GetShopNameOk
`func (o *CampaignSettingsDTO) GetShopNameOk() (*string, bool)`
GetShopNameOk returns a tuple with the ShopName field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetShopName
`func (o *CampaignSettingsDTO) SetShopName(v string)`
SetShopName sets ShopName field to given value.
### HasShopName
`func (o *CampaignSettingsDTO) HasShopName() bool`
HasShopName returns a boolean if a field has been set.
### GetShowInContext
`func (o *CampaignSettingsDTO) GetShowInContext() bool`
GetShowInContext returns the ShowInContext field if non-nil, zero value otherwise.
### GetShowInContextOk
`func (o *CampaignSettingsDTO) GetShowInContextOk() (*bool, bool)`
GetShowInContextOk returns a tuple with the ShowInContext field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetShowInContext
`func (o *CampaignSettingsDTO) SetShowInContext(v bool)`
SetShowInContext sets ShowInContext field to given value.
### HasShowInContext
`func (o *CampaignSettingsDTO) HasShowInContext() bool`
HasShowInContext returns a boolean if a field has been set.
### GetShowInPremium
`func (o *CampaignSettingsDTO) GetShowInPremium() bool`
GetShowInPremium returns the ShowInPremium field if non-nil, zero value otherwise.
### GetShowInPremiumOk
`func (o *CampaignSettingsDTO) GetShowInPremiumOk() (*bool, bool)`
GetShowInPremiumOk returns a tuple with the ShowInPremium field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetShowInPremium
`func (o *CampaignSettingsDTO) SetShowInPremium(v bool)`
SetShowInPremium sets ShowInPremium field to given value.
### HasShowInPremium
`func (o *CampaignSettingsDTO) HasShowInPremium() bool`
HasShowInPremium returns a boolean if a field has been set.
### GetUseOpenStat
`func (o *CampaignSettingsDTO) GetUseOpenStat() bool`
GetUseOpenStat returns the UseOpenStat field if non-nil, zero value otherwise.
### GetUseOpenStatOk
`func (o *CampaignSettingsDTO) GetUseOpenStatOk() (*bool, bool)`
GetUseOpenStatOk returns a tuple with the UseOpenStat field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetUseOpenStat
`func (o *CampaignSettingsDTO) SetUseOpenStat(v bool)`
SetUseOpenStat sets UseOpenStat field to given value.
### HasUseOpenStat
`func (o *CampaignSettingsDTO) HasUseOpenStat() bool`
HasUseOpenStat returns a boolean if a field has been set.
### GetLocalRegion
`func (o *CampaignSettingsDTO) GetLocalRegion() CampaignSettingsLocalRegionDTO`
GetLocalRegion returns the LocalRegion field if non-nil, zero value otherwise.
### GetLocalRegionOk
`func (o *CampaignSettingsDTO) GetLocalRegionOk() (*CampaignSettingsLocalRegionDTO, bool)`
GetLocalRegionOk returns a tuple with the LocalRegion field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetLocalRegion
`func (o *CampaignSettingsDTO) SetLocalRegion(v CampaignSettingsLocalRegionDTO)`
SetLocalRegion sets LocalRegion field to given value.
### HasLocalRegion
`func (o *CampaignSettingsDTO) HasLocalRegion() bool`
HasLocalRegion returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,56 @@
# CampaignSettingsDeliveryDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Schedule** | Pointer to [**CampaignSettingsScheduleDTO**](CampaignSettingsScheduleDTO.md) | | [optional]
## Methods
### NewCampaignSettingsDeliveryDTO
`func NewCampaignSettingsDeliveryDTO() *CampaignSettingsDeliveryDTO`
NewCampaignSettingsDeliveryDTO instantiates a new CampaignSettingsDeliveryDTO 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
### NewCampaignSettingsDeliveryDTOWithDefaults
`func NewCampaignSettingsDeliveryDTOWithDefaults() *CampaignSettingsDeliveryDTO`
NewCampaignSettingsDeliveryDTOWithDefaults instantiates a new CampaignSettingsDeliveryDTO 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
### GetSchedule
`func (o *CampaignSettingsDeliveryDTO) GetSchedule() CampaignSettingsScheduleDTO`
GetSchedule returns the Schedule field if non-nil, zero value otherwise.
### GetScheduleOk
`func (o *CampaignSettingsDeliveryDTO) GetScheduleOk() (*CampaignSettingsScheduleDTO, bool)`
GetScheduleOk returns a tuple with the Schedule field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSchedule
`func (o *CampaignSettingsDeliveryDTO) SetSchedule(v CampaignSettingsScheduleDTO)`
SetSchedule sets Schedule field to given value.
### HasSchedule
`func (o *CampaignSettingsDeliveryDTO) HasSchedule() bool`
HasSchedule returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,160 @@
# CampaignSettingsLocalRegionDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | Pointer to **int64** | Идентификатор региона. | [optional]
**Name** | Pointer to **string** | Название региона. | [optional]
**Type** | Pointer to [**RegionType**](RegionType.md) | | [optional]
**DeliveryOptionsSource** | Pointer to [**CampaignSettingsScheduleSourceType**](CampaignSettingsScheduleSourceType.md) | | [optional]
**Delivery** | Pointer to [**CampaignSettingsDeliveryDTO**](CampaignSettingsDeliveryDTO.md) | | [optional]
## Methods
### NewCampaignSettingsLocalRegionDTO
`func NewCampaignSettingsLocalRegionDTO() *CampaignSettingsLocalRegionDTO`
NewCampaignSettingsLocalRegionDTO instantiates a new CampaignSettingsLocalRegionDTO 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
### NewCampaignSettingsLocalRegionDTOWithDefaults
`func NewCampaignSettingsLocalRegionDTOWithDefaults() *CampaignSettingsLocalRegionDTO`
NewCampaignSettingsLocalRegionDTOWithDefaults instantiates a new CampaignSettingsLocalRegionDTO 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
### GetId
`func (o *CampaignSettingsLocalRegionDTO) GetId() int64`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *CampaignSettingsLocalRegionDTO) GetIdOk() (*int64, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
`func (o *CampaignSettingsLocalRegionDTO) SetId(v int64)`
SetId sets Id field to given value.
### HasId
`func (o *CampaignSettingsLocalRegionDTO) HasId() bool`
HasId returns a boolean if a field has been set.
### GetName
`func (o *CampaignSettingsLocalRegionDTO) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *CampaignSettingsLocalRegionDTO) GetNameOk() (*string, bool)`
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetName
`func (o *CampaignSettingsLocalRegionDTO) SetName(v string)`
SetName sets Name field to given value.
### HasName
`func (o *CampaignSettingsLocalRegionDTO) HasName() bool`
HasName returns a boolean if a field has been set.
### GetType
`func (o *CampaignSettingsLocalRegionDTO) GetType() RegionType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *CampaignSettingsLocalRegionDTO) GetTypeOk() (*RegionType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *CampaignSettingsLocalRegionDTO) SetType(v RegionType)`
SetType sets Type field to given value.
### HasType
`func (o *CampaignSettingsLocalRegionDTO) HasType() bool`
HasType returns a boolean if a field has been set.
### GetDeliveryOptionsSource
`func (o *CampaignSettingsLocalRegionDTO) GetDeliveryOptionsSource() CampaignSettingsScheduleSourceType`
GetDeliveryOptionsSource returns the DeliveryOptionsSource field if non-nil, zero value otherwise.
### GetDeliveryOptionsSourceOk
`func (o *CampaignSettingsLocalRegionDTO) GetDeliveryOptionsSourceOk() (*CampaignSettingsScheduleSourceType, bool)`
GetDeliveryOptionsSourceOk returns a tuple with the DeliveryOptionsSource field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDeliveryOptionsSource
`func (o *CampaignSettingsLocalRegionDTO) SetDeliveryOptionsSource(v CampaignSettingsScheduleSourceType)`
SetDeliveryOptionsSource sets DeliveryOptionsSource field to given value.
### HasDeliveryOptionsSource
`func (o *CampaignSettingsLocalRegionDTO) HasDeliveryOptionsSource() bool`
HasDeliveryOptionsSource returns a boolean if a field has been set.
### GetDelivery
`func (o *CampaignSettingsLocalRegionDTO) GetDelivery() CampaignSettingsDeliveryDTO`
GetDelivery returns the Delivery field if non-nil, zero value otherwise.
### GetDeliveryOk
`func (o *CampaignSettingsLocalRegionDTO) GetDeliveryOk() (*CampaignSettingsDeliveryDTO, bool)`
GetDeliveryOk returns a tuple with the Delivery field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDelivery
`func (o *CampaignSettingsLocalRegionDTO) SetDelivery(v CampaignSettingsDeliveryDTO)`
SetDelivery sets Delivery field to given value.
### HasDelivery
`func (o *CampaignSettingsLocalRegionDTO) HasDelivery() bool`
HasDelivery returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,166 @@
# CampaignSettingsScheduleDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AvailableOnHolidays** | Pointer to **bool** | Признак работы службы доставки в государственные праздники. Возможные значения. * `false` — служба доставки не работает в праздничные дни. * `true` — служба доставки работает в праздничные дни. | [optional]
**CustomHolidays** | **[]string** | Список дней, в которые служба доставки не работает. Дни магазин указал в кабинете продавца на Маркете. |
**CustomWorkingDays** | **[]string** | Список выходных и праздничных дней, в которые служба доставки работает. Дни магазин указал в кабинете продавца на Маркете. |
**Period** | Pointer to [**CampaignSettingsTimePeriodDTO**](CampaignSettingsTimePeriodDTO.md) | | [optional]
**TotalHolidays** | **[]string** | Итоговый список нерабочих дней службы доставки. Список рассчитывается с учетом выходных, нерабочих дней и государственных праздников. Информацию по ним магазин указывает в кабинете продавца на Маркете. |
**WeeklyHolidays** | **[]int32** | Список выходных дней недели и государственных праздников. |
## Methods
### NewCampaignSettingsScheduleDTO
`func NewCampaignSettingsScheduleDTO(customHolidays []string, customWorkingDays []string, totalHolidays []string, weeklyHolidays []int32, ) *CampaignSettingsScheduleDTO`
NewCampaignSettingsScheduleDTO instantiates a new CampaignSettingsScheduleDTO 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
### NewCampaignSettingsScheduleDTOWithDefaults
`func NewCampaignSettingsScheduleDTOWithDefaults() *CampaignSettingsScheduleDTO`
NewCampaignSettingsScheduleDTOWithDefaults instantiates a new CampaignSettingsScheduleDTO 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
### GetAvailableOnHolidays
`func (o *CampaignSettingsScheduleDTO) GetAvailableOnHolidays() bool`
GetAvailableOnHolidays returns the AvailableOnHolidays field if non-nil, zero value otherwise.
### GetAvailableOnHolidaysOk
`func (o *CampaignSettingsScheduleDTO) GetAvailableOnHolidaysOk() (*bool, bool)`
GetAvailableOnHolidaysOk returns a tuple with the AvailableOnHolidays field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAvailableOnHolidays
`func (o *CampaignSettingsScheduleDTO) SetAvailableOnHolidays(v bool)`
SetAvailableOnHolidays sets AvailableOnHolidays field to given value.
### HasAvailableOnHolidays
`func (o *CampaignSettingsScheduleDTO) HasAvailableOnHolidays() bool`
HasAvailableOnHolidays returns a boolean if a field has been set.
### GetCustomHolidays
`func (o *CampaignSettingsScheduleDTO) GetCustomHolidays() []string`
GetCustomHolidays returns the CustomHolidays field if non-nil, zero value otherwise.
### GetCustomHolidaysOk
`func (o *CampaignSettingsScheduleDTO) GetCustomHolidaysOk() (*[]string, bool)`
GetCustomHolidaysOk returns a tuple with the CustomHolidays field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCustomHolidays
`func (o *CampaignSettingsScheduleDTO) SetCustomHolidays(v []string)`
SetCustomHolidays sets CustomHolidays field to given value.
### GetCustomWorkingDays
`func (o *CampaignSettingsScheduleDTO) GetCustomWorkingDays() []string`
GetCustomWorkingDays returns the CustomWorkingDays field if non-nil, zero value otherwise.
### GetCustomWorkingDaysOk
`func (o *CampaignSettingsScheduleDTO) GetCustomWorkingDaysOk() (*[]string, bool)`
GetCustomWorkingDaysOk returns a tuple with the CustomWorkingDays field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCustomWorkingDays
`func (o *CampaignSettingsScheduleDTO) SetCustomWorkingDays(v []string)`
SetCustomWorkingDays sets CustomWorkingDays field to given value.
### GetPeriod
`func (o *CampaignSettingsScheduleDTO) GetPeriod() CampaignSettingsTimePeriodDTO`
GetPeriod returns the Period field if non-nil, zero value otherwise.
### GetPeriodOk
`func (o *CampaignSettingsScheduleDTO) GetPeriodOk() (*CampaignSettingsTimePeriodDTO, bool)`
GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPeriod
`func (o *CampaignSettingsScheduleDTO) SetPeriod(v CampaignSettingsTimePeriodDTO)`
SetPeriod sets Period field to given value.
### HasPeriod
`func (o *CampaignSettingsScheduleDTO) HasPeriod() bool`
HasPeriod returns a boolean if a field has been set.
### GetTotalHolidays
`func (o *CampaignSettingsScheduleDTO) GetTotalHolidays() []string`
GetTotalHolidays returns the TotalHolidays field if non-nil, zero value otherwise.
### GetTotalHolidaysOk
`func (o *CampaignSettingsScheduleDTO) GetTotalHolidaysOk() (*[]string, bool)`
GetTotalHolidaysOk returns a tuple with the TotalHolidays field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetTotalHolidays
`func (o *CampaignSettingsScheduleDTO) SetTotalHolidays(v []string)`
SetTotalHolidays sets TotalHolidays field to given value.
### GetWeeklyHolidays
`func (o *CampaignSettingsScheduleDTO) GetWeeklyHolidays() []int32`
GetWeeklyHolidays returns the WeeklyHolidays field if non-nil, zero value otherwise.
### GetWeeklyHolidaysOk
`func (o *CampaignSettingsScheduleDTO) GetWeeklyHolidaysOk() (*[]int32, bool)`
GetWeeklyHolidaysOk returns a tuple with the WeeklyHolidays field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetWeeklyHolidays
`func (o *CampaignSettingsScheduleDTO) SetWeeklyHolidays(v []int32)`
SetWeeklyHolidays sets WeeklyHolidays field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,13 @@
# CampaignSettingsScheduleSourceType
## Enum
* `WEB` (value: `"WEB"`)
* `YML` (value: `"YML"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# CampaignSettingsTimePeriodDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**FromDate** | Pointer to **string** | Формат даты: `ДД-ММ-ГГГГ`. | [optional]
**ToDate** | Pointer to **string** | Формат даты: `ДД-ММ-ГГГГ`. | [optional]
## Methods
### NewCampaignSettingsTimePeriodDTO
`func NewCampaignSettingsTimePeriodDTO() *CampaignSettingsTimePeriodDTO`
NewCampaignSettingsTimePeriodDTO instantiates a new CampaignSettingsTimePeriodDTO 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
### NewCampaignSettingsTimePeriodDTOWithDefaults
`func NewCampaignSettingsTimePeriodDTOWithDefaults() *CampaignSettingsTimePeriodDTO`
NewCampaignSettingsTimePeriodDTOWithDefaults instantiates a new CampaignSettingsTimePeriodDTO 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
### GetFromDate
`func (o *CampaignSettingsTimePeriodDTO) GetFromDate() string`
GetFromDate returns the FromDate field if non-nil, zero value otherwise.
### GetFromDateOk
`func (o *CampaignSettingsTimePeriodDTO) GetFromDateOk() (*string, bool)`
GetFromDateOk returns a tuple with the FromDate field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetFromDate
`func (o *CampaignSettingsTimePeriodDTO) SetFromDate(v string)`
SetFromDate sets FromDate field to given value.
### HasFromDate
`func (o *CampaignSettingsTimePeriodDTO) HasFromDate() bool`
HasFromDate returns a boolean if a field has been set.
### GetToDate
`func (o *CampaignSettingsTimePeriodDTO) GetToDate() string`
GetToDate returns the ToDate field if non-nil, zero value otherwise.
### GetToDateOk
`func (o *CampaignSettingsTimePeriodDTO) GetToDateOk() (*string, bool)`
GetToDateOk returns a tuple with the ToDate field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetToDate
`func (o *CampaignSettingsTimePeriodDTO) SetToDate(v string)`
SetToDate sets ToDate field to given value.
### HasToDate
`func (o *CampaignSettingsTimePeriodDTO) HasToDate() bool`
HasToDate returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,219 @@
# \CampaignsAPI
All URIs are relative to *https://api.partner.market.yandex.ru*
Method | HTTP request | Description
------------- | ------------- | -------------
[**GetCampaign**](CampaignsAPI.md#GetCampaign) | **Get** /campaigns/{campaignId} | Информация о магазине
[**GetCampaignSettings**](CampaignsAPI.md#GetCampaignSettings) | **Get** /campaigns/{campaignId}/settings | Настройки магазина
[**GetCampaigns**](CampaignsAPI.md#GetCampaigns) | **Get** /campaigns | Список магазинов пользователя
## GetCampaign
> GetCampaignResponse GetCampaign(ctx, campaignId).Execute()
Информация о магазине
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
campaignId := int64(789) // int64 | Идентификатор кампании. Его можно узнать с помощью запроса [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]) или найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * **Модули и :no-translate[API]** → блок **Передача данных Маркету**. * **Лог запросов** → выпадающий список в блоке **Показывать логи**. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CampaignsAPI.GetCampaign(context.Background(), campaignId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CampaignsAPI.GetCampaign``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCampaign`: GetCampaignResponse
fmt.Fprintf(os.Stdout, "Response from `CampaignsAPI.GetCampaign`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**campaignId** | **int64** | Идентификатор кампании. Его можно узнать с помощью запроса [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]) или найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * **Модули и :no-translate[API]** → блок **Передача данных Маркету**. * **Лог запросов** → выпадающий список в блоке **Показывать логи**. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах. |
### Other Parameters
Other parameters are passed through a pointer to a apiGetCampaignRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
### Return type
[**GetCampaignResponse**](GetCampaignResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetCampaignSettings
> GetCampaignSettingsResponse GetCampaignSettings(ctx, campaignId).Execute()
Настройки магазина
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
campaignId := int64(789) // int64 | Идентификатор кампании. Его можно узнать с помощью запроса [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]) или найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * **Модули и :no-translate[API]** → блок **Передача данных Маркету**. * **Лог запросов** → выпадающий список в блоке **Показывать логи**. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CampaignsAPI.GetCampaignSettings(context.Background(), campaignId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CampaignsAPI.GetCampaignSettings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCampaignSettings`: GetCampaignSettingsResponse
fmt.Fprintf(os.Stdout, "Response from `CampaignsAPI.GetCampaignSettings`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**campaignId** | **int64** | Идентификатор кампании. Его можно узнать с помощью запроса [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]) или найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * **Модули и :no-translate[API]** → блок **Передача данных Маркету**. * **Лог запросов** → выпадающий список в блоке **Показывать логи**. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах. |
### Other Parameters
Other parameters are passed through a pointer to a apiGetCampaignSettingsRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
### Return type
[**GetCampaignSettingsResponse**](GetCampaignSettingsResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetCampaigns
> GetCampaignsResponse GetCampaigns(ctx).Page(page).PageSize(pageSize).Execute()
Список магазинов пользователя
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
page := int32(56) // int32 | {% note warning \"Если в методе есть :no-translate[`page_token`]\" %} Используйте его вместо параметра :no-translate[`page`]. [Подробнее о типах пагинации и их использовании](:no-translate[../../concepts/pagination.md]) {% endnote %} Номер страницы результатов. Используется вместе с параметром :no-translate[`pageSize`]. :no-translate[`page`] игнорируется, если задан :no-translate[`page_token`] или :no-translate[`limit`]. (optional) (default to 1)
pageSize := int32(56) // int32 | Размер страницы. Используется вместе с параметром :no-translate[`page`]. :no-translate[`pageSize`] игнорируется, если задан :no-translate[`page_token`] или :no-translate[`limit`]. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CampaignsAPI.GetCampaigns(context.Background()).Page(page).PageSize(pageSize).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CampaignsAPI.GetCampaigns``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCampaigns`: GetCampaignsResponse
fmt.Fprintf(os.Stdout, "Response from `CampaignsAPI.GetCampaigns`: %v\n", resp)
}
```
### Path Parameters
### Other Parameters
Other parameters are passed through a pointer to a apiGetCampaignsRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**page** | **int32** | {% note warning \"Если в методе есть :no-translate[`page_token`]\" %} Используйте его вместо параметра :no-translate[`page`]. [Подробнее о типах пагинации и их использовании](:no-translate[../../concepts/pagination.md]) {% endnote %} Номер страницы результатов. Используется вместе с параметром :no-translate[`pageSize`]. :no-translate[`page`] игнорируется, если задан :no-translate[`page_token`] или :no-translate[`limit`]. | [default to 1]
**pageSize** | **int32** | Размер страницы. Используется вместе с параметром :no-translate[`page`]. :no-translate[`pageSize`] игнорируется, если задан :no-translate[`page_token`] или :no-translate[`limit`]. |
### Return type
[**GetCampaignsResponse**](GetCampaignsResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# CampaignsQualityRatingDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CampaignRatings** | [**[]CampaignQualityRatingDTO**](CampaignQualityRatingDTO.md) | Список магазинов c информацией об их индексе качества. |
## Methods
### NewCampaignsQualityRatingDTO
`func NewCampaignsQualityRatingDTO(campaignRatings []CampaignQualityRatingDTO, ) *CampaignsQualityRatingDTO`
NewCampaignsQualityRatingDTO instantiates a new CampaignsQualityRatingDTO 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
### NewCampaignsQualityRatingDTOWithDefaults
`func NewCampaignsQualityRatingDTOWithDefaults() *CampaignsQualityRatingDTO`
NewCampaignsQualityRatingDTOWithDefaults instantiates a new CampaignsQualityRatingDTO 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
### GetCampaignRatings
`func (o *CampaignsQualityRatingDTO) GetCampaignRatings() []CampaignQualityRatingDTO`
GetCampaignRatings returns the CampaignRatings field if non-nil, zero value otherwise.
### GetCampaignRatingsOk
`func (o *CampaignsQualityRatingDTO) GetCampaignRatingsOk() (*[]CampaignQualityRatingDTO, bool)`
GetCampaignRatingsOk returns a tuple with the CampaignRatings field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCampaignRatings
`func (o *CampaignsQualityRatingDTO) SetCampaignRatings(v []CampaignQualityRatingDTO)`
SetCampaignRatings sets CampaignRatings field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,13 @@
# CatalogLanguageType
## Enum
* `RU` (value: `"RU"`)
* `UZ` (value: `"UZ"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,142 @@
# \CategoriesAPI
All URIs are relative to *https://api.partner.market.yandex.ru*
Method | HTTP request | Description
------------- | ------------- | -------------
[**GetCategoriesMaxSaleQuantum**](CategoriesAPI.md#GetCategoriesMaxSaleQuantum) | **Post** /categories/max-sale-quantum | Лимит на установку кванта продажи и минимального количества товаров в заказе
[**GetCategoriesTree**](CategoriesAPI.md#GetCategoriesTree) | **Post** /categories/tree | Дерево категорий
## GetCategoriesMaxSaleQuantum
> GetCategoriesMaxSaleQuantumResponse GetCategoriesMaxSaleQuantum(ctx).GetCategoriesMaxSaleQuantumRequest(getCategoriesMaxSaleQuantumRequest).Execute()
Лимит на установку кванта продажи и минимального количества товаров в заказе
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
getCategoriesMaxSaleQuantumRequest := *openapiclient.NewGetCategoriesMaxSaleQuantumRequest([]int64{int64(123)}) // GetCategoriesMaxSaleQuantumRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CategoriesAPI.GetCategoriesMaxSaleQuantum(context.Background()).GetCategoriesMaxSaleQuantumRequest(getCategoriesMaxSaleQuantumRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CategoriesAPI.GetCategoriesMaxSaleQuantum``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCategoriesMaxSaleQuantum`: GetCategoriesMaxSaleQuantumResponse
fmt.Fprintf(os.Stdout, "Response from `CategoriesAPI.GetCategoriesMaxSaleQuantum`: %v\n", resp)
}
```
### Path Parameters
### Other Parameters
Other parameters are passed through a pointer to a apiGetCategoriesMaxSaleQuantumRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**getCategoriesMaxSaleQuantumRequest** | [**GetCategoriesMaxSaleQuantumRequest**](GetCategoriesMaxSaleQuantumRequest.md) | |
### Return type
[**GetCategoriesMaxSaleQuantumResponse**](GetCategoriesMaxSaleQuantumResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetCategoriesTree
> GetCategoriesResponse GetCategoriesTree(ctx).GetCategoriesRequest(getCategoriesRequest).Execute()
Дерево категорий
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
getCategoriesRequest := *openapiclient.NewGetCategoriesRequest() // GetCategoriesRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CategoriesAPI.GetCategoriesTree(context.Background()).GetCategoriesRequest(getCategoriesRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CategoriesAPI.GetCategoriesTree``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCategoriesTree`: GetCategoriesResponse
fmt.Fprintf(os.Stdout, "Response from `CategoriesAPI.GetCategoriesTree`: %v\n", resp)
}
```
### Path Parameters
### Other Parameters
Other parameters are passed through a pointer to a apiGetCategoriesTreeRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**getCategoriesRequest** | [**GetCategoriesRequest**](GetCategoriesRequest.md) | |
### Return type
[**GetCategoriesResponse**](GetCategoriesResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)

View File

@@ -0,0 +1,87 @@
# CategoryContentParametersDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CategoryId** | **int32** | Идентификатор категории на Маркете. При изменении категории убедитесь, что характеристики товара и их значения в параметре `parameterValues` вы передаете для новой категории. Список категорий Маркета можно получить с помощью запроса [POST categories/tree](../../reference/categories/getCategoriesTree.md). |
**Parameters** | Pointer to [**[]CategoryParameterDTO**](CategoryParameterDTO.md) | Список характеристик. | [optional]
## Methods
### NewCategoryContentParametersDTO
`func NewCategoryContentParametersDTO(categoryId int32, ) *CategoryContentParametersDTO`
NewCategoryContentParametersDTO instantiates a new CategoryContentParametersDTO 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
### NewCategoryContentParametersDTOWithDefaults
`func NewCategoryContentParametersDTOWithDefaults() *CategoryContentParametersDTO`
NewCategoryContentParametersDTOWithDefaults instantiates a new CategoryContentParametersDTO 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
### GetCategoryId
`func (o *CategoryContentParametersDTO) GetCategoryId() int32`
GetCategoryId returns the CategoryId field if non-nil, zero value otherwise.
### GetCategoryIdOk
`func (o *CategoryContentParametersDTO) GetCategoryIdOk() (*int32, bool)`
GetCategoryIdOk returns a tuple with the CategoryId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCategoryId
`func (o *CategoryContentParametersDTO) SetCategoryId(v int32)`
SetCategoryId sets CategoryId field to given value.
### GetParameters
`func (o *CategoryContentParametersDTO) GetParameters() []CategoryParameterDTO`
GetParameters returns the Parameters field if non-nil, zero value otherwise.
### GetParametersOk
`func (o *CategoryContentParametersDTO) GetParametersOk() (*[]CategoryParameterDTO, bool)`
GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetParameters
`func (o *CategoryContentParametersDTO) SetParameters(v []CategoryParameterDTO)`
SetParameters sets Parameters field to given value.
### HasParameters
`func (o *CategoryContentParametersDTO) HasParameters() bool`
HasParameters returns a boolean if a field has been set.
### SetParametersNil
`func (o *CategoryContentParametersDTO) SetParametersNil(b bool)`
SetParametersNil sets the value for Parameters to be an explicit nil
### UnsetParameters
`func (o *CategoryContentParametersDTO) UnsetParameters()`
UnsetParameters ensures that no value is present for Parameters, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,108 @@
# CategoryDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int64** | Идентификатор категории. |
**Name** | **string** | Название категории. |
**Children** | Pointer to [**[]CategoryDTO**](CategoryDTO.md) | Дочерние категории. | [optional]
## Methods
### NewCategoryDTO
`func NewCategoryDTO(id int64, name string, ) *CategoryDTO`
NewCategoryDTO instantiates a new CategoryDTO 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
### NewCategoryDTOWithDefaults
`func NewCategoryDTOWithDefaults() *CategoryDTO`
NewCategoryDTOWithDefaults instantiates a new CategoryDTO 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
### GetId
`func (o *CategoryDTO) GetId() int64`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *CategoryDTO) GetIdOk() (*int64, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
`func (o *CategoryDTO) SetId(v int64)`
SetId sets Id field to given value.
### GetName
`func (o *CategoryDTO) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *CategoryDTO) GetNameOk() (*string, bool)`
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetName
`func (o *CategoryDTO) SetName(v string)`
SetName sets Name field to given value.
### GetChildren
`func (o *CategoryDTO) GetChildren() []CategoryDTO`
GetChildren returns the Children field if non-nil, zero value otherwise.
### GetChildrenOk
`func (o *CategoryDTO) GetChildrenOk() (*[]CategoryDTO, bool)`
GetChildrenOk returns a tuple with the Children field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetChildren
`func (o *CategoryDTO) SetChildren(v []CategoryDTO)`
SetChildren sets Children field to given value.
### HasChildren
`func (o *CategoryDTO) HasChildren() bool`
HasChildren returns a boolean if a field has been set.
### SetChildrenNil
`func (o *CategoryDTO) SetChildrenNil(b bool)`
SetChildrenNil sets the value for Children to be an explicit nil
### UnsetChildren
`func (o *CategoryDTO) UnsetChildren()`
UnsetChildren ensures that no value is present for Children, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# CategoryErrorDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CategoryId** | Pointer to **int64** | Идентификатор категории. | [optional]
**Type** | Pointer to [**CategoryErrorType**](CategoryErrorType.md) | | [optional]
## Methods
### NewCategoryErrorDTO
`func NewCategoryErrorDTO() *CategoryErrorDTO`
NewCategoryErrorDTO instantiates a new CategoryErrorDTO 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
### NewCategoryErrorDTOWithDefaults
`func NewCategoryErrorDTOWithDefaults() *CategoryErrorDTO`
NewCategoryErrorDTOWithDefaults instantiates a new CategoryErrorDTO 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
### GetCategoryId
`func (o *CategoryErrorDTO) GetCategoryId() int64`
GetCategoryId returns the CategoryId field if non-nil, zero value otherwise.
### GetCategoryIdOk
`func (o *CategoryErrorDTO) GetCategoryIdOk() (*int64, bool)`
GetCategoryIdOk returns a tuple with the CategoryId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCategoryId
`func (o *CategoryErrorDTO) SetCategoryId(v int64)`
SetCategoryId sets CategoryId field to given value.
### HasCategoryId
`func (o *CategoryErrorDTO) HasCategoryId() bool`
HasCategoryId returns a boolean if a field has been set.
### GetType
`func (o *CategoryErrorDTO) GetType() CategoryErrorType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *CategoryErrorDTO) GetTypeOk() (*CategoryErrorType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *CategoryErrorDTO) SetType(v CategoryErrorType)`
SetType sets Type field to given value.
### HasType
`func (o *CategoryErrorDTO) HasType() bool`
HasType returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,13 @@
# CategoryErrorType
## Enum
* `UNKNOWN_CATEGORY` (value: `"UNKNOWN_CATEGORY"`)
* `CATEGORY_IS_NOT_LEAF` (value: `"CATEGORY_IS_NOT_LEAF"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,389 @@
# CategoryParameterDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int64** | Идентификатор характеристики. |
**Name** | Pointer to **string** | Название характеристики. | [optional]
**Type** | [**ParameterType**](ParameterType.md) | |
**Unit** | Pointer to [**CategoryParameterUnitDTO**](CategoryParameterUnitDTO.md) | | [optional]
**Description** | Pointer to **string** | Описание характеристики. | [optional]
**RecommendationTypes** | Pointer to [**[]OfferCardRecommendationType**](OfferCardRecommendationType.md) | Перечень возможных рекомендаций по заполнению карточки, к которым относится данная характеристика. | [optional]
**Required** | **bool** | Обязательность характеристики. |
**Filtering** | **bool** | Используется ли характеристика в фильтре. |
**Distinctive** | **bool** | Является ли характеристика особенностью варианта. |
**Multivalue** | **bool** | Можно ли передать сразу несколько значений. |
**AllowCustomValues** | **bool** | Можно ли передавать собственное значение, которого нет в списке вариантов Маркета. Только для характеристик типа `ENUM`. |
**Values** | Pointer to [**[]ParameterValueOptionDTO**](ParameterValueOptionDTO.md) | Список допустимых значений параметра. Только для характеристик типа `ENUM`. | [optional]
**Constraints** | Pointer to [**ParameterValueConstraintsDTO**](ParameterValueConstraintsDTO.md) | | [optional]
**ValueRestrictions** | Pointer to [**[]ValueRestrictionDTO**](ValueRestrictionDTO.md) | Ограничения на значения, накладываемые другими характеристиками. Только для характеристик типа `ENUM`. | [optional]
## Methods
### NewCategoryParameterDTO
`func NewCategoryParameterDTO(id int64, type_ ParameterType, required bool, filtering bool, distinctive bool, multivalue bool, allowCustomValues bool, ) *CategoryParameterDTO`
NewCategoryParameterDTO instantiates a new CategoryParameterDTO 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
### NewCategoryParameterDTOWithDefaults
`func NewCategoryParameterDTOWithDefaults() *CategoryParameterDTO`
NewCategoryParameterDTOWithDefaults instantiates a new CategoryParameterDTO 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
### GetId
`func (o *CategoryParameterDTO) GetId() int64`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *CategoryParameterDTO) GetIdOk() (*int64, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
`func (o *CategoryParameterDTO) SetId(v int64)`
SetId sets Id field to given value.
### GetName
`func (o *CategoryParameterDTO) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *CategoryParameterDTO) GetNameOk() (*string, bool)`
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetName
`func (o *CategoryParameterDTO) SetName(v string)`
SetName sets Name field to given value.
### HasName
`func (o *CategoryParameterDTO) HasName() bool`
HasName returns a boolean if a field has been set.
### GetType
`func (o *CategoryParameterDTO) GetType() ParameterType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *CategoryParameterDTO) GetTypeOk() (*ParameterType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *CategoryParameterDTO) SetType(v ParameterType)`
SetType sets Type field to given value.
### GetUnit
`func (o *CategoryParameterDTO) GetUnit() CategoryParameterUnitDTO`
GetUnit returns the Unit field if non-nil, zero value otherwise.
### GetUnitOk
`func (o *CategoryParameterDTO) GetUnitOk() (*CategoryParameterUnitDTO, bool)`
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetUnit
`func (o *CategoryParameterDTO) SetUnit(v CategoryParameterUnitDTO)`
SetUnit sets Unit field to given value.
### HasUnit
`func (o *CategoryParameterDTO) HasUnit() bool`
HasUnit returns a boolean if a field has been set.
### GetDescription
`func (o *CategoryParameterDTO) GetDescription() string`
GetDescription returns the Description field if non-nil, zero value otherwise.
### GetDescriptionOk
`func (o *CategoryParameterDTO) GetDescriptionOk() (*string, bool)`
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDescription
`func (o *CategoryParameterDTO) SetDescription(v string)`
SetDescription sets Description field to given value.
### HasDescription
`func (o *CategoryParameterDTO) HasDescription() bool`
HasDescription returns a boolean if a field has been set.
### GetRecommendationTypes
`func (o *CategoryParameterDTO) GetRecommendationTypes() []OfferCardRecommendationType`
GetRecommendationTypes returns the RecommendationTypes field if non-nil, zero value otherwise.
### GetRecommendationTypesOk
`func (o *CategoryParameterDTO) GetRecommendationTypesOk() (*[]OfferCardRecommendationType, bool)`
GetRecommendationTypesOk returns a tuple with the RecommendationTypes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRecommendationTypes
`func (o *CategoryParameterDTO) SetRecommendationTypes(v []OfferCardRecommendationType)`
SetRecommendationTypes sets RecommendationTypes field to given value.
### HasRecommendationTypes
`func (o *CategoryParameterDTO) HasRecommendationTypes() bool`
HasRecommendationTypes returns a boolean if a field has been set.
### SetRecommendationTypesNil
`func (o *CategoryParameterDTO) SetRecommendationTypesNil(b bool)`
SetRecommendationTypesNil sets the value for RecommendationTypes to be an explicit nil
### UnsetRecommendationTypes
`func (o *CategoryParameterDTO) UnsetRecommendationTypes()`
UnsetRecommendationTypes ensures that no value is present for RecommendationTypes, not even an explicit nil
### GetRequired
`func (o *CategoryParameterDTO) GetRequired() bool`
GetRequired returns the Required field if non-nil, zero value otherwise.
### GetRequiredOk
`func (o *CategoryParameterDTO) GetRequiredOk() (*bool, bool)`
GetRequiredOk returns a tuple with the Required field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRequired
`func (o *CategoryParameterDTO) SetRequired(v bool)`
SetRequired sets Required field to given value.
### GetFiltering
`func (o *CategoryParameterDTO) GetFiltering() bool`
GetFiltering returns the Filtering field if non-nil, zero value otherwise.
### GetFilteringOk
`func (o *CategoryParameterDTO) GetFilteringOk() (*bool, bool)`
GetFilteringOk returns a tuple with the Filtering field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetFiltering
`func (o *CategoryParameterDTO) SetFiltering(v bool)`
SetFiltering sets Filtering field to given value.
### GetDistinctive
`func (o *CategoryParameterDTO) GetDistinctive() bool`
GetDistinctive returns the Distinctive field if non-nil, zero value otherwise.
### GetDistinctiveOk
`func (o *CategoryParameterDTO) GetDistinctiveOk() (*bool, bool)`
GetDistinctiveOk returns a tuple with the Distinctive field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDistinctive
`func (o *CategoryParameterDTO) SetDistinctive(v bool)`
SetDistinctive sets Distinctive field to given value.
### GetMultivalue
`func (o *CategoryParameterDTO) GetMultivalue() bool`
GetMultivalue returns the Multivalue field if non-nil, zero value otherwise.
### GetMultivalueOk
`func (o *CategoryParameterDTO) GetMultivalueOk() (*bool, bool)`
GetMultivalueOk returns a tuple with the Multivalue field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMultivalue
`func (o *CategoryParameterDTO) SetMultivalue(v bool)`
SetMultivalue sets Multivalue field to given value.
### GetAllowCustomValues
`func (o *CategoryParameterDTO) GetAllowCustomValues() bool`
GetAllowCustomValues returns the AllowCustomValues field if non-nil, zero value otherwise.
### GetAllowCustomValuesOk
`func (o *CategoryParameterDTO) GetAllowCustomValuesOk() (*bool, bool)`
GetAllowCustomValuesOk returns a tuple with the AllowCustomValues field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAllowCustomValues
`func (o *CategoryParameterDTO) SetAllowCustomValues(v bool)`
SetAllowCustomValues sets AllowCustomValues field to given value.
### GetValues
`func (o *CategoryParameterDTO) GetValues() []ParameterValueOptionDTO`
GetValues returns the Values field if non-nil, zero value otherwise.
### GetValuesOk
`func (o *CategoryParameterDTO) GetValuesOk() (*[]ParameterValueOptionDTO, bool)`
GetValuesOk returns a tuple with the Values field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetValues
`func (o *CategoryParameterDTO) SetValues(v []ParameterValueOptionDTO)`
SetValues sets Values field to given value.
### HasValues
`func (o *CategoryParameterDTO) HasValues() bool`
HasValues returns a boolean if a field has been set.
### SetValuesNil
`func (o *CategoryParameterDTO) SetValuesNil(b bool)`
SetValuesNil sets the value for Values to be an explicit nil
### UnsetValues
`func (o *CategoryParameterDTO) UnsetValues()`
UnsetValues ensures that no value is present for Values, not even an explicit nil
### GetConstraints
`func (o *CategoryParameterDTO) GetConstraints() ParameterValueConstraintsDTO`
GetConstraints returns the Constraints field if non-nil, zero value otherwise.
### GetConstraintsOk
`func (o *CategoryParameterDTO) GetConstraintsOk() (*ParameterValueConstraintsDTO, bool)`
GetConstraintsOk returns a tuple with the Constraints field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetConstraints
`func (o *CategoryParameterDTO) SetConstraints(v ParameterValueConstraintsDTO)`
SetConstraints sets Constraints field to given value.
### HasConstraints
`func (o *CategoryParameterDTO) HasConstraints() bool`
HasConstraints returns a boolean if a field has been set.
### GetValueRestrictions
`func (o *CategoryParameterDTO) GetValueRestrictions() []ValueRestrictionDTO`
GetValueRestrictions returns the ValueRestrictions field if non-nil, zero value otherwise.
### GetValueRestrictionsOk
`func (o *CategoryParameterDTO) GetValueRestrictionsOk() (*[]ValueRestrictionDTO, bool)`
GetValueRestrictionsOk returns a tuple with the ValueRestrictions field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetValueRestrictions
`func (o *CategoryParameterDTO) SetValueRestrictions(v []ValueRestrictionDTO)`
SetValueRestrictions sets ValueRestrictions field to given value.
### HasValueRestrictions
`func (o *CategoryParameterDTO) HasValueRestrictions() bool`
HasValueRestrictions returns a boolean if a field has been set.
### SetValueRestrictionsNil
`func (o *CategoryParameterDTO) SetValueRestrictionsNil(b bool)`
SetValueRestrictionsNil sets the value for ValueRestrictions to be an explicit nil
### UnsetValueRestrictions
`func (o *CategoryParameterDTO) UnsetValueRestrictions()`
UnsetValueRestrictions ensures that no value is present for ValueRestrictions, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# CategoryParameterUnitDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**DefaultUnitId** | **int64** | Единица измерения по умолчанию. |
**Units** | [**[]UnitDTO**](UnitDTO.md) | Допустимые единицы измерения. |
## Methods
### NewCategoryParameterUnitDTO
`func NewCategoryParameterUnitDTO(defaultUnitId int64, units []UnitDTO, ) *CategoryParameterUnitDTO`
NewCategoryParameterUnitDTO instantiates a new CategoryParameterUnitDTO 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
### NewCategoryParameterUnitDTOWithDefaults
`func NewCategoryParameterUnitDTOWithDefaults() *CategoryParameterUnitDTO`
NewCategoryParameterUnitDTOWithDefaults instantiates a new CategoryParameterUnitDTO 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
### GetDefaultUnitId
`func (o *CategoryParameterUnitDTO) GetDefaultUnitId() int64`
GetDefaultUnitId returns the DefaultUnitId field if non-nil, zero value otherwise.
### GetDefaultUnitIdOk
`func (o *CategoryParameterUnitDTO) GetDefaultUnitIdOk() (*int64, bool)`
GetDefaultUnitIdOk returns a tuple with the DefaultUnitId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDefaultUnitId
`func (o *CategoryParameterUnitDTO) SetDefaultUnitId(v int64)`
SetDefaultUnitId sets DefaultUnitId field to given value.
### GetUnits
`func (o *CategoryParameterUnitDTO) GetUnits() []UnitDTO`
GetUnits returns the Units field if non-nil, zero value otherwise.
### GetUnitsOk
`func (o *CategoryParameterUnitDTO) GetUnitsOk() (*[]UnitDTO, bool)`
GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetUnits
`func (o *CategoryParameterUnitDTO) SetUnits(v []UnitDTO)`
SetUnits sets Units field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,301 @@
# ChangeOutletRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Название точки продаж. |
**Type** | [**OutletType**](OutletType.md) | |
**Coords** | Pointer to **string** | Координаты точки продаж. Формат: долгота, широта. Разделители: запятая и / или пробел. Например, `20.4522144, 54.7104264`. Если параметр не передан, координаты будут определены по значениям параметров, вложенных в `address`. | [optional]
**IsMain** | Pointer to **bool** | Признак основной точки продаж. Возможные значения: * `false` — неосновная точка продаж. * `true` — основная точка продаж. | [optional]
**ShopOutletCode** | Pointer to **string** | Идентификатор точки продаж, присвоенный магазином. | [optional]
**Visibility** | Pointer to [**OutletVisibilityType**](OutletVisibilityType.md) | | [optional]
**Address** | [**OutletAddressDTO**](OutletAddressDTO.md) | |
**Phones** | **[]string** | Номера телефонов точки продаж. Передавайте в формате: `+7 (999) 999-99-99`. |
**WorkingSchedule** | [**OutletWorkingScheduleDTO**](OutletWorkingScheduleDTO.md) | |
**DeliveryRules** | Pointer to [**[]OutletDeliveryRuleDTO**](OutletDeliveryRuleDTO.md) | Информация об условиях доставки для данной точки продаж. Обязательный параметр, если параметр `type=DEPOT` или `type=MIXED`. | [optional]
**StoragePeriod** | Pointer to **int64** | Срок хранения заказа в собственном пункте выдачи заказов. Считается в днях. | [optional]
## Methods
### NewChangeOutletRequest
`func NewChangeOutletRequest(name string, type_ OutletType, address OutletAddressDTO, phones []string, workingSchedule OutletWorkingScheduleDTO, ) *ChangeOutletRequest`
NewChangeOutletRequest instantiates a new ChangeOutletRequest 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
### NewChangeOutletRequestWithDefaults
`func NewChangeOutletRequestWithDefaults() *ChangeOutletRequest`
NewChangeOutletRequestWithDefaults instantiates a new ChangeOutletRequest 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
### GetName
`func (o *ChangeOutletRequest) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *ChangeOutletRequest) GetNameOk() (*string, bool)`
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetName
`func (o *ChangeOutletRequest) SetName(v string)`
SetName sets Name field to given value.
### GetType
`func (o *ChangeOutletRequest) GetType() OutletType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *ChangeOutletRequest) GetTypeOk() (*OutletType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *ChangeOutletRequest) SetType(v OutletType)`
SetType sets Type field to given value.
### GetCoords
`func (o *ChangeOutletRequest) GetCoords() string`
GetCoords returns the Coords field if non-nil, zero value otherwise.
### GetCoordsOk
`func (o *ChangeOutletRequest) GetCoordsOk() (*string, bool)`
GetCoordsOk returns a tuple with the Coords field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCoords
`func (o *ChangeOutletRequest) SetCoords(v string)`
SetCoords sets Coords field to given value.
### HasCoords
`func (o *ChangeOutletRequest) HasCoords() bool`
HasCoords returns a boolean if a field has been set.
### GetIsMain
`func (o *ChangeOutletRequest) GetIsMain() bool`
GetIsMain returns the IsMain field if non-nil, zero value otherwise.
### GetIsMainOk
`func (o *ChangeOutletRequest) GetIsMainOk() (*bool, bool)`
GetIsMainOk returns a tuple with the IsMain field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetIsMain
`func (o *ChangeOutletRequest) SetIsMain(v bool)`
SetIsMain sets IsMain field to given value.
### HasIsMain
`func (o *ChangeOutletRequest) HasIsMain() bool`
HasIsMain returns a boolean if a field has been set.
### GetShopOutletCode
`func (o *ChangeOutletRequest) GetShopOutletCode() string`
GetShopOutletCode returns the ShopOutletCode field if non-nil, zero value otherwise.
### GetShopOutletCodeOk
`func (o *ChangeOutletRequest) GetShopOutletCodeOk() (*string, bool)`
GetShopOutletCodeOk returns a tuple with the ShopOutletCode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetShopOutletCode
`func (o *ChangeOutletRequest) SetShopOutletCode(v string)`
SetShopOutletCode sets ShopOutletCode field to given value.
### HasShopOutletCode
`func (o *ChangeOutletRequest) HasShopOutletCode() bool`
HasShopOutletCode returns a boolean if a field has been set.
### GetVisibility
`func (o *ChangeOutletRequest) GetVisibility() OutletVisibilityType`
GetVisibility returns the Visibility field if non-nil, zero value otherwise.
### GetVisibilityOk
`func (o *ChangeOutletRequest) GetVisibilityOk() (*OutletVisibilityType, bool)`
GetVisibilityOk returns a tuple with the Visibility field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetVisibility
`func (o *ChangeOutletRequest) SetVisibility(v OutletVisibilityType)`
SetVisibility sets Visibility field to given value.
### HasVisibility
`func (o *ChangeOutletRequest) HasVisibility() bool`
HasVisibility returns a boolean if a field has been set.
### GetAddress
`func (o *ChangeOutletRequest) GetAddress() OutletAddressDTO`
GetAddress returns the Address field if non-nil, zero value otherwise.
### GetAddressOk
`func (o *ChangeOutletRequest) GetAddressOk() (*OutletAddressDTO, bool)`
GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAddress
`func (o *ChangeOutletRequest) SetAddress(v OutletAddressDTO)`
SetAddress sets Address field to given value.
### GetPhones
`func (o *ChangeOutletRequest) GetPhones() []string`
GetPhones returns the Phones field if non-nil, zero value otherwise.
### GetPhonesOk
`func (o *ChangeOutletRequest) GetPhonesOk() (*[]string, bool)`
GetPhonesOk returns a tuple with the Phones field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPhones
`func (o *ChangeOutletRequest) SetPhones(v []string)`
SetPhones sets Phones field to given value.
### GetWorkingSchedule
`func (o *ChangeOutletRequest) GetWorkingSchedule() OutletWorkingScheduleDTO`
GetWorkingSchedule returns the WorkingSchedule field if non-nil, zero value otherwise.
### GetWorkingScheduleOk
`func (o *ChangeOutletRequest) GetWorkingScheduleOk() (*OutletWorkingScheduleDTO, bool)`
GetWorkingScheduleOk returns a tuple with the WorkingSchedule field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetWorkingSchedule
`func (o *ChangeOutletRequest) SetWorkingSchedule(v OutletWorkingScheduleDTO)`
SetWorkingSchedule sets WorkingSchedule field to given value.
### GetDeliveryRules
`func (o *ChangeOutletRequest) GetDeliveryRules() []OutletDeliveryRuleDTO`
GetDeliveryRules returns the DeliveryRules field if non-nil, zero value otherwise.
### GetDeliveryRulesOk
`func (o *ChangeOutletRequest) GetDeliveryRulesOk() (*[]OutletDeliveryRuleDTO, bool)`
GetDeliveryRulesOk returns a tuple with the DeliveryRules field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDeliveryRules
`func (o *ChangeOutletRequest) SetDeliveryRules(v []OutletDeliveryRuleDTO)`
SetDeliveryRules sets DeliveryRules field to given value.
### HasDeliveryRules
`func (o *ChangeOutletRequest) HasDeliveryRules() bool`
HasDeliveryRules returns a boolean if a field has been set.
### SetDeliveryRulesNil
`func (o *ChangeOutletRequest) SetDeliveryRulesNil(b bool)`
SetDeliveryRulesNil sets the value for DeliveryRules to be an explicit nil
### UnsetDeliveryRules
`func (o *ChangeOutletRequest) UnsetDeliveryRules()`
UnsetDeliveryRules ensures that no value is present for DeliveryRules, not even an explicit nil
### GetStoragePeriod
`func (o *ChangeOutletRequest) GetStoragePeriod() int64`
GetStoragePeriod returns the StoragePeriod field if non-nil, zero value otherwise.
### GetStoragePeriodOk
`func (o *ChangeOutletRequest) GetStoragePeriodOk() (*int64, bool)`
GetStoragePeriodOk returns a tuple with the StoragePeriod field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStoragePeriod
`func (o *ChangeOutletRequest) SetStoragePeriod(v int64)`
SetStoragePeriod sets StoragePeriod field to given value.
### HasStoragePeriod
`func (o *ChangeOutletRequest) HasStoragePeriod() bool`
HasStoragePeriod returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,47 @@
# ChannelType
## Enum
* `PUSH` (value: `"PUSH"`)
* `STRETCH_MAIN` (value: `"STRETCH_MAIN"`)
* `MAIN_PAGE_CAROUSEL` (value: `"MAIN_PAGE_CAROUSEL"`)
* `PRODUCT_RETAIL_PAGE` (value: `"PRODUCT_RETAIL_PAGE"`)
* `MAIN_PAGE_CAROUSEL_WEB` (value: `"MAIN_PAGE_CAROUSEL_WEB"`)
* `PRODUCT_SEPARATE_LANDING` (value: `"PRODUCT_SEPARATE_LANDING"`)
* `SUPER_SHELF_CATEGORY` (value: `"SUPER_SHELF_CATEGORY"`)
* `CAROUSEL_RETAIL_PAGE` (value: `"CAROUSEL_RETAIL_PAGE"`)
* `POPUP_APPLICATION` (value: `"POPUP_APPLICATION"`)
* `POST_TELEGRAM` (value: `"POST_TELEGRAM"`)
* `CPA` (value: `"CPA"`)
* `WEB_PERFORMANCE_DIRECT` (value: `"WEB_PERFORMANCE_DIRECT"`)
* `APP_PERFORMANCE` (value: `"APP_PERFORMANCE"`)
* `BANNER_PICKUP_POINT` (value: `"BANNER_PICKUP_POINT"`)
* `BLOGGER_PERFORMANCE` (value: `"BLOGGER_PERFORMANCE"`)
* `DIGITAL_CHANNEL_BANNER` (value: `"DIGITAL_CHANNEL_BANNER"`)
* `YANDEX_ECOSYSTEM_CHANNELS` (value: `"YANDEX_ECOSYSTEM_CHANNELS"`)
* `PARTNERS_MAIN_BANNER` (value: `"PARTNERS_MAIN_BANNER"`)
* `OTHER` (value: `"OTHER"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# ChatContextDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Type** | [**ChatContextType**](ChatContextType.md) | |
**Id** | **int64** | Идентификатор заказа или возврата. |
## Methods
### NewChatContextDTO
`func NewChatContextDTO(type_ ChatContextType, id int64, ) *ChatContextDTO`
NewChatContextDTO instantiates a new ChatContextDTO 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
### NewChatContextDTOWithDefaults
`func NewChatContextDTOWithDefaults() *ChatContextDTO`
NewChatContextDTOWithDefaults instantiates a new ChatContextDTO 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
### GetType
`func (o *ChatContextDTO) GetType() ChatContextType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *ChatContextDTO) GetTypeOk() (*ChatContextType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *ChatContextDTO) SetType(v ChatContextType)`
SetType sets Type field to given value.
### GetId
`func (o *ChatContextDTO) GetId() int64`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *ChatContextDTO) GetIdOk() (*int64, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
`func (o *ChatContextDTO) SetId(v int64)`
SetId sets Id field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,15 @@
# ChatContextType
## Enum
* `ORDER` (value: `"ORDER"`)
* `RETURN` (value: `"RETURN"`)
* `DIRECT` (value: `"DIRECT"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,103 @@
# ChatFullContextDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Type** | [**ChatContextType**](ChatContextType.md) | |
**OrderId** | Pointer to **int64** | Идентификатор заказа. Возвращается для заказов и возвратов. | [optional]
**ReturnId** | Pointer to **int64** | Идентификатор возврата. Возвращается только для возвратов. | [optional]
## Methods
### NewChatFullContextDTO
`func NewChatFullContextDTO(type_ ChatContextType, ) *ChatFullContextDTO`
NewChatFullContextDTO instantiates a new ChatFullContextDTO 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
### NewChatFullContextDTOWithDefaults
`func NewChatFullContextDTOWithDefaults() *ChatFullContextDTO`
NewChatFullContextDTOWithDefaults instantiates a new ChatFullContextDTO 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
### GetType
`func (o *ChatFullContextDTO) GetType() ChatContextType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *ChatFullContextDTO) GetTypeOk() (*ChatContextType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *ChatFullContextDTO) SetType(v ChatContextType)`
SetType sets Type field to given value.
### GetOrderId
`func (o *ChatFullContextDTO) GetOrderId() int64`
GetOrderId returns the OrderId field if non-nil, zero value otherwise.
### GetOrderIdOk
`func (o *ChatFullContextDTO) GetOrderIdOk() (*int64, bool)`
GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOrderId
`func (o *ChatFullContextDTO) SetOrderId(v int64)`
SetOrderId sets OrderId field to given value.
### HasOrderId
`func (o *ChatFullContextDTO) HasOrderId() bool`
HasOrderId returns a boolean if a field has been set.
### GetReturnId
`func (o *ChatFullContextDTO) GetReturnId() int64`
GetReturnId returns the ReturnId field if non-nil, zero value otherwise.
### GetReturnIdOk
`func (o *ChatFullContextDTO) GetReturnIdOk() (*int64, bool)`
GetReturnIdOk returns a tuple with the ReturnId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetReturnId
`func (o *ChatFullContextDTO) SetReturnId(v int64)`
SetReturnId sets ReturnId field to given value.
### HasReturnId
`func (o *ChatFullContextDTO) HasReturnId() bool`
HasReturnId returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,155 @@
# ChatMessageDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**MessageId** | **int64** | Идентификатор сообщения. |
**CreatedAt** | **time.Time** | Дата и время создания сообщения. Формат даты: :no-translate[ISO 8601] со смещением относительно :no-translate[UTC]. |
**Sender** | [**ChatMessageSenderType**](ChatMessageSenderType.md) | |
**Message** | Pointer to **string** | Текст сообщения. Необязательный параметр, если возвращается параметр `payload`. | [optional]
**Payload** | Pointer to [**[]ChatMessagePayloadDTO**](ChatMessagePayloadDTO.md) | Информация о приложенных к сообщению файлах. Необязательный параметр, если возвращается параметр `message`. | [optional]
## Methods
### NewChatMessageDTO
`func NewChatMessageDTO(messageId int64, createdAt time.Time, sender ChatMessageSenderType, ) *ChatMessageDTO`
NewChatMessageDTO instantiates a new ChatMessageDTO 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
### NewChatMessageDTOWithDefaults
`func NewChatMessageDTOWithDefaults() *ChatMessageDTO`
NewChatMessageDTOWithDefaults instantiates a new ChatMessageDTO 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
### GetMessageId
`func (o *ChatMessageDTO) GetMessageId() int64`
GetMessageId returns the MessageId field if non-nil, zero value otherwise.
### GetMessageIdOk
`func (o *ChatMessageDTO) GetMessageIdOk() (*int64, bool)`
GetMessageIdOk returns a tuple with the MessageId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMessageId
`func (o *ChatMessageDTO) SetMessageId(v int64)`
SetMessageId sets MessageId field to given value.
### GetCreatedAt
`func (o *ChatMessageDTO) GetCreatedAt() time.Time`
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
### GetCreatedAtOk
`func (o *ChatMessageDTO) GetCreatedAtOk() (*time.Time, bool)`
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCreatedAt
`func (o *ChatMessageDTO) SetCreatedAt(v time.Time)`
SetCreatedAt sets CreatedAt field to given value.
### GetSender
`func (o *ChatMessageDTO) GetSender() ChatMessageSenderType`
GetSender returns the Sender field if non-nil, zero value otherwise.
### GetSenderOk
`func (o *ChatMessageDTO) GetSenderOk() (*ChatMessageSenderType, bool)`
GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSender
`func (o *ChatMessageDTO) SetSender(v ChatMessageSenderType)`
SetSender sets Sender field to given value.
### GetMessage
`func (o *ChatMessageDTO) GetMessage() string`
GetMessage returns the Message field if non-nil, zero value otherwise.
### GetMessageOk
`func (o *ChatMessageDTO) GetMessageOk() (*string, bool)`
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMessage
`func (o *ChatMessageDTO) SetMessage(v string)`
SetMessage sets Message field to given value.
### HasMessage
`func (o *ChatMessageDTO) HasMessage() bool`
HasMessage returns a boolean if a field has been set.
### GetPayload
`func (o *ChatMessageDTO) GetPayload() []ChatMessagePayloadDTO`
GetPayload returns the Payload field if non-nil, zero value otherwise.
### GetPayloadOk
`func (o *ChatMessageDTO) GetPayloadOk() (*[]ChatMessagePayloadDTO, bool)`
GetPayloadOk returns a tuple with the Payload field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPayload
`func (o *ChatMessageDTO) SetPayload(v []ChatMessagePayloadDTO)`
SetPayload sets Payload field to given value.
### HasPayload
`func (o *ChatMessageDTO) HasPayload() bool`
HasPayload returns a boolean if a field has been set.
### SetPayloadNil
`func (o *ChatMessageDTO) SetPayloadNil(b bool)`
SetPayloadNil sets the value for Payload to be an explicit nil
### UnsetPayload
`func (o *ChatMessageDTO) UnsetPayload()`
UnsetPayload ensures that no value is present for Payload, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,93 @@
# ChatMessagePayloadDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Название файла. |
**Url** | **string** | |
**Size** | **int32** | Размер файла в байтах. |
## Methods
### NewChatMessagePayloadDTO
`func NewChatMessagePayloadDTO(name string, url string, size int32, ) *ChatMessagePayloadDTO`
NewChatMessagePayloadDTO instantiates a new ChatMessagePayloadDTO 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
### NewChatMessagePayloadDTOWithDefaults
`func NewChatMessagePayloadDTOWithDefaults() *ChatMessagePayloadDTO`
NewChatMessagePayloadDTOWithDefaults instantiates a new ChatMessagePayloadDTO 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
### GetName
`func (o *ChatMessagePayloadDTO) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *ChatMessagePayloadDTO) GetNameOk() (*string, bool)`
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetName
`func (o *ChatMessagePayloadDTO) SetName(v string)`
SetName sets Name field to given value.
### GetUrl
`func (o *ChatMessagePayloadDTO) GetUrl() string`
GetUrl returns the Url field if non-nil, zero value otherwise.
### GetUrlOk
`func (o *ChatMessagePayloadDTO) GetUrlOk() (*string, bool)`
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetUrl
`func (o *ChatMessagePayloadDTO) SetUrl(v string)`
SetUrl sets Url field to given value.
### GetSize
`func (o *ChatMessagePayloadDTO) GetSize() int32`
GetSize returns the Size field if non-nil, zero value otherwise.
### GetSizeOk
`func (o *ChatMessagePayloadDTO) GetSizeOk() (*int32, bool)`
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSize
`func (o *ChatMessagePayloadDTO) SetSize(v int32)`
SetSize sets Size field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,17 @@
# ChatMessageSenderType
## Enum
* `PARTNER` (value: `"PARTNER"`)
* `CUSTOMER` (value: `"CUSTOMER"`)
* `MARKET` (value: `"MARKET"`)
* `SUPPORT` (value: `"SUPPORT"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,124 @@
# ChatMessagesResultDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OrderId** | Pointer to **int64** | Идентификатор заказа. | [optional]
**Context** | [**ChatFullContextDTO**](ChatFullContextDTO.md) | |
**Messages** | [**[]ChatMessageDTO**](ChatMessageDTO.md) | Информация о сообщениях. |
**Paging** | Pointer to [**ForwardScrollingPagerDTO**](ForwardScrollingPagerDTO.md) | | [optional]
## Methods
### NewChatMessagesResultDTO
`func NewChatMessagesResultDTO(context ChatFullContextDTO, messages []ChatMessageDTO, ) *ChatMessagesResultDTO`
NewChatMessagesResultDTO instantiates a new ChatMessagesResultDTO 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
### NewChatMessagesResultDTOWithDefaults
`func NewChatMessagesResultDTOWithDefaults() *ChatMessagesResultDTO`
NewChatMessagesResultDTOWithDefaults instantiates a new ChatMessagesResultDTO 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
### GetOrderId
`func (o *ChatMessagesResultDTO) GetOrderId() int64`
GetOrderId returns the OrderId field if non-nil, zero value otherwise.
### GetOrderIdOk
`func (o *ChatMessagesResultDTO) GetOrderIdOk() (*int64, bool)`
GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOrderId
`func (o *ChatMessagesResultDTO) SetOrderId(v int64)`
SetOrderId sets OrderId field to given value.
### HasOrderId
`func (o *ChatMessagesResultDTO) HasOrderId() bool`
HasOrderId returns a boolean if a field has been set.
### GetContext
`func (o *ChatMessagesResultDTO) GetContext() ChatFullContextDTO`
GetContext returns the Context field if non-nil, zero value otherwise.
### GetContextOk
`func (o *ChatMessagesResultDTO) GetContextOk() (*ChatFullContextDTO, bool)`
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetContext
`func (o *ChatMessagesResultDTO) SetContext(v ChatFullContextDTO)`
SetContext sets Context field to given value.
### GetMessages
`func (o *ChatMessagesResultDTO) GetMessages() []ChatMessageDTO`
GetMessages returns the Messages field if non-nil, zero value otherwise.
### GetMessagesOk
`func (o *ChatMessagesResultDTO) GetMessagesOk() (*[]ChatMessageDTO, bool)`
GetMessagesOk returns a tuple with the Messages field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMessages
`func (o *ChatMessagesResultDTO) SetMessages(v []ChatMessageDTO)`
SetMessages sets Messages field to given value.
### GetPaging
`func (o *ChatMessagesResultDTO) GetPaging() ForwardScrollingPagerDTO`
GetPaging returns the Paging field if non-nil, zero value otherwise.
### GetPagingOk
`func (o *ChatMessagesResultDTO) GetPagingOk() (*ForwardScrollingPagerDTO, bool)`
GetPagingOk returns a tuple with the Paging field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPaging
`func (o *ChatMessagesResultDTO) SetPaging(v ForwardScrollingPagerDTO)`
SetPaging sets Paging field to given value.
### HasPaging
`func (o *ChatMessagesResultDTO) HasPaging() bool`
HasPaging returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,21 @@
# ChatStatusType
## Enum
* `NEW` (value: `"NEW"`)
* `WAITING_FOR_CUSTOMER` (value: `"WAITING_FOR_CUSTOMER"`)
* `WAITING_FOR_PARTNER` (value: `"WAITING_FOR_PARTNER"`)
* `WAITING_FOR_ARBITER` (value: `"WAITING_FOR_ARBITER"`)
* `WAITING_FOR_MARKET` (value: `"WAITING_FOR_MARKET"`)
* `FINISHED` (value: `"FINISHED"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,13 @@
# ChatType
## Enum
* `CHAT` (value: `"CHAT"`)
* `ARBITRAGE` (value: `"ARBITRAGE"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,535 @@
# \ChatsAPI
All URIs are relative to *https://api.partner.market.yandex.ru*
Method | HTTP request | Description
------------- | ------------- | -------------
[**CreateChat**](ChatsAPI.md#CreateChat) | **Post** /businesses/{businessId}/chats/new | Создание нового чата с покупателем
[**GetChat**](ChatsAPI.md#GetChat) | **Get** /businesses/{businessId}/chat | Получение чата по идентификатору
[**GetChatHistory**](ChatsAPI.md#GetChatHistory) | **Post** /businesses/{businessId}/chats/history | Получение истории сообщений в чате
[**GetChatMessage**](ChatsAPI.md#GetChatMessage) | **Get** /businesses/{businessId}/chats/message | Получение сообщения в чате
[**GetChats**](ChatsAPI.md#GetChats) | **Post** /businesses/{businessId}/chats | Получение доступных чатов
[**SendFileToChat**](ChatsAPI.md#SendFileToChat) | **Post** /businesses/{businessId}/chats/file/send | Отправка файла в чат
[**SendMessageToChat**](ChatsAPI.md#SendMessageToChat) | **Post** /businesses/{businessId}/chats/message | Отправка сообщения в чат
## CreateChat
> CreateChatResponse CreateChat(ctx, businessId).CreateChatRequest(createChatRequest).Execute()
Создание нового чата с покупателем
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
createChatRequest := *openapiclient.NewCreateChatRequest() // CreateChatRequest | description
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ChatsAPI.CreateChat(context.Background(), businessId).CreateChatRequest(createChatRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ChatsAPI.CreateChat``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateChat`: CreateChatResponse
fmt.Fprintf(os.Stdout, "Response from `ChatsAPI.CreateChat`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiCreateChatRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**createChatRequest** | [**CreateChatRequest**](CreateChatRequest.md) | description |
### Return type
[**CreateChatResponse**](CreateChatResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetChat
> GetChatResponse GetChat(ctx, businessId).ChatId(chatId).Execute()
Получение чата по идентификатору
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
chatId := int64(789) // int64 | Идентификатор чата.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ChatsAPI.GetChat(context.Background(), businessId).ChatId(chatId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ChatsAPI.GetChat``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetChat`: GetChatResponse
fmt.Fprintf(os.Stdout, "Response from `ChatsAPI.GetChat`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetChatRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**chatId** | **int64** | Идентификатор чата. |
### Return type
[**GetChatResponse**](GetChatResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetChatHistory
> GetChatHistoryResponse GetChatHistory(ctx, businessId).ChatId(chatId).GetChatHistoryRequest(getChatHistoryRequest).PageToken(pageToken).Limit(limit).Execute()
Получение истории сообщений в чате
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
chatId := int64(789) // int64 | Идентификатор чата.
getChatHistoryRequest := *openapiclient.NewGetChatHistoryRequest() // GetChatHistoryRequest | description
pageToken := "eyBuZXh0SWQ6IDIzNDIgfQ==" // string | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. (optional)
limit := int32(20) // int32 | Количество значений на одной странице. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ChatsAPI.GetChatHistory(context.Background(), businessId).ChatId(chatId).GetChatHistoryRequest(getChatHistoryRequest).PageToken(pageToken).Limit(limit).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ChatsAPI.GetChatHistory``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetChatHistory`: GetChatHistoryResponse
fmt.Fprintf(os.Stdout, "Response from `ChatsAPI.GetChatHistory`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetChatHistoryRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**chatId** | **int64** | Идентификатор чата. |
**getChatHistoryRequest** | [**GetChatHistoryRequest**](GetChatHistoryRequest.md) | description |
**pageToken** | **string** | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. |
**limit** | **int32** | Количество значений на одной странице. |
### Return type
[**GetChatHistoryResponse**](GetChatHistoryResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetChatMessage
> GetChatMessageResponse GetChatMessage(ctx, businessId).ChatId(chatId).MessageId(messageId).Execute()
Получение сообщения в чате
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
chatId := int64(789) // int64 | Идентификатор чата.
messageId := int64(789) // int64 | Идентификатор сообщения.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ChatsAPI.GetChatMessage(context.Background(), businessId).ChatId(chatId).MessageId(messageId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ChatsAPI.GetChatMessage``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetChatMessage`: GetChatMessageResponse
fmt.Fprintf(os.Stdout, "Response from `ChatsAPI.GetChatMessage`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetChatMessageRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**chatId** | **int64** | Идентификатор чата. |
**messageId** | **int64** | Идентификатор сообщения. |
### Return type
[**GetChatMessageResponse**](GetChatMessageResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetChats
> GetChatsResponse GetChats(ctx, businessId).GetChatsRequest(getChatsRequest).PageToken(pageToken).Limit(limit).Execute()
Получение доступных чатов
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
getChatsRequest := *openapiclient.NewGetChatsRequest() // GetChatsRequest | description
pageToken := "eyBuZXh0SWQ6IDIzNDIgfQ==" // string | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. (optional)
limit := int32(20) // int32 | Количество значений на одной странице. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ChatsAPI.GetChats(context.Background(), businessId).GetChatsRequest(getChatsRequest).PageToken(pageToken).Limit(limit).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ChatsAPI.GetChats``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetChats`: GetChatsResponse
fmt.Fprintf(os.Stdout, "Response from `ChatsAPI.GetChats`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetChatsRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**getChatsRequest** | [**GetChatsRequest**](GetChatsRequest.md) | description |
**pageToken** | **string** | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. |
**limit** | **int32** | Количество значений на одной странице. |
### Return type
[**GetChatsResponse**](GetChatsResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## SendFileToChat
> EmptyApiResponse SendFileToChat(ctx, businessId).ChatId(chatId).File(file).Execute()
Отправка файла в чат
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
chatId := int64(789) // int64 | Идентификатор чата.
file := os.NewFile(1234, "some_file") // *os.File | Содержимое файла. Максимальный размер файла — 5 Мбайт.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ChatsAPI.SendFileToChat(context.Background(), businessId).ChatId(chatId).File(file).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ChatsAPI.SendFileToChat``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SendFileToChat`: EmptyApiResponse
fmt.Fprintf(os.Stdout, "Response from `ChatsAPI.SendFileToChat`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiSendFileToChatRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**chatId** | **int64** | Идентификатор чата. |
**file** | ***os.File** | Содержимое файла. Максимальный размер файла — 5 Мбайт. |
### Return type
[**EmptyApiResponse**](EmptyApiResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## SendMessageToChat
> EmptyApiResponse SendMessageToChat(ctx, businessId).ChatId(chatId).SendMessageToChatRequest(sendMessageToChatRequest).Execute()
Отправка сообщения в чат
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
chatId := int64(789) // int64 | Идентификатор чата.
sendMessageToChatRequest := *openapiclient.NewSendMessageToChatRequest("Message_example") // SendMessageToChatRequest | description
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ChatsAPI.SendMessageToChat(context.Background(), businessId).ChatId(chatId).SendMessageToChatRequest(sendMessageToChatRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ChatsAPI.SendMessageToChat``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SendMessageToChat`: EmptyApiResponse
fmt.Fprintf(os.Stdout, "Response from `ChatsAPI.SendMessageToChat`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiSendMessageToChatRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**chatId** | **int64** | Идентификатор чата. |
**sendMessageToChatRequest** | [**SendMessageToChatRequest**](SendMessageToChatRequest.md) | description |
### Return type
[**EmptyApiResponse**](EmptyApiResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)

View File

@@ -0,0 +1,15 @@
# ClosureDocumentsContractType
## Enum
* `INCOME` (value: `"INCOME"`)
* `OUTCOME` (value: `"OUTCOME"`)
* `MARKETING` (value: `"MARKETING"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# ClosureDocumentsMonthOfYearDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Year** | **int32** | Год. |
**Month** | **int32** | Номер месяца. |
## Methods
### NewClosureDocumentsMonthOfYearDTO
`func NewClosureDocumentsMonthOfYearDTO(year int32, month int32, ) *ClosureDocumentsMonthOfYearDTO`
NewClosureDocumentsMonthOfYearDTO instantiates a new ClosureDocumentsMonthOfYearDTO 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
### NewClosureDocumentsMonthOfYearDTOWithDefaults
`func NewClosureDocumentsMonthOfYearDTOWithDefaults() *ClosureDocumentsMonthOfYearDTO`
NewClosureDocumentsMonthOfYearDTOWithDefaults instantiates a new ClosureDocumentsMonthOfYearDTO 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
### GetYear
`func (o *ClosureDocumentsMonthOfYearDTO) GetYear() int32`
GetYear returns the Year field if non-nil, zero value otherwise.
### GetYearOk
`func (o *ClosureDocumentsMonthOfYearDTO) GetYearOk() (*int32, bool)`
GetYearOk returns a tuple with the Year field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetYear
`func (o *ClosureDocumentsMonthOfYearDTO) SetYear(v int32)`
SetYear sets Year field to given value.
### GetMonth
`func (o *ClosureDocumentsMonthOfYearDTO) GetMonth() int32`
GetMonth returns the Month field if non-nil, zero value otherwise.
### GetMonthOk
`func (o *ClosureDocumentsMonthOfYearDTO) GetMonthOk() (*int32, bool)`
GetMonthOk returns a tuple with the Month field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMonth
`func (o *ClosureDocumentsMonthOfYearDTO) SetMonth(v int32)`
SetMonth sets Month field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# CommodityCodeDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Code** | **string** | Товарный код. |
**Type** | [**CommodityCodeType**](CommodityCodeType.md) | |
## Methods
### NewCommodityCodeDTO
`func NewCommodityCodeDTO(code string, type_ CommodityCodeType, ) *CommodityCodeDTO`
NewCommodityCodeDTO instantiates a new CommodityCodeDTO 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
### NewCommodityCodeDTOWithDefaults
`func NewCommodityCodeDTOWithDefaults() *CommodityCodeDTO`
NewCommodityCodeDTOWithDefaults instantiates a new CommodityCodeDTO 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
### GetCode
`func (o *CommodityCodeDTO) GetCode() string`
GetCode returns the Code field if non-nil, zero value otherwise.
### GetCodeOk
`func (o *CommodityCodeDTO) GetCodeOk() (*string, bool)`
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCode
`func (o *CommodityCodeDTO) SetCode(v string)`
SetCode sets Code field to given value.
### GetType
`func (o *CommodityCodeDTO) GetType() CommodityCodeType`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *CommodityCodeDTO) GetTypeOk() (*CommodityCodeType, bool)`
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetType
`func (o *CommodityCodeDTO) SetType(v CommodityCodeType)`
SetType sets Type field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,13 @@
# CommodityCodeType
## Enum
* `CUSTOMS_COMMODITY_CODE` (value: `"CUSTOMS_COMMODITY_CODE"`)
* `IKPU_CODE` (value: `"IKPU_CODE"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# ConfirmPricesRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OfferIds** | **[]string** | Идентификаторы товаров, у которых подтверждается цена. |
## Methods
### NewConfirmPricesRequest
`func NewConfirmPricesRequest(offerIds []string, ) *ConfirmPricesRequest`
NewConfirmPricesRequest instantiates a new ConfirmPricesRequest 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
### NewConfirmPricesRequestWithDefaults
`func NewConfirmPricesRequestWithDefaults() *ConfirmPricesRequest`
NewConfirmPricesRequestWithDefaults instantiates a new ConfirmPricesRequest 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
### GetOfferIds
`func (o *ConfirmPricesRequest) GetOfferIds() []string`
GetOfferIds returns the OfferIds field if non-nil, zero value otherwise.
### GetOfferIdsOk
`func (o *ConfirmPricesRequest) 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 *ConfirmPricesRequest) SetOfferIds(v []string)`
SetOfferIds sets OfferIds field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# ConfirmShipmentRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ExternalShipmentId** | Pointer to **string** | Идентификатор отгрузки в системе поставщика. | [optional]
**Signatory** | Pointer to **string** | Логин пользователя в Яндекс ID, от имени которого будет подписываться электронный акт приема-передачи. Указывается без `@yandex.ru`. Где его найти: * на странице [Яндекс ID](https://id.yandex.ru); * в [кабинете продавца на Маркете](https://partner.market.yandex.ru/): * слева снизу под иконкой пользователя; * на странице **Настройки****Сотрудники и доступы**. | [optional]
## Methods
### NewConfirmShipmentRequest
`func NewConfirmShipmentRequest() *ConfirmShipmentRequest`
NewConfirmShipmentRequest instantiates a new ConfirmShipmentRequest 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
### NewConfirmShipmentRequestWithDefaults
`func NewConfirmShipmentRequestWithDefaults() *ConfirmShipmentRequest`
NewConfirmShipmentRequestWithDefaults instantiates a new ConfirmShipmentRequest 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
### GetExternalShipmentId
`func (o *ConfirmShipmentRequest) GetExternalShipmentId() string`
GetExternalShipmentId returns the ExternalShipmentId field if non-nil, zero value otherwise.
### GetExternalShipmentIdOk
`func (o *ConfirmShipmentRequest) GetExternalShipmentIdOk() (*string, bool)`
GetExternalShipmentIdOk returns a tuple with the ExternalShipmentId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetExternalShipmentId
`func (o *ConfirmShipmentRequest) SetExternalShipmentId(v string)`
SetExternalShipmentId sets ExternalShipmentId field to given value.
### HasExternalShipmentId
`func (o *ConfirmShipmentRequest) HasExternalShipmentId() bool`
HasExternalShipmentId returns a boolean if a field has been set.
### GetSignatory
`func (o *ConfirmShipmentRequest) GetSignatory() string`
GetSignatory returns the Signatory field if non-nil, zero value otherwise.
### GetSignatoryOk
`func (o *ConfirmShipmentRequest) GetSignatoryOk() (*string, bool)`
GetSignatoryOk returns a tuple with the Signatory field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSignatory
`func (o *ConfirmShipmentRequest) SetSignatory(v string)`
SetSignatory sets Signatory field to given value.
### HasSignatory
`func (o *ConfirmShipmentRequest) HasSignatory() bool`
HasSignatory returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,231 @@
# \ContentAPI
All URIs are relative to *https://api.partner.market.yandex.ru*
Method | HTTP request | Description
------------- | ------------- | -------------
[**GetCategoryContentParameters**](ContentAPI.md#GetCategoryContentParameters) | **Post** /category/{categoryId}/parameters | Списки характеристик товаров по категориям
[**GetOfferCardsContentStatus**](ContentAPI.md#GetOfferCardsContentStatus) | **Post** /businesses/{businessId}/offer-cards | Получение информации о заполненности карточек магазина
[**UpdateOfferContent**](ContentAPI.md#UpdateOfferContent) | **Post** /businesses/{businessId}/offer-cards/update | Редактирование категорийных характеристик товара
## GetCategoryContentParameters
> GetCategoryContentParametersResponse GetCategoryContentParameters(ctx, categoryId).BusinessId(businessId).Execute()
Списки характеристик товаров по категориям
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
categoryId := int64(789) // int64 | Идентификатор категории на Маркете. Чтобы узнать идентификатор категории, к которой относится интересующий вас товар, воспользуйтесь запросом [:no-translate[POST categories/tree]](:no-translate[../../reference/categories/getCategoriesTree.md]).
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). Передайте параметр, чтобы получить характеристики, которые являются особенностями варианта товара в данном кабинете. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContentAPI.GetCategoryContentParameters(context.Background(), categoryId).BusinessId(businessId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContentAPI.GetCategoryContentParameters``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCategoryContentParameters`: GetCategoryContentParametersResponse
fmt.Fprintf(os.Stdout, "Response from `ContentAPI.GetCategoryContentParameters`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**categoryId** | **int64** | Идентификатор категории на Маркете. Чтобы узнать идентификатор категории, к которой относится интересующий вас товар, воспользуйтесь запросом [:no-translate[POST categories/tree]](:no-translate[../../reference/categories/getCategoriesTree.md]). |
### Other Parameters
Other parameters are passed through a pointer to a apiGetCategoryContentParametersRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). Передайте параметр, чтобы получить характеристики, которые являются особенностями варианта товара в данном кабинете. |
### Return type
[**GetCategoryContentParametersResponse**](GetCategoryContentParametersResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## GetOfferCardsContentStatus
> GetOfferCardsContentStatusResponse GetOfferCardsContentStatus(ctx, businessId).PageToken(pageToken).Limit(limit).GetOfferCardsContentStatusRequest(getOfferCardsContentStatusRequest).Execute()
Получение информации о заполненности карточек магазина
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
pageToken := "eyBuZXh0SWQ6IDIzNDIgfQ==" // string | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. (optional)
limit := int32(20) // int32 | Количество значений на одной странице. (optional)
getOfferCardsContentStatusRequest := *openapiclient.NewGetOfferCardsContentStatusRequest() // GetOfferCardsContentStatusRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContentAPI.GetOfferCardsContentStatus(context.Background(), businessId).PageToken(pageToken).Limit(limit).GetOfferCardsContentStatusRequest(getOfferCardsContentStatusRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContentAPI.GetOfferCardsContentStatus``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetOfferCardsContentStatus`: GetOfferCardsContentStatusResponse
fmt.Fprintf(os.Stdout, "Response from `ContentAPI.GetOfferCardsContentStatus`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiGetOfferCardsContentStatusRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pageToken** | **string** | Идентификатор страницы c результатами. Если параметр не указан, возвращается первая страница. Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе. Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются. |
**limit** | **int32** | Количество значений на одной странице. |
**getOfferCardsContentStatusRequest** | [**GetOfferCardsContentStatusRequest**](GetOfferCardsContentStatusRequest.md) | |
### Return type
[**GetOfferCardsContentStatusResponse**](GetOfferCardsContentStatusResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## UpdateOfferContent
> UpdateOfferContentResponse UpdateOfferContent(ctx, businessId).UpdateOfferContentRequest(updateOfferContentRequest).Execute()
Редактирование категорийных характеристик товара
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])
updateOfferContentRequest := *openapiclient.NewUpdateOfferContentRequest([]openapiclient.OfferContentDTO{*openapiclient.NewOfferContentDTO("OfferId_example", int32(123), []openapiclient.ParameterValueDTO{*openapiclient.NewParameterValueDTO(int64(123))})}) // UpdateOfferContentRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContentAPI.UpdateOfferContent(context.Background(), businessId).UpdateOfferContentRequest(updateOfferContentRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContentAPI.UpdateOfferContent``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateOfferContent`: UpdateOfferContentResponse
fmt.Fprintf(os.Stdout, "Response from `ContentAPI.UpdateOfferContent`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]). [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) |
### Other Parameters
Other parameters are passed through a pointer to a apiUpdateOfferContentRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**updateOfferContentRequest** | [**UpdateOfferContentRequest**](UpdateOfferContentRequest.md) | |
### Return type
[**UpdateOfferContentResponse**](UpdateOfferContentResponse.md)
### Authorization
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# CountryDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Region** | [**RegionDTO**](RegionDTO.md) | |
**CountryCode** | **string** | Страна производства в формате ISO 3166-1 alpha-2. [Как получить](../../reference/regions/getRegionsCodes.md) |
## Methods
### NewCountryDTO
`func NewCountryDTO(region RegionDTO, countryCode string, ) *CountryDTO`
NewCountryDTO instantiates a new CountryDTO 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
### NewCountryDTOWithDefaults
`func NewCountryDTOWithDefaults() *CountryDTO`
NewCountryDTOWithDefaults instantiates a new CountryDTO 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
### GetRegion
`func (o *CountryDTO) GetRegion() RegionDTO`
GetRegion returns the Region field if non-nil, zero value otherwise.
### GetRegionOk
`func (o *CountryDTO) GetRegionOk() (*RegionDTO, bool)`
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRegion
`func (o *CountryDTO) SetRegion(v RegionDTO)`
SetRegion sets Region field to given value.
### GetCountryCode
`func (o *CountryDTO) GetCountryCode() string`
GetCountryCode returns the CountryCode field if non-nil, zero value otherwise.
### GetCountryCodeOk
`func (o *CountryDTO) GetCountryCodeOk() (*string, bool)`
GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCountryCode
`func (o *CountryDTO) SetCountryCode(v string)`
SetCountryCode sets CountryCode field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# CreateChatRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OrderId** | Pointer to **int64** | Идентификатор заказа на Маркете. | [optional]
**Context** | Pointer to [**ChatContextDTO**](ChatContextDTO.md) | | [optional]
## Methods
### NewCreateChatRequest
`func NewCreateChatRequest() *CreateChatRequest`
NewCreateChatRequest instantiates a new CreateChatRequest 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
### NewCreateChatRequestWithDefaults
`func NewCreateChatRequestWithDefaults() *CreateChatRequest`
NewCreateChatRequestWithDefaults instantiates a new CreateChatRequest 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
### GetOrderId
`func (o *CreateChatRequest) GetOrderId() int64`
GetOrderId returns the OrderId field if non-nil, zero value otherwise.
### GetOrderIdOk
`func (o *CreateChatRequest) GetOrderIdOk() (*int64, bool)`
GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOrderId
`func (o *CreateChatRequest) SetOrderId(v int64)`
SetOrderId sets OrderId field to given value.
### HasOrderId
`func (o *CreateChatRequest) HasOrderId() bool`
HasOrderId returns a boolean if a field has been set.
### GetContext
`func (o *CreateChatRequest) GetContext() ChatContextDTO`
GetContext returns the Context field if non-nil, zero value otherwise.
### GetContextOk
`func (o *CreateChatRequest) GetContextOk() (*ChatContextDTO, bool)`
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetContext
`func (o *CreateChatRequest) SetContext(v ChatContextDTO)`
SetContext sets Context field to given value.
### HasContext
`func (o *CreateChatRequest) HasContext() bool`
HasContext returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# CreateChatResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Result** | Pointer to [**CreateChatResultDTO**](CreateChatResultDTO.md) | | [optional]
## Methods
### NewCreateChatResponse
`func NewCreateChatResponse() *CreateChatResponse`
NewCreateChatResponse instantiates a new CreateChatResponse 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
### NewCreateChatResponseWithDefaults
`func NewCreateChatResponseWithDefaults() *CreateChatResponse`
NewCreateChatResponseWithDefaults instantiates a new CreateChatResponse 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
### GetStatus
`func (o *CreateChatResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *CreateChatResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *CreateChatResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *CreateChatResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetResult
`func (o *CreateChatResponse) GetResult() CreateChatResultDTO`
GetResult returns the Result field if non-nil, zero value otherwise.
### GetResultOk
`func (o *CreateChatResponse) GetResultOk() (*CreateChatResultDTO, bool)`
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetResult
`func (o *CreateChatResponse) SetResult(v CreateChatResultDTO)`
SetResult sets Result field to given value.
### HasResult
`func (o *CreateChatResponse) HasResult() bool`
HasResult returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# CreateChatResultDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ChatId** | **int64** | Идентификатор чата. |
## Methods
### NewCreateChatResultDTO
`func NewCreateChatResultDTO(chatId int64, ) *CreateChatResultDTO`
NewCreateChatResultDTO instantiates a new CreateChatResultDTO 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
### NewCreateChatResultDTOWithDefaults
`func NewCreateChatResultDTOWithDefaults() *CreateChatResultDTO`
NewCreateChatResultDTOWithDefaults instantiates a new CreateChatResultDTO 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
### GetChatId
`func (o *CreateChatResultDTO) GetChatId() int64`
GetChatId returns the ChatId field if non-nil, zero value otherwise.
### GetChatIdOk
`func (o *CreateChatResultDTO) GetChatIdOk() (*int64, bool)`
GetChatIdOk returns a tuple with the ChatId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetChatId
`func (o *CreateChatResultDTO) SetChatId(v int64)`
SetChatId sets ChatId field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# CreateOutletResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Result** | Pointer to [**OutletResponseDTO**](OutletResponseDTO.md) | | [optional]
## Methods
### NewCreateOutletResponse
`func NewCreateOutletResponse() *CreateOutletResponse`
NewCreateOutletResponse instantiates a new CreateOutletResponse 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
### NewCreateOutletResponseWithDefaults
`func NewCreateOutletResponseWithDefaults() *CreateOutletResponse`
NewCreateOutletResponseWithDefaults instantiates a new CreateOutletResponse 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
### GetStatus
`func (o *CreateOutletResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *CreateOutletResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *CreateOutletResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *CreateOutletResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetResult
`func (o *CreateOutletResponse) GetResult() OutletResponseDTO`
GetResult returns the Result field if non-nil, zero value otherwise.
### GetResultOk
`func (o *CreateOutletResponse) GetResultOk() (*OutletResponseDTO, bool)`
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetResult
`func (o *CreateOutletResponse) SetResult(v OutletResponseDTO)`
SetResult sets Result field to given value.
### HasResult
`func (o *CreateOutletResponse) HasResult() bool`
HasResult returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,255 @@
# CurrencyType
## Enum
* `RUR` (value: `"RUR"`)
* `USD` (value: `"USD"`)
* `EUR` (value: `"EUR"`)
* `UAH` (value: `"UAH"`)
* `AUD` (value: `"AUD"`)
* `GBP` (value: `"GBP"`)
* `BYR` (value: `"BYR"`)
* `BYN` (value: `"BYN"`)
* `DKK` (value: `"DKK"`)
* `ISK` (value: `"ISK"`)
* `KZT` (value: `"KZT"`)
* `CAD` (value: `"CAD"`)
* `CNY` (value: `"CNY"`)
* `NOK` (value: `"NOK"`)
* `XDR` (value: `"XDR"`)
* `SGD` (value: `"SGD"`)
* `TRY` (value: `"TRY"`)
* `SEK` (value: `"SEK"`)
* `CHF` (value: `"CHF"`)
* `JPY` (value: `"JPY"`)
* `AZN` (value: `"AZN"`)
* `ALL` (value: `"ALL"`)
* `DZD` (value: `"DZD"`)
* `AOA` (value: `"AOA"`)
* `ARS` (value: `"ARS"`)
* `AMD` (value: `"AMD"`)
* `AFN` (value: `"AFN"`)
* `BHD` (value: `"BHD"`)
* `BGN` (value: `"BGN"`)
* `BOB` (value: `"BOB"`)
* `BWP` (value: `"BWP"`)
* `BND` (value: `"BND"`)
* `BRL` (value: `"BRL"`)
* `BIF` (value: `"BIF"`)
* `HUF` (value: `"HUF"`)
* `VEF` (value: `"VEF"`)
* `KPW` (value: `"KPW"`)
* `VND` (value: `"VND"`)
* `GMD` (value: `"GMD"`)
* `GHS` (value: `"GHS"`)
* `GNF` (value: `"GNF"`)
* `HKD` (value: `"HKD"`)
* `GEL` (value: `"GEL"`)
* `AED` (value: `"AED"`)
* `EGP` (value: `"EGP"`)
* `ZMK` (value: `"ZMK"`)
* `ILS` (value: `"ILS"`)
* `INR` (value: `"INR"`)
* `IDR` (value: `"IDR"`)
* `JOD` (value: `"JOD"`)
* `IQD` (value: `"IQD"`)
* `IRR` (value: `"IRR"`)
* `YER` (value: `"YER"`)
* `QAR` (value: `"QAR"`)
* `KES` (value: `"KES"`)
* `KGS` (value: `"KGS"`)
* `COP` (value: `"COP"`)
* `CDF` (value: `"CDF"`)
* `CRC` (value: `"CRC"`)
* `KWD` (value: `"KWD"`)
* `CUP` (value: `"CUP"`)
* `LAK` (value: `"LAK"`)
* `LVL` (value: `"LVL"`)
* `SLL` (value: `"SLL"`)
* `LBP` (value: `"LBP"`)
* `LYD` (value: `"LYD"`)
* `SZL` (value: `"SZL"`)
* `LTL` (value: `"LTL"`)
* `MUR` (value: `"MUR"`)
* `MRO` (value: `"MRO"`)
* `MKD` (value: `"MKD"`)
* `MWK` (value: `"MWK"`)
* `MGA` (value: `"MGA"`)
* `MYR` (value: `"MYR"`)
* `MAD` (value: `"MAD"`)
* `MXN` (value: `"MXN"`)
* `MZN` (value: `"MZN"`)
* `MDL` (value: `"MDL"`)
* `MNT` (value: `"MNT"`)
* `NPR` (value: `"NPR"`)
* `NGN` (value: `"NGN"`)
* `NIO` (value: `"NIO"`)
* `NZD` (value: `"NZD"`)
* `OMR` (value: `"OMR"`)
* `PKR` (value: `"PKR"`)
* `PYG` (value: `"PYG"`)
* `PEN` (value: `"PEN"`)
* `PLN` (value: `"PLN"`)
* `KHR` (value: `"KHR"`)
* `SAR` (value: `"SAR"`)
* `RON` (value: `"RON"`)
* `SCR` (value: `"SCR"`)
* `SYP` (value: `"SYP"`)
* `SKK` (value: `"SKK"`)
* `SOS` (value: `"SOS"`)
* `SDG` (value: `"SDG"`)
* `SRD` (value: `"SRD"`)
* `TJS` (value: `"TJS"`)
* `THB` (value: `"THB"`)
* `TWD` (value: `"TWD"`)
* `BDT` (value: `"BDT"`)
* `TZS` (value: `"TZS"`)
* `TND` (value: `"TND"`)
* `TMM` (value: `"TMM"`)
* `UGX` (value: `"UGX"`)
* `UZS` (value: `"UZS"`)
* `UYU` (value: `"UYU"`)
* `PHP` (value: `"PHP"`)
* `DJF` (value: `"DJF"`)
* `XAF` (value: `"XAF"`)
* `XOF` (value: `"XOF"`)
* `HRK` (value: `"HRK"`)
* `CZK` (value: `"CZK"`)
* `CLP` (value: `"CLP"`)
* `LKR` (value: `"LKR"`)
* `EEK` (value: `"EEK"`)
* `ETB` (value: `"ETB"`)
* `RSD` (value: `"RSD"`)
* `ZAR` (value: `"ZAR"`)
* `KRW` (value: `"KRW"`)
* `NAD` (value: `"NAD"`)
* `TL` (value: `"TL"`)
* `UE` (value: `"UE"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,72 @@
# CurrencyValueDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **float32** | Значение. |
**CurrencyId** | [**CurrencyType**](CurrencyType.md) | |
## Methods
### NewCurrencyValueDTO
`func NewCurrencyValueDTO(value float32, currencyId CurrencyType, ) *CurrencyValueDTO`
NewCurrencyValueDTO instantiates a new CurrencyValueDTO 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
### NewCurrencyValueDTOWithDefaults
`func NewCurrencyValueDTOWithDefaults() *CurrencyValueDTO`
NewCurrencyValueDTOWithDefaults instantiates a new CurrencyValueDTO 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
### GetValue
`func (o *CurrencyValueDTO) GetValue() float32`
GetValue returns the Value field if non-nil, zero value otherwise.
### GetValueOk
`func (o *CurrencyValueDTO) GetValueOk() (*float32, bool)`
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetValue
`func (o *CurrencyValueDTO) SetValue(v float32)`
SetValue sets Value field to given value.
### GetCurrencyId
`func (o *CurrencyValueDTO) GetCurrencyId() CurrencyType`
GetCurrencyId returns the CurrencyId field if non-nil, zero value otherwise.
### GetCurrencyIdOk
`func (o *CurrencyValueDTO) GetCurrencyIdOk() (*CurrencyType, bool)`
GetCurrencyIdOk returns a tuple with the CurrencyId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCurrencyId
`func (o *CurrencyValueDTO) SetCurrencyId(v CurrencyType)`
SetCurrencyId sets CurrencyId field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,23 @@
# DayOfWeekType
## Enum
* `MONDAY` (value: `"MONDAY"`)
* `TUESDAY` (value: `"TUESDAY"`)
* `WEDNESDAY` (value: `"WEDNESDAY"`)
* `THURSDAY` (value: `"THURSDAY"`)
* `FRIDAY` (value: `"FRIDAY"`)
* `SATURDAY` (value: `"SATURDAY"`)
* `SUNDAY` (value: `"SUNDAY"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,66 @@
# DeleteCampaignOffersDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**NotDeletedOfferIds** | Pointer to **[]string** | Список SKU. | [optional]
## Methods
### NewDeleteCampaignOffersDTO
`func NewDeleteCampaignOffersDTO() *DeleteCampaignOffersDTO`
NewDeleteCampaignOffersDTO instantiates a new DeleteCampaignOffersDTO 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
### NewDeleteCampaignOffersDTOWithDefaults
`func NewDeleteCampaignOffersDTOWithDefaults() *DeleteCampaignOffersDTO`
NewDeleteCampaignOffersDTOWithDefaults instantiates a new DeleteCampaignOffersDTO 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
### GetNotDeletedOfferIds
`func (o *DeleteCampaignOffersDTO) GetNotDeletedOfferIds() []string`
GetNotDeletedOfferIds returns the NotDeletedOfferIds field if non-nil, zero value otherwise.
### GetNotDeletedOfferIdsOk
`func (o *DeleteCampaignOffersDTO) GetNotDeletedOfferIdsOk() (*[]string, bool)`
GetNotDeletedOfferIdsOk returns a tuple with the NotDeletedOfferIds field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNotDeletedOfferIds
`func (o *DeleteCampaignOffersDTO) SetNotDeletedOfferIds(v []string)`
SetNotDeletedOfferIds sets NotDeletedOfferIds field to given value.
### HasNotDeletedOfferIds
`func (o *DeleteCampaignOffersDTO) HasNotDeletedOfferIds() bool`
HasNotDeletedOfferIds returns a boolean if a field has been set.
### SetNotDeletedOfferIdsNil
`func (o *DeleteCampaignOffersDTO) SetNotDeletedOfferIdsNil(b bool)`
SetNotDeletedOfferIdsNil sets the value for NotDeletedOfferIds to be an explicit nil
### UnsetNotDeletedOfferIds
`func (o *DeleteCampaignOffersDTO) UnsetNotDeletedOfferIds()`
UnsetNotDeletedOfferIds ensures that no value is present for NotDeletedOfferIds, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# DeleteCampaignOffersRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**OfferIds** | **[]string** | Идентификаторы товаров в каталоге. |
## Methods
### NewDeleteCampaignOffersRequest
`func NewDeleteCampaignOffersRequest(offerIds []string, ) *DeleteCampaignOffersRequest`
NewDeleteCampaignOffersRequest instantiates a new DeleteCampaignOffersRequest 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
### NewDeleteCampaignOffersRequestWithDefaults
`func NewDeleteCampaignOffersRequestWithDefaults() *DeleteCampaignOffersRequest`
NewDeleteCampaignOffersRequestWithDefaults instantiates a new DeleteCampaignOffersRequest 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
### GetOfferIds
`func (o *DeleteCampaignOffersRequest) GetOfferIds() []string`
GetOfferIds returns the OfferIds field if non-nil, zero value otherwise.
### GetOfferIdsOk
`func (o *DeleteCampaignOffersRequest) 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 *DeleteCampaignOffersRequest) SetOfferIds(v []string)`
SetOfferIds sets OfferIds field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,82 @@
# DeleteCampaignOffersResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**ApiResponseStatusType**](ApiResponseStatusType.md) | | [optional]
**Result** | Pointer to [**DeleteCampaignOffersDTO**](DeleteCampaignOffersDTO.md) | | [optional]
## Methods
### NewDeleteCampaignOffersResponse
`func NewDeleteCampaignOffersResponse() *DeleteCampaignOffersResponse`
NewDeleteCampaignOffersResponse instantiates a new DeleteCampaignOffersResponse 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
### NewDeleteCampaignOffersResponseWithDefaults
`func NewDeleteCampaignOffersResponseWithDefaults() *DeleteCampaignOffersResponse`
NewDeleteCampaignOffersResponseWithDefaults instantiates a new DeleteCampaignOffersResponse 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
### GetStatus
`func (o *DeleteCampaignOffersResponse) GetStatus() ApiResponseStatusType`
GetStatus returns the Status field if non-nil, zero value otherwise.
### GetStatusOk
`func (o *DeleteCampaignOffersResponse) GetStatusOk() (*ApiResponseStatusType, bool)`
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetStatus
`func (o *DeleteCampaignOffersResponse) SetStatus(v ApiResponseStatusType)`
SetStatus sets Status field to given value.
### HasStatus
`func (o *DeleteCampaignOffersResponse) HasStatus() bool`
HasStatus returns a boolean if a field has been set.
### GetResult
`func (o *DeleteCampaignOffersResponse) GetResult() DeleteCampaignOffersDTO`
GetResult returns the Result field if non-nil, zero value otherwise.
### GetResultOk
`func (o *DeleteCampaignOffersResponse) GetResultOk() (*DeleteCampaignOffersDTO, bool)`
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetResult
`func (o *DeleteCampaignOffersResponse) SetResult(v DeleteCampaignOffersDTO)`
SetResult sets Result field to given value.
### HasResult
`func (o *DeleteCampaignOffersResponse) HasResult() bool`
HasResult returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# DeleteGoodsFeedbackCommentRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int64** | Идентификатор комментария к отзыву. |
## Methods
### NewDeleteGoodsFeedbackCommentRequest
`func NewDeleteGoodsFeedbackCommentRequest(id int64, ) *DeleteGoodsFeedbackCommentRequest`
NewDeleteGoodsFeedbackCommentRequest instantiates a new DeleteGoodsFeedbackCommentRequest 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
### NewDeleteGoodsFeedbackCommentRequestWithDefaults
`func NewDeleteGoodsFeedbackCommentRequestWithDefaults() *DeleteGoodsFeedbackCommentRequest`
NewDeleteGoodsFeedbackCommentRequestWithDefaults instantiates a new DeleteGoodsFeedbackCommentRequest 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
### GetId
`func (o *DeleteGoodsFeedbackCommentRequest) GetId() int64`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *DeleteGoodsFeedbackCommentRequest) GetIdOk() (*int64, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
`func (o *DeleteGoodsFeedbackCommentRequest) SetId(v int64)`
SetId sets Id field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# DeleteHiddenOffersRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**HiddenOffers** | [**[]HiddenOfferDTO**](HiddenOfferDTO.md) | Список скрытых товаров. |
## Methods
### NewDeleteHiddenOffersRequest
`func NewDeleteHiddenOffersRequest(hiddenOffers []HiddenOfferDTO, ) *DeleteHiddenOffersRequest`
NewDeleteHiddenOffersRequest instantiates a new DeleteHiddenOffersRequest 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
### NewDeleteHiddenOffersRequestWithDefaults
`func NewDeleteHiddenOffersRequestWithDefaults() *DeleteHiddenOffersRequest`
NewDeleteHiddenOffersRequestWithDefaults instantiates a new DeleteHiddenOffersRequest 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
### GetHiddenOffers
`func (o *DeleteHiddenOffersRequest) GetHiddenOffers() []HiddenOfferDTO`
GetHiddenOffers returns the HiddenOffers field if non-nil, zero value otherwise.
### GetHiddenOffersOk
`func (o *DeleteHiddenOffersRequest) GetHiddenOffersOk() (*[]HiddenOfferDTO, bool)`
GetHiddenOffersOk returns a tuple with the HiddenOffers field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetHiddenOffers
`func (o *DeleteHiddenOffersRequest) SetHiddenOffers(v []HiddenOfferDTO)`
SetHiddenOffers sets HiddenOffers field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,55 @@
# DeleteOfferParameterType
## Enum
* `ADDITIONAL_EXPENSES` (value: `"ADDITIONAL_EXPENSES"`)
* `ADULT` (value: `"ADULT"`)
* `AGE` (value: `"AGE"`)
* `BARCODES` (value: `"BARCODES"`)
* `BOX_COUNT` (value: `"BOX_COUNT"`)
* `CERTIFICATES` (value: `"CERTIFICATES"`)
* `COMMODITY_CODES` (value: `"COMMODITY_CODES"`)
* `CONDITION` (value: `"CONDITION"`)
* `CUSTOMS_COMMODITY_CODE` (value: `"CUSTOMS_COMMODITY_CODE"`)
* `DESCRIPTION` (value: `"DESCRIPTION"`)
* `DOWNLOADABLE` (value: `"DOWNLOADABLE"`)
* `GUARANTEE_PERIOD` (value: `"GUARANTEE_PERIOD"`)
* `LIFE_TIME` (value: `"LIFE_TIME"`)
* `MANUALS` (value: `"MANUALS"`)
* `MANUFACTURER_COUNTRIES` (value: `"MANUFACTURER_COUNTRIES"`)
* `PARAMETERS` (value: `"PARAMETERS"`)
* `PICTURES` (value: `"PICTURES"`)
* `PURCHASE_PRICE` (value: `"PURCHASE_PRICE"`)
* `SHELF_LIFE` (value: `"SHELF_LIFE"`)
* `TAGS` (value: `"TAGS"`)
* `TYPE` (value: `"TYPE"`)
* `VENDOR_CODE` (value: `"VENDOR_CODE"`)
* `VIDEOS` (value: `"VIDEOS"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,66 @@
# DeleteOffersDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**NotDeletedOfferIds** | Pointer to **[]string** | Список SKU товаров, которые не удалось удалить. | [optional]
## Methods
### NewDeleteOffersDTO
`func NewDeleteOffersDTO() *DeleteOffersDTO`
NewDeleteOffersDTO instantiates a new DeleteOffersDTO 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
### NewDeleteOffersDTOWithDefaults
`func NewDeleteOffersDTOWithDefaults() *DeleteOffersDTO`
NewDeleteOffersDTOWithDefaults instantiates a new DeleteOffersDTO 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
### GetNotDeletedOfferIds
`func (o *DeleteOffersDTO) GetNotDeletedOfferIds() []string`
GetNotDeletedOfferIds returns the NotDeletedOfferIds field if non-nil, zero value otherwise.
### GetNotDeletedOfferIdsOk
`func (o *DeleteOffersDTO) GetNotDeletedOfferIdsOk() (*[]string, bool)`
GetNotDeletedOfferIdsOk returns a tuple with the NotDeletedOfferIds field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNotDeletedOfferIds
`func (o *DeleteOffersDTO) SetNotDeletedOfferIds(v []string)`
SetNotDeletedOfferIds sets NotDeletedOfferIds field to given value.
### HasNotDeletedOfferIds
`func (o *DeleteOffersDTO) HasNotDeletedOfferIds() bool`
HasNotDeletedOfferIds returns a boolean if a field has been set.
### SetNotDeletedOfferIdsNil
`func (o *DeleteOffersDTO) SetNotDeletedOfferIdsNil(b bool)`
SetNotDeletedOfferIdsNil sets the value for NotDeletedOfferIds to be an explicit nil
### UnsetNotDeletedOfferIds
`func (o *DeleteOffersDTO) UnsetNotDeletedOfferIds()`
UnsetNotDeletedOfferIds ensures that no value is present for NotDeletedOfferIds, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,66 @@
# DeleteOffersFromArchiveDTO
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**NotUnarchivedOfferIds** | Pointer to **[]string** | Список товаров, которые не удалось восстановить из архива. | [optional]
## Methods
### NewDeleteOffersFromArchiveDTO
`func NewDeleteOffersFromArchiveDTO() *DeleteOffersFromArchiveDTO`
NewDeleteOffersFromArchiveDTO instantiates a new DeleteOffersFromArchiveDTO 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
### NewDeleteOffersFromArchiveDTOWithDefaults
`func NewDeleteOffersFromArchiveDTOWithDefaults() *DeleteOffersFromArchiveDTO`
NewDeleteOffersFromArchiveDTOWithDefaults instantiates a new DeleteOffersFromArchiveDTO 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
### GetNotUnarchivedOfferIds
`func (o *DeleteOffersFromArchiveDTO) GetNotUnarchivedOfferIds() []string`
GetNotUnarchivedOfferIds returns the NotUnarchivedOfferIds field if non-nil, zero value otherwise.
### GetNotUnarchivedOfferIdsOk
`func (o *DeleteOffersFromArchiveDTO) GetNotUnarchivedOfferIdsOk() (*[]string, bool)`
GetNotUnarchivedOfferIdsOk returns a tuple with the NotUnarchivedOfferIds field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNotUnarchivedOfferIds
`func (o *DeleteOffersFromArchiveDTO) SetNotUnarchivedOfferIds(v []string)`
SetNotUnarchivedOfferIds sets NotUnarchivedOfferIds field to given value.
### HasNotUnarchivedOfferIds
`func (o *DeleteOffersFromArchiveDTO) HasNotUnarchivedOfferIds() bool`
HasNotUnarchivedOfferIds returns a boolean if a field has been set.
### SetNotUnarchivedOfferIdsNil
`func (o *DeleteOffersFromArchiveDTO) SetNotUnarchivedOfferIdsNil(b bool)`
SetNotUnarchivedOfferIdsNil sets the value for NotUnarchivedOfferIds to be an explicit nil
### UnsetNotUnarchivedOfferIds
`func (o *DeleteOffersFromArchiveDTO) UnsetNotUnarchivedOfferIds()`
UnsetNotUnarchivedOfferIds ensures that no value is present for NotUnarchivedOfferIds, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Some files were not shown because too many files have changed in this diff Show More