billing

package
v0.349.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BillingCmd

func BillingCmd(ch *cmdutil.Helper) *cobra.Command

func DeletePaymentMethodCmd

func DeletePaymentMethodCmd(ch *cmdutil.Helper) *cobra.Command

func InvoiceCmd added in v0.327.0

func InvoiceCmd(ch *cmdutil.Helper) *cobra.Command

func InvoiceLineItemsCmd added in v0.327.0

func InvoiceLineItemsCmd(ch *cmdutil.Helper) *cobra.Command

func ListInvoicesCmd added in v0.327.0

func ListInvoicesCmd(ch *cmdutil.Helper) *cobra.Command

func PaymentMethodCmd

func PaymentMethodCmd(ch *cmdutil.Helper) *cobra.Command

func PaymentMethodStatusCmd

func PaymentMethodStatusCmd(ch *cmdutil.Helper) *cobra.Command

func ShowInvoiceCmd added in v0.327.0

func ShowInvoiceCmd(ch *cmdutil.Helper) *cobra.Command

func ShowPaymentMethodCmd

func ShowPaymentMethodCmd(ch *cmdutil.Helper) *cobra.Command

func UpdatePaymentMethodCmd

func UpdatePaymentMethodCmd(ch *cmdutil.Helper) *cobra.Command

Types

type PaymentMethod

type PaymentMethod struct {
	ID       string `header:"id" json:"id"`
	Brand    string `header:"brand" json:"brand"`
	Last4    string `header:"last4" json:"last4"`
	ExpMonth int    `header:"exp_month" json:"exp_month"`
	ExpYear  int    `header:"exp_year" json:"exp_year"`
	Name     string `header:"name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentMethod) MarshalCSVValue

func (c *PaymentMethod) MarshalCSVValue() interface{}

func (*PaymentMethod) MarshalJSON

func (c *PaymentMethod) MarshalJSON() ([]byte, error)

type PaymentMethodSetup

type PaymentMethodSetup struct {
	ID          string     `header:"id" json:"id"`
	State       string     `header:"state" json:"state"`
	CheckoutURL string     `header:"checkout_url" json:"checkout_url,omitempty"`
	Error       string     `header:"error" json:"error,omitempty"`
	ExpiresAt   *time.Time `header:"expires_at" json:"expires_at,omitempty"`
	CompletedAt *time.Time `header:"completed_at" json:"completed_at,omitempty"`
	FailedAt    *time.Time `header:"failed_at" json:"failed_at,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentMethodSetup) MarshalCSVValue

func (s *PaymentMethodSetup) MarshalCSVValue() interface{}

func (*PaymentMethodSetup) MarshalJSON

func (s *PaymentMethodSetup) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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