billing

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPlanToCustomerOptions

type AddPlanToCustomerOptions struct {
	Workspace *malak.Workspace
}

type Client

type Client interface {
	CreateCustomer(context.Context, *CreateCustomerOptions) (string, error)
	Portal(context.Context, *CreateBillingPortalOptions) (string, error)
	AddPlanToCustomer(context.Context, *AddPlanToCustomerOptions) (string, error)
}

type CreateBillingPortalOptions

type CreateBillingPortalOptions struct {
	CustomerID string
}

type CreateCustomerOptions

type CreateCustomerOptions struct {
	Name  string
	Email malak.Email
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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