enum

package
v3.45.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 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 AccountHolderType

type AccountHolderType string
const (
	AccountHolderTypeIndividual AccountHolderType = "individual"
	AccountHolderTypeCompany    AccountHolderType = "company"
)

type AccountReceivablesHandling

type AccountReceivablesHandling string
const (
	AccountReceivablesHandlingNoAction                  AccountReceivablesHandling = "no_action"
	AccountReceivablesHandlingSchedulePaymentCollection AccountReceivablesHandling = "schedule_payment_collection"
	AccountReceivablesHandlingWriteOff                  AccountReceivablesHandling = "write_off"
)

type AccountType

type AccountType string
const (
	AccountTypeChecking         AccountType = "checking"
	AccountTypeSavings          AccountType = "savings"
	AccountTypeBusinessChecking AccountType = "business_checking"
	AccountTypeCurrent          AccountType = "current"
)

type Action

type Action string
const (
	ActionUpsert Action = "upsert"
	ActionRemove Action = "remove"
)

type ApiVersion

type ApiVersion string
const (
	ApiVersionV1 ApiVersion = "v1"
	ApiVersionV2 ApiVersion = "v2"
)

type ApplyOn

type ApplyOn string
const (
	ApplyOnInvoiceAmount     ApplyOn = "invoice_amount"
	ApplyOnSpecificItemPrice ApplyOn = "specific_item_price"
)

type AutoCollection

type AutoCollection string
const (
	AutoCollectionOn  AutoCollection = "on"
	AutoCollectionOff AutoCollection = "off"
)

type AvalaraSaleType

type AvalaraSaleType string
const (
	AvalaraSaleTypeWholesale AvalaraSaleType = "wholesale"
	AvalaraSaleTypeRetail    AvalaraSaleType = "retail"
	AvalaraSaleTypeConsumed  AvalaraSaleType = "consumed"
	AvalaraSaleTypeVendorUse AvalaraSaleType = "vendor_use"
)

type BillingAlignmentMode

type BillingAlignmentMode string
const (
	BillingAlignmentModeImmediate BillingAlignmentMode = "immediate"
	BillingAlignmentModeDelayed   BillingAlignmentMode = "delayed"
)

type BillingDateMode

type BillingDateMode string
const (
	BillingDateModeUsingDefaults BillingDateMode = "using_defaults"
	BillingDateModeManuallySet   BillingDateMode = "manually_set"
)

type BillingDayOfWeekMode

type BillingDayOfWeekMode string
const (
	BillingDayOfWeekModeUsingDefaults BillingDayOfWeekMode = "using_defaults"
	BillingDayOfWeekModeManuallySet   BillingDayOfWeekMode = "manually_set"
)

type BillingPeriodUnit added in v3.33.0

type BillingPeriodUnit string
const (
	BillingPeriodUnitDay   BillingPeriodUnit = "day"
	BillingPeriodUnitWeek  BillingPeriodUnit = "week"
	BillingPeriodUnitMonth BillingPeriodUnit = "month"
	BillingPeriodUnitYear  BillingPeriodUnit = "year"
)

type BillingStartOption added in v3.33.0

type BillingStartOption string
const (
	BillingStartOptionImmediately    BillingStartOption = "immediately"
	BillingStartOptionOnSpecificDate BillingStartOption = "on_specific_date"
)

type CancelOption added in v3.19.0

type CancelOption string
const (
	CancelOptionImmediately      CancelOption = "immediately"
	CancelOptionEndOfTerm        CancelOption = "end_of_term"
	CancelOptionSpecificDate     CancelOption = "specific_date"
	CancelOptionEndOfBillingTerm CancelOption = "end_of_billing_term"
)

type CardType

type CardType string
const (
	CardTypeVisa            CardType = "visa"
	CardTypeMastercard      CardType = "mastercard"
	CardTypeAmericanExpress CardType = "american_express"
	CardTypeDiscover        CardType = "discover"
	CardTypeJcb             CardType = "jcb"
	CardTypeDinersClub      CardType = "diners_club"
	CardTypeBancontact      CardType = "bancontact"
	CardTypeCmrFalabella    CardType = "cmr_falabella"
	CardTypeTarjetaNaranja  CardType = "tarjeta_naranja"
	CardTypeNativa          CardType = "nativa"
	CardTypeCencosud        CardType = "cencosud"
	CardTypeCabal           CardType = "cabal"
	CardTypeArgencard       CardType = "argencard"
	CardTypeElo             CardType = "elo"
	CardTypeHipercard       CardType = "hipercard"
	CardTypeCarnet          CardType = "carnet"
	CardTypeRupay           CardType = "rupay"
	CardTypeMaestro         CardType = "maestro"
	CardTypeOther           CardType = "other"
	CardTypeNotApplicable   CardType = "not_applicable"
)

type Category added in v3.38.0

type Category string
const (
	CategoryIntroductory        Category = "introductory"
	CategoryPromotional         Category = "promotional"
	CategoryDeveloperDetermined Category = "developer_determined"
)

type ChangeOption

type ChangeOption string
const (
	ChangeOptionImmediately  ChangeOption = "immediately"
	ChangeOptionEndOfTerm    ChangeOption = "end_of_term"
	ChangeOptionSpecificDate ChangeOption = "specific_date"
)

type Channel

type Channel string
const (
	ChannelWeb       Channel = "web"
	ChannelAppStore  Channel = "app_store"
	ChannelPlayStore Channel = "play_store"
)

type ChargeModel

type ChargeModel string
const (
	ChargeModelFullCharge ChargeModel = "full_charge"
	ChargeModelProrate    ChargeModel = "prorate"
)

type ChargeOn

type ChargeOn string
const (
	ChargeOnImmediately ChargeOn = "immediately"
	ChargeOnOnEvent     ChargeOn = "on_event"
)

type ChargeOnEvent

type ChargeOnEvent string
const (
	ChargeOnEventSubscriptionCreation   ChargeOnEvent = "subscription_creation"
	ChargeOnEventSubscriptionTrialStart ChargeOnEvent = "subscription_trial_start"
	ChargeOnEventPlanActivation         ChargeOnEvent = "plan_activation"
	ChargeOnEventSubscriptionActivation ChargeOnEvent = "subscription_activation"
	ChargeOnEventContractTermination    ChargeOnEvent = "contract_termination"
	ChargeOnEventOnDemand               ChargeOnEvent = "on_demand"
)

type ChargeOnOption

type ChargeOnOption string
const (
	ChargeOnOptionImmediately ChargeOnOption = "immediately"
	ChargeOnOptionOnEvent     ChargeOnOption = "on_event"
)

type ChargebeeResponseSchemaType added in v3.33.0

type ChargebeeResponseSchemaType string
const (
	ChargebeeResponseSchemaTypePlansAddons ChargebeeResponseSchemaType = "plans_addons"
	ChargebeeResponseSchemaTypeItems       ChargebeeResponseSchemaType = "items"
	ChargebeeResponseSchemaTypeCompat      ChargebeeResponseSchemaType = "compat"
)

type ChargesHandling

type ChargesHandling string
const (
	ChargesHandlingInvoiceImmediately   ChargesHandling = "invoice_immediately"
	ChargesHandlingAddToUnbilledCharges ChargesHandling = "add_to_unbilled_charges"
)

type ContractTermCancelOption

type ContractTermCancelOption string
const (
	ContractTermCancelOptionTerminateImmediately         ContractTermCancelOption = "terminate_immediately"
	ContractTermCancelOptionEndOfContractTerm            ContractTermCancelOption = "end_of_contract_term"
	ContractTermCancelOptionSpecificDate                 ContractTermCancelOption = "specific_date"
	ContractTermCancelOptionEndOfSubscriptionBillingTerm ContractTermCancelOption = "end_of_subscription_billing_term"
)

type CreditOptionForCurrentTermCharges

type CreditOptionForCurrentTermCharges string
const (
	CreditOptionForCurrentTermChargesNone    CreditOptionForCurrentTermCharges = "none"
	CreditOptionForCurrentTermChargesProrate CreditOptionForCurrentTermCharges = "prorate"
	CreditOptionForCurrentTermChargesFull    CreditOptionForCurrentTermCharges = "full"
)

type CreditType

type CreditType string
const (
	CreditTypeLoyaltyCredits  CreditType = "loyalty_credits"
	CreditTypeReferralRewards CreditType = "referral_rewards"
	CreditTypeGeneral         CreditType = "general"
)

type CustomerType

type CustomerType string
const (
	CustomerTypeResidential   CustomerType = "residential"
	CustomerTypeBusiness      CustomerType = "business"
	CustomerTypeSeniorCitizen CustomerType = "senior_citizen"
	CustomerTypeIndustrial    CustomerType = "industrial"
)

type DedupeOption

type DedupeOption string
const (
	DedupeOptionSkip           DedupeOption = "skip"
	DedupeOptionUpdateExisting DedupeOption = "update_existing"
)

type DirectDebitScheme added in v3.9.0

type DirectDebitScheme string
const (
	DirectDebitSchemeAch           DirectDebitScheme = "ach"
	DirectDebitSchemeBacs          DirectDebitScheme = "bacs"
	DirectDebitSchemeSepaCore      DirectDebitScheme = "sepa_core"
	DirectDebitSchemeAutogiro      DirectDebitScheme = "autogiro"
	DirectDebitSchemeBecs          DirectDebitScheme = "becs"
	DirectDebitSchemeBecsNz        DirectDebitScheme = "becs_nz"
	DirectDebitSchemePad           DirectDebitScheme = "pad"
	DirectDebitSchemeNotApplicable DirectDebitScheme = "not_applicable"
)

type DiscountType added in v3.38.0

type DiscountType string
const (
	DiscountTypeFixedAmount DiscountType = "fixed_amount"
	DiscountTypePercentage  DiscountType = "percentage"
	DiscountTypePrice       DiscountType = "price"
)

type DispositionType

type DispositionType string
const (
	DispositionTypeAttachment DispositionType = "attachment"
	DispositionTypeInline     DispositionType = "inline"
)

type DunningType

type DunningType string
const (
	DunningTypeAutoCollect DunningType = "auto_collect"
	DunningTypeOffline     DunningType = "offline"
	DunningTypeDirectDebit DunningType = "direct_debit"
)

type Duration

type Duration string
const (
	DurationAllBillingCycles       Duration = "all_billing_cycles"
	DurationSpecificNumberOfCycles Duration = "specific_number_of_cycles"
	DurationTillSpecificDate       Duration = "till_specific_date"
)

type DurationType

type DurationType string
const (
	DurationTypeOneTime       DurationType = "one_time"
	DurationTypeForever       DurationType = "forever"
	DurationTypeLimitedPeriod DurationType = "limited_period"
)

type EcheckType

type EcheckType string
const (
	EcheckTypeWeb EcheckType = "web"
	EcheckTypePpd EcheckType = "ppd"
	EcheckTypeCcd EcheckType = "ccd"
)

type EinvoicingMethod added in v3.3.0

type EinvoicingMethod string
const (
	EinvoicingMethodAutomatic   EinvoicingMethod = "automatic"
	EinvoicingMethodManual      EinvoicingMethod = "manual"
	EinvoicingMethodSiteDefault EinvoicingMethod = "site_default"
)

type EndScheduleOn

type EndScheduleOn string
const (
	EndScheduleOnAfterNumberOfIntervals EndScheduleOn = "after_number_of_intervals"
	EndScheduleOnSpecificDate           EndScheduleOn = "specific_date"
	EndScheduleOnSubscriptionEnd        EndScheduleOn = "subscription_end"
)

type EntityCode

type EntityCode string
const (
	EntityCodeA    EntityCode = "a"
	EntityCodeB    EntityCode = "b"
	EntityCodeC    EntityCode = "c"
	EntityCodeD    EntityCode = "d"
	EntityCodeE    EntityCode = "e"
	EntityCodeF    EntityCode = "f"
	EntityCodeG    EntityCode = "g"
	EntityCodeH    EntityCode = "h"
	EntityCodeI    EntityCode = "i"
	EntityCodeJ    EntityCode = "j"
	EntityCodeK    EntityCode = "k"
	EntityCodeL    EntityCode = "l"
	EntityCodeM    EntityCode = "m"
	EntityCodeN    EntityCode = "n"
	EntityCodeP    EntityCode = "p"
	EntityCodeQ    EntityCode = "q"
	EntityCodeR    EntityCode = "r"
	EntityCodeMed1 EntityCode = "med1"
	EntityCodeMed2 EntityCode = "med2"
)

type EntityType

type EntityType string
const (
	EntityTypeCustomer                                   EntityType = "customer"
	EntityTypeSubscription                               EntityType = "subscription"
	EntityTypeCoupon                                     EntityType = "coupon"
	EntityTypePlanItemPrice                              EntityType = "plan_item_price"
	EntityTypeAddonItemPrice                             EntityType = "addon_item_price"
	EntityTypeChargeItemPrice                            EntityType = "charge_item_price"
	EntityTypeInvoice                                    EntityType = "invoice"
	EntityTypeQuote                                      EntityType = "quote"
	EntityTypeCreditNote                                 EntityType = "credit_note"
	EntityTypeTransaction                                EntityType = "transaction"
	EntityTypePlan                                       EntityType = "plan"
	EntityTypeAddon                                      EntityType = "addon"
	EntityTypeOrder                                      EntityType = "order"
	EntityTypeItemFamily                                 EntityType = "item_family"
	EntityTypeItem                                       EntityType = "item"
	EntityTypeItemPrice                                  EntityType = "item_price"
	EntityTypePlanItem                                   EntityType = "plan_item"
	EntityTypeAddonItem                                  EntityType = "addon_item"
	EntityTypeChargeItem                                 EntityType = "charge_item"
	EntityTypePlanPrice                                  EntityType = "plan_price"
	EntityTypeAddonPrice                                 EntityType = "addon_price"
	EntityTypeChargePrice                                EntityType = "charge_price"
	EntityTypeDifferentialPrice                          EntityType = "differential_price"
	EntityTypeAttachedItem                               EntityType = "attached_item"
	EntityTypeFeature                                    EntityType = "feature"
	EntityTypeSubscriptionEntitlement                    EntityType = "subscription_entitlement"
	EntityTypeItemEntitlement                            EntityType = "item_entitlement"
	EntityTypeBusinessEntity                             EntityType = "business_entity"
	EntityTypePriceVariant                               EntityType = "price_variant"
	EntityTypeOmnichannelSubscription                    EntityType = "omnichannel_subscription"
	EntityTypeOmnichannelSubscriptionItem                EntityType = "omnichannel_subscription_item"
	EntityTypeOmnichannelTransaction                     EntityType = "omnichannel_transaction"
	EntityTypeRecordedPurchase                           EntityType = "recorded_purchase"
	EntityTypeOmnichannelSubscriptionItemScheduledChange EntityType = "omnichannel_subscription_item_scheduled_change"
	EntityTypeSalesOrder                                 EntityType = "sales_order"
	EntityTypeOmnichannelOneTimeOrder                    EntityType = "omnichannel_one_time_order"
	EntityTypeOmnichannelOneTimeOrderItem                EntityType = "omnichannel_one_time_order_item"
	EntityTypeUsageFile                                  EntityType = "usage_file"
	EntityTypeBusinessRule                               EntityType = "business_rule"
	EntityTypeRuleset                                    EntityType = "ruleset"
	EntityTypeCharge                                     EntityType = "charge"
)

type EventName added in v3.6.0

type EventName string
const (
	EventNameCancellationPageLoaded EventName = "cancellation_page_loaded"
)

type EventType

type EventType string
const (
	EventTypeAddUsagesReminder                                       EventType = "add_usages_reminder"
	EventTypeAddonCreated                                            EventType = "addon_created"
	EventTypeAddonDeleted                                            EventType = "addon_deleted"
	EventTypeAddonUpdated                                            EventType = "addon_updated"
	EventTypeAttachedItemCreated                                     EventType = "attached_item_created"
	EventTypeAttachedItemDeleted                                     EventType = "attached_item_deleted"
	EventTypeAttachedItemUpdated                                     EventType = "attached_item_updated"
	EventTypeAuthorizationSucceeded                                  EventType = "authorization_succeeded"
	EventTypeAuthorizationVoided                                     EventType = "authorization_voided"
	EventTypeBusinessEntityCreated                                   EventType = "business_entity_created"
	EventTypeBusinessEntityDeleted                                   EventType = "business_entity_deleted"
	EventTypeBusinessEntityUpdated                                   EventType = "business_entity_updated"
	EventTypeCardAdded                                               EventType = "card_added"
	EventTypeCardDeleted                                             EventType = "card_deleted"
	EventTypeCardExpired                                             EventType = "card_expired"
	EventTypeCardExpiryReminder                                      EventType = "card_expiry_reminder"
	EventTypeCardUpdated                                             EventType = "card_updated"
	EventTypeContractTermCancelled                                   EventType = "contract_term_cancelled"
	EventTypeContractTermCompleted                                   EventType = "contract_term_completed"
	EventTypeContractTermCreated                                     EventType = "contract_term_created"
	EventTypeContractTermRenewed                                     EventType = "contract_term_renewed"
	EventTypeContractTermTerminated                                  EventType = "contract_term_terminated"
	EventTypeCouponCodesAdded                                        EventType = "coupon_codes_added"
	EventTypeCouponCodesDeleted                                      EventType = "coupon_codes_deleted"
	EventTypeCouponCodesUpdated                                      EventType = "coupon_codes_updated"
	EventTypeCouponCreated                                           EventType = "coupon_created"
	EventTypeCouponDeleted                                           EventType = "coupon_deleted"
	EventTypeCouponSetCreated                                        EventType = "coupon_set_created"
	EventTypeCouponSetDeleted                                        EventType = "coupon_set_deleted"
	EventTypeCouponSetUpdated                                        EventType = "coupon_set_updated"
	EventTypeCouponUpdated                                           EventType = "coupon_updated"
	EventTypeCreditNoteCreated                                       EventType = "credit_note_created"
	EventTypeCreditNoteCreatedWithBackdating                         EventType = "credit_note_created_with_backdating"
	EventTypeCreditNoteDeleted                                       EventType = "credit_note_deleted"
	EventTypeCreditNoteUpdated                                       EventType = "credit_note_updated"
	EventTypeCustomerBusinessEntityChanged                           EventType = "customer_business_entity_changed"
	EventTypeCustomerChanged                                         EventType = "customer_changed"
	EventTypeCustomerCreated                                         EventType = "customer_created"
	EventTypeCustomerDeleted                                         EventType = "customer_deleted"
	EventTypeCustomerEntitlementsUpdated                             EventType = "customer_entitlements_updated"
	EventTypeCustomerMovedIn                                         EventType = "customer_moved_in"
	EventTypeCustomerMovedOut                                        EventType = "customer_moved_out"
	EventTypeDifferentialPriceCreated                                EventType = "differential_price_created"
	EventTypeDifferentialPriceDeleted                                EventType = "differential_price_deleted"
	EventTypeDifferentialPriceUpdated                                EventType = "differential_price_updated"
	EventTypeDunningUpdated                                          EventType = "dunning_updated"
	EventTypeEntitlementOverridesAutoRemoved                         EventType = "entitlement_overrides_auto_removed"
	EventTypeEntitlementOverridesRemoved                             EventType = "entitlement_overrides_removed"
	EventTypeEntitlementOverridesUpdated                             EventType = "entitlement_overrides_updated"
	EventTypeFeatureActivated                                        EventType = "feature_activated"
	EventTypeFeatureArchived                                         EventType = "feature_archived"
	EventTypeFeatureCreated                                          EventType = "feature_created"
	EventTypeFeatureDeleted                                          EventType = "feature_deleted"
	EventTypeFeatureReactivated                                      EventType = "feature_reactivated"
	EventTypeFeatureUpdated                                          EventType = "feature_updated"
	EventTypeGiftCancelled                                           EventType = "gift_cancelled"
	EventTypeGiftClaimed                                             EventType = "gift_claimed"
	EventTypeGiftExpired                                             EventType = "gift_expired"
	EventTypeGiftScheduled                                           EventType = "gift_scheduled"
	EventTypeGiftUnclaimed                                           EventType = "gift_unclaimed"
	EventTypeGiftUpdated                                             EventType = "gift_updated"
	EventTypeHierarchyCreated                                        EventType = "hierarchy_created"
	EventTypeHierarchyDeleted                                        EventType = "hierarchy_deleted"
	EventTypeInvoiceDeleted                                          EventType = "invoice_deleted"
	EventTypeInvoiceGenerated                                        EventType = "invoice_generated"
	EventTypeInvoiceGeneratedWithBackdating                          EventType = "invoice_generated_with_backdating"
	EventTypeInvoiceUpdated                                          EventType = "invoice_updated"
	EventTypeItemCreated                                             EventType = "item_created"
	EventTypeItemDeleted                                             EventType = "item_deleted"
	EventTypeItemEntitlementsRemoved                                 EventType = "item_entitlements_removed"
	EventTypeItemEntitlementsUpdated                                 EventType = "item_entitlements_updated"
	EventTypeItemFamilyCreated                                       EventType = "item_family_created"
	EventTypeItemFamilyDeleted                                       EventType = "item_family_deleted"
	EventTypeItemFamilyUpdated                                       EventType = "item_family_updated"
	EventTypeItemPriceCreated                                        EventType = "item_price_created"
	EventTypeItemPriceDeleted                                        EventType = "item_price_deleted"
	EventTypeItemPriceEntitlementsRemoved                            EventType = "item_price_entitlements_removed"
	EventTypeItemPriceEntitlementsUpdated                            EventType = "item_price_entitlements_updated"
	EventTypeItemPriceUpdated                                        EventType = "item_price_updated"
	EventTypeItemUpdated                                             EventType = "item_updated"
	EventTypeMrrUpdated                                              EventType = "mrr_updated"
	EventTypeNetdPaymentDueReminder                                  EventType = "netd_payment_due_reminder"
	EventTypeOmnichannelOneTimeOrderCreated                          EventType = "omnichannel_one_time_order_created"
	EventTypeOmnichannelOneTimeOrderItemCancelled                    EventType = "omnichannel_one_time_order_item_cancelled"
	EventTypeOmnichannelSubscriptionCreated                          EventType = "omnichannel_subscription_created"
	EventTypeOmnichannelSubscriptionImported                         EventType = "omnichannel_subscription_imported"
	EventTypeOmnichannelSubscriptionItemCancellationScheduled        EventType = "omnichannel_subscription_item_cancellation_scheduled"
	EventTypeOmnichannelSubscriptionItemCancelled                    EventType = "omnichannel_subscription_item_cancelled"
	EventTypeOmnichannelSubscriptionItemChangeScheduled              EventType = "omnichannel_subscription_item_change_scheduled"
	EventTypeOmnichannelSubscriptionItemChanged                      EventType = "omnichannel_subscription_item_changed"
	EventTypeOmnichannelSubscriptionItemDowngradeScheduled           EventType = "omnichannel_subscription_item_downgrade_scheduled"
	EventTypeOmnichannelSubscriptionItemDowngraded                   EventType = "omnichannel_subscription_item_downgraded"
	EventTypeOmnichannelSubscriptionItemDunningExpired               EventType = "omnichannel_subscription_item_dunning_expired"
	EventTypeOmnichannelSubscriptionItemDunningStarted               EventType = "omnichannel_subscription_item_dunning_started"
	EventTypeOmnichannelSubscriptionItemExpired                      EventType = "omnichannel_subscription_item_expired"
	EventTypeOmnichannelSubscriptionItemGracePeriodExpired           EventType = "omnichannel_subscription_item_grace_period_expired"
	EventTypeOmnichannelSubscriptionItemGracePeriodStarted           EventType = "omnichannel_subscription_item_grace_period_started"
	EventTypeOmnichannelSubscriptionItemPauseScheduled               EventType = "omnichannel_subscription_item_pause_scheduled"
	EventTypeOmnichannelSubscriptionItemPaused                       EventType = "omnichannel_subscription_item_paused"
	EventTypeOmnichannelSubscriptionItemReactivated                  EventType = "omnichannel_subscription_item_reactivated"
	EventTypeOmnichannelSubscriptionItemRenewed                      EventType = "omnichannel_subscription_item_renewed"
	EventTypeOmnichannelSubscriptionItemResubscribed                 EventType = "omnichannel_subscription_item_resubscribed"
	EventTypeOmnichannelSubscriptionItemResumed                      EventType = "omnichannel_subscription_item_resumed"
	EventTypeOmnichannelSubscriptionItemScheduledCancellationRemoved EventType = "omnichannel_subscription_item_scheduled_cancellation_removed"
	EventTypeOmnichannelSubscriptionItemScheduledChangeRemoved       EventType = "omnichannel_subscription_item_scheduled_change_removed"
	EventTypeOmnichannelSubscriptionItemScheduledDowngradeRemoved    EventType = "omnichannel_subscription_item_scheduled_downgrade_removed"
	EventTypeOmnichannelSubscriptionItemUpgraded                     EventType = "omnichannel_subscription_item_upgraded"
	EventTypeOmnichannelSubscriptionMovedIn                          EventType = "omnichannel_subscription_moved_in"
	EventTypeOmnichannelTransactionCreated                           EventType = "omnichannel_transaction_created"
	EventTypeOrderCancelled                                          EventType = "order_cancelled"
	EventTypeOrderCreated                                            EventType = "order_created"
	EventTypeOrderDeleted                                            EventType = "order_deleted"
	EventTypeOrderDelivered                                          EventType = "order_delivered"
	EventTypeOrderReadyToProcess                                     EventType = "order_ready_to_process"
	EventTypeOrderReadyToShip                                        EventType = "order_ready_to_ship"
	EventTypeOrderResent                                             EventType = "order_resent"
	EventTypeOrderReturned                                           EventType = "order_returned"
	EventTypeOrderUpdated                                            EventType = "order_updated"
	EventTypePaymentDueReminder                                      EventType = "payment_due_reminder"
	EventTypePaymentFailed                                           EventType = "payment_failed"
	EventTypePaymentInitiated                                        EventType = "payment_initiated"
	EventTypePaymentIntentCreated                                    EventType = "payment_intent_created"
	EventTypePaymentIntentUpdated                                    EventType = "payment_intent_updated"
	EventTypePaymentRefunded                                         EventType = "payment_refunded"
	EventTypePaymentScheduleSchemeCreated                            EventType = "payment_schedule_scheme_created"
	EventTypePaymentScheduleSchemeDeleted                            EventType = "payment_schedule_scheme_deleted"
	EventTypePaymentSchedulesCreated                                 EventType = "payment_schedules_created"
	EventTypePaymentSchedulesUpdated                                 EventType = "payment_schedules_updated"
	EventTypePaymentSourceAdded                                      EventType = "payment_source_added"
	EventTypePaymentSourceDeleted                                    EventType = "payment_source_deleted"
	EventTypePaymentSourceExpired                                    EventType = "payment_source_expired"
	EventTypePaymentSourceExpiring                                   EventType = "payment_source_expiring"
	EventTypePaymentSourceLocallyDeleted                             EventType = "payment_source_locally_deleted"
	EventTypePaymentSourceUpdated                                    EventType = "payment_source_updated"
	EventTypePaymentSucceeded                                        EventType = "payment_succeeded"
	EventTypePendingInvoiceCreated                                   EventType = "pending_invoice_created"
	EventTypePendingInvoiceUpdated                                   EventType = "pending_invoice_updated"
	EventTypePlanCreated                                             EventType = "plan_created"
	EventTypePlanDeleted                                             EventType = "plan_deleted"
	EventTypePlanUpdated                                             EventType = "plan_updated"
	EventTypePriceVariantCreated                                     EventType = "price_variant_created"
	EventTypePriceVariantDeleted                                     EventType = "price_variant_deleted"
	EventTypePriceVariantUpdated                                     EventType = "price_variant_updated"
	EventTypeProductCreated                                          EventType = "product_created"
	EventTypeProductDeleted                                          EventType = "product_deleted"
	EventTypeProductUpdated                                          EventType = "product_updated"
	EventTypePromotionalCreditsAdded                                 EventType = "promotional_credits_added"
	EventTypePromotionalCreditsDeducted                              EventType = "promotional_credits_deducted"
	EventTypePurchaseCreated                                         EventType = "purchase_created"
	EventTypeQuoteCreated                                            EventType = "quote_created"
	EventTypeQuoteDeleted                                            EventType = "quote_deleted"
	EventTypeQuoteUpdated                                            EventType = "quote_updated"
	EventTypeRecordPurchaseFailed                                    EventType = "record_purchase_failed"
	EventTypeRefundInitiated                                         EventType = "refund_initiated"
	EventTypeRuleCreated                                             EventType = "rule_created"
	EventTypeRuleDeleted                                             EventType = "rule_deleted"
	EventTypeRuleUpdated                                             EventType = "rule_updated"
	EventTypeSalesOrderCreated                                       EventType = "sales_order_created"
	EventTypeSalesOrderUpdated                                       EventType = "sales_order_updated"
	EventTypeSubscriptionActivated                                   EventType = "subscription_activated"
	EventTypeSubscriptionActivatedWithBackdating                     EventType = "subscription_activated_with_backdating"
	EventTypeSubscriptionAdvanceInvoiceScheduleAdded                 EventType = "subscription_advance_invoice_schedule_added"
	EventTypeSubscriptionAdvanceInvoiceScheduleRemoved               EventType = "subscription_advance_invoice_schedule_removed"
	EventTypeSubscriptionAdvanceInvoiceScheduleUpdated               EventType = "subscription_advance_invoice_schedule_updated"
	EventTypeSubscriptionBusinessEntityChanged                       EventType = "subscription_business_entity_changed"
	EventTypeSubscriptionCanceledWithBackdating                      EventType = "subscription_canceled_with_backdating"
	EventTypeSubscriptionCancellationReminder                        EventType = "subscription_cancellation_reminder"
	EventTypeSubscriptionCancellationScheduled                       EventType = "subscription_cancellation_scheduled"
	EventTypeSubscriptionCancelled                                   EventType = "subscription_cancelled"
	EventTypeSubscriptionChanged                                     EventType = "subscription_changed"
	EventTypeSubscriptionChangedWithBackdating                       EventType = "subscription_changed_with_backdating"
	EventTypeSubscriptionChangesScheduled                            EventType = "subscription_changes_scheduled"
	EventTypeSubscriptionCreated                                     EventType = "subscription_created"
	EventTypeSubscriptionCreatedWithBackdating                       EventType = "subscription_created_with_backdating"
	EventTypeSubscriptionDeleted                                     EventType = "subscription_deleted"
	EventTypeSubscriptionEntitlementsCreated                         EventType = "subscription_entitlements_created"
	EventTypeSubscriptionEntitlementsUpdated                         EventType = "subscription_entitlements_updated"
	EventTypeSubscriptionItemsRenewed                                EventType = "subscription_items_renewed"
	EventTypeSubscriptionMovedIn                                     EventType = "subscription_moved_in"
	EventTypeSubscriptionMovedOut                                    EventType = "subscription_moved_out"
	EventTypeSubscriptionMovementFailed                              EventType = "subscription_movement_failed"
	EventTypeSubscriptionPauseScheduled                              EventType = "subscription_pause_scheduled"
	EventTypeSubscriptionPaused                                      EventType = "subscription_paused"
	EventTypeSubscriptionRampApplied                                 EventType = "subscription_ramp_applied"
	EventTypeSubscriptionRampCreated                                 EventType = "subscription_ramp_created"
	EventTypeSubscriptionRampDeleted                                 EventType = "subscription_ramp_deleted"
	EventTypeSubscriptionRampDrafted                                 EventType = "subscription_ramp_drafted"
	EventTypeSubscriptionRampUpdated                                 EventType = "subscription_ramp_updated"
	EventTypeSubscriptionReactivated                                 EventType = "subscription_reactivated"
	EventTypeSubscriptionReactivatedWithBackdating                   EventType = "subscription_reactivated_with_backdating"
	EventTypeSubscriptionRenewalReminder                             EventType = "subscription_renewal_reminder"
	EventTypeSubscriptionRenewed                                     EventType = "subscription_renewed"
	EventTypeSubscriptionResumed                                     EventType = "subscription_resumed"
	EventTypeSubscriptionResumptionScheduled                         EventType = "subscription_resumption_scheduled"
	EventTypeSubscriptionScheduledCancellationRemoved                EventType = "subscription_scheduled_cancellation_removed"
	EventTypeSubscriptionScheduledChangesRemoved                     EventType = "subscription_scheduled_changes_removed"
	EventTypeSubscriptionScheduledPauseRemoved                       EventType = "subscription_scheduled_pause_removed"
	EventTypeSubscriptionScheduledResumptionRemoved                  EventType = "subscription_scheduled_resumption_removed"
	EventTypeSubscriptionShippingAddressUpdated                      EventType = "subscription_shipping_address_updated"
	EventTypeSubscriptionStarted                                     EventType = "subscription_started"
	EventTypeSubscriptionTrialEndReminder                            EventType = "subscription_trial_end_reminder"
	EventTypeSubscriptionTrialExtended                               EventType = "subscription_trial_extended"
	EventTypeTaxWithheldDeleted                                      EventType = "tax_withheld_deleted"
	EventTypeTaxWithheldRecorded                                     EventType = "tax_withheld_recorded"
	EventTypeTaxWithheldRefunded                                     EventType = "tax_withheld_refunded"
	EventTypeTokenConsumed                                           EventType = "token_consumed"
	EventTypeTokenCreated                                            EventType = "token_created"
	EventTypeTokenExpired                                            EventType = "token_expired"
	EventTypeTransactionCreated                                      EventType = "transaction_created"
	EventTypeTransactionDeleted                                      EventType = "transaction_deleted"
	EventTypeTransactionUpdated                                      EventType = "transaction_updated"
	EventTypeUnbilledChargesCreated                                  EventType = "unbilled_charges_created"
	EventTypeUnbilledChargesDeleted                                  EventType = "unbilled_charges_deleted"
	EventTypeUnbilledChargesInvoiced                                 EventType = "unbilled_charges_invoiced"
	EventTypeUnbilledChargesVoided                                   EventType = "unbilled_charges_voided"
	EventTypeUsageFileIngested                                       EventType = "usage_file_ingested"
	EventTypeVariantCreated                                          EventType = "variant_created"
	EventTypeVariantDeleted                                          EventType = "variant_deleted"
	EventTypeVariantUpdated                                          EventType = "variant_updated"
	EventTypeVirtualBankAccountAdded                                 EventType = "virtual_bank_account_added"
	EventTypeVirtualBankAccountDeleted                               EventType = "virtual_bank_account_deleted"
	EventTypeVirtualBankAccountUpdated                               EventType = "virtual_bank_account_updated"
	EventTypeVoucherCreateFailed                                     EventType = "voucher_create_failed"
	EventTypeVoucherCreated                                          EventType = "voucher_created"
	EventTypeVoucherExpired                                          EventType = "voucher_expired"
)

type ExcludeTaxType added in v3.42.0

type ExcludeTaxType string
const (
	ExcludeTaxTypeExclusive ExcludeTaxType = "exclusive"
	ExcludeTaxTypeNone      ExcludeTaxType = "none"
)

type ExportType added in v3.4.0

type ExportType string
const (
	ExportTypeData               ExportType = "data"
	ExportTypeImportFriendlyData ExportType = "import_friendly_data"
)

type FreePeriodUnit

type FreePeriodUnit string
const (
	FreePeriodUnitDay   FreePeriodUnit = "day"
	FreePeriodUnitWeek  FreePeriodUnit = "week"
	FreePeriodUnitMonth FreePeriodUnit = "month"
	FreePeriodUnitYear  FreePeriodUnit = "year"
)

type FriendOfferType

type FriendOfferType string
const (
	FriendOfferTypeNone       FriendOfferType = "none"
	FriendOfferTypeCoupon     FriendOfferType = "coupon"
	FriendOfferTypeCouponCode FriendOfferType = "coupon_code"
)

type Gateway

type Gateway string
const (
	GatewayChargebee             Gateway = "chargebee"
	GatewayChargebeePayments     Gateway = "chargebee_payments"
	GatewayAdyen                 Gateway = "adyen"
	GatewayStripe                Gateway = "stripe"
	GatewayWepay                 Gateway = "wepay"
	GatewayBraintree             Gateway = "braintree"
	GatewayAuthorizeNet          Gateway = "authorize_net"
	GatewayPaypalPro             Gateway = "paypal_pro"
	GatewayPin                   Gateway = "pin"
	GatewayEway                  Gateway = "eway"
	GatewayEwayRapid             Gateway = "eway_rapid"
	GatewayWorldpay              Gateway = "worldpay"
	GatewayBalancedPayments      Gateway = "balanced_payments"
	GatewayBeanstream            Gateway = "beanstream"
	GatewayBluepay               Gateway = "bluepay"
	GatewayElavon                Gateway = "elavon"
	GatewayFirstDataGlobal       Gateway = "first_data_global"
	GatewayHdfc                  Gateway = "hdfc"
	GatewayMigs                  Gateway = "migs"
	GatewayNmi                   Gateway = "nmi"
	GatewayOgone                 Gateway = "ogone"
	GatewayPaymill               Gateway = "paymill"
	GatewayPaypalPayflowPro      Gateway = "paypal_payflow_pro"
	GatewaySagePay               Gateway = "sage_pay"
	GatewayTco                   Gateway = "tco"
	GatewayWirecard              Gateway = "wirecard"
	GatewayAmazonPayments        Gateway = "amazon_payments"
	GatewayPaypalExpressCheckout Gateway = "paypal_express_checkout"
	GatewayOrbital               Gateway = "orbital"
	GatewayMonerisUs             Gateway = "moneris_us"
	GatewayMoneris               Gateway = "moneris"
	GatewayBluesnap              Gateway = "bluesnap"
	GatewayCybersource           Gateway = "cybersource"
	GatewayVantiv                Gateway = "vantiv"
	GatewayCheckoutCom           Gateway = "checkout_com"
	GatewayPaypal                Gateway = "paypal"
	GatewayIngenicoDirect        Gateway = "ingenico_direct"
	GatewayExact                 Gateway = "exact"
	GatewayMollie                Gateway = "mollie"
	GatewayQuickbooks            Gateway = "quickbooks"
	GatewayRazorpay              Gateway = "razorpay"
	GatewayGlobalPayments        Gateway = "global_payments"
	GatewayBankOfAmerica         Gateway = "bank_of_america"
	GatewayEcentric              Gateway = "ecentric"
	GatewayMetricsGlobal         Gateway = "metrics_global"
	GatewayWindcave              Gateway = "windcave"
	GatewayPayCom                Gateway = "pay_com"
	GatewayEbanx                 Gateway = "ebanx"
	GatewayDlocal                Gateway = "dlocal"
	GatewayNuvei                 Gateway = "nuvei"
	GatewaySolidgate             Gateway = "solidgate"
	GatewayPaystack              Gateway = "paystack"
	GatewayJpMorgan              Gateway = "jp_morgan"
	GatewayDeutscheBank          Gateway = "deutsche_bank"
	GatewayEzidebit              Gateway = "ezidebit"
	GatewayTwikey                Gateway = "twikey"
	GatewayTempus                Gateway = "tempus"
	GatewayGocardless            Gateway = "gocardless"
	GatewayNotApplicable         Gateway = "not_applicable"
)

type HierarchyOperationType

type HierarchyOperationType string
const (
	HierarchyOperationTypeCompleteHierarchy HierarchyOperationType = "complete_hierarchy"
	HierarchyOperationTypeSubordinates      HierarchyOperationType = "subordinates"
	HierarchyOperationTypePathToRoot        HierarchyOperationType = "path_to_root"
)

type InvoiceDunningHandling

type InvoiceDunningHandling string
const (
	InvoiceDunningHandlingContinue InvoiceDunningHandling = "continue"
	InvoiceDunningHandlingStop     InvoiceDunningHandling = "stop"
)

type ItemType

type ItemType string
const (
	ItemTypePlan   ItemType = "plan"
	ItemTypeAddon  ItemType = "addon"
	ItemTypeCharge ItemType = "charge"
)

type Layout

type Layout string
const (
	LayoutInApp    Layout = "in_app"
	LayoutFullPage Layout = "full_page"
)

type NotifyReferralSystem

type NotifyReferralSystem string
const (
	NotifyReferralSystemNone                NotifyReferralSystem = "none"
	NotifyReferralSystemFirstPaidConversion NotifyReferralSystem = "first_paid_conversion"
	NotifyReferralSystemAllInvoices         NotifyReferralSystem = "all_invoices"
)

type OfflinePaymentMethod

type OfflinePaymentMethod string
const (
	OfflinePaymentMethodNoPreference            OfflinePaymentMethod = "no_preference"
	OfflinePaymentMethodCash                    OfflinePaymentMethod = "cash"
	OfflinePaymentMethodCheck                   OfflinePaymentMethod = "check"
	OfflinePaymentMethodBankTransfer            OfflinePaymentMethod = "bank_transfer"
	OfflinePaymentMethodAchCredit               OfflinePaymentMethod = "ach_credit"
	OfflinePaymentMethodSepaCredit              OfflinePaymentMethod = "sepa_credit"
	OfflinePaymentMethodBoleto                  OfflinePaymentMethod = "boleto"
	OfflinePaymentMethodUsAutomatedBankTransfer OfflinePaymentMethod = "us_automated_bank_transfer"
	OfflinePaymentMethodEuAutomatedBankTransfer OfflinePaymentMethod = "eu_automated_bank_transfer"
	OfflinePaymentMethodUkAutomatedBankTransfer OfflinePaymentMethod = "uk_automated_bank_transfer"
	OfflinePaymentMethodJpAutomatedBankTransfer OfflinePaymentMethod = "jp_automated_bank_transfer"
	OfflinePaymentMethodMxAutomatedBankTransfer OfflinePaymentMethod = "mx_automated_bank_transfer"
	OfflinePaymentMethodCustom                  OfflinePaymentMethod = "custom"
)

type OnEvent

type OnEvent string
const (
	OnEventSubscriptionCreation   OnEvent = "subscription_creation"
	OnEventSubscriptionTrialStart OnEvent = "subscription_trial_start"
	OnEventPlanActivation         OnEvent = "plan_activation"
	OnEventSubscriptionActivation OnEvent = "subscription_activation"
	OnEventContractTermination    OnEvent = "contract_termination"
)

type Operation

type Operation string
const (
	OperationCreate Operation = "create"
	OperationUpdate Operation = "update"
	OperationDelete Operation = "delete"
)

type OperationType

type OperationType string
const (
	OperationTypeAdd    OperationType = "add"
	OperationTypeRemove OperationType = "remove"
)

type PauseOption

type PauseOption string
const (
	PauseOptionImmediately   PauseOption = "immediately"
	PauseOptionEndOfTerm     PauseOption = "end_of_term"
	PauseOptionSpecificDate  PauseOption = "specific_date"
	PauseOptionBillingCycles PauseOption = "billing_cycles"
)

type PaymentInitiator added in v3.7.0

type PaymentInitiator string
const (
	PaymentInitiatorCustomer PaymentInitiator = "customer"
	PaymentInitiatorMerchant PaymentInitiator = "merchant"
)

type PaymentMethod

type PaymentMethod string
const (
	PaymentMethodCash                      PaymentMethod = "cash"
	PaymentMethodCheck                     PaymentMethod = "check"
	PaymentMethodBankTransfer              PaymentMethod = "bank_transfer"
	PaymentMethodOther                     PaymentMethod = "other"
	PaymentMethodCustom                    PaymentMethod = "custom"
	PaymentMethodChargeback                PaymentMethod = "chargeback"
	PaymentMethodCard                      PaymentMethod = "card"
	PaymentMethodAmazonPayments            PaymentMethod = "amazon_payments"
	PaymentMethodPaypalExpressCheckout     PaymentMethod = "paypal_express_checkout"
	PaymentMethodDirectDebit               PaymentMethod = "direct_debit"
	PaymentMethodAlipay                    PaymentMethod = "alipay"
	PaymentMethodUnionpay                  PaymentMethod = "unionpay"
	PaymentMethodApplePay                  PaymentMethod = "apple_pay"
	PaymentMethodWechatPay                 PaymentMethod = "wechat_pay"
	PaymentMethodAchCredit                 PaymentMethod = "ach_credit"
	PaymentMethodSepaCredit                PaymentMethod = "sepa_credit"
	PaymentMethodIdeal                     PaymentMethod = "ideal"
	PaymentMethodGooglePay                 PaymentMethod = "google_pay"
	PaymentMethodSofort                    PaymentMethod = "sofort"
	PaymentMethodBancontact                PaymentMethod = "bancontact"
	PaymentMethodGiropay                   PaymentMethod = "giropay"
	PaymentMethodDotpay                    PaymentMethod = "dotpay"
	PaymentMethodUpi                       PaymentMethod = "upi"
	PaymentMethodNetbankingEmandates       PaymentMethod = "netbanking_emandates"
	PaymentMethodBoleto                    PaymentMethod = "boleto"
	PaymentMethodVenmo                     PaymentMethod = "venmo"
	PaymentMethodPayTo                     PaymentMethod = "pay_to"
	PaymentMethodFasterPayments            PaymentMethod = "faster_payments"
	PaymentMethodSepaInstantTransfer       PaymentMethod = "sepa_instant_transfer"
	PaymentMethodAutomatedBankTransfer     PaymentMethod = "automated_bank_transfer"
	PaymentMethodKlarnaPayNow              PaymentMethod = "klarna_pay_now"
	PaymentMethodOnlineBankingPoland       PaymentMethod = "online_banking_poland"
	PaymentMethodPayconiqByBancontact      PaymentMethod = "payconiq_by_bancontact"
	PaymentMethodElectronicPaymentStandard PaymentMethod = "electronic_payment_standard"
	PaymentMethodKbcPaymentButton          PaymentMethod = "kbc_payment_button"
	PaymentMethodPayByBank                 PaymentMethod = "pay_by_bank"
	PaymentMethodTrustly                   PaymentMethod = "trustly"
	PaymentMethodStablecoin                PaymentMethod = "stablecoin"
	PaymentMethodKakaoPay                  PaymentMethod = "kakao_pay"
	PaymentMethodNaverPay                  PaymentMethod = "naver_pay"
	PaymentMethodRevolutPay                PaymentMethod = "revolut_pay"
	PaymentMethodCashAppPay                PaymentMethod = "cash_app_pay"
)

type PaymentMethodSavePolicy added in v3.45.0

type PaymentMethodSavePolicy string
const (
	PaymentMethodSavePolicyAlways PaymentMethodSavePolicy = "always"
	PaymentMethodSavePolicyAsk    PaymentMethodSavePolicy = "ask"
	PaymentMethodSavePolicyNever  PaymentMethodSavePolicy = "never"
)

type PaymentMethodType

type PaymentMethodType string
const (
	PaymentMethodTypeCard                      PaymentMethodType = "card"
	PaymentMethodTypePaypalExpressCheckout     PaymentMethodType = "paypal_express_checkout"
	PaymentMethodTypeAmazonPayments            PaymentMethodType = "amazon_payments"
	PaymentMethodTypeDirectDebit               PaymentMethodType = "direct_debit"
	PaymentMethodTypeGeneric                   PaymentMethodType = "generic"
	PaymentMethodTypeAlipay                    PaymentMethodType = "alipay"
	PaymentMethodTypeUnionpay                  PaymentMethodType = "unionpay"
	PaymentMethodTypeApplePay                  PaymentMethodType = "apple_pay"
	PaymentMethodTypeWechatPay                 PaymentMethodType = "wechat_pay"
	PaymentMethodTypeIdeal                     PaymentMethodType = "ideal"
	PaymentMethodTypeGooglePay                 PaymentMethodType = "google_pay"
	PaymentMethodTypeSofort                    PaymentMethodType = "sofort"
	PaymentMethodTypeBancontact                PaymentMethodType = "bancontact"
	PaymentMethodTypeGiropay                   PaymentMethodType = "giropay"
	PaymentMethodTypeDotpay                    PaymentMethodType = "dotpay"
	PaymentMethodTypeUpi                       PaymentMethodType = "upi"
	PaymentMethodTypeNetbankingEmandates       PaymentMethodType = "netbanking_emandates"
	PaymentMethodTypeVenmo                     PaymentMethodType = "venmo"
	PaymentMethodTypePayTo                     PaymentMethodType = "pay_to"
	PaymentMethodTypeFasterPayments            PaymentMethodType = "faster_payments"
	PaymentMethodTypeSepaInstantTransfer       PaymentMethodType = "sepa_instant_transfer"
	PaymentMethodTypeAutomatedBankTransfer     PaymentMethodType = "automated_bank_transfer"
	PaymentMethodTypeKlarnaPayNow              PaymentMethodType = "klarna_pay_now"
	PaymentMethodTypeOnlineBankingPoland       PaymentMethodType = "online_banking_poland"
	PaymentMethodTypePayconiqByBancontact      PaymentMethodType = "payconiq_by_bancontact"
	PaymentMethodTypeElectronicPaymentStandard PaymentMethodType = "electronic_payment_standard"
	PaymentMethodTypeKbcPaymentButton          PaymentMethodType = "kbc_payment_button"
	PaymentMethodTypePayByBank                 PaymentMethodType = "pay_by_bank"
	PaymentMethodTypeTrustly                   PaymentMethodType = "trustly"
	PaymentMethodTypeStablecoin                PaymentMethodType = "stablecoin"
	PaymentMethodTypeKakaoPay                  PaymentMethodType = "kakao_pay"
	PaymentMethodTypeNaverPay                  PaymentMethodType = "naver_pay"
	PaymentMethodTypeRevolutPay                PaymentMethodType = "revolut_pay"
	PaymentMethodTypeCashAppPay                PaymentMethodType = "cash_app_pay"
)

type PaymentVoucherType added in v3.6.0

type PaymentVoucherType string
const (
	PaymentVoucherTypeBoleto PaymentVoucherType = "boleto"
)

type PeriodUnit

type PeriodUnit string
const (
	PeriodUnitDay   PeriodUnit = "day"
	PeriodUnitWeek  PeriodUnit = "week"
	PeriodUnitMonth PeriodUnit = "month"
	PeriodUnitYear  PeriodUnit = "year"
)

type PriceType

type PriceType string
const (
	PriceTypeTaxExclusive PriceType = "tax_exclusive"
	PriceTypeTaxInclusive PriceType = "tax_inclusive"
)

type PricingModel

type PricingModel string
const (
	PricingModelFlatFee   PricingModel = "flat_fee"
	PricingModelPerUnit   PricingModel = "per_unit"
	PricingModelTiered    PricingModel = "tiered"
	PricingModelVolume    PricingModel = "volume"
	PricingModelStairstep PricingModel = "stairstep"
)

type PricingType added in v3.31.0

type PricingType string
const (
	PricingTypePerUnit PricingType = "per_unit"
	PricingTypeFlatFee PricingType = "flat_fee"
	PricingTypePackage PricingType = "package"
)

type ProductCatalogVersion

type ProductCatalogVersion string
const (
	ProductCatalogVersionV1 ProductCatalogVersion = "v1"
	ProductCatalogVersionV2 ProductCatalogVersion = "v2"
)

type ProrationType added in v3.8.0

type ProrationType string
const (
	ProrationTypeFullTerm    ProrationType = "full_term"
	ProrationTypePartialTerm ProrationType = "partial_term"
	ProrationTypeNone        ProrationType = "none"
)

type ReferralSystem

type ReferralSystem string
const (
	ReferralSystemReferralCandy      ReferralSystem = "referral_candy"
	ReferralSystemReferralSaasquatch ReferralSystem = "referral_saasquatch"
	ReferralSystemFriendbuy          ReferralSystem = "friendbuy"
)

type ReferrerRewardType

type ReferrerRewardType string
const (
	ReferrerRewardTypeNone                      ReferrerRewardType = "none"
	ReferrerRewardTypeReferralDirectReward      ReferrerRewardType = "referral_direct_reward"
	ReferrerRewardTypeCustomPromotionalCredit   ReferrerRewardType = "custom_promotional_credit"
	ReferrerRewardTypeCustomRevenuePercentBased ReferrerRewardType = "custom_revenue_percent_based"
)

type RefundableCreditsHandling

type RefundableCreditsHandling string
const (
	RefundableCreditsHandlingNoAction       RefundableCreditsHandling = "no_action"
	RefundableCreditsHandlingScheduleRefund RefundableCreditsHandling = "schedule_refund"
)

type ReportBy

type ReportBy string
const (
	ReportByCustomer     ReportBy = "customer"
	ReportByInvoice      ReportBy = "invoice"
	ReportByProduct      ReportBy = "product"
	ReportBySubscription ReportBy = "subscription"
)

type ResumeOption

type ResumeOption string
const (
	ResumeOptionImmediately  ResumeOption = "immediately"
	ResumeOptionSpecificDate ResumeOption = "specific_date"
)

type RetryEngine added in v3.42.0

type RetryEngine string
const (
	RetryEngineChargebee   RetryEngine = "chargebee"
	RetryEngineFlexpay     RetryEngine = "flexpay"
	RetryEngineSuccessplus RetryEngine = "successplus"
)

type Role

type Role string
const (
	RolePrimary Role = "primary"
	RoleBackup  Role = "backup"
	RoleNone    Role = "none"
)

type ScheduleType

type ScheduleType string
const (
	ScheduleTypeImmediate      ScheduleType = "immediate"
	ScheduleTypeSpecificDates  ScheduleType = "specific_dates"
	ScheduleTypeFixedIntervals ScheduleType = "fixed_intervals"
)

type Source

type Source string
const (
	SourceAdminConsole    Source = "admin_console"
	SourceApi             Source = "api"
	SourceBulkOperation   Source = "bulk_operation"
	SourceScheduledJob    Source = "scheduled_job"
	SourceHostedPage      Source = "hosted_page"
	SourcePortal          Source = "portal"
	SourceSystem          Source = "system"
	SourceNone            Source = "none"
	SourceJsApi           Source = "js_api"
	SourceMigration       Source = "migration"
	SourceExternalService Source = "external_service"
)

type Status

type Status string
const (
	StatusFuture      Status = "future"
	StatusInTrial     Status = "in_trial"
	StatusActive      Status = "active"
	StatusNonRenewing Status = "non_renewing"
	StatusPaused      Status = "paused"
	StatusCancelled   Status = "cancelled"
)

type Tax1JurisType added in v3.9.0

type Tax1JurisType string
const (
	Tax1JurisTypeCountry        Tax1JurisType = "country"
	Tax1JurisTypeFederal        Tax1JurisType = "federal"
	Tax1JurisTypeState          Tax1JurisType = "state"
	Tax1JurisTypeCounty         Tax1JurisType = "county"
	Tax1JurisTypeCity           Tax1JurisType = "city"
	Tax1JurisTypeSpecial        Tax1JurisType = "special"
	Tax1JurisTypeUnincorporated Tax1JurisType = "unincorporated"
	Tax1JurisTypeOther          Tax1JurisType = "other"
)

type Tax2JurisType added in v3.9.0

type Tax2JurisType string
const (
	Tax2JurisTypeCountry        Tax2JurisType = "country"
	Tax2JurisTypeFederal        Tax2JurisType = "federal"
	Tax2JurisTypeState          Tax2JurisType = "state"
	Tax2JurisTypeCounty         Tax2JurisType = "county"
	Tax2JurisTypeCity           Tax2JurisType = "city"
	Tax2JurisTypeSpecial        Tax2JurisType = "special"
	Tax2JurisTypeUnincorporated Tax2JurisType = "unincorporated"
	Tax2JurisTypeOther          Tax2JurisType = "other"
)

type Tax3JurisType added in v3.9.0

type Tax3JurisType string
const (
	Tax3JurisTypeCountry        Tax3JurisType = "country"
	Tax3JurisTypeFederal        Tax3JurisType = "federal"
	Tax3JurisTypeState          Tax3JurisType = "state"
	Tax3JurisTypeCounty         Tax3JurisType = "county"
	Tax3JurisTypeCity           Tax3JurisType = "city"
	Tax3JurisTypeSpecial        Tax3JurisType = "special"
	Tax3JurisTypeUnincorporated Tax3JurisType = "unincorporated"
	Tax3JurisTypeOther          Tax3JurisType = "other"
)

type Tax4JurisType added in v3.9.0

type Tax4JurisType string
const (
	Tax4JurisTypeCountry        Tax4JurisType = "country"
	Tax4JurisTypeFederal        Tax4JurisType = "federal"
	Tax4JurisTypeState          Tax4JurisType = "state"
	Tax4JurisTypeCounty         Tax4JurisType = "county"
	Tax4JurisTypeCity           Tax4JurisType = "city"
	Tax4JurisTypeSpecial        Tax4JurisType = "special"
	Tax4JurisTypeUnincorporated Tax4JurisType = "unincorporated"
	Tax4JurisTypeOther          Tax4JurisType = "other"
)

type TaxExemptReason

type TaxExemptReason string
const (
	TaxExemptReasonTaxNotConfigured                 TaxExemptReason = "tax_not_configured"
	TaxExemptReasonRegionNonTaxable                 TaxExemptReason = "region_non_taxable"
	TaxExemptReasonExport                           TaxExemptReason = "export"
	TaxExemptReasonCustomerExempt                   TaxExemptReason = "customer_exempt"
	TaxExemptReasonProductExempt                    TaxExemptReason = "product_exempt"
	TaxExemptReasonZeroRated                        TaxExemptReason = "zero_rated"
	TaxExemptReasonReverseCharge                    TaxExemptReason = "reverse_charge"
	TaxExemptReasonHighValuePhysicalGoods           TaxExemptReason = "high_value_physical_goods"
	TaxExemptReasonZeroValueItem                    TaxExemptReason = "zero_value_item"
	TaxExemptReasonTaxNotConfiguredExternalProvider TaxExemptReason = "tax_not_configured_external_provider"
)

type TaxJurisType

type TaxJurisType string
const (
	TaxJurisTypeCountry        TaxJurisType = "country"
	TaxJurisTypeFederal        TaxJurisType = "federal"
	TaxJurisTypeState          TaxJurisType = "state"
	TaxJurisTypeCounty         TaxJurisType = "county"
	TaxJurisTypeCity           TaxJurisType = "city"
	TaxJurisTypeSpecial        TaxJurisType = "special"
	TaxJurisTypeUnincorporated TaxJurisType = "unincorporated"
	TaxJurisTypeOther          TaxJurisType = "other"
)

type TaxOverrideReason

type TaxOverrideReason string
const (
	TaxOverrideReasonIdExempt       TaxOverrideReason = "id_exempt"
	TaxOverrideReasonCustomerExempt TaxOverrideReason = "customer_exempt"
	TaxOverrideReasonExport         TaxOverrideReason = "export"
)

type Taxability

type Taxability string
const (
	TaxabilityTaxable Taxability = "taxable"
	TaxabilityExempt  Taxability = "exempt"
)

type TaxjarExemptionCategory

type TaxjarExemptionCategory string
const (
	TaxjarExemptionCategoryWholesale  TaxjarExemptionCategory = "wholesale"
	TaxjarExemptionCategoryGovernment TaxjarExemptionCategory = "government"
	TaxjarExemptionCategoryOther      TaxjarExemptionCategory = "other"
)

type TrialEndAction

type TrialEndAction string
const (
	TrialEndActionSiteDefault          TrialEndAction = "site_default"
	TrialEndActionPlanDefault          TrialEndAction = "plan_default"
	TrialEndActionActivateSubscription TrialEndAction = "activate_subscription"
	TrialEndActionCancelSubscription   TrialEndAction = "cancel_subscription"
)

type Type

type Type string
const (
	TypeCard                      Type = "card"
	TypePaypalExpressCheckout     Type = "paypal_express_checkout"
	TypeAmazonPayments            Type = "amazon_payments"
	TypeDirectDebit               Type = "direct_debit"
	TypeGeneric                   Type = "generic"
	TypeAlipay                    Type = "alipay"
	TypeUnionpay                  Type = "unionpay"
	TypeApplePay                  Type = "apple_pay"
	TypeWechatPay                 Type = "wechat_pay"
	TypeIdeal                     Type = "ideal"
	TypeGooglePay                 Type = "google_pay"
	TypeSofort                    Type = "sofort"
	TypeBancontact                Type = "bancontact"
	TypeGiropay                   Type = "giropay"
	TypeDotpay                    Type = "dotpay"
	TypeUpi                       Type = "upi"
	TypeNetbankingEmandates       Type = "netbanking_emandates"
	TypeVenmo                     Type = "venmo"
	TypePayTo                     Type = "pay_to"
	TypeFasterPayments            Type = "faster_payments"
	TypeSepaInstantTransfer       Type = "sepa_instant_transfer"
	TypeAutomatedBankTransfer     Type = "automated_bank_transfer"
	TypeKlarnaPayNow              Type = "klarna_pay_now"
	TypeOnlineBankingPoland       Type = "online_banking_poland"
	TypePayconiqByBancontact      Type = "payconiq_by_bancontact"
	TypeElectronicPaymentStandard Type = "electronic_payment_standard"
	TypeKbcPaymentButton          Type = "kbc_payment_button"
	TypePayByBank                 Type = "pay_by_bank"
	TypeTrustly                   Type = "trustly"
	TypeStablecoin                Type = "stablecoin"
	TypeKakaoPay                  Type = "kakao_pay"
	TypeNaverPay                  Type = "naver_pay"
	TypeRevolutPay                Type = "revolut_pay"
	TypeCashAppPay                Type = "cash_app_pay"
	TypeFreeTrial                 Type = "free_trial"
	TypePayUpFront                Type = "pay_up_front"
	TypePayAsYouGo                Type = "pay_as_you_go"
)

type UnbilledChargesHandling

type UnbilledChargesHandling string
const (
	UnbilledChargesHandlingNoAction UnbilledChargesHandling = "no_action"
	UnbilledChargesHandlingInvoice  UnbilledChargesHandling = "invoice"
)

type UnbilledChargesOption

type UnbilledChargesOption string
const (
	UnbilledChargesOptionInvoice UnbilledChargesOption = "invoice"
	UnbilledChargesOptionDelete  UnbilledChargesOption = "delete"
)

type UnpaidInvoicesHandling

type UnpaidInvoicesHandling string
const (
	UnpaidInvoicesHandlingNoAction                  UnpaidInvoicesHandling = "no_action"
	UnpaidInvoicesHandlingSchedulePaymentCollection UnpaidInvoicesHandling = "schedule_payment_collection"
)

type UsageAccumulationResetFrequency added in v3.25.0

type UsageAccumulationResetFrequency string
const (
	UsageAccumulationResetFrequencyNever                        UsageAccumulationResetFrequency = "never"
	UsageAccumulationResetFrequencySubscriptionBillingFrequency UsageAccumulationResetFrequency = "subscription_billing_frequency"
)

type ValidationStatus

type ValidationStatus string
const (
	ValidationStatusNotValidated   ValidationStatus = "not_validated"
	ValidationStatusValid          ValidationStatus = "valid"
	ValidationStatusPartiallyValid ValidationStatus = "partially_valid"
	ValidationStatusInvalid        ValidationStatus = "invalid"
)

type VoucherType added in v3.6.0

type VoucherType string
const (
	VoucherTypeBoleto VoucherType = "boleto"
)

Source Files

Jump to

Keyboard shortcuts

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