Class InvoiceBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.InvoiceBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-28T18:15:05.010053Z[Etc/UTC]") public class InvoiceBankModel extends Object
InvoiceBankModel
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_GUIDstatic StringJSON_PROPERTY_ASSETstatic StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_CUSTOMER_GUIDstatic StringJSON_PROPERTY_DELIVER_AMOUNTstatic StringJSON_PROPERTY_FEEstatic StringJSON_PROPERTY_GUIDstatic StringJSON_PROPERTY_LABELSstatic StringJSON_PROPERTY_RECEIVE_AMOUNTstatic StringJSON_PROPERTY_STATEstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description InvoiceBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvoiceBankModelaccountGuid(String accountGuid)InvoiceBankModeladdLabelsItem(String labelsItem)InvoiceBankModelasset(String asset)InvoiceBankModelcreatedAt(OffsetDateTime createdAt)InvoiceBankModelcustomerGuid(String customerGuid)InvoiceBankModeldeliverAmount(BigInteger deliverAmount)booleanequals(Object o)InvoiceBankModelfee(BigInteger fee)StringgetAccountGuid()The account payment will ultimately be received into.StringgetAsset()The asset code the customer will receive the funds in.OffsetDateTimegetCreatedAt()ISO8601 datetime the record was created at.StringgetCustomerGuid()The customer identifier.org.openapitools.jackson.nullable.JsonNullable<String>getCustomerGuid_JsonNullable()BigIntegergetDeliverAmount()The amount to be delivered in base units of the asset, i.e., the amount the customer will receive before fees.org.openapitools.jackson.nullable.JsonNullable<BigInteger>getDeliverAmount_JsonNullable()BigIntegergetFee()The fee associated with this invoice in base units of the asset.org.openapitools.jackson.nullable.JsonNullable<BigInteger>getFee_JsonNullable()StringgetGuid()Auto-generated unique identifier for the payment instruction.List<String>getLabels()The labels associated with the invoice.org.openapitools.jackson.nullable.JsonNullable<List<String>>getLabels_JsonNullable()BigIntegergetReceiveAmount()The amount to be received in base units of the asset, i.e., the amount the customer will receive after fees.org.openapitools.jackson.nullable.JsonNullable<BigInteger>getReceiveAmount_JsonNullable()StringgetState()The state of the invoice; one of storing, unpaid, cancelling, cancelled, settling, or paid.StringgetType()The type of invoice; one of lightning.OffsetDateTimegetUpdatedAt()ISO8601 datetime the record was last updated at.InvoiceBankModelguid(String guid)inthashCode()InvoiceBankModellabels(List<String> labels)InvoiceBankModelreceiveAmount(BigInteger receiveAmount)voidsetAccountGuid(String accountGuid)voidsetAsset(String asset)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCustomerGuid(String customerGuid)voidsetCustomerGuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> customerGuid)voidsetDeliverAmount(BigInteger deliverAmount)voidsetDeliverAmount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> deliverAmount)voidsetFee(BigInteger fee)voidsetFee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> fee)voidsetGuid(String guid)voidsetLabels(List<String> labels)voidsetLabels_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> labels)voidsetReceiveAmount(BigInteger receiveAmount)voidsetReceiveAmount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> receiveAmount)voidsetState(String state)voidsetType(String type)voidsetUpdatedAt(OffsetDateTime updatedAt)InvoiceBankModelstate(String state)StringtoString()InvoiceBankModeltype(String type)InvoiceBankModelupdatedAt(OffsetDateTime updatedAt)
-
-
-
Field Detail
-
JSON_PROPERTY_GUID
public static final String JSON_PROPERTY_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_ACCOUNT_GUID
public static final String JSON_PROPERTY_ACCOUNT_GUID
- 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_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSET
public static final String JSON_PROPERTY_ASSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECEIVE_AMOUNT
public static final String JSON_PROPERTY_RECEIVE_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DELIVER_AMOUNT
public static final String JSON_PROPERTY_DELIVER_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FEE
public static final String JSON_PROPERTY_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
guid
public InvoiceBankModel guid(String guid)
-
getGuid
@Nullable public String getGuid()
Auto-generated unique identifier for the payment instruction.- Returns:
- guid
-
setGuid
public void setGuid(String guid)
-
customerGuid
public InvoiceBankModel customerGuid(String customerGuid)
-
getCustomerGuid
@Nullable public String getCustomerGuid()
The customer identifier.- Returns:
- customerGuid
-
getCustomerGuid_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getCustomerGuid_JsonNullable()
-
setCustomerGuid_JsonNullable
public void setCustomerGuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> customerGuid)
-
setCustomerGuid
public void setCustomerGuid(String customerGuid)
-
accountGuid
public InvoiceBankModel accountGuid(String accountGuid)
-
getAccountGuid
@Nullable public String getAccountGuid()
The account payment will ultimately be received into.- Returns:
- accountGuid
-
setAccountGuid
public void setAccountGuid(String accountGuid)
-
createdAt
public InvoiceBankModel 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 InvoiceBankModel updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
ISO8601 datetime the record was last updated at.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
type
public InvoiceBankModel type(String type)
-
setType
public void setType(String type)
-
asset
public InvoiceBankModel asset(String asset)
-
getAsset
@Nullable public String getAsset()
The asset code the customer will receive the funds in.- Returns:
- asset
-
setAsset
public void setAsset(String asset)
-
receiveAmount
public InvoiceBankModel receiveAmount(BigInteger receiveAmount)
-
getReceiveAmount
@Nullable public BigInteger getReceiveAmount()
The amount to be received in base units of the asset, i.e., the amount the customer will receive after fees. ONLY one of receive_amount or deliver_amount is required.- Returns:
- receiveAmount
-
getReceiveAmount_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<BigInteger> getReceiveAmount_JsonNullable()
-
setReceiveAmount_JsonNullable
public void setReceiveAmount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> receiveAmount)
-
setReceiveAmount
public void setReceiveAmount(BigInteger receiveAmount)
-
deliverAmount
public InvoiceBankModel deliverAmount(BigInteger deliverAmount)
-
getDeliverAmount
@Nullable public BigInteger getDeliverAmount()
The amount to be delivered in base units of the asset, i.e., the amount the customer will receive before fees. ONLY one of receive_amount or deliver_amount is required.- Returns:
- deliverAmount
-
getDeliverAmount_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<BigInteger> getDeliverAmount_JsonNullable()
-
setDeliverAmount_JsonNullable
public void setDeliverAmount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> deliverAmount)
-
setDeliverAmount
public void setDeliverAmount(BigInteger deliverAmount)
-
fee
public InvoiceBankModel fee(BigInteger fee)
-
getFee
@Nullable public BigInteger getFee()
The fee associated with this invoice in base units of the asset.- Returns:
- fee
-
getFee_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<BigInteger> getFee_JsonNullable()
-
setFee_JsonNullable
public void setFee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> fee)
-
setFee
public void setFee(BigInteger fee)
-
state
public InvoiceBankModel state(String state)
-
getState
@Nullable public String getState()
The state of the invoice; one of storing, unpaid, cancelling, cancelled, settling, or paid.- Returns:
- state
-
setState
public void setState(String state)
-
labels
public InvoiceBankModel labels(List<String> labels)
-
addLabelsItem
public InvoiceBankModel addLabelsItem(String labelsItem)
-
getLabels
@Nullable public List<String> getLabels()
The labels associated with the invoice.- Returns:
- labels
-
getLabels_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<String>> getLabels_JsonNullable()
-
setLabels_JsonNullable
public void setLabels_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> labels)
-
-