Files
sdk/docs/IamCartItem.md

3.9 KiB

IamCartItem

Properties

Name Type Description Notes
DisplayName Pointer to string [optional]
Name Pointer to string [optional]
Owner Pointer to string [optional]
Price Pointer to float64 [optional]
Quantity Pointer to int64 [optional]

Methods

NewIamCartItem

func NewIamCartItem() *IamCartItem

NewIamCartItem instantiates a new IamCartItem 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

NewIamCartItemWithDefaults

func NewIamCartItemWithDefaults() *IamCartItem

NewIamCartItemWithDefaults instantiates a new IamCartItem 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

GetDisplayName

func (o *IamCartItem) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

GetDisplayNameOk

func (o *IamCartItem) GetDisplayNameOk() (*string, bool)

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

SetDisplayName

func (o *IamCartItem) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

HasDisplayName

func (o *IamCartItem) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

GetName

func (o *IamCartItem) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *IamCartItem) HasName() bool

HasName returns a boolean if a field has been set.

GetOwner

func (o *IamCartItem) GetOwner() string

GetOwner returns the Owner field if non-nil, zero value otherwise.

GetOwnerOk

func (o *IamCartItem) GetOwnerOk() (*string, bool)

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

SetOwner

func (o *IamCartItem) SetOwner(v string)

SetOwner sets Owner field to given value.

HasOwner

func (o *IamCartItem) HasOwner() bool

HasOwner returns a boolean if a field has been set.

GetPrice

func (o *IamCartItem) GetPrice() float64

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

GetPriceOk

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

SetPrice sets Price field to given value.

HasPrice

func (o *IamCartItem) HasPrice() bool

HasPrice returns a boolean if a field has been set.

GetQuantity

func (o *IamCartItem) GetQuantity() int64

GetQuantity returns the Quantity field if non-nil, zero value otherwise.

GetQuantityOk

func (o *IamCartItem) GetQuantityOk() (*int64, bool)

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

SetQuantity

func (o *IamCartItem) SetQuantity(v int64)

SetQuantity sets Quantity field to given value.

HasQuantity

func (o *IamCartItem) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

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