Documentation ¶
Overview ¶
Package refund provides the /refunds APIs
Index ¶
- func Cancel(id string, params *stripe.RefundCancelParams) (*stripe.Refund, error)
- func Get(id string, params *stripe.RefundParams) (*stripe.Refund, error)
- func New(params *stripe.RefundParams) (*stripe.Refund, error)
- func Update(id string, params *stripe.RefundParams) (*stripe.Refund, error)
- type Client
- func (c Client) Cancel(id string, params *stripe.RefundCancelParams) (*stripe.Refund, error)
- func (c Client) Get(id string, params *stripe.RefundParams) (*stripe.Refund, error)
- func (c Client) List(listParams *stripe.RefundListParams) *Iter
- func (c Client) New(params *stripe.RefundParams) (*stripe.Refund, error)
- func (c Client) Update(id string, params *stripe.RefundParams) (*stripe.Refund, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cancel ¶ added in v72.95.0
Cancel is the method for the `POST /v1/refunds/{refund}/cancel` API.
Types ¶
type Client ¶
Client is used to invoke /refunds APIs.
func (Client) Cancel ¶ added in v72.95.0
Cancel is the method for the `POST /v1/refunds/{refund}/cancel` API.
func (Client) List ¶
func (c Client) List(listParams *stripe.RefundListParams) *Iter
List returns a list of refunds.
type Iter ¶
Iter is an iterator for refunds.
func (*Iter) RefundList ¶
func (i *Iter) RefundList() *stripe.RefundList
RefundList 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.