| Name | Type | Description | Notes |
|---|---|---|---|
| Date | Pointer to time.Time | ||
| CampaignRevenue | Pointer to float32 | Amount of revenue in this campaign (for coupon or discount sessions). | |
| TotalCampaignRevenue | Pointer to float32 | Amount of revenue in this campaign since it began (for coupon or discount sessions). | |
| CampaignRefund | Pointer to float32 | Amount of refunds in this campaign (for coupon or discount sessions). | |
| TotalCampaignRefund | Pointer to float32 | Amount of refunds in this campaign since it began (for coupon or discount sessions). | |
| CampaignDiscountCosts | Pointer to float32 | Amount of cost caused by discounts given in the campaign. | |
| TotalCampaignDiscountCosts | Pointer to float32 | Amount of cost caused by discounts given in the campaign since it began. | |
| CampaignRefundedDiscounts | Pointer to float32 | Amount of discounts rolledback due to refund in the campaign. | |
| TotalCampaignRefundedDiscounts | Pointer to float32 | Amount of discounts rolledback due to refund in the campaign since it began. | |
| CampaignFreeItems | Pointer to int64 | Amount of free items given in the campaign. | |
| TotalCampaignFreeItems | Pointer to int64 | Amount of free items given in the campaign since it began. | |
| CouponRedemptions | Pointer to int64 | Number of coupon redemptions in the campaign. | |
| TotalCouponRedemptions | Pointer to int64 | Number of coupon redemptions in the campaign since it began. | |
| CouponRolledbackRedemptions | Pointer to int64 | Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign. | |
| TotalCouponRolledbackRedemptions | Pointer to int64 | Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign since it began. | |
| ReferralRedemptions | Pointer to int64 | Number of referral redemptions in the campaign. | |
| TotalReferralRedemptions | Pointer to int64 | Number of referral redemptions in the campaign since it began. | |
| CouponsCreated | Pointer to int64 | Number of coupons created in the campaign by the rule engine. | |
| TotalCouponsCreated | Pointer to int64 | Number of coupons created in the campaign by the rule engine since it began. | |
| ReferralsCreated | Pointer to int64 | Number of referrals created in the campaign by the rule engine. | |
| TotalReferralsCreated | Pointer to int64 | Number of referrals created in the campaign by the rule engine since it began. | |
| AddedLoyaltyPoints | Pointer to float32 | Number of added loyalty points in the campaign in a specific interval. | |
| TotalAddedLoyaltyPoints | Pointer to float32 | Number of added loyalty points in the campaign since it began. | |
| DeductedLoyaltyPoints | Pointer to float32 | Number of deducted loyalty points in the campaign in a specific interval. | |
| TotalDeductedLoyaltyPoints | Pointer to float32 | Number of deducted loyalty points in the campaign since it began. |
func NewCampaignAnalytics(date time.Time, campaignRevenue float32, totalCampaignRevenue float32, campaignRefund float32, totalCampaignRefund float32, campaignDiscountCosts float32, totalCampaignDiscountCosts float32, campaignRefundedDiscounts float32, totalCampaignRefundedDiscounts float32, campaignFreeItems int64, totalCampaignFreeItems int64, couponRedemptions int64, totalCouponRedemptions int64, couponRolledbackRedemptions int64, totalCouponRolledbackRedemptions int64, referralRedemptions int64, totalReferralRedemptions int64, couponsCreated int64, totalCouponsCreated int64, referralsCreated int64, totalReferralsCreated int64, addedLoyaltyPoints float32, totalAddedLoyaltyPoints float32, deductedLoyaltyPoints float32, totalDeductedLoyaltyPoints float32, ) *CampaignAnalytics
NewCampaignAnalytics instantiates a new CampaignAnalytics object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCampaignAnalyticsWithDefaults() *CampaignAnalytics
NewCampaignAnalyticsWithDefaults instantiates a new CampaignAnalytics object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CampaignAnalytics) GetDate() time.Time
GetDate returns the Date field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetDateOk() (*time.Time, bool)
GetDateOk returns a tuple with the Date field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetDate(v time.Time)
SetDate sets Date field to given value.
func (o *CampaignAnalytics) GetCampaignRevenue() float32
GetCampaignRevenue returns the CampaignRevenue field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetCampaignRevenueOk() (*float32, bool)
GetCampaignRevenueOk returns a tuple with the CampaignRevenue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetCampaignRevenue(v float32)
SetCampaignRevenue sets CampaignRevenue field to given value.
func (o *CampaignAnalytics) GetTotalCampaignRevenue() float32
GetTotalCampaignRevenue returns the TotalCampaignRevenue field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalCampaignRevenueOk() (*float32, bool)
GetTotalCampaignRevenueOk returns a tuple with the TotalCampaignRevenue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalCampaignRevenue(v float32)
SetTotalCampaignRevenue sets TotalCampaignRevenue field to given value.
func (o *CampaignAnalytics) GetCampaignRefund() float32
GetCampaignRefund returns the CampaignRefund field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetCampaignRefundOk() (*float32, bool)
GetCampaignRefundOk returns a tuple with the CampaignRefund field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetCampaignRefund(v float32)
SetCampaignRefund sets CampaignRefund field to given value.
func (o *CampaignAnalytics) GetTotalCampaignRefund() float32
GetTotalCampaignRefund returns the TotalCampaignRefund field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalCampaignRefundOk() (*float32, bool)
GetTotalCampaignRefundOk returns a tuple with the TotalCampaignRefund field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalCampaignRefund(v float32)
SetTotalCampaignRefund sets TotalCampaignRefund field to given value.
func (o *CampaignAnalytics) GetCampaignDiscountCosts() float32
GetCampaignDiscountCosts returns the CampaignDiscountCosts field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetCampaignDiscountCostsOk() (*float32, bool)
GetCampaignDiscountCostsOk returns a tuple with the CampaignDiscountCosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetCampaignDiscountCosts(v float32)
SetCampaignDiscountCosts sets CampaignDiscountCosts field to given value.
func (o *CampaignAnalytics) GetTotalCampaignDiscountCosts() float32
GetTotalCampaignDiscountCosts returns the TotalCampaignDiscountCosts field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalCampaignDiscountCostsOk() (*float32, bool)
GetTotalCampaignDiscountCostsOk returns a tuple with the TotalCampaignDiscountCosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalCampaignDiscountCosts(v float32)
SetTotalCampaignDiscountCosts sets TotalCampaignDiscountCosts field to given value.
func (o *CampaignAnalytics) GetCampaignRefundedDiscounts() float32
GetCampaignRefundedDiscounts returns the CampaignRefundedDiscounts field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetCampaignRefundedDiscountsOk() (*float32, bool)
GetCampaignRefundedDiscountsOk returns a tuple with the CampaignRefundedDiscounts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetCampaignRefundedDiscounts(v float32)
SetCampaignRefundedDiscounts sets CampaignRefundedDiscounts field to given value.
func (o *CampaignAnalytics) GetTotalCampaignRefundedDiscounts() float32
GetTotalCampaignRefundedDiscounts returns the TotalCampaignRefundedDiscounts field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalCampaignRefundedDiscountsOk() (*float32, bool)
GetTotalCampaignRefundedDiscountsOk returns a tuple with the TotalCampaignRefundedDiscounts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalCampaignRefundedDiscounts(v float32)
SetTotalCampaignRefundedDiscounts sets TotalCampaignRefundedDiscounts field to given value.
func (o *CampaignAnalytics) GetCampaignFreeItems() int64
GetCampaignFreeItems returns the CampaignFreeItems field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetCampaignFreeItemsOk() (*int64, bool)
GetCampaignFreeItemsOk returns a tuple with the CampaignFreeItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetCampaignFreeItems(v int64)
SetCampaignFreeItems sets CampaignFreeItems field to given value.
func (o *CampaignAnalytics) GetTotalCampaignFreeItems() int64
GetTotalCampaignFreeItems returns the TotalCampaignFreeItems field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalCampaignFreeItemsOk() (*int64, bool)
GetTotalCampaignFreeItemsOk returns a tuple with the TotalCampaignFreeItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalCampaignFreeItems(v int64)
SetTotalCampaignFreeItems sets TotalCampaignFreeItems field to given value.
func (o *CampaignAnalytics) GetCouponRedemptions() int64
GetCouponRedemptions returns the CouponRedemptions field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetCouponRedemptionsOk() (*int64, bool)
GetCouponRedemptionsOk returns a tuple with the CouponRedemptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetCouponRedemptions(v int64)
SetCouponRedemptions sets CouponRedemptions field to given value.
func (o *CampaignAnalytics) GetTotalCouponRedemptions() int64
GetTotalCouponRedemptions returns the TotalCouponRedemptions field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalCouponRedemptionsOk() (*int64, bool)
GetTotalCouponRedemptionsOk returns a tuple with the TotalCouponRedemptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalCouponRedemptions(v int64)
SetTotalCouponRedemptions sets TotalCouponRedemptions field to given value.
func (o *CampaignAnalytics) GetCouponRolledbackRedemptions() int64
GetCouponRolledbackRedemptions returns the CouponRolledbackRedemptions field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetCouponRolledbackRedemptionsOk() (*int64, bool)
GetCouponRolledbackRedemptionsOk returns a tuple with the CouponRolledbackRedemptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetCouponRolledbackRedemptions(v int64)
SetCouponRolledbackRedemptions sets CouponRolledbackRedemptions field to given value.
func (o *CampaignAnalytics) GetTotalCouponRolledbackRedemptions() int64
GetTotalCouponRolledbackRedemptions returns the TotalCouponRolledbackRedemptions field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalCouponRolledbackRedemptionsOk() (*int64, bool)
GetTotalCouponRolledbackRedemptionsOk returns a tuple with the TotalCouponRolledbackRedemptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalCouponRolledbackRedemptions(v int64)
SetTotalCouponRolledbackRedemptions sets TotalCouponRolledbackRedemptions field to given value.
func (o *CampaignAnalytics) GetReferralRedemptions() int64
GetReferralRedemptions returns the ReferralRedemptions field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetReferralRedemptionsOk() (*int64, bool)
GetReferralRedemptionsOk returns a tuple with the ReferralRedemptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetReferralRedemptions(v int64)
SetReferralRedemptions sets ReferralRedemptions field to given value.
func (o *CampaignAnalytics) GetTotalReferralRedemptions() int64
GetTotalReferralRedemptions returns the TotalReferralRedemptions field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalReferralRedemptionsOk() (*int64, bool)
GetTotalReferralRedemptionsOk returns a tuple with the TotalReferralRedemptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalReferralRedemptions(v int64)
SetTotalReferralRedemptions sets TotalReferralRedemptions field to given value.
func (o *CampaignAnalytics) GetCouponsCreated() int64
GetCouponsCreated returns the CouponsCreated field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetCouponsCreatedOk() (*int64, bool)
GetCouponsCreatedOk returns a tuple with the CouponsCreated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetCouponsCreated(v int64)
SetCouponsCreated sets CouponsCreated field to given value.
func (o *CampaignAnalytics) GetTotalCouponsCreated() int64
GetTotalCouponsCreated returns the TotalCouponsCreated field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalCouponsCreatedOk() (*int64, bool)
GetTotalCouponsCreatedOk returns a tuple with the TotalCouponsCreated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalCouponsCreated(v int64)
SetTotalCouponsCreated sets TotalCouponsCreated field to given value.
func (o *CampaignAnalytics) GetReferralsCreated() int64
GetReferralsCreated returns the ReferralsCreated field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetReferralsCreatedOk() (*int64, bool)
GetReferralsCreatedOk returns a tuple with the ReferralsCreated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetReferralsCreated(v int64)
SetReferralsCreated sets ReferralsCreated field to given value.
func (o *CampaignAnalytics) GetTotalReferralsCreated() int64
GetTotalReferralsCreated returns the TotalReferralsCreated field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalReferralsCreatedOk() (*int64, bool)
GetTotalReferralsCreatedOk returns a tuple with the TotalReferralsCreated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalReferralsCreated(v int64)
SetTotalReferralsCreated sets TotalReferralsCreated field to given value.
func (o *CampaignAnalytics) GetAddedLoyaltyPoints() float32
GetAddedLoyaltyPoints returns the AddedLoyaltyPoints field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetAddedLoyaltyPointsOk() (*float32, bool)
GetAddedLoyaltyPointsOk returns a tuple with the AddedLoyaltyPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetAddedLoyaltyPoints(v float32)
SetAddedLoyaltyPoints sets AddedLoyaltyPoints field to given value.
func (o *CampaignAnalytics) GetTotalAddedLoyaltyPoints() float32
GetTotalAddedLoyaltyPoints returns the TotalAddedLoyaltyPoints field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalAddedLoyaltyPointsOk() (*float32, bool)
GetTotalAddedLoyaltyPointsOk returns a tuple with the TotalAddedLoyaltyPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalAddedLoyaltyPoints(v float32)
SetTotalAddedLoyaltyPoints sets TotalAddedLoyaltyPoints field to given value.
func (o *CampaignAnalytics) GetDeductedLoyaltyPoints() float32
GetDeductedLoyaltyPoints returns the DeductedLoyaltyPoints field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetDeductedLoyaltyPointsOk() (*float32, bool)
GetDeductedLoyaltyPointsOk returns a tuple with the DeductedLoyaltyPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetDeductedLoyaltyPoints(v float32)
SetDeductedLoyaltyPoints sets DeductedLoyaltyPoints field to given value.
func (o *CampaignAnalytics) GetTotalDeductedLoyaltyPoints() float32
GetTotalDeductedLoyaltyPoints returns the TotalDeductedLoyaltyPoints field if non-nil, zero value otherwise.
func (o *CampaignAnalytics) GetTotalDeductedLoyaltyPointsOk() (*float32, bool)
GetTotalDeductedLoyaltyPointsOk returns a tuple with the TotalDeductedLoyaltyPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignAnalytics) SetTotalDeductedLoyaltyPoints(v float32)
SetTotalDeductedLoyaltyPoints sets TotalDeductedLoyaltyPoints field to given value.