Documentation ¶
Overview ¶
Package inboundtransfer provides the /treasury/inbound_transfers APIs
Index ¶
- func Fail(id string, params *stripe.TestHelpersTreasuryInboundTransferFailParams) (*stripe.TreasuryInboundTransfer, error)
- func ReturnInboundTransfer(id string, ...) (*stripe.TreasuryInboundTransfer, error)
- func Succeed(id string, params *stripe.TestHelpersTreasuryInboundTransferSucceedParams) (*stripe.TreasuryInboundTransfer, error)
- type Client
- func (c Client) Fail(id string, params *stripe.TestHelpersTreasuryInboundTransferFailParams) (*stripe.TreasuryInboundTransfer, error)
- func (c Client) ReturnInboundTransfer(id string, ...) (*stripe.TreasuryInboundTransfer, error)
- func (c Client) Succeed(id string, params *stripe.TestHelpersTreasuryInboundTransferSucceedParams) (*stripe.TreasuryInboundTransfer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fail ¶
func Fail(id string, params *stripe.TestHelpersTreasuryInboundTransferFailParams) (*stripe.TreasuryInboundTransfer, error)
Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.
func ReturnInboundTransfer ¶
func ReturnInboundTransfer(id string, params *stripe.TestHelpersTreasuryInboundTransferReturnInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
func Succeed ¶
func Succeed(id string, params *stripe.TestHelpersTreasuryInboundTransferSucceedParams) (*stripe.TreasuryInboundTransfer, error)
Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.
Types ¶
type Client ¶
Client is used to invoke /treasury/inbound_transfers APIs.
func (Client) Fail ¶
func (c Client) Fail(id string, params *stripe.TestHelpersTreasuryInboundTransferFailParams) (*stripe.TreasuryInboundTransfer, error)
Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.
func (Client) ReturnInboundTransfer ¶
func (c Client) ReturnInboundTransfer(id string, params *stripe.TestHelpersTreasuryInboundTransferReturnInboundTransferParams) (*stripe.TreasuryInboundTransfer, error)
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
func (Client) Succeed ¶
func (c Client) Succeed(id string, params *stripe.TestHelpersTreasuryInboundTransferSucceedParams) (*stripe.TreasuryInboundTransfer, error)
Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.