Package com.stripe.model.reserve
Class Release
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.reserve.Release
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
ReserveReleases represent the release of funds from a ReserveHold.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about SourceTransaction, please refer to the API Reference.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 released.Time at which the object was created.Indicates which party created this ReserveRelease.Three-letter ISO currency code, in lowercase.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.Set of key-value pairs that you can attach to an object.String representing the object's type.The reason for the ReserveRelease, indicating why the funds were released.The release timestamp of the funds.Get ID of expandablereserveHoldobject.Get expandedreserveHold.Get ID of expandablereservePlanobject.Get expandedreservePlan.inthashCode()static ReleaseCollectionlist(ReleaseListParams params) Returns a list of ReserveReleases previously created.static ReleaseCollectionlist(ReleaseListParams params, RequestOptions options) Returns a list of ReserveReleases previously created.static ReleaseCollectionReturns a list of ReserveReleases previously created.static ReleaseCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of ReserveReleases previously created.static ReleaseRetrieve a ReserveRelease.static Releaseretrieve(String id, RequestOptions options) Retrieve a ReserveRelease.static Releaseretrieve(String id, ReleaseRetrieveParams params, RequestOptions options) Retrieve a ReserveRelease.static ReleaseRetrieve a ReserveRelease.voidAmount released.voidsetCreated(Long created) Time at which the object was created.voidsetCreatedBy(String createdBy) Indicates which party created this ReserveRelease.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidThe reason for the ReserveRelease, indicating why the funds were released.voidsetReleasedAt(Long releasedAt) The release timestamp of the funds.voidsetReserveHold(String id) voidsetReserveHoldObject(Hold expandableObject) voidsetReservePlan(String id) voidsetReservePlanObject(Plan expandableObject) voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidsetSourceTransaction(Release.SourceTransaction sourceTransaction) 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
trySetResponseGetter
-
Constructor Details
-
Release
public Release()
-
-
Method Details
-
getReserveHold
Get ID of expandablereserveHoldobject. -
setReserveHold
-
getReserveHoldObject
Get expandedreserveHold. -
setReserveHoldObject
-
getReservePlan
Get ID of expandablereservePlanobject. -
setReservePlan
-
getReservePlanObject
Get expandedreservePlan. -
setReservePlanObject
-
list
Returns a list of ReserveReleases previously created. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.- Throws:
StripeException
-
list
public static ReleaseCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of ReserveReleases previously created. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.- Throws:
StripeException
-
list
Returns a list of ReserveReleases previously created. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.- Throws:
StripeException
-
list
public static ReleaseCollection list(ReleaseListParams params, RequestOptions options) throws StripeException Returns a list of ReserveReleases previously created. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.- Throws:
StripeException
-
retrieve
Retrieve a ReserveRelease.- Throws:
StripeException
-
retrieve
Retrieve a ReserveRelease.- Throws:
StripeException
-
retrieve
public static Release retrieve(String id, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieve a ReserveRelease.- Throws:
StripeException
-
retrieve
public static Release retrieve(String id, ReleaseRetrieveParams params, RequestOptions options) throws StripeException Retrieve a ReserveRelease.- 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 released. A positive integer representing how much is released in the smallest currency unit. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCreatedBy
Indicates which party created this ReserveRelease.One of
application, orstripe. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
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. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
reserve.release. -
getReason
The reason for the ReserveRelease, indicating why the funds were released.One of
bulk_hold_expiry,hold_released_early,hold_reversed, orplan_disabled. -
getReleasedAt
The release timestamp of the funds. -
getSourceTransaction
-
setAmount
Amount released. A positive integer representing how much is released in the smallest currency unit. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCreatedBy
Indicates which party created this ReserveRelease.One of
application, orstripe. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
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
reserve.release. -
setReason
The reason for the ReserveRelease, indicating why the funds were released.One of
bulk_hold_expiry,hold_released_early,hold_reversed, orplan_disabled. -
setReleasedAt
The release timestamp of the funds. -
setSourceTransaction
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-