com.stripe.model
Class Recipient

java.lang.Object
  extended by com.stripe.model.StripeObject
      extended by com.stripe.net.APIResource
          extended by com.stripe.model.Recipient
All Implemented Interfaces:
MetadataStore<Recipient>

public class Recipient
extends APIResource
implements MetadataStore<Recipient>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stripe.net.APIResource
APIResource.RequestMethod
 
Field Summary
 
Fields inherited from class com.stripe.net.APIResource
CHARSET, GSON
 
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
 
Constructor Summary
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)
           
 
Methods inherited from class com.stripe.net.APIResource
_request, classURL, instanceURL, request, singleClassURL
 
Methods inherited from class com.stripe.model.StripeObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Recipient

public Recipient()
Method Detail

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.