feat: shit shit
This commit is contained in:
98
pkg/api/yandex/ymclient/docs/PriceWithDiscountDTO.md
Normal file
98
pkg/api/yandex/ymclient/docs/PriceWithDiscountDTO.md
Normal file
@@ -0,0 +1,98 @@
|
||||
# PriceWithDiscountDTO
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Value** | **float32** | Цена товара. |
|
||||
**CurrencyId** | [**CurrencyType**](CurrencyType.md) | |
|
||||
**DiscountBase** | Pointer to **float32** | Зачеркнутая цена. Число должно быть целым. Вы можете указать цену со скидкой от 5 до 99%. Передавайте этот параметр при каждом обновлении цены, если предоставляете скидку на товар. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewPriceWithDiscountDTO
|
||||
|
||||
`func NewPriceWithDiscountDTO(value float32, currencyId CurrencyType, ) *PriceWithDiscountDTO`
|
||||
|
||||
NewPriceWithDiscountDTO instantiates a new PriceWithDiscountDTO 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
|
||||
|
||||
### NewPriceWithDiscountDTOWithDefaults
|
||||
|
||||
`func NewPriceWithDiscountDTOWithDefaults() *PriceWithDiscountDTO`
|
||||
|
||||
NewPriceWithDiscountDTOWithDefaults instantiates a new PriceWithDiscountDTO 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 *PriceWithDiscountDTO) GetValue() float32`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *PriceWithDiscountDTO) 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 *PriceWithDiscountDTO) SetValue(v float32)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
|
||||
### GetCurrencyId
|
||||
|
||||
`func (o *PriceWithDiscountDTO) GetCurrencyId() CurrencyType`
|
||||
|
||||
GetCurrencyId returns the CurrencyId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCurrencyIdOk
|
||||
|
||||
`func (o *PriceWithDiscountDTO) 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 *PriceWithDiscountDTO) SetCurrencyId(v CurrencyType)`
|
||||
|
||||
SetCurrencyId sets CurrencyId field to given value.
|
||||
|
||||
|
||||
### GetDiscountBase
|
||||
|
||||
`func (o *PriceWithDiscountDTO) GetDiscountBase() float32`
|
||||
|
||||
GetDiscountBase returns the DiscountBase field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDiscountBaseOk
|
||||
|
||||
`func (o *PriceWithDiscountDTO) GetDiscountBaseOk() (*float32, bool)`
|
||||
|
||||
GetDiscountBaseOk returns a tuple with the DiscountBase field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDiscountBase
|
||||
|
||||
`func (o *PriceWithDiscountDTO) SetDiscountBase(v float32)`
|
||||
|
||||
SetDiscountBase sets DiscountBase field to given value.
|
||||
|
||||
### HasDiscountBase
|
||||
|
||||
`func (o *PriceWithDiscountDTO) HasDiscountBase() bool`
|
||||
|
||||
HasDiscountBase 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user