Class ReceivedCredit
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.ReceivedCredit
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about BalanceTransfer, please refer to the API Reference.static class
For more details about BankTransfer, please refer to the API Reference.static class
For more details about StatusDetails, please refer to the API Reference.static class
For more details about StatusTransitions, 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 boolean
boolean
The amount and currency of the ReceivedCredit.This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit.This object stores details about the originating banking transaction that resulted in the ReceivedCredit.Time at which the ReceivedCredit was created.Freeform string set by originator of the ReceivedCredit.Financial Account ID on which funds for ReceivedCredit were received.getId()
Unique identifier for the ReceivedCredit.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe’s money transmission licenses.Open Enum.This hash contains detailed information that elaborates on the specific status of the ReceivedCredit.Hash containing timestamps of when the object transitioned to a particular status.getType()
Open Enum.int
hashCode()
void
The amount and currency of the ReceivedCredit.void
setBalanceTransfer
(ReceivedCredit.BalanceTransfer balanceTransfer) This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit.void
setBankTransfer
(ReceivedCredit.BankTransfer bankTransfer) This object stores details about the originating banking transaction that resulted in the ReceivedCredit.void
setCreated
(Instant created) Time at which the ReceivedCredit was created.void
setDescription
(String description) Freeform string set by originator of the ReceivedCredit.void
setFinancialAccount
(String financialAccount) Financial Account ID on which funds for ReceivedCredit were received.void
Unique identifier for the ReceivedCredit.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
setReceiptUrl
(String receiptUrl) A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe’s money transmission licenses.void
Open Enum.void
setStatusDetails
(ReceivedCredit.StatusDetails statusDetails) This hash contains detailed information that elaborates on the specific status of the ReceivedCredit.void
setStatusTransitions
(ReceivedCredit.StatusTransitions statusTransitions) Hash containing timestamps of when the object transitioned to a particular status.void
Open Enum.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ReceivedCredit
public ReceivedCredit()
-
-
Method Details
-
getAmount
The amount and currency of the ReceivedCredit. -
getBalanceTransfer
This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit. Present iftype
field value isbalance_transfer
. -
getBankTransfer
This object stores details about the originating banking transaction that resulted in the ReceivedCredit. Present iftype
field value isexternal_credit
. -
getCreated
Time at which the ReceivedCredit was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
getDescription
Freeform string set by originator of the ReceivedCredit. -
getFinancialAccount
Financial Account ID on which funds for ReceivedCredit were received. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.money_management.received_credit
. -
getReceiptUrl
A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe’s money transmission licenses. -
getStatus
Open Enum. The status of the ReceivedCredit.One of
failed
,pending
,returned
, orsucceeded
. -
getStatusDetails
This hash contains detailed information that elaborates on the specific status of the ReceivedCredit. e.g the reason behind a failure if the status is marked asfailed
. -
getStatusTransitions
Hash containing timestamps of when the object transitioned to a particular status. -
getType
Open Enum. The type of flow that caused the ReceivedCredit.One of
balance_transfer
,bank_transfer
, orexternal_credit
. -
setAmount
The amount and currency of the ReceivedCredit. -
setBalanceTransfer
This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit. Present iftype
field value isbalance_transfer
. -
setBankTransfer
This object stores details about the originating banking transaction that resulted in the ReceivedCredit. Present iftype
field value isexternal_credit
. -
setCreated
Time at which the ReceivedCredit was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
setDescription
Freeform string set by originator of the ReceivedCredit. -
setFinancialAccount
Financial Account ID on which funds for ReceivedCredit were received. -
setId
Unique identifier for the ReceivedCredit. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.money_management.received_credit
. -
setReceiptUrl
A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe’s money transmission licenses. -
setStatus
Open Enum. The status of the ReceivedCredit.One of
failed
,pending
,returned
, orsucceeded
. -
setStatusDetails
This hash contains detailed information that elaborates on the specific status of the ReceivedCredit. e.g the reason behind a failure if the status is marked asfailed
. -
setStatusTransitions
Hash containing timestamps of when the object transitioned to a particular status. -
setType
Open Enum. The type of flow that caused the ReceivedCredit.One of
balance_transfer
,bank_transfer
, orexternal_credit
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the ReceivedCredit.
-