Package com.stripe.model
Class FeeRefund
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.FeeRefund
- All Implemented Interfaces:
BalanceTransactionSource,HasId,MetadataStore<FeeRefund>,StripeActiveObject,StripeObjectInterface
public class FeeRefund
extends ApiResource
implements MetadataStore<FeeRefund>, BalanceTransactionSource
Application Fee Refund objects allow you to refund an application fee that has previously
been created but not yet refunded. Funds will be refunded to the Stripe account from which the
fee was originally collected.
Related guide: Refunding application fees
-
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, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAmount, in cents (or local equivalent).Get ID of expandablebalanceTransactionobject.Get expandedbalanceTransaction.Time at which the object was created.Three-letter ISO currency code, in lowercase.getFee()Get ID of expandablefeeobject.Get expandedfee.getId()Unique identifier for the object.Set of key-value pairs that you can attach to an object.String representing the object's type.inthashCode()voidAmount, in cents (or local equivalent).voidvoidsetBalanceTransactionObject(BalanceTransaction expandableObject) voidsetCreated(Long created) Time at which the object was created.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidvoidsetFeeObject(ApplicationFee expandableObject) voidUnique identifier for the object.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.update(FeeRefundUpdateParams params) Updates the specified application fee refund by setting the values of the parameters passed.update(FeeRefundUpdateParams params, RequestOptions options) Updates the specified application fee refund by setting the values of the parameters passed.Updates the specified application fee refund by setting the values of the parameters passed.update(Map<String, Object> params, RequestOptions options) Updates the specified application fee refund by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetterMethods inherited from interface com.stripe.model.StripeObjectInterface
getLastResponse, setLastResponse
-
Constructor Details
-
FeeRefund
public FeeRefund()
-
-
Method Details
-
getBalanceTransaction
Get ID of expandablebalanceTransactionobject. -
setBalanceTransaction
-
getBalanceTransactionObject
Get expandedbalanceTransaction. -
setBalanceTransactionObject
-
getFee
Get ID of expandablefeeobject. -
setFee
-
getFeeObject
Get expandedfee. -
setFeeObject
-
update
Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata as an argument.
- Specified by:
updatein interfaceMetadataStore<FeeRefund>- Throws:
StripeException
-
update
Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata as an argument.
- Specified by:
updatein interfaceMetadataStore<FeeRefund>- Throws:
StripeException
-
update
Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata as an argument.
- Throws:
StripeException
-
update
public FeeRefund update(FeeRefundUpdateParams params, RequestOptions options) throws StripeException Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata as an argument.
- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getAmount
Amount, in cents (or local equivalent). -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
fee_refund. -
setAmount
Amount, in cents (or local equivalent). -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setId
Unique identifier for the object. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
fee_refund. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.- Specified by:
getMetadatain interfaceMetadataStore<FeeRefund>
-