Skip to content

Latest commit

 

History

History
91 lines (48 loc) · 2.61 KB

AccountDashboardStatisticDiscount.md

File metadata and controls

91 lines (48 loc) · 2.61 KB

AccountDashboardStatisticDiscount

Properties

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.

Methods

GetTotal

func (o *AccountDashboardStatisticDiscount) GetTotal() float32

GetTotal returns the Total field if non-nil, zero value otherwise.

GetTotalOk

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.

HasTotal

func (o *AccountDashboardStatisticDiscount) HasTotal() bool

HasTotal returns a boolean if a field has been set.

SetTotal

func (o *AccountDashboardStatisticDiscount) SetTotal(v float32)

SetTotal gets a reference to the given float32 and assigns it to the Total field.

GetAverage

func (o *AccountDashboardStatisticDiscount) GetAverage() float32

GetAverage returns the Average field if non-nil, zero value otherwise.

GetAverageOk

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.

HasAverage

func (o *AccountDashboardStatisticDiscount) HasAverage() bool

HasAverage returns a boolean if a field has been set.

SetAverage

func (o *AccountDashboardStatisticDiscount) SetAverage(v float32)

SetAverage gets a reference to the given float32 and assigns it to the Average field.

GetDatetime

func (o *AccountDashboardStatisticDiscount) GetDatetime() time.Time

GetDatetime returns the Datetime field if non-nil, zero value otherwise.

GetDatetimeOk

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.

HasDatetime

func (o *AccountDashboardStatisticDiscount) HasDatetime() bool

HasDatetime returns a boolean if a field has been set.

SetDatetime

func (o *AccountDashboardStatisticDiscount) SetDatetime(v time.Time)

SetDatetime gets a reference to the given time.Time and assigns it to the Datetime field.

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