Documentation ¶
Overview ¶
Package person provides the /accounts/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/persons APIs.
func (Client) List ¶
func (c Client) List(listParams *stripe.PersonListParams) *Iter
List returns a list of account persons.
type Iter ¶
Iter is an iterator for account persons.
func List ¶
func List(params *stripe.PersonListParams) *Iter
List returns a list of account persons.
func (*Iter) Person ¶
Person returns the account person which the iterator is currently pointing to.
func (*Iter) PersonList ¶ added in v71.44.0
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.