Skip to content

Latest commit

 

History

History
143 lines (76 loc) · 3.72 KB

IntegrationState.md

File metadata and controls

143 lines (76 loc) · 3.72 KB

IntegrationState

Properties

Name Type Description Notes
Session Pointer to CustomerSession
Profile Pointer to CustomerProfile
Event Pointer to Event
Loyalty Pointer to Loyalty [optional]
Coupon Pointer to Coupon [optional]

Methods

GetSession

func (o *IntegrationState) GetSession() CustomerSession

GetSession returns the Session field if non-nil, zero value otherwise.

GetSessionOk

func (o *IntegrationState) GetSessionOk() (CustomerSession, bool)

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

HasSession

func (o *IntegrationState) HasSession() bool

HasSession returns a boolean if a field has been set.

SetSession

func (o *IntegrationState) SetSession(v CustomerSession)

SetSession gets a reference to the given CustomerSession and assigns it to the Session field.

GetProfile

func (o *IntegrationState) GetProfile() CustomerProfile

GetProfile returns the Profile field if non-nil, zero value otherwise.

GetProfileOk

func (o *IntegrationState) GetProfileOk() (CustomerProfile, bool)

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

HasProfile

func (o *IntegrationState) HasProfile() bool

HasProfile returns a boolean if a field has been set.

SetProfile

func (o *IntegrationState) SetProfile(v CustomerProfile)

SetProfile gets a reference to the given CustomerProfile and assigns it to the Profile field.

GetEvent

func (o *IntegrationState) GetEvent() Event

GetEvent returns the Event field if non-nil, zero value otherwise.

GetEventOk

func (o *IntegrationState) GetEventOk() (Event, bool)

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

HasEvent

func (o *IntegrationState) HasEvent() bool

HasEvent returns a boolean if a field has been set.

SetEvent

func (o *IntegrationState) SetEvent(v Event)

SetEvent gets a reference to the given Event and assigns it to the Event field.

GetLoyalty

func (o *IntegrationState) GetLoyalty() Loyalty

GetLoyalty returns the Loyalty field if non-nil, zero value otherwise.

GetLoyaltyOk

func (o *IntegrationState) GetLoyaltyOk() (Loyalty, bool)

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

HasLoyalty

func (o *IntegrationState) HasLoyalty() bool

HasLoyalty returns a boolean if a field has been set.

SetLoyalty

func (o *IntegrationState) SetLoyalty(v Loyalty)

SetLoyalty gets a reference to the given Loyalty and assigns it to the Loyalty field.

GetCoupon

func (o *IntegrationState) GetCoupon() Coupon

GetCoupon returns the Coupon field if non-nil, zero value otherwise.

GetCouponOk

func (o *IntegrationState) GetCouponOk() (Coupon, bool)

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

HasCoupon

func (o *IntegrationState) HasCoupon() bool

HasCoupon returns a boolean if a field has been set.

SetCoupon

func (o *IntegrationState) SetCoupon(v Coupon)

SetCoupon gets a reference to the given Coupon and assigns it to the Coupon field.

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