Documentation ¶
Overview ¶
Package customerbalancetransaction provides the /balance_transactions APIs
Index ¶
- func Get(id string, params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
- func New(params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
- func Update(id string, params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
- type Client
- func (c Client) Get(id string, params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
- func (c Client) List(listParams *stripe.CustomerBalanceTransactionListParams) *Iter
- func (c Client) New(params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
- func (c Client) Update(id string, params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
Get returns the details of a customer balance transaction.
func New ¶
func New(params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
New creates a new customer balance transaction.
func Update ¶
func Update(id string, params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
Update updates a customer balance transaction.
Types ¶
type Client ¶
Client is used to invoke /balance_transactions APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
Get returns the details of a customer balance transaction.
func (Client) List ¶
func (c Client) List(listParams *stripe.CustomerBalanceTransactionListParams) *Iter
List returns a list of customer balance transactions.
func (Client) New ¶
func (c Client) New(params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
New creates a new customer balance transaction.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.CustomerBalanceTransactionParams) (*stripe.CustomerBalanceTransaction, error)
Update updates a customer balance transaction.
type Iter ¶
Iter is an iterator for customer balance transactions.
func List ¶
func List(params *stripe.CustomerBalanceTransactionListParams) *Iter
List returns a list of customer balance transactions.
func (*Iter) CustomerBalanceTransaction ¶
func (i *Iter) CustomerBalanceTransaction() *stripe.CustomerBalanceTransaction
CustomerBalanceTransaction returns the customer balance transaction which the iterator is currently pointing to.
func (*Iter) CustomerBalanceTransactionList ¶ added in v71.44.0
func (i *Iter) CustomerBalanceTransactionList() *stripe.CustomerBalanceTransactionList
CustomerBalanceTransactionList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.