accountnotice

package
v79.8.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package accountnotice provides the /account_notices APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Retrieves an AccountNotice object.

func Update

Updates an AccountNotice object.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /account_notices APIs.

func (Client) Get

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

type Iter struct {
	*stripe.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL