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)
Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.
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)
Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.
type Iter ¶
Iter is an iterator for treasury received credits.
func List ¶
func List(params *stripe.TreasuryReceivedCreditListParams) *Iter
Returns a list of ReceivedCredits.
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.