source

package
v18.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(id string, params *stripe.SourceObjectParams) (*stripe.Source, error)

Get returns the details of an order For more details see https://stripe.com/docs/api#retrieve_source.

func New

func New(params *stripe.SourceObjectParams) (*stripe.Source, error)

New POSTs a new source. For more details see https://stripe.com/docs/api#create_source.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /orders APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.SourceObjectParams) (*stripe.Source, error)

Get returns the details of a source For more details see https://stripe.com/docs/api#retrieve_source.

func (Client) New

func (c Client) New(params *stripe.SourceObjectParams) (*stripe.Source, error)

New POSTs a new source. For more details see https://stripe.com/docs/api#create_source.

Jump to

Keyboard shortcuts

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