Package com.stripe.model.treasury
Class ReceivedDebit
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.treasury.ReceivedDebit
- All Implemented Interfaces:
- HasId,- StripeActiveObject,- StripeObjectInterface
ReceivedDebits represent funds pulled from a FinancialAccount. These are not
 initiated from the FinancialAccount.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about InitiatingPaymentMethodDetails, please refer to the API Reference.static classFor more details about LinkedFlows, please refer to the API Reference.static classFor more details about NetworkDetails, please refer to the API Reference.static classFor more details about ReversalDetails, please refer to the API Reference.static classNested classes/interfaces inherited from class com.stripe.net.ApiResourceApiResource.RequestMethod
- 
Field SummaryFields inherited from class com.stripe.net.ApiResourceCHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanAmount (in cents) transferred.Time at which the object was created.Three-letter ISO currency code, in lowercase.An arbitrary string attached to the object.Reason for the failure.The FinancialAccount that funds were pulled from.A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.The network used for the ReceivedDebit.Details specific to the money movement rails.String representing the object's type.Details describing when a ReceivedDebit might be reversed.Status of the ReceivedDebit.Get ID of expandabletransactionobject.Get expandedtransaction.inthashCode()static ReceivedDebitCollectionlist(ReceivedDebitListParams params) Returns a list of ReceivedDebits.static ReceivedDebitCollectionlist(ReceivedDebitListParams params, RequestOptions options) Returns a list of ReceivedDebits.static ReceivedDebitCollectionReturns a list of ReceivedDebits.static ReceivedDebitCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of ReceivedDebits.static ReceivedDebitRetrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list.static ReceivedDebitretrieve(String id, RequestOptions options) Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list.static ReceivedDebitretrieve(String id, ReceivedDebitRetrieveParams params, RequestOptions options) Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list.static ReceivedDebitRetrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list.voidAmount (in cents) transferred.voidsetCreated(Long created) Time at which the object was created.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidsetDescription(String description) An arbitrary string attached to the object.voidsetFailureCode(String failureCode) Reason for the failure.voidsetFinancialAccount(String financialAccount) The FinancialAccount that funds were pulled from.voidsetHostedRegulatoryReceiptUrl(String hostedRegulatoryReceiptUrl) A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.voidUnique identifier for the object.voidsetInitiatingPaymentMethodDetails(ReceivedDebit.InitiatingPaymentMethodDetails initiatingPaymentMethodDetails) voidsetLinkedFlows(ReceivedDebit.LinkedFlows linkedFlows) voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetNetwork(String network) The network used for the ReceivedDebit.voidsetNetworkDetails(ReceivedDebit.NetworkDetails networkDetails) Details specific to the money movement rails.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidsetReversalDetails(ReceivedDebit.ReversalDetails reversalDetails) Details describing when a ReceivedDebit might be reversed.voidStatus of the ReceivedDebit.voidsetTransaction(String id) voidsetTransactionObject(Transaction expandableObject) Methods inherited from class com.stripe.net.ApiResourcecheckNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObjecttrySetResponseGetter
- 
Constructor Details- 
ReceivedDebitpublic ReceivedDebit()
 
- 
- 
Method Details- 
getTransactionGet ID of expandabletransactionobject.
- 
setTransaction
- 
getTransactionObjectGet expandedtransaction.
- 
setTransactionObject
- 
listReturns a list of ReceivedDebits.- Throws:
- StripeException
 
- 
listpublic static ReceivedDebitCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of ReceivedDebits.- Throws:
- StripeException
 
- 
listReturns a list of ReceivedDebits.- Throws:
- StripeException
 
- 
listpublic static ReceivedDebitCollection list(ReceivedDebitListParams params, RequestOptions options) throws StripeException Returns a list of ReceivedDebits.- Throws:
- StripeException
 
- 
retrieveRetrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list.- Throws:
- StripeException
 
- 
retrieveRetrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list.- Throws:
- StripeException
 
- 
retrievepublic static ReceivedDebit retrieve(String id, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list.- Throws:
- StripeException
 
- 
retrievepublic static ReceivedDebit retrieve(String id, ReceivedDebitRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list.- Throws:
- StripeException
 
- 
setResponseGetterDescription copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
- setResponseGetterin interface- StripeActiveObject
- Overrides:
- setResponseGetterin class- ApiResource
- Parameters:
- responseGetter- the- StripeResponseGetterinstance to use for making further requests.
 
- 
getAmountAmount (in cents) transferred.
- 
getCreatedTime at which the object was created. Measured in seconds since the Unix epoch.
- 
getCurrencyThree-letter ISO currency code, in lowercase. Must be a supported currency.
- 
getDescriptionAn arbitrary string attached to the object. Often useful for displaying to users.
- 
getFailureCodeReason for the failure. A ReceivedDebit might fail because the FinancialAccount doesn't have sufficient funds, is closed, or is frozen.One of account_closed,account_frozen,insufficient_funds,international_transaction, orother.
- 
getFinancialAccountThe FinancialAccount that funds were pulled from.
- 
getHostedRegulatoryReceiptUrlA hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
- 
getInitiatingPaymentMethodDetails
- 
getLinkedFlows
- 
getLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
getNetworkThe network used for the ReceivedDebit.One of ach,card, orstripe.
- 
getNetworkDetailsDetails specific to the money movement rails.
- 
getObjectString representing the object's type. Objects of the same type share the same value.Equal to treasury.received_debit.
- 
getReversalDetailsDetails describing when a ReceivedDebit might be reversed.
- 
getStatusStatus of the ReceivedDebit. ReceivedDebits are created with a status of eithersucceeded(approved) orfailed(declined). The failure reason can be found under thefailure_code.One of failed, orsucceeded.
- 
setAmountAmount (in cents) transferred.
- 
setCreatedTime at which the object was created. Measured in seconds since the Unix epoch.
- 
setCurrencyThree-letter ISO currency code, in lowercase. Must be a supported currency.
- 
setDescriptionAn arbitrary string attached to the object. Often useful for displaying to users.
- 
setFailureCodeReason for the failure. A ReceivedDebit might fail because the FinancialAccount doesn't have sufficient funds, is closed, or is frozen.One of account_closed,account_frozen,insufficient_funds,international_transaction, orother.
- 
setFinancialAccountThe FinancialAccount that funds were pulled from.
- 
setHostedRegulatoryReceiptUrlA hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
- 
setIdUnique identifier for the object.
- 
setInitiatingPaymentMethodDetailspublic void setInitiatingPaymentMethodDetails(ReceivedDebit.InitiatingPaymentMethodDetails initiatingPaymentMethodDetails) 
- 
setLinkedFlows
- 
setLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
setNetworkThe network used for the ReceivedDebit.One of ach,card, orstripe.
- 
setNetworkDetailsDetails specific to the money movement rails.
- 
setObjectString representing the object's type. Objects of the same type share the same value.Equal to treasury.received_debit.
- 
setReversalDetailsDetails describing when a ReceivedDebit might be reversed.
- 
setStatusStatus of the ReceivedDebit. ReceivedDebits are created with a status of eithersucceeded(approved) orfailed(declined). The failure reason can be found under thefailure_code.One of failed, orsucceeded.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
getIdUnique identifier for the object.
 
-