Package com.stripe.model.treasury
Class InboundTransfer
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.treasury.InboundTransfer
- All Implemented Interfaces:
- HasId,- StripeActiveObject,- StripeObjectInterface
Use InboundTransfers
 to add funds to your FinancialAccount via a PaymentMethod
 that is owned by you. The funds will be transferred via an ACH debit.
 
Related guide: Moving money with Treasury using InboundTransfer objects
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about FailureDetails, please refer to the API Reference.static classFor more details about LinkedFlows, please refer to the API Reference.static classFor more details about OriginPaymentMethodDetails, please refer to the API Reference.static classFor more details about StatusTransitions, 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 TypeMethodDescriptioncancel()Cancels an InboundTransfer.cancel(RequestOptions options) Cancels an InboundTransfer.cancel(InboundTransferCancelParams params) Cancels an InboundTransfer.cancel(InboundTransferCancelParams params, RequestOptions options) Cancels an InboundTransfer.Cancels an InboundTransfer.cancel(Map<String, Object> params, RequestOptions options) Cancels an InboundTransfer.protected booleanstatic InboundTransfercreate(InboundTransferCreateParams params) Creates an InboundTransfer.static InboundTransfercreate(InboundTransferCreateParams params, RequestOptions options) Creates an InboundTransfer.static InboundTransferCreates an InboundTransfer.static InboundTransfercreate(Map<String, Object> params, RequestOptions options) Creates an InboundTransfer.booleanAmount (in cents) transferred.Returnstrueif the InboundTransfer is able to be canceled.Time at which the object was created.Three-letter ISO currency code, in lowercase.An arbitrary string attached to the object.Details about this InboundTransfer's failure.The FinancialAccount that received the funds.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.Set of key-value pairs that you can attach to an object.String representing the object's type.The origin payment method to be debited for an InboundTransfer.Details about the PaymentMethod for an InboundTransfer.Returnstrueif the funds for an InboundTransfer were returned after the InboundTransfer went to thesucceededstate.Statement descriptor shown when funds are debited from the source.Status of the InboundTransfer:processing,succeeded,failed, andcanceled.Get ID of expandabletransactionobject.Get expandedtransaction.inthashCode()static InboundTransferCollectionlist(InboundTransferListParams params) Returns a list of InboundTransfers sent from the specified FinancialAccount.static InboundTransferCollectionlist(InboundTransferListParams params, RequestOptions options) Returns a list of InboundTransfers sent from the specified FinancialAccount.static InboundTransferCollectionReturns a list of InboundTransfers sent from the specified FinancialAccount.static InboundTransferCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of InboundTransfers sent from the specified FinancialAccount.static InboundTransferRetrieves the details of an existing InboundTransfer.static InboundTransferretrieve(String id, RequestOptions options) Retrieves the details of an existing InboundTransfer.static InboundTransferretrieve(String id, InboundTransferRetrieveParams params, RequestOptions options) Retrieves the details of an existing InboundTransfer.static InboundTransferRetrieves the details of an existing InboundTransfer.voidAmount (in cents) transferred.voidsetCancelable(Boolean cancelable) Returnstrueif the InboundTransfer is able to be canceled.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.voidsetFailureDetails(InboundTransfer.FailureDetails failureDetails) Details about this InboundTransfer's failure.voidsetFinancialAccount(String financialAccount) The FinancialAccount that received the funds.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.voidsetLinkedFlows(InboundTransfer.LinkedFlows linkedFlows) voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetOriginPaymentMethod(String originPaymentMethod) The origin payment method to be debited for an InboundTransfer.voidsetOriginPaymentMethodDetails(InboundTransfer.OriginPaymentMethodDetails originPaymentMethodDetails) Details about the PaymentMethod for an InboundTransfer.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidsetReturned(Boolean returned) Returnstrueif the funds for an InboundTransfer were returned after the InboundTransfer went to thesucceededstate.voidsetStatementDescriptor(String statementDescriptor) Statement descriptor shown when funds are debited from the source.voidStatus of the InboundTransfer:processing,succeeded,failed, andcanceled.voidsetStatusTransitions(InboundTransfer.StatusTransitions statusTransitions) 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- 
InboundTransferpublic InboundTransfer()
 
- 
- 
Method Details- 
getTransactionGet ID of expandabletransactionobject.
- 
setTransaction
- 
getTransactionObjectGet expandedtransaction.
- 
setTransactionObject
- 
cancelCancels an InboundTransfer.- Throws:
- StripeException
 
- 
cancelCancels an InboundTransfer.- Throws:
- StripeException
 
- 
cancelCancels an InboundTransfer.- Throws:
- StripeException
 
- 
cancelpublic InboundTransfer cancel(Map<String, Object> params, RequestOptions options) throws StripeExceptionCancels an InboundTransfer.- Throws:
- StripeException
 
- 
cancelCancels an InboundTransfer.- Throws:
- StripeException
 
- 
cancelpublic InboundTransfer cancel(InboundTransferCancelParams params, RequestOptions options) throws StripeException Cancels an InboundTransfer.- Throws:
- StripeException
 
- 
createCreates an InboundTransfer.- Throws:
- StripeException
 
- 
createpublic static InboundTransfer create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates an InboundTransfer.- Throws:
- StripeException
 
- 
createCreates an InboundTransfer.- Throws:
- StripeException
 
- 
createpublic static InboundTransfer create(InboundTransferCreateParams params, RequestOptions options) throws StripeException Creates an InboundTransfer.- Throws:
- StripeException
 
- 
listReturns a list of InboundTransfers sent from the specified FinancialAccount.- Throws:
- StripeException
 
- 
listpublic static InboundTransferCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of InboundTransfers sent from the specified FinancialAccount.- Throws:
- StripeException
 
- 
listpublic static InboundTransferCollection list(InboundTransferListParams params) throws StripeException Returns a list of InboundTransfers sent from the specified FinancialAccount.- Throws:
- StripeException
 
- 
listpublic static InboundTransferCollection list(InboundTransferListParams params, RequestOptions options) throws StripeException Returns a list of InboundTransfers sent from the specified FinancialAccount.- Throws:
- StripeException
 
- 
retrieveRetrieves the details of an existing InboundTransfer.- Throws:
- StripeException
 
- 
retrieveRetrieves the details of an existing InboundTransfer.- Throws:
- StripeException
 
- 
retrievepublic static InboundTransfer retrieve(String id, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of an existing InboundTransfer.- Throws:
- StripeException
 
- 
retrievepublic static InboundTransfer retrieve(String id, InboundTransferRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an existing InboundTransfer.- Throws:
- StripeException
 
- 
getTestHelpers
- 
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.
- 
getCancelableReturnstrueif the InboundTransfer is able to be canceled.
- 
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.
- 
getFailureDetailsDetails about this InboundTransfer's failure. Only set when status isfailed.
- 
getFinancialAccountThe FinancialAccount that received the funds.
- 
getHostedRegulatoryReceiptUrlA hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
- 
getLinkedFlows
- 
getLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
getMetadataSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- 
getObjectString representing the object's type. Objects of the same type share the same value.Equal to treasury.inbound_transfer.
- 
getOriginPaymentMethodThe origin payment method to be debited for an InboundTransfer.
- 
getOriginPaymentMethodDetailsDetails about the PaymentMethod for an InboundTransfer.
- 
getReturnedReturnstrueif the funds for an InboundTransfer were returned after the InboundTransfer went to thesucceededstate.
- 
getStatementDescriptorStatement descriptor shown when funds are debited from the source. Not all payment networks supportstatement_descriptor.
- 
getStatusStatus of the InboundTransfer:processing,succeeded,failed, andcanceled. An InboundTransfer isprocessingif it is created and pending. The status changes tosucceededonce the funds have been "confirmed" and atransactionis created and posted. The status changes tofailedif the transfer fails.One of canceled,failed,processing, orsucceeded.
- 
getStatusTransitions
- 
setAmountAmount (in cents) transferred.
- 
setCancelableReturnstrueif the InboundTransfer is able to be canceled.
- 
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.
- 
setFailureDetailsDetails about this InboundTransfer's failure. Only set when status isfailed.
- 
setFinancialAccountThe FinancialAccount that received the funds.
- 
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.
- 
setLinkedFlows
- 
setLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
setMetadataSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- 
setObjectString representing the object's type. Objects of the same type share the same value.Equal to treasury.inbound_transfer.
- 
setOriginPaymentMethodThe origin payment method to be debited for an InboundTransfer.
- 
setOriginPaymentMethodDetailspublic void setOriginPaymentMethodDetails(InboundTransfer.OriginPaymentMethodDetails originPaymentMethodDetails) Details about the PaymentMethod for an InboundTransfer.
- 
setReturnedReturnstrueif the funds for an InboundTransfer were returned after the InboundTransfer went to thesucceededstate.
- 
setStatementDescriptorStatement descriptor shown when funds are debited from the source. Not all payment networks supportstatement_descriptor.
- 
setStatusStatus of the InboundTransfer:processing,succeeded,failed, andcanceled. An InboundTransfer isprocessingif it is created and pending. The status changes tosucceededonce the funds have been "confirmed" and atransactionis created and posted. The status changes tofailedif the transfer fails.One of canceled,failed,processing, orsucceeded.
- 
setStatusTransitions
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
getIdUnique identifier for the object.
 
-