Documentation ¶
Overview ¶
Package receivedcredit provides the /treasury/received_credits APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.TreasuryReceivedCreditParams) (*stripe.TreasuryReceivedCredit, error)
Get returns the details of a treasury received credit.
Types ¶
type Client ¶
Client is used to invoke /treasury/received_credits APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TreasuryReceivedCreditParams) (*stripe.TreasuryReceivedCredit, error)
Get returns the details of a treasury received credit.
type Iter ¶
Iter is an iterator for treasury received credits.
func List ¶
func List(params *stripe.TreasuryReceivedCreditListParams) *Iter
List returns a list of treasury received credits.
func (*Iter) TreasuryReceivedCredit ¶
func (i *Iter) TreasuryReceivedCredit() *stripe.TreasuryReceivedCredit
TreasuryReceivedCredit returns the treasury received credit which the iterator is currently pointing to.
func (*Iter) TreasuryReceivedCreditList ¶
func (i *Iter) TreasuryReceivedCreditList() *stripe.TreasuryReceivedCreditList
TreasuryReceivedCreditList 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.