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] |
func (o *CustomerInventory) GetProfile() CustomerProfile
GetProfile returns the Profile field if non-nil, zero value otherwise.
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.
func (o *CustomerInventory) HasProfile() bool
HasProfile returns a boolean if a field has been set.
func (o *CustomerInventory) SetProfile(v CustomerProfile)
SetProfile gets a reference to the given CustomerProfile and assigns it to the Profile field.
func (o *CustomerInventory) GetLoyalty() Loyalty
GetLoyalty returns the Loyalty field if non-nil, zero value otherwise.
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.
func (o *CustomerInventory) HasLoyalty() bool
HasLoyalty returns a boolean if a field has been set.
func (o *CustomerInventory) SetLoyalty(v Loyalty)
SetLoyalty gets a reference to the given Loyalty and assigns it to the Loyalty field.
func (o *CustomerInventory) GetReferrals() []InventoryReferral
GetReferrals returns the Referrals field if non-nil, zero value otherwise.
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.
func (o *CustomerInventory) HasReferrals() bool
HasReferrals returns a boolean if a field has been set.
func (o *CustomerInventory) SetReferrals(v []InventoryReferral)
SetReferrals gets a reference to the given []InventoryReferral and assigns it to the Referrals field.
func (o *CustomerInventory) GetCoupons() []InventoryCoupon
GetCoupons returns the Coupons field if non-nil, zero value otherwise.
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.
func (o *CustomerInventory) HasCoupons() bool
HasCoupons returns a boolean if a field has been set.
func (o *CustomerInventory) SetCoupons(v []InventoryCoupon)
SetCoupons gets a reference to the given []InventoryCoupon and assigns it to the Coupons field.
func (o *CustomerInventory) GetGiveaways() []Giveaway
GetGiveaways returns the Giveaways field if non-nil, zero value otherwise.
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.
func (o *CustomerInventory) HasGiveaways() bool
HasGiveaways returns a boolean if a field has been set.
func (o *CustomerInventory) SetGiveaways(v []Giveaway)
SetGiveaways gets a reference to the given []Giveaway and assigns it to the Giveaways field.
func (o *CustomerInventory) GetAchievements() []AchievementProgress
GetAchievements returns the Achievements field if non-nil, zero value otherwise.
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.
func (o *CustomerInventory) HasAchievements() bool
HasAchievements returns a boolean if a field has been set.
func (o *CustomerInventory) SetAchievements(v []AchievementProgress)
SetAchievements gets a reference to the given []AchievementProgress and assigns it to the Achievements field.