Name | Type | Description | Notes |
---|---|---|---|
Total | Pointer to float32 | Total discount value redeemed by users. | |
Average | Pointer to float32 | Average discount percentage. | |
Datetime | Pointer to time.Time | Values aggregated for the specified date. |
func (o *AccountDashboardStatisticDiscount) GetTotal() float32
GetTotal returns the Total field if non-nil, zero value otherwise.
func (o *AccountDashboardStatisticDiscount) GetTotalOk() (float32, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccountDashboardStatisticDiscount) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (o *AccountDashboardStatisticDiscount) SetTotal(v float32)
SetTotal gets a reference to the given float32 and assigns it to the Total field.
func (o *AccountDashboardStatisticDiscount) GetAverage() float32
GetAverage returns the Average field if non-nil, zero value otherwise.
func (o *AccountDashboardStatisticDiscount) GetAverageOk() (float32, bool)
GetAverageOk returns a tuple with the Average field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccountDashboardStatisticDiscount) HasAverage() bool
HasAverage returns a boolean if a field has been set.
func (o *AccountDashboardStatisticDiscount) SetAverage(v float32)
SetAverage gets a reference to the given float32 and assigns it to the Average field.
func (o *AccountDashboardStatisticDiscount) GetDatetime() time.Time
GetDatetime returns the Datetime field if non-nil, zero value otherwise.
func (o *AccountDashboardStatisticDiscount) GetDatetimeOk() (time.Time, bool)
GetDatetimeOk returns a tuple with the Datetime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccountDashboardStatisticDiscount) HasDatetime() bool
HasDatetime returns a boolean if a field has been set.
func (o *AccountDashboardStatisticDiscount) SetDatetime(v time.Time)
SetDatetime gets a reference to the given time.Time and assigns it to the Datetime field.