Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddonConstraint ¶
type AddonConstraint string
const ( AddonConstraintNone AddonConstraint = "none" AddonConstraintAll AddonConstraint = "all" AddonConstraintSpecific AddonConstraint = "specific" AddonConstraintNotApplicable AddonConstraint = "not_applicable" )
type ApplyDiscountOn ¶
type ApplyDiscountOn string
const ( ApplyDiscountOnPlans ApplyDiscountOn = "plans" ApplyDiscountOnPlansAndAddons ApplyDiscountOn = "plans_and_addons" ApplyDiscountOnPlansWithQuantity ApplyDiscountOn = "plans_with_quantity" ApplyDiscountOnNotApplicable ApplyDiscountOn = "not_applicable" )
type CouponConstraintEntityType ¶ added in v3.4.0
type CouponConstraintEntityType string
const (
CouponConstraintEntityTypeCustomer CouponConstraintEntityType = "customer"
)
type CouponConstraintType ¶ added in v3.4.0
type CouponConstraintType string
const ( CouponConstraintTypeMaxRedemptions CouponConstraintType = "max_redemptions" CouponConstraintTypeUniqueBy CouponConstraintType = "unique_by" )
type DiscountType ¶
type DiscountType string
const ( DiscountTypeFixedAmount DiscountType = "fixed_amount" DiscountTypePercentage DiscountType = "percentage" DiscountTypeOfferQuantity DiscountType = "offer_quantity" )
type DurationType ¶
type DurationType string
const ( DurationTypeOneTime DurationType = "one_time" DurationTypeForever DurationType = "forever" DurationTypeLimitedPeriod DurationType = "limited_period" )
type ItemConstraintConstraint ¶
type ItemConstraintConstraint string
const ( ItemConstraintConstraintNone ItemConstraintConstraint = "none" ItemConstraintConstraintAll ItemConstraintConstraint = "all" ItemConstraintConstraintSpecific ItemConstraintConstraint = "specific" ItemConstraintConstraintCriteria ItemConstraintConstraint = "criteria" )
type ItemConstraintCriteriaItemType ¶
type ItemConstraintCriteriaItemType string
const ( ItemConstraintCriteriaItemTypePlan ItemConstraintCriteriaItemType = "plan" ItemConstraintCriteriaItemTypeAddon ItemConstraintCriteriaItemType = "addon" ItemConstraintCriteriaItemTypeCharge ItemConstraintCriteriaItemType = "charge" )
type ItemConstraintItemType ¶
type ItemConstraintItemType string
const ( ItemConstraintItemTypePlan ItemConstraintItemType = "plan" ItemConstraintItemTypeAddon ItemConstraintItemType = "addon" ItemConstraintItemTypeCharge ItemConstraintItemType = "charge" )
type PlanConstraint ¶
type PlanConstraint string
const ( PlanConstraintNone PlanConstraint = "none" PlanConstraintAll PlanConstraint = "all" PlanConstraintSpecific PlanConstraint = "specific" PlanConstraintNotApplicable PlanConstraint = "not_applicable" )
Click to show internal directories.
Click to hide internal directories.