Documentation ¶
Overview ¶
Package outboundpayment provides the /treasury/outbound_payments APIs
Index ¶
- func Cancel(id string, params *stripe.TreasuryOutboundPaymentCancelParams) (*stripe.TreasuryOutboundPayment, error)
- func Get(id string, params *stripe.TreasuryOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
- func New(params *stripe.TreasuryOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
- type Client
- func (c Client) Cancel(id string, params *stripe.TreasuryOutboundPaymentCancelParams) (*stripe.TreasuryOutboundPayment, error)
- func (c Client) Get(id string, params *stripe.TreasuryOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
- func (c Client) List(listParams *stripe.TreasuryOutboundPaymentListParams) *Iter
- func (c Client) New(params *stripe.TreasuryOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cancel ¶
func Cancel(id string, params *stripe.TreasuryOutboundPaymentCancelParams) (*stripe.TreasuryOutboundPayment, error)
Cancel is the method for the `POST /v1/treasury/outbound_payments/{id}/cancel` API.
func Get ¶
func Get(id string, params *stripe.TreasuryOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
Get returns the details of a treasury outbound payment.
func New ¶
func New(params *stripe.TreasuryOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
New creates a new treasury outbound payment.
Types ¶
type Client ¶
Client is used to invoke /treasury/outbound_payments APIs.
func (Client) Cancel ¶
func (c Client) Cancel(id string, params *stripe.TreasuryOutboundPaymentCancelParams) (*stripe.TreasuryOutboundPayment, error)
Cancel is the method for the `POST /v1/treasury/outbound_payments/{id}/cancel` API.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TreasuryOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
Get returns the details of a treasury outbound payment.
func (Client) List ¶
func (c Client) List(listParams *stripe.TreasuryOutboundPaymentListParams) *Iter
List returns a list of treasury outbound payments.
func (Client) New ¶
func (c Client) New(params *stripe.TreasuryOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
New creates a new treasury outbound payment.
type Iter ¶
Iter is an iterator for treasury outbound payments.
func List ¶
func List(params *stripe.TreasuryOutboundPaymentListParams) *Iter
List returns a list of treasury outbound payments.
func (*Iter) TreasuryOutboundPayment ¶
func (i *Iter) TreasuryOutboundPayment() *stripe.TreasuryOutboundPayment
TreasuryOutboundPayment returns the treasury outbound payment which the iterator is currently pointing to.
func (*Iter) TreasuryOutboundPaymentList ¶
func (i *Iter) TreasuryOutboundPaymentList() *stripe.TreasuryOutboundPaymentList
TreasuryOutboundPaymentList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.