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