public class Recipient extends APIResource implements MetadataStore<Recipient>
APIResource.RequestMethod, APIResource.RequestTypeCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
Recipient() |
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncodeequals, toStringpublic Long getCreated()
public void setCreated(Long created)
public String getId()
public void setId(String id)
public String getType()
public void setType(String type)
public String getName()
public void setName(String name)
public Boolean getLivemode()
public void setLivemode(Boolean livemode)
public String getDescription()
public void setDescription(String description)
public String getDefaultCard()
public void setDefaultCard(String defaultCard)
public RecipientCardCollection getCards()
public BankAccount getActiveAccount()
public void setActiveAccount(BankAccount activeAccount)
public String getEmail()
public void setEmail(String email)
public Boolean getVerified()
public void setVerified(Boolean verified)
public Boolean getDeleted()
public Map<String,String> getMetadata()
getMetadata in interface MetadataStore<Recipient>public static Recipient create(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Recipient retrieve(String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static RecipientCollection all(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Recipient update(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update in interface MetadataStore<Recipient>AuthenticationExceptionInvalidRequestExceptionAPIConnectionExceptionCardExceptionAPIExceptionpublic DeletedRecipient delete() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Card createCard(String token) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Card createCard(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public Card createCard(String token, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Card createCard(String token, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public Card createCard(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Card createCard(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Recipient create(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Recipient create(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Recipient retrieve(String id, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Recipient retrieve(String id, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static RecipientCollection all(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static RecipientCollection all(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public Recipient update(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Recipient update(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update in interface MetadataStore<Recipient>AuthenticationExceptionInvalidRequestExceptionAPIConnectionExceptionCardExceptionAPIException@Deprecated public DeletedRecipient delete(String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public DeletedRecipient delete(RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
Copyright © 2015 Stripe. All rights reserved.