com.stripe.model
Class ApplicationFee

java.lang.Object
  extended by com.stripe.model.StripeObject
      extended by com.stripe.net.APIResource
          extended by com.stripe.model.ApplicationFee

public class ApplicationFee
extends APIResource


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
ApplicationFee()
           
 
Method Summary
static ApplicationFeeCollection all(Map<String,Object> params)
           
static ApplicationFeeCollection all(Map<String,Object> params, String apiKey)
           
 Integer getAmount()
           
 Integer getAmountRefunded()
           
 String getApplication()
           
 String getBalanceTransaction()
           
 String getCharge()
           
 Long getCreated()
           
 String getCurrency()
           
 String getId()
           
 Boolean getLivemode()
           
 Boolean getRefunded()
           
 List<FeeRefund> getRefunds()
           
 String getUser()
           
 ApplicationFee refund()
           
 ApplicationFee refund(Map<String,Object> params)
           
 ApplicationFee refund(Map<String,Object> params, String apiKey)
           
 ApplicationFee refund(String apiKey)
           
static ApplicationFee retrieve(String id)
           
static ApplicationFee retrieve(String id, String apiKey)
           
 void setAmount(Integer amount)
           
 void setAmountRefunded(Integer amountRefunded)
           
 void setApplication(String application)
           
 void setBalanceTransaction(String balanceTransaction)
           
 void setCharge(String charge)
           
 void setCreated(Long created)
           
 void setCurrency(String currency)
           
 void setId(String id)
           
 void setLivemode(Boolean livemode)
           
 void setRefunded(Boolean refunded)
           
 void setRefunds(List<FeeRefund> refunds)
           
 void setUser(String user)
           
 
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

ApplicationFee

public ApplicationFee()
Method Detail

getId

public String getId()

setId

public void setId(String id)

getAmount

public Integer getAmount()

setAmount

public void setAmount(Integer amount)

getCreated

public Long getCreated()

setCreated

public void setCreated(Long created)

getCurrency

public String getCurrency()

setCurrency

public void setCurrency(String currency)

getLivemode

public Boolean getLivemode()

setLivemode

public void setLivemode(Boolean livemode)

getRefunded

public Boolean getRefunded()

setRefunded

public void setRefunded(Boolean refunded)

getAmountRefunded

public Integer getAmountRefunded()

setAmountRefunded

public void setAmountRefunded(Integer amountRefunded)

getUser

public String getUser()

setUser

public void setUser(String user)

getApplication

public String getApplication()

setApplication

public void setApplication(String application)

getCharge

public String getCharge()

setCharge

public void setCharge(String charge)

getRefunds

public List<FeeRefund> getRefunds()

setRefunds

public void setRefunds(List<FeeRefund> refunds)

getBalanceTransaction

public String getBalanceTransaction()

setBalanceTransaction

public void setBalanceTransaction(String balanceTransaction)

retrieve

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

all

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

refund

public ApplicationFee refund()
                      throws AuthenticationException,
                             InvalidRequestException,
                             APIConnectionException,
                             CardException,
                             APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

refund

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

retrieve

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

all

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

refund

public ApplicationFee refund(String apiKey)
                      throws AuthenticationException,
                             InvalidRequestException,
                             APIConnectionException,
                             CardException,
                             APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

refund

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


Copyright © 2014 Stripe. All rights reserved.