com.stripe.model
Class Recipient
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.APIResource
com.stripe.model.Recipient
- All Implemented Interfaces:
- MetadataStore<Recipient>
public class Recipient
- extends APIResource
- implements MetadataStore<Recipient>
Method Summary |
static RecipientCollection |
all(Map<String,Object> params)
|
static RecipientCollection |
all(Map<String,Object> params,
String apiKey)
|
static Recipient |
create(Map<String,Object> params)
|
static Recipient |
create(Map<String,Object> params,
String apiKey)
|
DeletedRecipient |
delete()
|
DeletedRecipient |
delete(String apiKey)
|
BankAccount |
getActiveAccount()
|
Long |
getCreated()
|
Boolean |
getDeleted()
|
String |
getDescription()
|
String |
getEmail()
|
String |
getId()
|
Boolean |
getLivemode()
|
Map<String,String> |
getMetadata()
|
String |
getName()
|
String |
getType()
|
Boolean |
getVerified()
|
static Recipient |
retrieve(String id)
|
static Recipient |
retrieve(String id,
String apiKey)
|
void |
setActiveAccount(BankAccount activeAccount)
|
void |
setCreated(Long created)
|
void |
setDescription(String description)
|
void |
setEmail(String email)
|
void |
setId(String id)
|
void |
setLivemode(Boolean livemode)
|
void |
setMetadata(Map<String,String> metadata)
|
void |
setName(String name)
|
void |
setType(String type)
|
void |
setVerified(Boolean verified)
|
Recipient |
update(Map<String,Object> params)
|
Recipient |
update(Map<String,Object> params,
String apiKey)
|
Recipient
public Recipient()
getCreated
public Long getCreated()
setCreated
public void setCreated(Long created)
getId
public String getId()
setId
public void setId(String id)
getType
public String getType()
setType
public void setType(String type)
getName
public String getName()
setName
public void setName(String name)
getLivemode
public Boolean getLivemode()
setLivemode
public void setLivemode(Boolean livemode)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getActiveAccount
public BankAccount getActiveAccount()
setActiveAccount
public void setActiveAccount(BankAccount activeAccount)
getEmail
public String getEmail()
setEmail
public void setEmail(String email)
getVerified
public Boolean getVerified()
setVerified
public void setVerified(Boolean verified)
getDeleted
public Boolean getDeleted()
getMetadata
public Map<String,String> getMetadata()
- Specified by:
getMetadata
in interface MetadataStore<Recipient>
setMetadata
public void setMetadata(Map<String,String> metadata)
- Specified by:
setMetadata
in interface MetadataStore<Recipient>
create
public static Recipient create(Map<String,Object> params)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
retrieve
public static Recipient retrieve(String id)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
all
public static RecipientCollection all(Map<String,Object> params)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
update
public Recipient update(Map<String,Object> params)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Specified by:
update
in interface MetadataStore<Recipient>
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
delete
public DeletedRecipient delete()
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
create
public static Recipient create(Map<String,Object> params,
String apiKey)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
retrieve
public static Recipient retrieve(String id,
String apiKey)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
all
public static RecipientCollection all(Map<String,Object> params,
String apiKey)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
update
public Recipient update(Map<String,Object> params,
String apiKey)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Specified by:
update
in interface MetadataStore<Recipient>
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
delete
public DeletedRecipient delete(String apiKey)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
Copyright © 2014 Stripe. All rights reserved.