bitcoinreceiver

package
v63.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 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

func Get(id string) (*stripe.BitcoinReceiver, error)

Get returns the details of a 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 (c Client) Get(id string) (*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.

type Iter

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

Jump to

Keyboard shortcuts

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