Documentation
¶
Index ¶
- func BoolPtr(b bool) *bool
- func GetAccountByKeyOrID(ctx context.Context, c *kbclient.KillBill, keyOrID string) (*kbmodel.Account, error)
- func GetTagDefinition(ctx context.Context, c *kbclient.KillBill, idOrName string) (*kbmodel.TagDefinition, error)
- func GetTagDefinitions(ctx context.Context, c *kbclient.KillBill) (map[string]*kbmodel.TagDefinition, error)
- func Int64Ptr(i int64) *int64
- func IntPtr(i int) *int
- func ParseKeyOrID(keyOrID string) (idOrKey string, isID bool)
- func StringPtr(s string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountByKeyOrID ¶
func GetAccountByKeyOrID(ctx context.Context, c *kbclient.KillBill, keyOrID string) (*kbmodel.Account, error)
GetAccountByKeyOrID - get account information command
func GetTagDefinition ¶
func GetTagDefinition(ctx context.Context, c *kbclient.KillBill, idOrName string) (*kbmodel.TagDefinition, error)
GetTagDefinition gets tag definition by name or id
func GetTagDefinitions ¶
func GetTagDefinitions(ctx context.Context, c *kbclient.KillBill) (map[string]*kbmodel.TagDefinition, error)
GetTagDefinitions returns list of tag definitions
func ParseKeyOrID ¶
ParseKeyOrID parses given input string that is either UUID or external key. External keys may be prefixed with +.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.