Documentation ¶
Overview ¶
Package outboundtransfer provides the /treasury/outbound_transfers APIs
Index ¶
- func Fail(id string, params *stripe.TestHelpersTreasuryOutboundTransferFailParams) (*stripe.TreasuryOutboundTransfer, error)
- func Post(id string, params *stripe.TestHelpersTreasuryOutboundTransferPostParams) (*stripe.TreasuryOutboundTransfer, error)
- func ReturnOutboundTransfer(id string, ...) (*stripe.TreasuryOutboundTransfer, error)
- func Update(id string, params *stripe.TestHelpersTreasuryOutboundTransferParams) (*stripe.TreasuryOutboundTransfer, error)
- type Client
- func (c Client) Fail(id string, params *stripe.TestHelpersTreasuryOutboundTransferFailParams) (*stripe.TreasuryOutboundTransfer, error)
- func (c Client) Post(id string, params *stripe.TestHelpersTreasuryOutboundTransferPostParams) (*stripe.TreasuryOutboundTransfer, error)
- func (c Client) ReturnOutboundTransfer(id string, ...) (*stripe.TreasuryOutboundTransfer, error)
- func (c Client) Update(id string, params *stripe.TestHelpersTreasuryOutboundTransferParams) (*stripe.TreasuryOutboundTransfer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fail ¶
func Fail(id string, params *stripe.TestHelpersTreasuryOutboundTransferFailParams) (*stripe.TreasuryOutboundTransfer, error)
Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.
func Post ¶
func Post(id string, params *stripe.TestHelpersTreasuryOutboundTransferPostParams) (*stripe.TreasuryOutboundTransfer, error)
Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.
func ReturnOutboundTransfer ¶
func ReturnOutboundTransfer(id string, params *stripe.TestHelpersTreasuryOutboundTransferReturnOutboundTransferParams) (*stripe.TreasuryOutboundTransfer, error)
Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.
func Update ¶
func Update(id string, params *stripe.TestHelpersTreasuryOutboundTransferParams) (*stripe.TreasuryOutboundTransfer, error)
Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states.
Types ¶
type Client ¶
Client is used to invoke /treasury/outbound_transfers APIs.
func (Client) Fail ¶
func (c Client) Fail(id string, params *stripe.TestHelpersTreasuryOutboundTransferFailParams) (*stripe.TreasuryOutboundTransfer, error)
Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.
func (Client) Post ¶
func (c Client) Post(id string, params *stripe.TestHelpersTreasuryOutboundTransferPostParams) (*stripe.TreasuryOutboundTransfer, error)
Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.
func (Client) ReturnOutboundTransfer ¶
func (c Client) ReturnOutboundTransfer(id string, params *stripe.TestHelpersTreasuryOutboundTransferReturnOutboundTransferParams) (*stripe.TreasuryOutboundTransfer, error)
Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.TestHelpersTreasuryOutboundTransferParams) (*stripe.TreasuryOutboundTransfer, error)
Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states.