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 ¶
Types ¶
type Client ¶
Client is used to invoke /accounts/{account}/persons APIs.
func (Client) List ¶
func (c Client) List(listParams *stripe.PersonListParams) *Iter
List returns a list of persons.
type Iter ¶
Iter is an iterator for persons.
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.
Click to show internal directories.
Click to hide internal directories.