Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountType ¶
type AccountType string
const (
AccountTypeIndividual AccountType = "INDIVIDUAL"
)
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(opts *ClientOptions) (*Client, error)
func (*Client) GetAccount ¶
func (c *Client) GetAccount() (*GetAccountOutput, error)
func (*Client) ListAccounts ¶
func (c *Client) ListAccounts() (*ListAccountsOutput, error)
type ClientOptions ¶
type GetAccountOutput ¶
type GetAccountOutput struct {
CreatedAt time.Time `json:"created_at,omitempty"`
Domain string `json:"domain,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
State AccountState `json:"state,omitempty"`
Type AccountType `json:"type,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.