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

2.9 KiB

MaxSaleQuantumDTO

Properties

Name Type Description Notes
Id int64 Идентификатор категории.
Name Pointer to string Название категории. [optional]
MaxSaleQuantum Pointer to int32 Лимит на установку кванта и минимального количества товаров. [optional]

Methods

NewMaxSaleQuantumDTO

func NewMaxSaleQuantumDTO(id int64, ) *MaxSaleQuantumDTO

NewMaxSaleQuantumDTO instantiates a new MaxSaleQuantumDTO 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

NewMaxSaleQuantumDTOWithDefaults

func NewMaxSaleQuantumDTOWithDefaults() *MaxSaleQuantumDTO

NewMaxSaleQuantumDTOWithDefaults instantiates a new MaxSaleQuantumDTO 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 *MaxSaleQuantumDTO) GetId() int64

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *MaxSaleQuantumDTO) 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 *MaxSaleQuantumDTO) SetId(v int64)

SetId sets Id field to given value.

GetName

func (o *MaxSaleQuantumDTO) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *MaxSaleQuantumDTO) 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 *MaxSaleQuantumDTO) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *MaxSaleQuantumDTO) HasName() bool

HasName returns a boolean if a field has been set.

GetMaxSaleQuantum

func (o *MaxSaleQuantumDTO) GetMaxSaleQuantum() int32

GetMaxSaleQuantum returns the MaxSaleQuantum field if non-nil, zero value otherwise.

GetMaxSaleQuantumOk

func (o *MaxSaleQuantumDTO) GetMaxSaleQuantumOk() (*int32, bool)

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

SetMaxSaleQuantum

func (o *MaxSaleQuantumDTO) SetMaxSaleQuantum(v int32)

SetMaxSaleQuantum sets MaxSaleQuantum field to given value.

HasMaxSaleQuantum

func (o *MaxSaleQuantumDTO) HasMaxSaleQuantum() bool

HasMaxSaleQuantum returns a boolean if a field has been set.

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