redeem

package
v0.6.315 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRedeem

func NewCmdRedeem(t *terminal.Terminal, redeemStore RedeemStore, noRedeemStore RedeemStore) *cobra.Command

func RunRedeem

func RunRedeem(t *terminal.Terminal, redeemStore RedeemStore, code string, orgFlag string) error

Types

type RedeemStore

type RedeemStore interface {
	GetActiveOrganizationOrDefault() (*entity.Organization, error)
	GetOrganizations(options *store.GetOrganizationsOptions) ([]entity.Organization, error)
	RedeemCouponCode(organizationID string, code string) (*store.RedeemCouponCodeResponse, error)
	completions.CompletionStore
}

Jump to

Keyboard shortcuts

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