bitcoinreceiver

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package bitcoinreceiver provides the /bitcoin/receivers APIs.

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