Package com.stripe.model.reserve
Class Release
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.reserve.Release
- All Implemented Interfaces:
HasId,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. -
Field Summary
Fields 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()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) voidsetSourceTransaction(Release.SourceTransaction sourceTransaction) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
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
-
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.
-