HasId
public class ApplicationFee extends APIResource implements HasId
APIResource.RequestMethod, APIResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor | Description |
---|---|
ApplicationFee() |
Modifier and Type | Method | Description |
---|---|---|
static ApplicationFeeCollection |
all(java.util.Map<java.lang.String,java.lang.Object> params) |
Deprecated.
Use the
list(Map) method instead.
This method will be removed in the next major version. |
static ApplicationFeeCollection |
all(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options) |
Deprecated.
Use the
list(Map, RequestOptions) method instead.
This method will be removed in the next major version. |
static ApplicationFeeCollection |
all(java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String apiKey) |
Deprecated.
Use the
list(Map, RequestOptions) method instead.
This method will be removed in the next major version. |
protected boolean |
canEqual(java.lang.Object other) |
|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getAccount() |
|
Account |
getAccountObject() |
|
java.lang.Long |
getAmount() |
|
java.lang.Long |
getAmountRefunded() |
|
java.lang.String |
getApplication() |
|
Application |
getApplicationObject() |
|
java.lang.String |
getBalanceTransaction() |
|
BalanceTransaction |
getBalanceTransactionObject() |
|
java.lang.String |
getCharge() |
|
Charge |
getChargeObject() |
|
java.lang.Long |
getCreated() |
|
java.lang.String |
getCurrency() |
|
java.lang.String |
getId() |
|
java.lang.Boolean |
getLivemode() |
|
java.lang.String |
getObject() |
|
java.lang.String |
getOriginatingTransaction() |
|
Charge |
getOriginatingTransactionObject() |
|
java.lang.Boolean |
getRefunded() |
|
FeeRefundCollection |
getRefunds() |
Returns the
refunds list. |
java.lang.String |
getUser() |
Deprecated.
Prefer using the
account attribute instead. |
int |
hashCode() |
|
static ApplicationFeeCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params) |
List all application fees.
|
static ApplicationFeeCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options) |
List all application fees.
|
ApplicationFee |
refund() |
Deprecated.
Use
getRefunds() and FeeRefundCollection.create(Map) instead.
This method will be removed in the next major version. |
ApplicationFee |
refund(RequestOptions options) |
Deprecated.
Use
getRefunds() and
FeeRefundCollection.create(Map, RequestOptions) instead.
This method will be removed in the next major version. |
ApplicationFee |
refund(java.lang.String apiKey) |
Deprecated.
Use
getRefunds() and
FeeRefundCollection.create(Map, RequestOptions) instead.
This method will be removed in the next major version. |
ApplicationFee |
refund(java.util.Map<java.lang.String,java.lang.Object> params) |
Deprecated.
Use
getRefunds() and FeeRefundCollection.create(Map) instead.
This method will be removed in the next major version. |
ApplicationFee |
refund(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options) |
Deprecated.
Use
getRefunds() and
FeeRefundCollection.create(Map, RequestOptions) instead.
This method will be removed in the next major version. |
ApplicationFee |
refund(java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String apiKey) |
Deprecated.
Use
getRefunds() and
FeeRefundCollection.create(Map, RequestOptions) instead.
This method will be removed in the next major version. |
static ApplicationFee |
retrieve(java.lang.String id) |
Retrieve an application fee.
|
static ApplicationFee |
retrieve(java.lang.String id,
RequestOptions options) |
Retrieve an application fee.
|
static ApplicationFee |
retrieve(java.lang.String id,
java.lang.String apiKey) |
Deprecated.
Use
retrieve(String, RequestOptions) instead.
This method will be removed in the next major version. |
void |
setAccount(java.lang.String accountID) |
|
void |
setAccountObject(Account c) |
|
void |
setAmount(java.lang.Long amount) |
|
void |
setAmountRefunded(java.lang.Long amountRefunded) |
|
void |
setApplication(java.lang.String applicationID) |
|
void |
setApplicationObject(Application c) |
|
void |
setBalanceTransaction(java.lang.String balanceTransactionID) |
|
void |
setBalanceTransactionObject(BalanceTransaction c) |
|
void |
setCharge(java.lang.String chargeID) |
|
void |
setChargeObject(Charge c) |
|
void |
setCreated(java.lang.Long created) |
|
void |
setCurrency(java.lang.String currency) |
|
void |
setId(java.lang.String id) |
|
void |
setLivemode(java.lang.Boolean livemode) |
|
void |
setObject(java.lang.String object) |
|
void |
setOriginatingTransaction(java.lang.String originatingTransactionID) |
|
void |
setOriginatingTransactionObject(Charge c) |
|
void |
setRefunded(java.lang.Boolean refunded) |
|
void |
setRefunds(FeeRefundCollection refunds) |
|
void |
setUser(java.lang.String user) |
Deprecated.
Prefer using the
account attribute instead. |
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setExpandableFieldID, setStripeResponseGetter, singleClassURL, singleClassURL, subresourceURL, urlEncode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getLastResponse, setLastResponse, toJson, toString
public java.lang.String getAccount()
public void setAccount(java.lang.String accountID)
public Account getAccountObject()
public void setAccountObject(Account c)
public java.lang.String getApplication()
public void setApplication(java.lang.String applicationID)
public Application getApplicationObject()
public void setApplicationObject(Application c)
public java.lang.String getBalanceTransaction()
public void setBalanceTransaction(java.lang.String balanceTransactionID)
public BalanceTransaction getBalanceTransactionObject()
public void setBalanceTransactionObject(BalanceTransaction c)
public java.lang.String getCharge()
public void setCharge(java.lang.String chargeID)
public Charge getChargeObject()
public void setChargeObject(Charge c)
public java.lang.String getOriginatingTransaction()
public void setOriginatingTransaction(java.lang.String originatingTransactionID)
public Charge getOriginatingTransactionObject()
public void setOriginatingTransactionObject(Charge c)
public FeeRefundCollection getRefunds()
refunds
list.refunds
list@Deprecated public static ApplicationFeeCollection all(java.util.Map<java.lang.String,java.lang.Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
list(Map)
method instead.
This method will be removed in the next major version.@Deprecated public static ApplicationFeeCollection all(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
list(Map, RequestOptions)
method instead.
This method will be removed in the next major version.@Deprecated public static ApplicationFeeCollection all(java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
list(Map, RequestOptions)
method instead.
This method will be removed in the next major version.public static ApplicationFeeCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static ApplicationFeeCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public ApplicationFee refund() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
getRefunds()
and FeeRefundCollection.create(Map)
instead.
This method will be removed in the next major version.@Deprecated public ApplicationFee refund(RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
getRefunds()
and
FeeRefundCollection.create(Map, RequestOptions)
instead.
This method will be removed in the next major version.@Deprecated public ApplicationFee refund(java.lang.String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
getRefunds()
and
FeeRefundCollection.create(Map, RequestOptions)
instead.
This method will be removed in the next major version.@Deprecated public ApplicationFee refund(java.util.Map<java.lang.String,java.lang.Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
getRefunds()
and FeeRefundCollection.create(Map)
instead.
This method will be removed in the next major version.@Deprecated public ApplicationFee refund(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
getRefunds()
and
FeeRefundCollection.create(Map, RequestOptions)
instead.
This method will be removed in the next major version.@Deprecated public ApplicationFee refund(java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
getRefunds()
and
FeeRefundCollection.create(Map, RequestOptions)
instead.
This method will be removed in the next major version.public static ApplicationFee retrieve(java.lang.String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static ApplicationFee retrieve(java.lang.String id, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static ApplicationFee retrieve(java.lang.String id, java.lang.String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
retrieve(String, RequestOptions)
instead.
This method will be removed in the next major version.public java.lang.String getObject()
public java.lang.Long getAmount()
public java.lang.Long getAmountRefunded()
public java.lang.Long getCreated()
public java.lang.String getCurrency()
public java.lang.Boolean getLivemode()
public java.lang.Boolean getRefunded()
@Deprecated public java.lang.String getUser()
account
attribute instead.user
attribute.user
attributepublic void setId(java.lang.String id)
public void setObject(java.lang.String object)
public void setAmount(java.lang.Long amount)
public void setAmountRefunded(java.lang.Long amountRefunded)
public void setCreated(java.lang.Long created)
public void setCurrency(java.lang.String currency)
public void setLivemode(java.lang.Boolean livemode)
public void setRefunded(java.lang.Boolean refunded)
public void setRefunds(FeeRefundCollection refunds)
@Deprecated public void setUser(java.lang.String user)
account
attribute instead.user
attribute.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object