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

2.0 KiB

BasePriceDTO

Properties

Name Type Description Notes
Value float32 Цена товара.
CurrencyId CurrencyType

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] [Back to API list] [Back to README]