Package com.stripe.model.treasury
Class ReceivedCredit.ReversalDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.treasury.ReceivedCredit.ReversalDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- ReceivedCredit
The type of the source flow that originated the ReceivedCredit.
One of credit_reversal
, other
, outbound_payment
, or
payout
.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Time before which a ReceivedCredit can be reversed.Set if a ReceivedCredit cannot be reversed.int
hashCode()
void
setDeadline
(Long deadline) Time before which a ReceivedCredit can be reversed.void
setRestrictedReason
(String restrictedReason) Set if a ReceivedCredit cannot be reversed.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ReversalDetails
public ReversalDetails()
-
-
Method Details
-
getDeadline
Time before which a ReceivedCredit can be reversed. -
getRestrictedReason
Set if a ReceivedCredit cannot be reversed.One of
already_reversed
,deadline_passed
,network_restricted
,other
, orsource_flow_restricted
. -
setDeadline
Time before which a ReceivedCredit can be reversed. -
setRestrictedReason
Set if a ReceivedCredit cannot be reversed.One of
already_reversed
,deadline_passed
,network_restricted
,other
, orsource_flow_restricted
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-