fileupload

package
v43.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package fileupload provides the file upload related APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(id string, params *stripe.FileUploadParams) (*stripe.FileUpload, error)

Get returns the details of a file upload.

func New

New creates a new file upload.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke file upload APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.FileUploadParams) (*stripe.FileUpload, error)

Get returns the details of a file upload.

func (Client) List

func (c Client) List(listParams *stripe.FileUploadListParams) *Iter

List returns a list of file uploads.

func (Client) New

func (c Client) New(params *stripe.FileUploadParams) (*stripe.FileUpload, error)

New creates a new file upload.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for file uploads.

func List

func List(params *stripe.FileUploadListParams) *Iter

List returns a list of file uploads.

func (*Iter) FileUpload

func (i *Iter) FileUpload() *stripe.FileUpload

FileUpload returns the file upload 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