Skip to content

Latest commit

 

History

History
169 lines (90 loc) · 4.92 KB

CustomerInventory.md

File metadata and controls

169 lines (90 loc) · 4.92 KB

CustomerInventory

Properties

Name Type Description Notes
Profile Pointer to CustomerProfile [optional]
Loyalty Pointer to Loyalty [optional]
Referrals Pointer to []InventoryReferral [optional]
Coupons Pointer to []InventoryCoupon The coupons reserved by this profile. This array includes hard and soft reservations. [optional]
Giveaways Pointer to []Giveaway [optional]
Achievements Pointer to []AchievementProgress [optional]

Methods

GetProfile

func (o *CustomerInventory) GetProfile() CustomerProfile

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

GetProfileOk

func (o *CustomerInventory) 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 *CustomerInventory) HasProfile() bool

HasProfile returns a boolean if a field has been set.

SetProfile

func (o *CustomerInventory) SetProfile(v CustomerProfile)

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

GetLoyalty

func (o *CustomerInventory) GetLoyalty() Loyalty

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

GetLoyaltyOk

func (o *CustomerInventory) 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 *CustomerInventory) HasLoyalty() bool

HasLoyalty returns a boolean if a field has been set.

SetLoyalty

func (o *CustomerInventory) SetLoyalty(v Loyalty)

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

GetReferrals

func (o *CustomerInventory) GetReferrals() []InventoryReferral

GetReferrals returns the Referrals field if non-nil, zero value otherwise.

GetReferralsOk

func (o *CustomerInventory) GetReferralsOk() ([]InventoryReferral, bool)

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

HasReferrals

func (o *CustomerInventory) HasReferrals() bool

HasReferrals returns a boolean if a field has been set.

SetReferrals

func (o *CustomerInventory) SetReferrals(v []InventoryReferral)

SetReferrals gets a reference to the given []InventoryReferral and assigns it to the Referrals field.

GetCoupons

func (o *CustomerInventory) GetCoupons() []InventoryCoupon

GetCoupons returns the Coupons field if non-nil, zero value otherwise.

GetCouponsOk

func (o *CustomerInventory) GetCouponsOk() ([]InventoryCoupon, bool)

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

HasCoupons

func (o *CustomerInventory) HasCoupons() bool

HasCoupons returns a boolean if a field has been set.

SetCoupons

func (o *CustomerInventory) SetCoupons(v []InventoryCoupon)

SetCoupons gets a reference to the given []InventoryCoupon and assigns it to the Coupons field.

GetGiveaways

func (o *CustomerInventory) GetGiveaways() []Giveaway

GetGiveaways returns the Giveaways field if non-nil, zero value otherwise.

GetGiveawaysOk

func (o *CustomerInventory) GetGiveawaysOk() ([]Giveaway, bool)

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

HasGiveaways

func (o *CustomerInventory) HasGiveaways() bool

HasGiveaways returns a boolean if a field has been set.

SetGiveaways

func (o *CustomerInventory) SetGiveaways(v []Giveaway)

SetGiveaways gets a reference to the given []Giveaway and assigns it to the Giveaways field.

GetAchievements

func (o *CustomerInventory) GetAchievements() []AchievementProgress

GetAchievements returns the Achievements field if non-nil, zero value otherwise.

GetAchievementsOk

func (o *CustomerInventory) GetAchievementsOk() ([]AchievementProgress, bool)

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

HasAchievements

func (o *CustomerInventory) HasAchievements() bool

HasAchievements returns a boolean if a field has been set.

SetAchievements

func (o *CustomerInventory) SetAchievements(v []AchievementProgress)

SetAchievements gets a reference to the given []AchievementProgress and assigns it to the Achievements field.

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