Documentation ¶
Overview ¶
Package price provides the /prices APIs
Index ¶
- func Get(id string, params *stripe.PriceParams) (*stripe.Price, error)
- func New(params *stripe.PriceParams) (*stripe.Price, error)
- func Update(id string, params *stripe.PriceParams) (*stripe.Price, error)
- type Client
- func (c Client) Get(id string, params *stripe.PriceParams) (*stripe.Price, error)
- func (c Client) List(listParams *stripe.PriceListParams) *Iter
- func (c Client) New(params *stripe.PriceParams) (*stripe.Price, error)
- func (c Client) Search(params *stripe.PriceSearchParams) *SearchIter
- func (c Client) Update(id string, params *stripe.PriceParams) (*stripe.Price, error)
- type Iter
- type SearchIter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client is used to invoke /prices APIs.
func (Client) List ¶
func (c Client) List(listParams *stripe.PriceListParams) *Iter
List returns a list of prices.
func (Client) Search ¶ added in v72.97.0
func (c Client) Search(params *stripe.PriceSearchParams) *SearchIter
Search returns a search result containing prices.
type Iter ¶
Iter is an iterator for prices.
type SearchIter ¶ added in v72.97.0
type SearchIter struct {
*stripe.SearchIter
}
SearchIter is an iterator for prices.
func Search ¶ added in v72.97.0
func Search(params *stripe.PriceSearchParams) *SearchIter
Search returns a search result containing prices.
func (*SearchIter) Price ¶ added in v72.97.0
func (i *SearchIter) Price() *stripe.Price
Price returns the price which the iterator is currently pointing to.
func (*SearchIter) PriceSearchResult ¶ added in v72.97.0
func (i *SearchIter) PriceSearchResult() *stripe.PriceSearchResult
PriceSearchResult 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.