Documentation ¶
Overview ¶
Package inboundtransfer provides the /treasury/inbound_transfers APIs
Index ¶
- func Cancel(id string, params *stripe.TreasuryInboundTransferCancelParams) (*stripe.TreasuryInboundTransfer, error)
- func Get(id string, params *stripe.TreasuryInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
- func New(params *stripe.TreasuryInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
- type Client
- func (c Client) Cancel(id string, params *stripe.TreasuryInboundTransferCancelParams) (*stripe.TreasuryInboundTransfer, error)
- func (c Client) Get(id string, params *stripe.TreasuryInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
- func (c Client) List(listParams *stripe.TreasuryInboundTransferListParams) *Iter
- func (c Client) New(params *stripe.TreasuryInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cancel ¶
func Cancel(id string, params *stripe.TreasuryInboundTransferCancelParams) (*stripe.TreasuryInboundTransfer, error)
Cancel is the method for the `POST /v1/treasury/inbound_transfers/{inbound_transfer}/cancel` API.
func Get ¶
func Get(id string, params *stripe.TreasuryInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
Get returns the details of a treasury inbound transfer.
func New ¶
func New(params *stripe.TreasuryInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
New creates a new treasury inbound transfer.
Types ¶
type Client ¶
Client is used to invoke /treasury/inbound_transfers APIs.
func (Client) Cancel ¶
func (c Client) Cancel(id string, params *stripe.TreasuryInboundTransferCancelParams) (*stripe.TreasuryInboundTransfer, error)
Cancel is the method for the `POST /v1/treasury/inbound_transfers/{inbound_transfer}/cancel` API.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TreasuryInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
Get returns the details of a treasury inbound transfer.
func (Client) List ¶
func (c Client) List(listParams *stripe.TreasuryInboundTransferListParams) *Iter
List returns a list of treasury inbound transfers.
func (Client) New ¶
func (c Client) New(params *stripe.TreasuryInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
New creates a new treasury inbound transfer.
type Iter ¶
Iter is an iterator for treasury inbound transfers.
func List ¶
func List(params *stripe.TreasuryInboundTransferListParams) *Iter
List returns a list of treasury inbound transfers.
func (*Iter) TreasuryInboundTransfer ¶
func (i *Iter) TreasuryInboundTransfer() *stripe.TreasuryInboundTransfer
TreasuryInboundTransfer returns the treasury inbound transfer which the iterator is currently pointing to.
func (*Iter) TreasuryInboundTransferList ¶
func (i *Iter) TreasuryInboundTransferList() *stripe.TreasuryInboundTransferList
TreasuryInboundTransferList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.