Documentation ¶
Overview ¶
Package outboundpayment provides the /treasury/outbound_payments APIs
Index ¶
- func Fail(id string, params *stripe.TestHelpersTreasuryOutboundPaymentFailParams) (*stripe.TreasuryOutboundPayment, error)
- func Post(id string, params *stripe.TestHelpersTreasuryOutboundPaymentPostParams) (*stripe.TreasuryOutboundPayment, error)
- func ReturnOutboundPayment(id string, ...) (*stripe.TreasuryOutboundPayment, error)
- type Client
- func (c Client) Fail(id string, params *stripe.TestHelpersTreasuryOutboundPaymentFailParams) (*stripe.TreasuryOutboundPayment, error)
- func (c Client) Post(id string, params *stripe.TestHelpersTreasuryOutboundPaymentPostParams) (*stripe.TreasuryOutboundPayment, error)
- func (c Client) ReturnOutboundPayment(id string, ...) (*stripe.TreasuryOutboundPayment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fail ¶
func Fail(id string, params *stripe.TestHelpersTreasuryOutboundPaymentFailParams) (*stripe.TreasuryOutboundPayment, error)
Fail is the method for the `POST /v1/test_helpers/treasury/outbound_payments/{id}/fail` API.
func Post ¶
func Post(id string, params *stripe.TestHelpersTreasuryOutboundPaymentPostParams) (*stripe.TreasuryOutboundPayment, error)
Post is the method for the `POST /v1/test_helpers/treasury/outbound_payments/{id}/post` API.
func ReturnOutboundPayment ¶
func ReturnOutboundPayment(id string, params *stripe.TestHelpersTreasuryOutboundPaymentReturnOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
ReturnOutboundPayment is the method for the `POST /v1/test_helpers/treasury/outbound_payments/{id}/return` API.
Types ¶
type Client ¶
Client is used to invoke /treasury/outbound_payments APIs.
func (Client) Fail ¶
func (c Client) Fail(id string, params *stripe.TestHelpersTreasuryOutboundPaymentFailParams) (*stripe.TreasuryOutboundPayment, error)
Fail is the method for the `POST /v1/test_helpers/treasury/outbound_payments/{id}/fail` API.
func (Client) Post ¶
func (c Client) Post(id string, params *stripe.TestHelpersTreasuryOutboundPaymentPostParams) (*stripe.TreasuryOutboundPayment, error)
Post is the method for the `POST /v1/test_helpers/treasury/outbound_payments/{id}/post` API.
func (Client) ReturnOutboundPayment ¶
func (c Client) ReturnOutboundPayment(id string, params *stripe.TestHelpersTreasuryOutboundPaymentReturnOutboundPaymentParams) (*stripe.TreasuryOutboundPayment, error)
ReturnOutboundPayment is the method for the `POST /v1/test_helpers/treasury/outbound_payments/{id}/return` API.