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 ¶
func New(params *stripe.FileUploadParams) (*stripe.FileUpload, error)
New POSTs new file uploads. For more details see https://stripe.com/docs/api#create_file_upload.
Types ¶
type Client ¶
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)
type Iter ¶
Iter is an iterator for lists of FileUploads. The embedded Iter carries methods with it; see its documentation for details.
func List ¶
func List(params *stripe.FileUploadListParams) *Iter
List returns a list of file uploads. For more details see https://stripe.com/docs/api#list_file_uploads.
func (*Iter) FileUpload ¶
func (i *Iter) FileUpload() *stripe.FileUpload
FileUpload returns the most recent FileUpload visited by a call to Next.
Click to show internal directories.
Click to hide internal directories.