Documentation ¶
Overview ¶
Package person provides the /accounts/{account}/persons APIs
Index ¶
- func Del(id string, params *stripe.PersonParams) (*stripe.Person, error)
- func Get(id string, params *stripe.PersonParams) (*stripe.Person, error)
- func New(params *stripe.PersonParams) (*stripe.Person, error)
- func Update(id string, params *stripe.PersonParams) (*stripe.Person, error)
- type Client
- func (c Client) Del(id string, params *stripe.PersonParams) (*stripe.Person, error)
- func (c Client) Get(id string, params *stripe.PersonParams) (*stripe.Person, error)
- func (c Client) List(listParams *stripe.PersonListParams) *Iter
- func (c Client) New(params *stripe.PersonParams) (*stripe.Person, error)
- func (c Client) Update(id string, params *stripe.PersonParams) (*stripe.Person, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Del ¶
Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.
Types ¶
type Client ¶
Client is used to invoke /accounts/{account}/persons APIs.
func (Client) Del ¶
Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.
func (Client) List ¶
func (c Client) List(listParams *stripe.PersonListParams) *Iter
Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first.
type Iter ¶
Iter is an iterator for persons.
func List ¶
func List(params *stripe.PersonListParams) *Iter
Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first.
func (*Iter) PersonList ¶
func (i *Iter) PersonList() *stripe.PersonList
PersonList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.