Package model
Class BalanceTransfer
java.lang.Object
model.BalanceTransfer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class BalanceTransfer
extends Object
A `balance_transfer` object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe `state` of the `balance_transfer`. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) description(String description) destination(String destination) booleanexternalReferenceId(String externalReferenceId) static BalanceTransferCreate an instance of BalanceTransfer given an JSON stringThe total amount that will be debited in cents (e.g.Timestamp of when the object was created.Get currencyAdditional information about the `balance_transfer` (e.g.ID of the `Payment Instrument` where funds will be sent.ID generated by partner and returned to Finix.getId()ID of the `balance_transfer` resource.getLinks()Get linksPass **LITLE_V1**; `balance_transfers` are only avalible for platforms with **LITLE_V1** credentials.ID generated by Finix and sent to the partner.ID of the `Payment Instrument` where funds get debited.getState()The `state` of the `balance_transfer`.getTags()Key value pair for annotating custom meta data (e.g.Timestamp of when the object was last updated.inthashCode()processorType(String processorType) putTagsItem(String key, String tagsItem) referenceId(String referenceId) voidvoidsetCreatedAt(OffsetDateTime createdAt) voidsetCurrency(Currency currency) voidsetDescription(String description) voidsetDestination(String destination) voidsetExternalReferenceId(String externalReferenceId) voidvoidvoidsetProcessorType(String processorType) voidsetReferenceId(String referenceId) voidvoidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) state(BalanceTransfer.StateEnum state) toJson()Convert an instance of BalanceTransfer to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_DESTINATION
- See Also:
-
SERIALIZED_NAME_EXTERNAL_REFERENCE_ID
- See Also:
-
SERIALIZED_NAME_PROCESSOR_TYPE
- See Also:
-
SERIALIZED_NAME_REFERENCE_ID
- See Also:
-
SERIALIZED_NAME_SOURCE
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BalanceTransfer
public BalanceTransfer()
-
-
Method Details
-
id
-
getId
ID of the `balance_transfer` resource.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
amount
-
getAmount
The total amount that will be debited in cents (e.g. 100 cents to debit $1.00).- Returns:
- amount
-
setAmount
-
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
description
-
getDescription
Additional information about the `balance_transfer` (e.g. **Transferring funds for Holidays**).- Returns:
- description
-
setDescription
-
destination
-
getDestination
ID of the `Payment Instrument` where funds will be sent.- Returns:
- destination
-
setDestination
-
externalReferenceId
-
getExternalReferenceId
ID generated by partner and returned to Finix.- Returns:
- externalReferenceId
-
setExternalReferenceId
-
processorType
-
getProcessorType
Pass **LITLE_V1**; `balance_transfers` are only avalible for platforms with **LITLE_V1** credentials.- Returns:
- processorType
-
setProcessorType
-
referenceId
-
getReferenceId
ID generated by Finix and sent to the partner.- Returns:
- referenceId
-
setReferenceId
-
source
-
getSource
ID of the `Payment Instrument` where funds get debited.- Returns:
- source
-
setSource
-
state
-
getState
The `state` of the `balance_transfer`.- Returns:
- state
-
setState
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to BalanceTransfer
-
fromJson
Create an instance of BalanceTransfer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BalanceTransfer
- Throws:
IOException- if the JSON string is invalid with respect to BalanceTransfer
-
toJson
Convert an instance of BalanceTransfer to an JSON string- Returns:
- JSON string
-