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)
|
Integer |
getAmount() |
Integer |
getAmountReversed() |
String |
getApplicationFee() |
String |
getBalanceTransaction() |
BankAccount |
getBankAccount() |
Long |
getCreated() |
String |
getCurrency() |
Long |
getDate() |
String |
getDescription() |
String |
getDestination() |
String |
getDestinationPayment() |
String |
getFailureCode() |
String |
getFailureMessage() |
String |
getId() |
Boolean |
getLivemode() |
Map<String,String> |
getMetadata() |
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() |
String |
getSourceType() |
String |
getStatementDescription()
Deprecated.
Use `statement_descriptor` field (https://stripe.com/docs/upgrades#2014-12-17)
|
String |
getStatementDescriptor() |
String |
getStatus() |
Summary |
getSummary()
Deprecated.
Use the balance history endpoint (https://stripe.com/docs/upgrades#2014-08-04)
|
String |
getType() |
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(Integer amount) |
void |
setAmountReversed(Integer amountReversed) |
void |
setApplicationFee(String applicationFee) |
void |
setBalanceTransaction(String balanceTransaction) |
void |
setBankAccount(BankAccount bankAccount) |
void |
setCreated(Long created) |
void |
setCurrency(String currency) |
void |
setDate(Long date) |
void |
setDescription(String description) |
void |
setDestination(String destination) |
void |
setDestinationPayment(String destinationPayment) |
void |
setFailureCode(String failureCode) |
void |
setFailureMessage(String failureMessage) |
void |
setId(String id) |
void |
setLivemode(Boolean livemode) |
void |
setMetadata(Map<String,String> metadata) |
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) |
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) |
void |
setSummary(Summary summary)
Deprecated.
Use the balance history endpoint (https://stripe.com/docs/upgrades#2014-08-04)
|
void |
setType(String type) |
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, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncodeequals, toStringpublic void setId(String id)
public Integer getAmount()
public void setAmount(Integer amount)
public Integer getAmountReversed()
public void setAmountReversed(Integer amountReversed)
public String getApplicationFee()
public void setApplicationFee(String applicationFee)
public String getBalanceTransaction()
public void setBalanceTransaction(String balanceTransaction)
public BankAccount getBankAccount()
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)
public String getDescription()
public void setDescription(String description)
public String getDestination()
public void setDestination(String destination)
public String getDestinationPayment()
public void setDestinationPayment(String destinationPayment)
public String getFailureCode()
public void setFailureCode(String failureCode)
public String getFailureMessage()
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)
public String getSourceTransaction()
public void setSourceTransaction(String sourceTransaction)
public String getSourceType()
public void setSourceType(String sourceType)
public String getStatementDescriptor()
public void setStatementDescriptor(String statementDescriptor)
public String getStatus()
public void setStatus(String status)
public String getType()
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 © 2016 Stripe. All rights reserved.