Documentation ¶
Overview ¶
Package bitcoinreceiver provides the /bitcoin/receivers APIs.
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(params *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. 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
func Update ¶
func Update(id string, params *stripe.BitcoinReceiverUpdateParams) (*stripe.BitcoinReceiver, error)
Update updates a bitcoin receiver's properties. For more details see https://stripe.com/docs/api#update_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)
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.BitcoinReceiverUpdateParams) (*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.