Documentation ¶
Overview ¶
Package accountnotice provides the /account_notices APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.AccountNoticeParams) (*stripe.AccountNotice, error)
Retrieves an AccountNotice object.
func Update ¶
func Update(id string, params *stripe.AccountNoticeParams) (*stripe.AccountNotice, error)
Updates an AccountNotice object.
Types ¶
type Client ¶
Client is used to invoke /account_notices APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.AccountNoticeParams) (*stripe.AccountNotice, error)
Retrieves an AccountNotice object.
func (Client) List ¶
func (c Client) List(listParams *stripe.AccountNoticeListParams) *Iter
Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.AccountNoticeParams) (*stripe.AccountNotice, error)
Updates an AccountNotice object.
type Iter ¶
Iter is an iterator for account notices.
func List ¶
func List(params *stripe.AccountNoticeListParams) *Iter
Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.
func (*Iter) AccountNotice ¶
func (i *Iter) AccountNotice() *stripe.AccountNotice
AccountNotice returns the account notice which the iterator is currently pointing to.
func (*Iter) AccountNoticeList ¶
func (i *Iter) AccountNoticeList() *stripe.AccountNoticeList
AccountNoticeList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.