Documentation ¶
Overview ¶
Package creditreversal provides the /treasury/credit_reversals APIs
Index ¶
- func Get(id string, params *stripe.TreasuryCreditReversalParams) (*stripe.TreasuryCreditReversal, error)
- func New(params *stripe.TreasuryCreditReversalParams) (*stripe.TreasuryCreditReversal, error)
- type Client
- func (c Client) Get(id string, params *stripe.TreasuryCreditReversalParams) (*stripe.TreasuryCreditReversal, error)
- func (c Client) List(listParams *stripe.TreasuryCreditReversalListParams) *Iter
- func (c Client) New(params *stripe.TreasuryCreditReversalParams) (*stripe.TreasuryCreditReversal, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.TreasuryCreditReversalParams) (*stripe.TreasuryCreditReversal, error)
Get returns the details of a treasury credit reversal.
func New ¶
func New(params *stripe.TreasuryCreditReversalParams) (*stripe.TreasuryCreditReversal, error)
New creates a new treasury credit reversal.
Types ¶
type Client ¶
Client is used to invoke /treasury/credit_reversals APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TreasuryCreditReversalParams) (*stripe.TreasuryCreditReversal, error)
Get returns the details of a treasury credit reversal.
func (Client) List ¶
func (c Client) List(listParams *stripe.TreasuryCreditReversalListParams) *Iter
List returns a list of treasury credit reversals.
func (Client) New ¶
func (c Client) New(params *stripe.TreasuryCreditReversalParams) (*stripe.TreasuryCreditReversal, error)
New creates a new treasury credit reversal.
type Iter ¶
Iter is an iterator for treasury credit reversals.
func List ¶
func List(params *stripe.TreasuryCreditReversalListParams) *Iter
List returns a list of treasury credit reversals.
func (*Iter) TreasuryCreditReversal ¶
func (i *Iter) TreasuryCreditReversal() *stripe.TreasuryCreditReversal
TreasuryCreditReversal returns the treasury credit reversal which the iterator is currently pointing to.
func (*Iter) TreasuryCreditReversalList ¶
func (i *Iter) TreasuryCreditReversalList() *stripe.TreasuryCreditReversalList
TreasuryCreditReversalList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.