Class TransferBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.TransferBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-09-12T22:29:26.989456Z[Etc/UTC]") public class TransferBankModel extends Object
TransferBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransferBankModel.SideEnumThe direction of the quote: 'deposit' or 'withdrawal'.static classTransferBankModel.StateEnumThe transfer's statestatic classTransferBankModel.TransferTypeEnumThe type of transfer.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TransferBankModel()
-
Method Summary
-
-
-
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_SOURCE_ACCOUNT
public static final String JSON_PROPERTY_SOURCE_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESTINATION_ACCOUNT
public static final String JSON_PROPERTY_DESTINATION_ACCOUNT
- 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
-
-
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(TransferBankModel.TransferTypeEnum transferType)
-
getTransferType
@Nullable public TransferBankModel.TransferTypeEnum getTransferType()
The type of transfer.- Returns:
- transferType
-
setTransferType
public void setTransferType(TransferBankModel.TransferTypeEnum 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(TransferBankModel.SideEnum side)
-
getSide
@Nullable public TransferBankModel.SideEnum getSide()
The direction of the quote: 'deposit' or 'withdrawal'.- Returns:
- side
-
setSide
public void setSide(TransferBankModel.SideEnum side)
-
state
public TransferBankModel state(TransferBankModel.StateEnum state)
-
getState
@Nullable public TransferBankModel.StateEnum getState()
The transfer's state- Returns:
- state
-
setState
public void setState(TransferBankModel.StateEnum state)
-
failureCode
public TransferBankModel failureCode(String failureCode)
-
getFailureCode
@Nullable public String getFailureCode()
The failure code for failed transfers.- 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)
-
sourceAccount
public TransferBankModel sourceAccount(TransferSourceAccountBankModel sourceAccount)
-
getSourceAccount
@Nullable public TransferSourceAccountBankModel getSourceAccount()
Get sourceAccount- Returns:
- sourceAccount
-
setSourceAccount
public void setSourceAccount(TransferSourceAccountBankModel sourceAccount)
-
destinationAccount
public TransferBankModel destinationAccount(TransferDestinationAccountBankModel destinationAccount)
-
getDestinationAccount
@Nullable public TransferDestinationAccountBankModel getDestinationAccount()
Get destinationAccount- Returns:
- destinationAccount
-
setDestinationAccount
public void setDestinationAccount(TransferDestinationAccountBankModel destinationAccount)
-
createdAt
public TransferBankModel createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
ISO8601 datetime the bank 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 trade was last updated at.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
-