public class Recipients extends AbstractApi
client| Constructor and Description |
|---|
Recipients(Client client) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildUrl() |
protected String |
buildUrl(String recipientId) |
RecipientResponse |
createRecipient(CreateRecipientRequest request)
Create a recipient
https://stripe.com/docs/api#create_recipient
|
DeleteResponse |
deleteRecipient(String recipientId)
Delete a recipient
https://stripe.com/docs/api#delete_recipient
|
RecipientResponse |
getRecipient(String recipientId)
Retrieve a recipient
https://stripe.com/docs/api#retrieve_recipient
|
ListRecipientsResponse |
listRecipients(ListRecipientsRequest request)
List recipients
https://stripe.com/docs/api#list_recipients
|
RecipientResponse |
updateRecipient(String recipientId,
UpdateRecipientRequest request)
Update a recipient
https://stripe.com/docs/api#update_recipient
|
public Recipients(Client client)
public RecipientResponse createRecipient(CreateRecipientRequest request)
public RecipientResponse getRecipient(String recipientId)
recipientId - the id of the recipient ot be retrievedpublic RecipientResponse updateRecipient(String recipientId, UpdateRecipientRequest request)
recipientId - the id of the recipient ot be updatedpublic DeleteResponse deleteRecipient(String recipientId)
recipientId - the id of the recipient ot be deletedpublic ListRecipientsResponse listRecipients(ListRecipientsRequest request)
protected String buildUrl()
Copyright © 2014. All rights reserved.