Documentation ¶
Overview ¶
Package bitcoinreceiver provides the /bitcoin/receivers APIs.
Note that this entire package is deprecated. Please use the new sources API instead.
Index ¶
- func Get(id string, params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
- func New(params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
- func Update(id string, params *stripe.BitcoinReceiverUpdateParams) (*stripe.BitcoinReceiver, error)
- type Client
- func (c Client) Get(id string, params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
- func (c Client) List(listParams *stripe.BitcoinReceiverListParams) *Iter
- func (c Client) New(params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
- func (c Client) Update(id string, params *stripe.BitcoinReceiverUpdateParams) (*stripe.BitcoinReceiver, error)
- type Iter
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.
func New ¶
func New(params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
New creates a new bitcoin receiver.
func Update ¶
func Update(id string, params *stripe.BitcoinReceiverUpdateParams) (*stripe.BitcoinReceiver, error)
Update updates a bitcoin receiver's properties.
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)
Get returns the details of a bitcoin receiver.
func (Client) List ¶
func (c Client) List(listParams *stripe.BitcoinReceiverListParams) *Iter
List returns a list of bitcoin receivers.
func (Client) New ¶
func (c Client) New(params *stripe.BitcoinReceiverParams) (*stripe.BitcoinReceiver, error)
New creates a new bitcoin receiver.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.BitcoinReceiverUpdateParams) (*stripe.BitcoinReceiver, error)
Update updates a bitcoin receiver's properties.
type Iter ¶
Iter is an iterator for bitcoin receivers.
func List ¶
func List(params *stripe.BitcoinReceiverListParams) *Iter
List returns a list of bitcoin receivers.
func (*Iter) BitcoinReceiver ¶
func (i *Iter) BitcoinReceiver() *stripe.BitcoinReceiver
BitcoinReceiver returns the bitcoin receiver which the iterator is currently pointing to.