billing

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MissingPaymentPlanErrorName = "MissingPaymentPlan"

Variables

View Source
var ErrMissingPaymentPlan = errors.New(MissingPaymentPlanErrorName, "account does not have a payment plan")

ErrMissingPaymentPlan is returned when an account does not have a payment plan.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(customerStore customer.Store) *Service

func (*Service) PaymentPlan

func (s *Service) PaymentPlan(ctx context.Context, account did.DID) (did.DID, error)

PaymentPlan returns the payment plan for a given account. It may return ErrMissingPaymentPlan.

Jump to

Keyboard shortcuts

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