Name | Type | Description | Notes |
---|---|---|---|
AcceptedCoupons | Pointer to int32 | Total accepted coupons for this customer. | |
CreatedCoupons | Pointer to int32 | Total created coupons for this customer. | |
FreeItems | Pointer to int32 | Total free items given to this customer. | |
TotalOrders | Pointer to int32 | Total orders made by this customer. | |
TotalDiscountedOrders | Pointer to int32 | Total orders made by this customer that had a discount. | |
TotalRevenue | Pointer to float32 | Total Revenue across all closed sessions. | |
TotalDiscounts | Pointer to float32 | The sum of discounts that were given across all closed sessions. |
func (o *CustomerAnalytics) GetAcceptedCoupons() int32
GetAcceptedCoupons returns the AcceptedCoupons field if non-nil, zero value otherwise.
func (o *CustomerAnalytics) GetAcceptedCouponsOk() (int32, bool)
GetAcceptedCouponsOk returns a tuple with the AcceptedCoupons field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerAnalytics) HasAcceptedCoupons() bool
HasAcceptedCoupons returns a boolean if a field has been set.
func (o *CustomerAnalytics) SetAcceptedCoupons(v int32)
SetAcceptedCoupons gets a reference to the given int32 and assigns it to the AcceptedCoupons field.
func (o *CustomerAnalytics) GetCreatedCoupons() int32
GetCreatedCoupons returns the CreatedCoupons field if non-nil, zero value otherwise.
func (o *CustomerAnalytics) GetCreatedCouponsOk() (int32, bool)
GetCreatedCouponsOk returns a tuple with the CreatedCoupons field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerAnalytics) HasCreatedCoupons() bool
HasCreatedCoupons returns a boolean if a field has been set.
func (o *CustomerAnalytics) SetCreatedCoupons(v int32)
SetCreatedCoupons gets a reference to the given int32 and assigns it to the CreatedCoupons field.
func (o *CustomerAnalytics) GetFreeItems() int32
GetFreeItems returns the FreeItems field if non-nil, zero value otherwise.
func (o *CustomerAnalytics) GetFreeItemsOk() (int32, bool)
GetFreeItemsOk returns a tuple with the FreeItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerAnalytics) HasFreeItems() bool
HasFreeItems returns a boolean if a field has been set.
func (o *CustomerAnalytics) SetFreeItems(v int32)
SetFreeItems gets a reference to the given int32 and assigns it to the FreeItems field.
func (o *CustomerAnalytics) GetTotalOrders() int32
GetTotalOrders returns the TotalOrders field if non-nil, zero value otherwise.
func (o *CustomerAnalytics) GetTotalOrdersOk() (int32, bool)
GetTotalOrdersOk returns a tuple with the TotalOrders field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerAnalytics) HasTotalOrders() bool
HasTotalOrders returns a boolean if a field has been set.
func (o *CustomerAnalytics) SetTotalOrders(v int32)
SetTotalOrders gets a reference to the given int32 and assigns it to the TotalOrders field.
func (o *CustomerAnalytics) GetTotalDiscountedOrders() int32
GetTotalDiscountedOrders returns the TotalDiscountedOrders field if non-nil, zero value otherwise.
func (o *CustomerAnalytics) GetTotalDiscountedOrdersOk() (int32, bool)
GetTotalDiscountedOrdersOk returns a tuple with the TotalDiscountedOrders field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerAnalytics) HasTotalDiscountedOrders() bool
HasTotalDiscountedOrders returns a boolean if a field has been set.
func (o *CustomerAnalytics) SetTotalDiscountedOrders(v int32)
SetTotalDiscountedOrders gets a reference to the given int32 and assigns it to the TotalDiscountedOrders field.
func (o *CustomerAnalytics) GetTotalRevenue() float32
GetTotalRevenue returns the TotalRevenue field if non-nil, zero value otherwise.
func (o *CustomerAnalytics) GetTotalRevenueOk() (float32, bool)
GetTotalRevenueOk returns a tuple with the TotalRevenue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerAnalytics) HasTotalRevenue() bool
HasTotalRevenue returns a boolean if a field has been set.
func (o *CustomerAnalytics) SetTotalRevenue(v float32)
SetTotalRevenue gets a reference to the given float32 and assigns it to the TotalRevenue field.
func (o *CustomerAnalytics) GetTotalDiscounts() float32
GetTotalDiscounts returns the TotalDiscounts field if non-nil, zero value otherwise.
func (o *CustomerAnalytics) GetTotalDiscountsOk() (float32, bool)
GetTotalDiscountsOk returns a tuple with the TotalDiscounts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerAnalytics) HasTotalDiscounts() bool
HasTotalDiscounts returns a boolean if a field has been set.
func (o *CustomerAnalytics) SetTotalDiscounts(v float32)
SetTotalDiscounts gets a reference to the given float32 and assigns it to the TotalDiscounts field.