billing

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package billing exposes the provider-shaped v2 billing compatibility surface outside the generic ports package.

New code that wants the existing hosted-checkout, webhook, invoicing, and billing-portal contract should depend on this package explicitly instead of importing those types from ports. All identifiers here are aliases to the existing ports exports so migration stays source-compatible for the rest of v2.

This package is compatibility-sensitive, not provider-neutral. Applications that need a different billing model should define an app-owned port or use a dedicated adapter contract instead of widening the stable ports package.

Index

Constants

View Source
const (
	BillingPortalFlowTypeSubscriptionUpdateConfirm = ports.BillingPortalFlowTypeSubscriptionUpdateConfirm //nolint:staticcheck // Intentional v2 compatibility alias.
	BillingPortalFlowAfterCompletionTypeRedirect   = ports.BillingPortalFlowAfterCompletionTypeRedirect   //nolint:staticcheck // Intentional v2 compatibility alias.
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BillingPortalFlowAfterCompletion

type BillingPortalFlowAfterCompletion = ports.BillingPortalFlowAfterCompletion //nolint:staticcheck // Intentional v2 compatibility alias.

type BillingPortalFlowAfterCompletionType

type BillingPortalFlowAfterCompletionType = ports.BillingPortalFlowAfterCompletionType //nolint:staticcheck // Intentional v2 compatibility alias.

type BillingPortalFlowData

type BillingPortalFlowData = ports.BillingPortalFlowData //nolint:staticcheck // Intentional v2 compatibility alias.

type BillingPortalFlowSubscriptionUpdateConfirm

type BillingPortalFlowSubscriptionUpdateConfirm = ports.BillingPortalFlowSubscriptionUpdateConfirm //nolint:staticcheck // Intentional v2 compatibility alias.

type BillingPortalFlowSubscriptionUpdateConfirmItem

type BillingPortalFlowSubscriptionUpdateConfirmItem = ports.BillingPortalFlowSubscriptionUpdateConfirmItem //nolint:staticcheck // Intentional v2 compatibility alias.

type BillingPortalFlowType

type BillingPortalFlowType = ports.BillingPortalFlowType //nolint:staticcheck // Intentional v2 compatibility alias.

type BillingPortalSession

type BillingPortalSession = ports.BillingPortalSession //nolint:staticcheck // Intentional v2 compatibility alias.

type BillingPortalSessionInput

type BillingPortalSessionInput = ports.BillingPortalSessionInput //nolint:staticcheck // Intentional v2 compatibility alias.

type BillingProvider

type BillingProvider = ports.BillingProvider //nolint:staticcheck // Intentional v2 compatibility alias.

type CheckoutSession

type CheckoutSession = ports.CheckoutSession //nolint:staticcheck // Intentional v2 compatibility alias.

type CheckoutSessionRequest

type CheckoutSessionRequest = ports.CheckoutSessionRequest //nolint:staticcheck // Intentional v2 compatibility alias.

type Customer

type Customer = ports.Customer //nolint:staticcheck // Intentional v2 compatibility alias.

type CustomerAddress

type CustomerAddress = ports.CustomerAddress //nolint:staticcheck // Intentional v2 compatibility alias.

type CustomerInput

type CustomerInput = ports.CustomerInput //nolint:staticcheck // Intentional v2 compatibility alias.

type Invoice

type Invoice = ports.Invoice //nolint:staticcheck // Intentional v2 compatibility alias.

type InvoiceInput

type InvoiceInput = ports.InvoiceInput //nolint:staticcheck // Intentional v2 compatibility alias.

type InvoiceItem

type InvoiceItem = ports.InvoiceItem //nolint:staticcheck // Intentional v2 compatibility alias.

type InvoiceItemInput

type InvoiceItemInput = ports.InvoiceItemInput //nolint:staticcheck // Intentional v2 compatibility alias.

type InvoiceItemUpdate

type InvoiceItemUpdate = ports.InvoiceItemUpdate //nolint:staticcheck // Intentional v2 compatibility alias.

type PaymentMethod

type PaymentMethod = ports.PaymentMethod //nolint:staticcheck // Intentional v2 compatibility alias.

type PaymentProvider

type PaymentProvider = ports.PaymentProvider //nolint:staticcheck // Intentional v2 compatibility alias.

type Price

type Price = ports.Price //nolint:staticcheck // Intentional v2 compatibility alias.

type SetupIntent

type SetupIntent = ports.SetupIntent //nolint:staticcheck // Intentional v2 compatibility alias.

type SetupIntentInput

type SetupIntentInput = ports.SetupIntentInput //nolint:staticcheck // Intentional v2 compatibility alias.

type WebhookEvent

type WebhookEvent = ports.WebhookEvent //nolint:staticcheck // Intentional v2 compatibility alias.

Jump to

Keyboard shortcuts

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