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

6.5 KiB
Raw Blame History

OrderBuyerInfoDTO

Properties

Name Type Description Notes
Id Pointer to string Идентификатор покупателя. [optional]
LastName Pointer to string Фамилия покупателя. [optional]
FirstName Pointer to string Имя покупателя. [optional]
MiddleName Pointer to string Отчество покупателя. [optional]
Type OrderBuyerType
Phone Pointer to string Подменный номер телефона покупателя. Подробнее о таких номерах читайте в Справке Маркета для продавцов. Формат номера: `+<код_страны><код_региона><номерелефона>`. [optional]
Trusted Pointer to bool Проверенный покупатель. Если параметр `trusted` вернулся со значением `true`, Маркет уже проверил покупателя — не звоните ему. Обработайте заказ как обычно и передайте его курьеру или отвезите в ПВЗ. При необходимости свяжитесь с покупателем в чате. Как это сделать Подробнее о звонках покупателю читайте в Справке Маркета для продавцов. [optional]

Methods

NewOrderBuyerInfoDTO

func NewOrderBuyerInfoDTO(type_ OrderBuyerType, ) *OrderBuyerInfoDTO

NewOrderBuyerInfoDTO instantiates a new OrderBuyerInfoDTO 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

NewOrderBuyerInfoDTOWithDefaults

func NewOrderBuyerInfoDTOWithDefaults() *OrderBuyerInfoDTO

NewOrderBuyerInfoDTOWithDefaults instantiates a new OrderBuyerInfoDTO 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 *OrderBuyerInfoDTO) GetId() string

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

GetIdOk

func (o *OrderBuyerInfoDTO) GetIdOk() (*string, 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 *OrderBuyerInfoDTO) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *OrderBuyerInfoDTO) HasId() bool

HasId returns a boolean if a field has been set.

GetLastName

func (o *OrderBuyerInfoDTO) GetLastName() string

GetLastName returns the LastName field if non-nil, zero value otherwise.

GetLastNameOk

func (o *OrderBuyerInfoDTO) GetLastNameOk() (*string, bool)

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

SetLastName

func (o *OrderBuyerInfoDTO) SetLastName(v string)

SetLastName sets LastName field to given value.

HasLastName

func (o *OrderBuyerInfoDTO) HasLastName() bool

HasLastName returns a boolean if a field has been set.

GetFirstName

func (o *OrderBuyerInfoDTO) GetFirstName() string

GetFirstName returns the FirstName field if non-nil, zero value otherwise.

GetFirstNameOk

func (o *OrderBuyerInfoDTO) GetFirstNameOk() (*string, bool)

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

SetFirstName

func (o *OrderBuyerInfoDTO) SetFirstName(v string)

SetFirstName sets FirstName field to given value.

HasFirstName

func (o *OrderBuyerInfoDTO) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

GetMiddleName

func (o *OrderBuyerInfoDTO) GetMiddleName() string

GetMiddleName returns the MiddleName field if non-nil, zero value otherwise.

GetMiddleNameOk

func (o *OrderBuyerInfoDTO) GetMiddleNameOk() (*string, bool)

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

SetMiddleName

func (o *OrderBuyerInfoDTO) SetMiddleName(v string)

SetMiddleName sets MiddleName field to given value.

HasMiddleName

func (o *OrderBuyerInfoDTO) HasMiddleName() bool

HasMiddleName returns a boolean if a field has been set.

GetType

func (o *OrderBuyerInfoDTO) GetType() OrderBuyerType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *OrderBuyerInfoDTO) GetTypeOk() (*OrderBuyerType, 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 *OrderBuyerInfoDTO) SetType(v OrderBuyerType)

SetType sets Type field to given value.

GetPhone

func (o *OrderBuyerInfoDTO) GetPhone() string

GetPhone returns the Phone field if non-nil, zero value otherwise.

GetPhoneOk

func (o *OrderBuyerInfoDTO) GetPhoneOk() (*string, bool)

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

SetPhone

func (o *OrderBuyerInfoDTO) SetPhone(v string)

SetPhone sets Phone field to given value.

HasPhone

func (o *OrderBuyerInfoDTO) HasPhone() bool

HasPhone returns a boolean if a field has been set.

GetTrusted

func (o *OrderBuyerInfoDTO) GetTrusted() bool

GetTrusted returns the Trusted field if non-nil, zero value otherwise.

GetTrustedOk

func (o *OrderBuyerInfoDTO) GetTrustedOk() (*bool, bool)

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

SetTrusted

func (o *OrderBuyerInfoDTO) SetTrusted(v bool)

SetTrusted sets Trusted field to given value.

HasTrusted

func (o *OrderBuyerInfoDTO) HasTrusted() bool

HasTrusted returns a boolean if a field has been set.

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