public class Transfer extends APIResource implements MetadataStore<Transfer>, HasId
APIResource.RequestMethod, APIResource.RequestTypeCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
Transfer() |
| Modifier and Type | Method and Description |
|---|---|
static TransferCollection |
all(Map<String,Object> params)
Deprecated.
|
static TransferCollection |
all(Map<String,Object> params,
RequestOptions options)
Deprecated.
|
static TransferCollection |
all(Map<String,Object> params,
String apiKey)
Deprecated.
|
Transfer |
cancel()
Deprecated.
Use Transfer.getReversals().create() instead of Transfer.cancel().
|
Transfer |
cancel(RequestOptions options) |
Transfer |
cancel(String apiKey)
Deprecated.
|
static Transfer |
create(Map<String,Object> params) |
static Transfer |
create(Map<String,Object> params,
RequestOptions options) |
static Transfer |
create(Map<String,Object> params,
String apiKey)
Deprecated.
|
BankAccount |
getAccount()
Deprecated.
Use `bank_account` field (https://stripe.com/docs/upgrades#2014-05-19)
|
Long |
getAmount() |
Long |
getAmountReversed() |
String |
getApplicationFee()
Deprecated.
|
String |
getBalanceTransaction() |
BankAccount |
getBankAccount()
Deprecated.
|
Long |
getCreated() |
String |
getCurrency() |
Long |
getDate() |
String |
getDescription()
Deprecated.
|
String |
getDestination() |
String |
getDestinationPayment() |
String |
getFailureCode()
Deprecated.
|
String |
getFailureMessage()
Deprecated.
|
String |
getId() |
Boolean |
getLivemode() |
Map<String,String> |
getMetadata() |
String |
getObject() |
List<String> |
getOtherTransfers()
Deprecated.
Use the balance history endpoint (https://stripe.com/docs/upgrades#2014-08-04)
|
String |
getRecipient()
Deprecated.
|
TransferReversalCollection |
getReversals() |
Boolean |
getReversed() |
String |
getSourceTransaction()
Deprecated.
|
String |
getSourceType() |
String |
getStatementDescription()
Deprecated.
Use `statement_descriptor` field (https://stripe.com/docs/upgrades#2014-12-17)
|
String |
getStatementDescriptor() |
String |
getStatus()
Deprecated.
|
Summary |
getSummary()
Deprecated.
Use the balance history endpoint (https://stripe.com/docs/upgrades#2014-08-04)
|
String |
getTransferGroup() |
String |
getType()
Deprecated.
|
static TransferCollection |
list(Map<String,Object> params) |
static TransferCollection |
list(Map<String,Object> params,
RequestOptions options) |
static Transfer |
retrieve(String id) |
static Transfer |
retrieve(String id,
RequestOptions options) |
static Transfer |
retrieve(String id,
String apiKey)
Deprecated.
|
void |
setAccount(BankAccount account)
Deprecated.
Use `bank_account` field (https://stripe.com/docs/upgrades#2014-05-19)
|
void |
setAmount(Long amount) |
void |
setAmountReversed(Long amountReversed) |
void |
setApplicationFee(String applicationFee)
Deprecated.
|
void |
setBalanceTransaction(String balanceTransaction) |
void |
setBankAccount(BankAccount bankAccount)
Deprecated.
|
void |
setCreated(Long created) |
void |
setCurrency(String currency) |
void |
setDate(Long date) |
void |
setDescription(String description)
Deprecated.
|
void |
setDestination(String destination) |
void |
setDestinationPayment(String destinationPayment) |
void |
setFailureCode(String failureCode)
Deprecated.
|
void |
setFailureMessage(String failureMessage)
Deprecated.
|
void |
setId(String id) |
void |
setLivemode(Boolean livemode) |
void |
setMetadata(Map<String,String> metadata) |
void |
setObject(String object) |
void |
setOtherTransfers(List<String> otherTransfers)
Deprecated.
Use the balance history endpoint (https://stripe.com/docs/upgrades#2014-08-04)
|
void |
setRecipient(String recipient)
Deprecated.
|
void |
setReversed(Boolean reversed) |
void |
setSourceTransaction(String sourceTransaction)
Deprecated.
|
void |
setSourceType(String sourceType) |
void |
setStatementDescription(String statementDescription)
Deprecated.
Use `statement_descriptor` field (https://stripe.com/docs/upgrades#2014-12-17)
|
void |
setStatementDescriptor(String statementDescriptor) |
void |
setStatus(String status)
Deprecated.
|
void |
setSummary(Summary summary)
Deprecated.
Use the balance history endpoint (https://stripe.com/docs/upgrades#2014-08-04)
|
void |
setTransferGroup(String transferGroup) |
void |
setType(String type)
Deprecated.
|
TransferTransactionCollection |
transactions(Map<String,Object> params) |
TransferTransactionCollection |
transactions(Map<String,Object> params,
RequestOptions options) |
TransferTransactionCollection |
transactions(Map<String,Object> params,
String apiKey)
Deprecated.
|
Transfer |
update(Map<String,Object> params) |
Transfer |
update(Map<String,Object> params,
RequestOptions options) |
Transfer |
update(Map<String,Object> params,
String apiKey)
Deprecated.
|
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setExpandableFieldID, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncodeequals, toJson, toStringpublic void setId(String id)
public String getObject()
public void setObject(String object)
public Long getAmount()
public void setAmount(Long amount)
public Long getAmountReversed()
public void setAmountReversed(Long amountReversed)
@Deprecated public String getApplicationFee()
@Deprecated public void setApplicationFee(String applicationFee)
public String getBalanceTransaction()
public void setBalanceTransaction(String balanceTransaction)
@Deprecated public BankAccount getBankAccount()
@Deprecated public void setBankAccount(BankAccount bankAccount)
public Long getCreated()
public void setCreated(Long created)
public String getCurrency()
public void setCurrency(String currency)
public Long getDate()
public void setDate(Long date)
@Deprecated public String getDescription()
@Deprecated public void setDescription(String description)
public String getDestination()
public void setDestination(String destination)
public String getDestinationPayment()
public void setDestinationPayment(String destinationPayment)
@Deprecated public String getFailureCode()
@Deprecated public void setFailureCode(String failureCode)
@Deprecated public String getFailureMessage()
@Deprecated public void setFailureMessage(String failureMessage)
public Boolean getLivemode()
public void setLivemode(Boolean livemode)
public Map<String,String> getMetadata()
getMetadata in interface MetadataStore<Transfer>public TransferReversalCollection getReversals()
public Boolean getReversed()
public void setReversed(Boolean reversed)
@Deprecated public String getSourceTransaction()
@Deprecated public void setSourceTransaction(String sourceTransaction)
public String getSourceType()
public void setSourceType(String sourceType)
public String getStatementDescriptor()
public void setStatementDescriptor(String statementDescriptor)
@Deprecated public String getStatus()
@Deprecated public void setStatus(String status)
public String getTransferGroup()
public void setTransferGroup(String transferGroup)
@Deprecated public String getType()
@Deprecated public void setType(String type)
@Deprecated public BankAccount getAccount()
@Deprecated public void setAccount(BankAccount account)
@Deprecated public List<String> getOtherTransfers()
@Deprecated public void setOtherTransfers(List<String> otherTransfers)
@Deprecated public String getRecipient()
@Deprecated public void setRecipient(String recipient)
@Deprecated public String getStatementDescription()
@Deprecated public void setStatementDescription(String statementDescription)
@Deprecated public Summary getSummary()
@Deprecated public void setSummary(Summary summary)
public static Transfer create(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Transfer retrieve(String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public Transfer cancel() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Transfer update(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update in interface MetadataStore<Transfer>AuthenticationExceptionInvalidRequestExceptionAPIConnectionExceptionCardExceptionAPIExceptionpublic TransferTransactionCollection transactions(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Transfer create(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Transfer create(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public Transfer update(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Transfer update(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update in interface MetadataStore<Transfer>AuthenticationExceptionInvalidRequestExceptionAPIConnectionExceptionCardExceptionAPIException@Deprecated public Transfer cancel(String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Transfer cancel(RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Transfer retrieve(String id, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Transfer retrieve(String id, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static TransferCollection list(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static TransferCollection list(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static TransferCollection all(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static TransferCollection all(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static TransferCollection all(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public TransferTransactionCollection transactions(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public TransferTransactionCollection transactions(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
Copyright © 2017 Stripe. All rights reserved.