public class Transfers extends AbstractApi
client| Modifier and Type | Method and Description |
|---|---|
protected String |
buildUrl() |
protected String |
buildUrl(String transferId) |
TransferResponse |
cancelTransfer(String transferId)
Cancel a transfer
https://stripe.com/docs/api#cancel_transfer
|
TransferResponse |
createTransfer(CreateTransferRequest request)
Create a transfer
https://stripe.com/docs/api#create_transfer
|
TransferResponse |
getTransfer(String transferId)
Retrieve a transfer
https://stripe.com/docs/api#retrieve_transfer
|
ListTransfersResponse |
listTransfers(ListTransfersRequest request)
List transfer records
https://stripe.com/docs/api#list_transfers
|
TransferResponse |
updateTransfer(String transferId,
UpdateTransferRequest request)
Update a transfer record
https://stripe.com/docs/api#update_transfer
|
public Transfers(Client client)
public TransferResponse createTransfer(CreateTransferRequest request)
public TransferResponse getTransfer(String transferId)
transferId - the id of the transfer to retrievepublic TransferResponse updateTransfer(String transferId, UpdateTransferRequest request)
transferId - the id of the transfer to updatepublic TransferResponse cancelTransfer(String transferId)
transferId - the id of the transfer to cancelpublic ListTransfersResponse listTransfers(ListTransfersRequest request)
protected String buildUrl()
Copyright © 2014. All rights reserved.