Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.05 KB

SalesChannel.md

File metadata and controls

82 lines (45 loc) · 2.05 KB

SalesChannel

Properties

Name Type Description Notes
Id Pointer to string Sales channel id [optional]
Name Pointer to string Sales channel name [optional]

Methods

NewSalesChannel

func NewSalesChannel() *SalesChannel

NewSalesChannel instantiates a new SalesChannel 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

NewSalesChannelWithDefaults

func NewSalesChannelWithDefaults() *SalesChannel

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

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *SalesChannel) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *SalesChannel) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *SalesChannel) HasName() bool

HasName returns a boolean if a field has been set.

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