public class FeeRefund extends ApiResource implements MetadataStore<FeeRefund>, BalanceTransactionSource
ApiResource.RequestMethod
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
FeeRefund() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount()
Amount, in %s.
|
java.lang.String |
getBalanceTransaction()
Get ID of expandable
balanceTransaction object. |
BalanceTransaction |
getBalanceTransactionObject()
Get expanded
balanceTransaction . |
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCurrency()
Three-letter ISO currency code,
in lowercase.
|
java.lang.String |
getFee()
Get ID of expandable
fee object. |
ApplicationFee |
getFeeObject()
Get expanded
fee . |
java.lang.String |
getId()
Unique identifier for the object.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.String |
getObject()
String representing the object's type.
|
int |
hashCode() |
void |
setAmount(java.lang.Long amount)
Amount, in %s.
|
void |
setBalanceTransaction(java.lang.String id) |
void |
setBalanceTransactionObject(BalanceTransaction expandableObject) |
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setCurrency(java.lang.String currency)
Three-letter ISO currency code,
in lowercase.
|
void |
setFee(java.lang.String id) |
void |
setFeeObject(ApplicationFee expandableObject) |
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Set of key-value pairs that you can attach to an object.
|
void |
setObject(java.lang.String object)
String representing the object's type.
|
FeeRefund |
update(FeeRefundUpdateParams params)
Updates the specified application fee refund by setting the values of the parameters passed.
|
FeeRefund |
update(FeeRefundUpdateParams params,
RequestOptions options)
Updates the specified application fee refund by setting the values of the parameters passed.
|
FeeRefund |
update(java.util.Map<java.lang.String,java.lang.Object> params)
Updates the specified application fee refund by setting the values of the parameters passed.
|
FeeRefund |
update(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Updates the specified application fee refund by setting the values of the parameters passed.
|
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLastResponse, setLastResponse
public java.lang.String getBalanceTransaction()
balanceTransaction
object.public void setBalanceTransaction(java.lang.String id)
public BalanceTransaction getBalanceTransactionObject()
balanceTransaction
.public void setBalanceTransactionObject(BalanceTransaction expandableObject)
public java.lang.String getFee()
fee
object.public void setFee(java.lang.String id)
public ApplicationFee getFeeObject()
fee
.public void setFeeObject(ApplicationFee expandableObject)
public FeeRefund update(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
This request only accepts metadata as an argument.
update
in interface MetadataStore<FeeRefund>
StripeException
public FeeRefund update(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
This request only accepts metadata as an argument.
update
in interface MetadataStore<FeeRefund>
StripeException
public FeeRefund update(FeeRefundUpdateParams params) throws StripeException
This request only accepts metadata as an argument.
StripeException
public FeeRefund update(FeeRefundUpdateParams params, RequestOptions options) throws StripeException
This request only accepts metadata as an argument.
StripeException
public java.lang.Long getAmount()
public java.lang.Long getCreated()
public java.lang.String getCurrency()
public java.lang.String getObject()
Equal to fee_refund
.
public void setAmount(java.lang.Long amount)
public void setCreated(java.lang.Long created)
public void setCurrency(java.lang.String currency)
public void setId(java.lang.String id)
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
public void setObject(java.lang.String object)
Equal to fee_refund
.
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
public java.lang.String getId()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
getMetadata
in interface MetadataStore<FeeRefund>