Class PostInvoiceBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostInvoiceBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-04-01T16:26:29.869186Z[Etc/UTC]") public class PostInvoiceBankModel extends Object
Request body for invoice creation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_GUIDstatic StringJSON_PROPERTY_ASSETstatic StringJSON_PROPERTY_CUSTOMER_GUIDstatic StringJSON_PROPERTY_DELIVER_AMOUNTstatic StringJSON_PROPERTY_LABELSstatic StringJSON_PROPERTY_RECEIVE_AMOUNT
-
Constructor Summary
Constructors Constructor Description PostInvoiceBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostInvoiceBankModelaccountGuid(String accountGuid)PostInvoiceBankModeladdLabelsItem(String labelsItem)PostInvoiceBankModelasset(String asset)PostInvoiceBankModelcustomerGuid(String customerGuid)PostInvoiceBankModeldeliverAmount(BigInteger deliverAmount)booleanequals(Object o)StringgetAccountGuid()The identifier for the account to use for the transfer.org.openapitools.jackson.nullable.JsonNullable<String>getAccountGuid_JsonNullable()StringgetAsset()The asset code the customer will receive the funds in.StringgetCustomerGuid()The unique identifier for the customer.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()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()inthashCode()PostInvoiceBankModellabels(List<String> labels)PostInvoiceBankModelreceiveAmount(BigInteger receiveAmount)voidsetAccountGuid(String accountGuid)voidsetAccountGuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> accountGuid)voidsetAsset(String asset)voidsetCustomerGuid(String customerGuid)voidsetCustomerGuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> customerGuid)voidsetDeliverAmount(BigInteger deliverAmount)voidsetDeliverAmount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> deliverAmount)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)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ASSET
public static final String JSON_PROPERTY_ASSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CUSTOMER_GUID
public static final String JSON_PROPERTY_CUSTOMER_GUID
- 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_ACCOUNT_GUID
public static final String JSON_PROPERTY_ACCOUNT_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
asset
public PostInvoiceBankModel asset(String asset)
-
getAsset
@Nonnull public String getAsset()
The asset code the customer will receive the funds in.- Returns:
- asset
-
setAsset
public void setAsset(String asset)
-
customerGuid
public PostInvoiceBankModel customerGuid(String customerGuid)
-
getCustomerGuid
@Nullable public String getCustomerGuid()
The unique identifier for the customer.- 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)
-
receiveAmount
public PostInvoiceBankModel 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 PostInvoiceBankModel 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)
-
accountGuid
public PostInvoiceBankModel accountGuid(String accountGuid)
-
getAccountGuid
@Nullable public String getAccountGuid()
The identifier for the account to use for the transfer. Required if the customer has multiple fiat accounts. Currently only valid for invoices paid to a fiat account.- Returns:
- accountGuid
-
getAccountGuid_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getAccountGuid_JsonNullable()
-
setAccountGuid_JsonNullable
public void setAccountGuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> accountGuid)
-
setAccountGuid
public void setAccountGuid(String accountGuid)
-
labels
public PostInvoiceBankModel labels(List<String> labels)
-
addLabelsItem
public PostInvoiceBankModel 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)
-
-