fileupload

package
v4.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package fileupload provides the file upload related APIs

Index

Constants

View Source
const (
	DisputeEvidenceFile stripe.FileUploadPurpose = "dispute_evidence"
	IdentityDocFile     stripe.FileUploadPurpose = "identity_document"
)

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. For more details see https://stripe.com/docs/api#retrieve_file_upload.

func New

New POSTs new file uploads. For more details see https://stripe.com/docs/api#create_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)

func (Client) New

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

Jump to

Keyboard shortcuts

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