Documentation ¶
Overview ¶
Package customercashbalancetransaction provides the /customers/{customer}/cash_balance_transactions APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.CustomerCashBalanceTransactionParams) (*stripe.CustomerCashBalanceTransaction, error)
Retrieves a specific cash balance transaction, which updated the customer's [cash balance](https://stripe.com/docs/payments/customer-balance).
Types ¶
type Client ¶
Client is used to invoke /customers/{customer}/cash_balance_transactions APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.CustomerCashBalanceTransactionParams) (*stripe.CustomerCashBalanceTransaction, error)
Retrieves a specific cash balance transaction, which updated the customer's [cash balance](https://stripe.com/docs/payments/customer-balance).
func (Client) List ¶
func (c Client) List(listParams *stripe.CustomerCashBalanceTransactionListParams) *Iter
Returns a list of transactions that modified the customer's [cash balance](https://stripe.com/docs/payments/customer-balance).
type Iter ¶
Iter is an iterator for customer cash balance transactions.
func List ¶
func List(params *stripe.CustomerCashBalanceTransactionListParams) *Iter
Returns a list of transactions that modified the customer's [cash balance](https://stripe.com/docs/payments/customer-balance).
func (*Iter) CustomerCashBalanceTransaction ¶
func (i *Iter) CustomerCashBalanceTransaction() *stripe.CustomerCashBalanceTransaction
CustomerCashBalanceTransaction returns the customer cash balance transaction which the iterator is currently pointing to.
func (*Iter) CustomerCashBalanceTransactionList ¶
func (i *Iter) CustomerCashBalanceTransactionList() *stripe.CustomerCashBalanceTransactionList
CustomerCashBalanceTransactionList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.