com.stripe.model
Class Transfer

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

public class Transfer
extends APIResource
implements MetadataStore<Transfer>


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
Transfer()
           
 
Method Summary
static TransferCollection all(Map<String,Object> params)
           
static TransferCollection all(Map<String,Object> params, String apiKey)
           
static Transfer create(Map<String,Object> params)
           
static Transfer create(Map<String,Object> params, String apiKey)
           
 BankAccount getAccount()
           
 Integer getAmount()
           
 String getBalanceTransaction()
           
 String getCurrency()
           
 Long getDate()
           
 String getDescription()
           
 String getId()
           
 Boolean getLivemode()
           
 Map<String,String> getMetadata()
           
 List<String> getOtherTransfers()
           
 String getRecipient()
           
 String getStatementDescriptor()
           
 String getStatus()
           
 Summary getSummary()
           
static Transfer retrieve(String id)
           
static Transfer retrieve(String id, String apiKey)
           
 void setAccount(BankAccount account)
           
 void setAmount(Integer amount)
           
 void setBalanceTransaction(String balanceTransaction)
           
 void setCurrency(String currency)
           
 void setDate(Long date)
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setLivemode(Boolean livemode)
           
 void setMetadata(Map<String,String> metadata)
           
 void setOtherTransfers(List<String> otherTransfers)
           
 void setRecipient(String recipient)
           
 void setStatementDescriptor(String statementDescriptor)
           
 void setStatus(String status)
           
 void setSummary(Summary summary)
           
 TransferTransactionCollection transactions(Map<String,Object> params)
           
 TransferTransactionCollection transactions(Map<String,Object> params, String apiKey)
           
 Transfer update(Map<String,Object> params)
           
 Transfer 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

Transfer

public Transfer()
Method Detail

getId

public String getId()

setId

public void setId(String id)

getLivemode

public Boolean getLivemode()

setLivemode

public void setLivemode(Boolean livemode)

getStatus

public String getStatus()

setStatus

public void setStatus(String status)

getDate

public Long getDate()

setDate

public void setDate(Long date)

getSummary

public Summary getSummary()

setSummary

public void setSummary(Summary summary)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getStatementDescriptor

public String getStatementDescriptor()

setStatementDescriptor

public void setStatementDescriptor(String statementDescriptor)

getAmount

public Integer getAmount()

setAmount

public void setAmount(Integer amount)

getCurrency

public String getCurrency()

getRecipient

public String getRecipient()

setRecipient

public void setRecipient(String recipient)

getAccount

public BankAccount getAccount()

setAccount

public void setAccount(BankAccount account)

setCurrency

public void setCurrency(String currency)

getOtherTransfers

public List<String> getOtherTransfers()

setOtherTransfers

public void setOtherTransfers(List<String> otherTransfers)

getBalanceTransaction

public String getBalanceTransaction()

setBalanceTransaction

public void setBalanceTransaction(String balanceTransaction)

getMetadata

public Map<String,String> getMetadata()
Specified by:
getMetadata in interface MetadataStore<Transfer>

setMetadata

public void setMetadata(Map<String,String> metadata)
Specified by:
setMetadata in interface MetadataStore<Transfer>

create

public static Transfer create(Map<String,Object> params)
                       throws AuthenticationException,
                              InvalidRequestException,
                              APIConnectionException,
                              CardException,
                              APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

retrieve

public static Transfer retrieve(String id)
                         throws AuthenticationException,
                                InvalidRequestException,
                                APIConnectionException,
                                CardException,
                                APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

update

public Transfer update(Map<String,Object> params)
                throws AuthenticationException,
                       InvalidRequestException,
                       APIConnectionException,
                       CardException,
                       APIException
Specified by:
update in interface MetadataStore<Transfer>
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

all

public static TransferCollection all(Map<String,Object> params)
                              throws AuthenticationException,
                                     InvalidRequestException,
                                     APIConnectionException,
                                     CardException,
                                     APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

transactions

public TransferTransactionCollection transactions(Map<String,Object> params)
                                           throws AuthenticationException,
                                                  InvalidRequestException,
                                                  APIConnectionException,
                                                  CardException,
                                                  APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

create

public static Transfer create(Map<String,Object> params,
                              String apiKey)
                       throws AuthenticationException,
                              InvalidRequestException,
                              APIConnectionException,
                              CardException,
                              APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

update

public Transfer update(Map<String,Object> params,
                       String apiKey)
                throws AuthenticationException,
                       InvalidRequestException,
                       APIConnectionException,
                       CardException,
                       APIException
Specified by:
update in interface MetadataStore<Transfer>
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

retrieve

public static Transfer retrieve(String id,
                                String apiKey)
                         throws AuthenticationException,
                                InvalidRequestException,
                                APIConnectionException,
                                CardException,
                                APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

all

public static TransferCollection all(Map<String,Object> params,
                                     String apiKey)
                              throws AuthenticationException,
                                     InvalidRequestException,
                                     APIConnectionException,
                                     CardException,
                                     APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

transactions

public TransferTransactionCollection transactions(Map<String,Object> params,
                                                  String apiKey)
                                           throws AuthenticationException,
                                                  InvalidRequestException,
                                                  APIConnectionException,
                                                  CardException,
                                                  APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException


Copyright © 2014 Stripe. All rights reserved.