bitcoinreceiver

package
v31.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package bitcoinreceiver provides the /bitcoin/receivers APIs.

Note that this entire package is deprecated. Please use the new sources API instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of a bitcoin receiver. For more details see https://stripe.com/docs/api/#retrieve_bitcoin_receiver

func New

New POSTs new bitcoin receivers. For more details see https://stripe.com/docs/api/#create_bitcoin_receiver

func Update

Update updates a bitcoin receiver's properties. For more details see https://stripe.com/docs/api#update_bitcoin_receiver.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /bitcoin/receivers APIs.

func (Client) Get

func (Client) List

func (c Client) List(params *stripe.BitcoinReceiverListParams) *Iter

func (Client) New

func (Client) Update

type Iter

type Iter struct {
	*stripe.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL