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

3.2 KiB
Raw Blame History

OfferPriceDTO

Properties

Name Type Description Notes
OfferId Pointer to string Ваш :no-translate[SKU] — идентификатор товара в вашей системе. Правила использования :no-translate[SKU]: * У каждого товара :no-translate[SKU] должен быть свой. * Уже заданный :no-translate[SKU] нельзя освободить и использовать заново для другого товара. Каждый товар должен получать новый идентификатор, до того никогда не использовавшийся в вашем каталоге. :no-translate[SKU] товара можно изменить в кабинете продавца на Маркете. О том, как это сделать, читайте в Справке Маркета для продавцов. Что такое :no-translate[SKU] и как его назначать [optional]
Price Pointer to PriceDTO [optional]

Methods

NewOfferPriceDTO

func NewOfferPriceDTO() *OfferPriceDTO

NewOfferPriceDTO instantiates a new OfferPriceDTO 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

NewOfferPriceDTOWithDefaults

func NewOfferPriceDTOWithDefaults() *OfferPriceDTO

NewOfferPriceDTOWithDefaults instantiates a new OfferPriceDTO 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 *OfferPriceDTO) GetOfferId() string

GetOfferId returns the OfferId field if non-nil, zero value otherwise.

GetOfferIdOk

func (o *OfferPriceDTO) 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 *OfferPriceDTO) SetOfferId(v string)

SetOfferId sets OfferId field to given value.

HasOfferId

func (o *OfferPriceDTO) HasOfferId() bool

HasOfferId returns a boolean if a field has been set.

GetPrice

func (o *OfferPriceDTO) GetPrice() PriceDTO

GetPrice returns the Price field if non-nil, zero value otherwise.

GetPriceOk

func (o *OfferPriceDTO) GetPriceOk() (*PriceDTO, 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 *OfferPriceDTO) SetPrice(v PriceDTO)

SetPrice sets Price field to given value.

HasPrice

func (o *OfferPriceDTO) HasPrice() bool

HasPrice returns a boolean if a field has been set.

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