Documentation ¶
Overview ¶
Package transferreversal provides the /transfers/{id}/reversals APIs
Index ¶
- func Get(id string, params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
- func New(params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
- func Update(id string, params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
- type Client
- func (c Client) Get(id string, params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
- func (c Client) List(listParams *stripe.TransferReversalListParams) *Iter
- func (c Client) New(params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
- func (c Client) Update(id string, params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
Get returns the details of a transfer reversal.
func New ¶
func New(params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
New creates a new transfer reversal.
func Update ¶
func Update(id string, params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
Update updates a transfer reversal's properties.
Types ¶
type Client ¶
Client is used to invoke /transfers/{id}/reversals APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
Get returns the details of a transfer reversal.
func (Client) List ¶
func (c Client) List(listParams *stripe.TransferReversalListParams) *Iter
List returns a list of transfer reversals.
func (Client) New ¶
func (c Client) New(params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
New creates a new transfer reversal.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.TransferReversalParams) (*stripe.TransferReversal, error)
Update updates a transfer reversal's properties.
type Iter ¶
Iter is an iterator for transfer reversals.
func List ¶
func List(params *stripe.TransferReversalListParams) *Iter
List returns a list of transfer reversals.
func (*Iter) TransferReversal ¶
func (i *Iter) TransferReversal() *stripe.TransferReversal
TransferReversal returns the transfer reversal which the iterator is currently pointing to.
func (*Iter) TransferReversalList ¶
func (i *Iter) TransferReversalList() *stripe.TransferReversalList
TransferReversalList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.