Class TransferBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.TransferBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-10-02T21:23:00.145386Z[Etc/UTC]") public class TransferBankModel extends Object
TransferBankModel
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TransferBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferBankModeladdDestinationParticipantsItem(TransferParticipantBankModel destinationParticipantsItem)TransferBankModeladdLabelsItem(String labelsItem)TransferBankModeladdSourceParticipantsItem(TransferParticipantBankModel sourceParticipantsItem)TransferBankModelamount(BigInteger amount)TransferBankModelasset(String asset)TransferBankModelbankGuid(String bankGuid)TransferBankModelcreatedAt(OffsetDateTime createdAt)TransferBankModelcustomerGuid(String customerGuid)TransferBankModeldestinationAccount(TransferDestinationAccountBankModel destinationAccount)TransferBankModeldestinationParticipants(List<TransferParticipantBankModel> destinationParticipants)booleanequals(Object o)TransferBankModelestimatedAmount(BigInteger estimatedAmount)TransferBankModelestimatedNetworkFee(BigInteger estimatedNetworkFee)TransferBankModelexternalBankAccountGuid(String externalBankAccountGuid)TransferBankModelfailureCode(String failureCode)TransferBankModelfee(BigInteger fee)BigIntegergetAmount()The actual amount in base units of the asset.StringgetAsset()The asset the transfer is related to, e.g., USD.StringgetBankGuid()The associated bank's identifier.OffsetDateTimegetCreatedAt()ISO8601 datetime the record was created at.StringgetCustomerGuid()The associated customer's identifier.TransferDestinationAccountBankModelgetDestinationAccount()Get destinationAccountList<TransferParticipantBankModel>getDestinationParticipants()The participants in the source account.BigIntegergetEstimatedAmount()The estimated amount in base units of the asset.BigIntegergetEstimatedNetworkFee()The estimated network fee in base units of network_fee_asset.StringgetExternalBankAccountGuid()The associated external bank account's identifier.StringgetFailureCode()The failure code for failed transfers; one of non_sufficient_funds, refresh_required, party_name_invalid, payment_rail_invalid, compliance_rejection, cancelled, reversed, limit_exceeded, network_fee_too_low, amount_too_low, internal_error, or invalid_address.BigIntegergetFee()The fee associated with the transfer.StringgetGuid()Auto-generated unique identifier for the transfer.List<String>getLabels()The labels associated with the transfer.BigIntegergetNetworkFee()The actual network fee in base units of network_fee_asset.StringgetNetworkFeeAsset()The asset code of the network fee.BigIntegergetNetworkFeeLiabilityAmount()The equivalent fiat network fee in base units of network_fee_liability_amount_asset.StringgetNetworkFeeLiabilityAmountAsset()The fiat asset the network_fee_liability_amount is denominated in.StringgetPaymentRail()The rail the payment was done on.StringgetQuoteGuid()The associated quote's identifier.StringgetReferenceTransferGuid()The guid of the related transfer.StringgetSide()The direction of the quote; one of deposit or withdrawal.TransferSourceAccountBankModelgetSourceAccount()Get sourceAccountList<TransferParticipantBankModel>getSourceParticipants()The participants in the source account.StringgetState()The state of the transfer; one of storing, pending, reviewing, completed, or failed.ObjectgetTransferDetails()The raw details on the transfer from the bank.StringgetTransferType()The type of transfer; one of funding, book, crypto, instant_funding, funding_return, crypto_return, loss_recovery, inter_account, lightning, or instant_funding_return.StringgetTxnHash()The hash of the blockchain transactionOffsetDateTimegetUpdatedAt()ISO8601 datetime the record was last updated at.TransferBankModelguid(String guid)inthashCode()TransferBankModellabels(List<String> labels)TransferBankModelnetworkFee(BigInteger networkFee)TransferBankModelnetworkFeeAsset(String networkFeeAsset)TransferBankModelnetworkFeeLiabilityAmount(BigInteger networkFeeLiabilityAmount)TransferBankModelnetworkFeeLiabilityAmountAsset(String networkFeeLiabilityAmountAsset)TransferBankModelpaymentRail(String paymentRail)TransferBankModelquoteGuid(String quoteGuid)TransferBankModelreferenceTransferGuid(String referenceTransferGuid)voidsetAmount(BigInteger amount)voidsetAsset(String asset)voidsetBankGuid(String bankGuid)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCustomerGuid(String customerGuid)voidsetDestinationAccount(TransferDestinationAccountBankModel destinationAccount)voidsetDestinationParticipants(List<TransferParticipantBankModel> destinationParticipants)voidsetEstimatedAmount(BigInteger estimatedAmount)voidsetEstimatedNetworkFee(BigInteger estimatedNetworkFee)voidsetExternalBankAccountGuid(String externalBankAccountGuid)voidsetFailureCode(String failureCode)voidsetFee(BigInteger fee)voidsetGuid(String guid)voidsetLabels(List<String> labels)voidsetNetworkFee(BigInteger networkFee)voidsetNetworkFeeAsset(String networkFeeAsset)voidsetNetworkFeeLiabilityAmount(BigInteger networkFeeLiabilityAmount)voidsetNetworkFeeLiabilityAmountAsset(String networkFeeLiabilityAmountAsset)voidsetPaymentRail(String paymentRail)voidsetQuoteGuid(String quoteGuid)voidsetReferenceTransferGuid(String referenceTransferGuid)voidsetSide(String side)voidsetSourceAccount(TransferSourceAccountBankModel sourceAccount)voidsetSourceParticipants(List<TransferParticipantBankModel> sourceParticipants)voidsetState(String state)voidsetTransferDetails(Object transferDetails)voidsetTransferType(String transferType)voidsetTxnHash(String txnHash)voidsetUpdatedAt(OffsetDateTime updatedAt)TransferBankModelside(String side)TransferBankModelsourceAccount(TransferSourceAccountBankModel sourceAccount)TransferBankModelsourceParticipants(List<TransferParticipantBankModel> sourceParticipants)TransferBankModelstate(String state)StringtoString()TransferBankModeltransferDetails(Object transferDetails)TransferBankModeltransferType(String transferType)TransferBankModeltxnHash(String txnHash)TransferBankModelupdatedAt(OffsetDateTime updatedAt)
-
-
-
Field Detail
-
JSON_PROPERTY_GUID
public static final String JSON_PROPERTY_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_TYPE
public static final String JSON_PROPERTY_TRANSFER_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_GUID
public static final String JSON_PROPERTY_BANK_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CUSTOMER_GUID
public static final String JSON_PROPERTY_CUSTOMER_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_QUOTE_GUID
public static final String JSON_PROPERTY_QUOTE_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXTERNAL_BANK_ACCOUNT_GUID
public static final String JSON_PROPERTY_EXTERNAL_BANK_ACCOUNT_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSET
public static final String JSON_PROPERTY_ASSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIDE
public static final String JSON_PROPERTY_SIDE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FAILURE_CODE
public static final String JSON_PROPERTY_FAILURE_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT
public static final String JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ESTIMATED_AMOUNT
public static final String JSON_PROPERTY_ESTIMATED_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FEE
public static final String JSON_PROPERTY_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ESTIMATED_NETWORK_FEE
public static final String JSON_PROPERTY_ESTIMATED_NETWORK_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_FEE
public static final String JSON_PROPERTY_NETWORK_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_FEE_ASSET
public static final String JSON_PROPERTY_NETWORK_FEE_ASSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_FEE_LIABILITY_AMOUNT
public static final String JSON_PROPERTY_NETWORK_FEE_LIABILITY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_FEE_LIABILITY_AMOUNT_ASSET
public static final String JSON_PROPERTY_NETWORK_FEE_LIABILITY_AMOUNT_ASSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TXN_HASH
public static final String JSON_PROPERTY_TXN_HASH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE_TRANSFER_GUID
public static final String JSON_PROPERTY_REFERENCE_TRANSFER_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE_ACCOUNT
public static final String JSON_PROPERTY_SOURCE_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE_PARTICIPANTS
public static final String JSON_PROPERTY_SOURCE_PARTICIPANTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESTINATION_ACCOUNT
public static final String JSON_PROPERTY_DESTINATION_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESTINATION_PARTICIPANTS
public static final String JSON_PROPERTY_DESTINATION_PARTICIPANTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_UPDATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_DETAILS
public static final String JSON_PROPERTY_TRANSFER_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_RAIL
public static final String JSON_PROPERTY_PAYMENT_RAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
guid
public TransferBankModel guid(String guid)
-
getGuid
@Nullable public String getGuid()
Auto-generated unique identifier for the transfer.- Returns:
- guid
-
setGuid
public void setGuid(String guid)
-
transferType
public TransferBankModel transferType(String transferType)
-
getTransferType
@Nullable public String getTransferType()
The type of transfer; one of funding, book, crypto, instant_funding, funding_return, crypto_return, loss_recovery, inter_account, lightning, or instant_funding_return.- Returns:
- transferType
-
setTransferType
public void setTransferType(String transferType)
-
bankGuid
public TransferBankModel bankGuid(String bankGuid)
-
getBankGuid
@Nullable public String getBankGuid()
The associated bank's identifier.- Returns:
- bankGuid
-
setBankGuid
public void setBankGuid(String bankGuid)
-
customerGuid
public TransferBankModel customerGuid(String customerGuid)
-
getCustomerGuid
@Nullable public String getCustomerGuid()
The associated customer's identifier.- Returns:
- customerGuid
-
setCustomerGuid
public void setCustomerGuid(String customerGuid)
-
quoteGuid
public TransferBankModel quoteGuid(String quoteGuid)
-
getQuoteGuid
@Nullable public String getQuoteGuid()
The associated quote's identifier.- Returns:
- quoteGuid
-
setQuoteGuid
public void setQuoteGuid(String quoteGuid)
-
externalBankAccountGuid
public TransferBankModel externalBankAccountGuid(String externalBankAccountGuid)
-
getExternalBankAccountGuid
@Nullable public String getExternalBankAccountGuid()
The associated external bank account's identifier.- Returns:
- externalBankAccountGuid
-
setExternalBankAccountGuid
public void setExternalBankAccountGuid(String externalBankAccountGuid)
-
asset
public TransferBankModel asset(String asset)
-
getAsset
@Nullable public String getAsset()
The asset the transfer is related to, e.g., USD.- Returns:
- asset
-
setAsset
public void setAsset(String asset)
-
side
public TransferBankModel side(String side)
-
getSide
@Nullable public String getSide()
The direction of the quote; one of deposit or withdrawal.- Returns:
- side
-
setSide
public void setSide(String side)
-
state
public TransferBankModel state(String state)
-
getState
@Nullable public String getState()
The state of the transfer; one of storing, pending, reviewing, completed, or failed.- Returns:
- state
-
setState
public void setState(String state)
-
failureCode
public TransferBankModel failureCode(String failureCode)
-
getFailureCode
@Nullable public String getFailureCode()
The failure code for failed transfers; one of non_sufficient_funds, refresh_required, party_name_invalid, payment_rail_invalid, compliance_rejection, cancelled, reversed, limit_exceeded, network_fee_too_low, amount_too_low, internal_error, or invalid_address.- Returns:
- failureCode
-
setFailureCode
public void setFailureCode(String failureCode)
-
amount
public TransferBankModel amount(BigInteger amount)
-
getAmount
@Nullable public BigInteger getAmount()
The actual amount in base units of the asset.- Returns:
- amount
-
setAmount
public void setAmount(BigInteger amount)
-
estimatedAmount
public TransferBankModel estimatedAmount(BigInteger estimatedAmount)
-
getEstimatedAmount
@Nullable public BigInteger getEstimatedAmount()
The estimated amount in base units of the asset.- Returns:
- estimatedAmount
-
setEstimatedAmount
public void setEstimatedAmount(BigInteger estimatedAmount)
-
fee
public TransferBankModel fee(BigInteger fee)
-
getFee
@Nullable public BigInteger getFee()
The fee associated with the transfer.- Returns:
- fee
-
setFee
public void setFee(BigInteger fee)
-
estimatedNetworkFee
public TransferBankModel estimatedNetworkFee(BigInteger estimatedNetworkFee)
-
getEstimatedNetworkFee
@Nullable public BigInteger getEstimatedNetworkFee()
The estimated network fee in base units of network_fee_asset. Only present on `crypto` transfers.- Returns:
- estimatedNetworkFee
-
setEstimatedNetworkFee
public void setEstimatedNetworkFee(BigInteger estimatedNetworkFee)
-
networkFee
public TransferBankModel networkFee(BigInteger networkFee)
-
getNetworkFee
@Nullable public BigInteger getNetworkFee()
The actual network fee in base units of network_fee_asset. Only present on `crypto` transfers that have successfully completed.- Returns:
- networkFee
-
setNetworkFee
public void setNetworkFee(BigInteger networkFee)
-
networkFeeAsset
public TransferBankModel networkFeeAsset(String networkFeeAsset)
-
getNetworkFeeAsset
@Nullable public String getNetworkFeeAsset()
The asset code of the network fee. Only present on `crypto` transfers that have successfully completed.- Returns:
- networkFeeAsset
-
setNetworkFeeAsset
public void setNetworkFeeAsset(String networkFeeAsset)
-
networkFeeLiabilityAmount
public TransferBankModel networkFeeLiabilityAmount(BigInteger networkFeeLiabilityAmount)
-
getNetworkFeeLiabilityAmount
@Nullable public BigInteger getNetworkFeeLiabilityAmount()
The equivalent fiat network fee in base units of network_fee_liability_amount_asset. Only present on `crypto` transfers that have successfully completed.- Returns:
- networkFeeLiabilityAmount
-
setNetworkFeeLiabilityAmount
public void setNetworkFeeLiabilityAmount(BigInteger networkFeeLiabilityAmount)
-
networkFeeLiabilityAmountAsset
public TransferBankModel networkFeeLiabilityAmountAsset(String networkFeeLiabilityAmountAsset)
-
getNetworkFeeLiabilityAmountAsset
@Nullable public String getNetworkFeeLiabilityAmountAsset()
The fiat asset the network_fee_liability_amount is denominated in. Only present on `crypto` transfers that have successfully completed.- Returns:
- networkFeeLiabilityAmountAsset
-
setNetworkFeeLiabilityAmountAsset
public void setNetworkFeeLiabilityAmountAsset(String networkFeeLiabilityAmountAsset)
-
txnHash
public TransferBankModel txnHash(String txnHash)
-
getTxnHash
@Nullable public String getTxnHash()
The hash of the blockchain transaction- Returns:
- txnHash
-
setTxnHash
public void setTxnHash(String txnHash)
-
referenceTransferGuid
public TransferBankModel referenceTransferGuid(String referenceTransferGuid)
-
getReferenceTransferGuid
@Nullable public String getReferenceTransferGuid()
The guid of the related transfer. Only present on `funding_return` transfers.- Returns:
- referenceTransferGuid
-
setReferenceTransferGuid
public void setReferenceTransferGuid(String referenceTransferGuid)
-
sourceAccount
public TransferBankModel sourceAccount(TransferSourceAccountBankModel sourceAccount)
-
getSourceAccount
@Nullable public TransferSourceAccountBankModel getSourceAccount()
Get sourceAccount- Returns:
- sourceAccount
-
setSourceAccount
public void setSourceAccount(TransferSourceAccountBankModel sourceAccount)
-
sourceParticipants
public TransferBankModel sourceParticipants(List<TransferParticipantBankModel> sourceParticipants)
-
addSourceParticipantsItem
public TransferBankModel addSourceParticipantsItem(TransferParticipantBankModel sourceParticipantsItem)
-
getSourceParticipants
@Nullable public List<TransferParticipantBankModel> getSourceParticipants()
The participants in the source account.- Returns:
- sourceParticipants
-
setSourceParticipants
public void setSourceParticipants(List<TransferParticipantBankModel> sourceParticipants)
-
destinationAccount
public TransferBankModel destinationAccount(TransferDestinationAccountBankModel destinationAccount)
-
getDestinationAccount
@Nullable public TransferDestinationAccountBankModel getDestinationAccount()
Get destinationAccount- Returns:
- destinationAccount
-
setDestinationAccount
public void setDestinationAccount(TransferDestinationAccountBankModel destinationAccount)
-
destinationParticipants
public TransferBankModel destinationParticipants(List<TransferParticipantBankModel> destinationParticipants)
-
addDestinationParticipantsItem
public TransferBankModel addDestinationParticipantsItem(TransferParticipantBankModel destinationParticipantsItem)
-
getDestinationParticipants
@Nullable public List<TransferParticipantBankModel> getDestinationParticipants()
The participants in the source account.- Returns:
- destinationParticipants
-
setDestinationParticipants
public void setDestinationParticipants(List<TransferParticipantBankModel> destinationParticipants)
-
createdAt
public TransferBankModel createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
ISO8601 datetime the record was created at.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public TransferBankModel updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
ISO8601 datetime the record was last updated at.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
transferDetails
public TransferBankModel transferDetails(Object transferDetails)
-
getTransferDetails
@Nullable public Object getTransferDetails()
The raw details on the transfer from the bank.- Returns:
- transferDetails
-
setTransferDetails
public void setTransferDetails(Object transferDetails)
-
paymentRail
public TransferBankModel paymentRail(String paymentRail)
-
getPaymentRail
@Nullable public String getPaymentRail()
The rail the payment was done on. One of: ach, eft, wire, rtp- Returns:
- paymentRail
-
setPaymentRail
public void setPaymentRail(String paymentRail)
-
labels
public TransferBankModel labels(List<String> labels)
-
addLabelsItem
public TransferBankModel addLabelsItem(String labelsItem)
-
getLabels
@Nullable public List<String> getLabels()
The labels associated with the transfer.- Returns:
- labels
-
-