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 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.The amount and currency of the original/external credit request.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.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.inthashCode()voidThe amount and currency of the ReceivedCredit.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.voidsetExternalAmount(Amount externalAmount) The amount and currency of the original/external credit request.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.voidsetReceiptUrl(String receiptUrl) A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe’s money transmission licenses.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, 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 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. -
getExternalAmount
The amount and currency of the original/external credit request. -
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. -
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 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. -
setExternalAmount
The amount and currency of the original/external credit request. -
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. -
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.
-