Documentation ¶
Overview ¶
Package account provides the /accounts APIs
Index ¶
- func Del(id string, params *stripe.AccountParams) (*stripe.Account, error)
- func Get() (*stripe.Account, error)
- func GetByID(id string, params *stripe.AccountParams) (*stripe.Account, error)
- func New(params *stripe.AccountParams) (*stripe.Account, error)
- func Reject(id string, params *stripe.AccountRejectParams) (*stripe.Account, error)
- func Update(id string, params *stripe.AccountParams) (*stripe.Account, error)
- type Client
- func (c Client) Del(id string, params *stripe.AccountParams) (*stripe.Account, error)
- func (c Client) Get() (*stripe.Account, error)
- func (c Client) GetByID(id string, params *stripe.AccountParams) (*stripe.Account, error)
- func (c Client) List(listParams *stripe.AccountListParams) *Iter
- func (c Client) New(params *stripe.AccountParams) (*stripe.Account, error)
- func (c Client) Reject(id string, params *stripe.AccountRejectParams) (*stripe.Account, error)
- func (c Client) Update(id string, params *stripe.AccountParams) (*stripe.Account, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(params *stripe.AccountParams) (*stripe.Account, error)
New creates a new account.
Types ¶
type Client ¶
Client is used to invoke /accounts APIs.
func (Client) List ¶
func (c Client) List(listParams *stripe.AccountListParams) *Iter
List returns a list of accounts.
type Iter ¶
Iter is an iterator for accounts.
func (*Iter) AccountList ¶
func (i *Iter) AccountList() *stripe.AccountList
AccountList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.
Click to show internal directories.
Click to hide internal directories.