enum

package
v3.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 0 Imported by: 1

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 ApplyOn

type ApplyOn string
const (
	ApplyOnInvoiceAmount            ApplyOn = "invoice_amount"
	ApplyOnSpecifiedItemsTotal      ApplyOn = "specified_items_total"
	ApplyOnEachSpecifiedItem        ApplyOn = "each_specified_item"
	ApplyOnEachUnitOfSpecifiedItems ApplyOn = "each_unit_of_specified_items"
)

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"
)

type Status

type Status string
const (
	StatusActive   Status = "active"
	StatusExpired  Status = "expired"
	StatusArchived Status = "archived"
	StatusDeleted  Status = "deleted"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL