Documentation ¶
Overview ¶
Package bitcoinreceiver provides the /bitcoin/receivers APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
Get returns the details of a bitcoin receiver. For more details see https://stripe.com/docs/api/#retrieve_bitcoin_receiver
func New ¶
func New(params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
New POSTs new bitcoin receivers. For more details see https://stripe.com/docs/api/#create_bitcoin_receiver
Types ¶
type Client ¶
Client is used to invoke /bitcoin/receivers APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
func (Client) New ¶
func (c Client) New(params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
type Iter ¶
Iter is an iterator for lists of BitcoinReceivers. The embedded Iter carries methods with it; see its documentation for details.
func List ¶
func List(params *stripe.BitcoinReceiverListParams) *Iter
List returns a list of bitcoin receivers. For more details see https://stripe.com/docs/api/#list_bitcoin_receivers
func (*Iter) BitcoinReceiver ¶
func (i *Iter) BitcoinReceiver() *stripe.BitcoinReceiver
BitcoinReceiver returns the most recent BitcoinReceiver visited by a call to Next.