public class FileUpload extends APIResource implements HasId
APIResource.RequestMethod, APIResource.RequestTypeCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
FileUpload() |
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncodeequals, toStringpublic void setId(String id)
public Long getCreated()
public void setCreated(Long created)
public String getPurpose()
public void setPurpose(String purpose)
public Long getSize()
public void setSize(Long size)
public String getType()
public void setType(String type)
public String getURL()
public void setURL(String url)
public static FileUpload create(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static FileUpload retrieve(String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static FileUpload create(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static FileUpload create(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static FileUpload retrieve(String id, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static FileUpload retrieve(String id, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static FileUploadCollection list(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static FileUploadCollection list(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static FileUploadCollection all(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static FileUploadCollection all(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static FileUploadCollection all(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
Copyright © 2016 Stripe. All rights reserved.