Class ReceivedCredit
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.ReceivedCredit
- All Implemented Interfaces:
HasId,StripeObjectInterface
Use ReceivedCredits API to retrieve information on when, where, and how funds are sent into your
FinancialAccount.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis object stores details about the originating Stripe transaction that resulted in the ReceivedCredit.static classThis object stores details about the originating banking transaction that resulted in the ReceivedCredit.static classThis hash contains detailed information that elaborates on the specific status of the ReceivedCredit.static classHash containing timestamps of when the object transitioned to a particular status. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe amount and currency credited to the FinancialAccount.The amount and currency Stripe received from the external source, before any conversion or fees.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 valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.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.inthashCode()voidThe amount and currency credited to the FinancialAccount.voidsetAmountReceived(Amount amountReceived) The amount and currency Stripe received from the external source, before any conversion or fees.voidsetBalanceTransfer(ReceivedCredit.BalanceTransfer balanceTransfer) This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit.voidsetBankTransfer(ReceivedCredit.BankTransfer bankTransfer) This object stores details about the originating banking transaction that resulted in the ReceivedCredit.voidsetCreated(Instant created) Time at which the ReceivedCredit was created.voidsetDescription(String description) Freeform string set by originator of the ReceivedCredit.voidsetFinancialAccount(String financialAccount) Financial Account ID on which funds for ReceivedCredit were received.voidUnique identifier for the ReceivedCredit.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidOpen Enum.voidsetStatusDetails(ReceivedCredit.StatusDetails statusDetails) This hash contains detailed information that elaborates on the specific status of the ReceivedCredit.voidsetStatusTransitions(ReceivedCredit.StatusTransitions statusTransitions) Hash containing timestamps of when the object transitioned to a particular status.voidOpen Enum.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ReceivedCredit
public ReceivedCredit()
-
-
Method Details
-
getAmount
The amount and currency credited to the FinancialAccount. -
getAmountReceived
The amount and currency Stripe received from the external source, before any conversion or fees. -
getBalanceTransfer
This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit. Present iftypefield value isbalance_transfer. -
getBankTransfer
This object stores details about the originating banking transaction that resulted in the ReceivedCredit. Present iftypefield value isbank_transfer. -
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 valuetrueif the object exists in live mode or the valuefalseif 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. -
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, orbank_transfer. -
setAmount
The amount and currency credited to the FinancialAccount. -
setAmountReceived
The amount and currency Stripe received from the external source, before any conversion or fees. -
setBalanceTransfer
This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit. Present iftypefield value isbalance_transfer. -
setBankTransfer
This object stores details about the originating banking transaction that resulted in the ReceivedCredit. Present iftypefield value isbank_transfer. -
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 valuetrueif the object exists in live mode or the valuefalseif 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. -
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, orbank_transfer. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the ReceivedCredit.
-