Class PostInvoiceBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostInvoiceBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-10-15T16:11:29.476006Z[Etc/UTC]") public class PostInvoiceBankModel extends Object
PostInvoiceBankModel
-
-
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.StringgetAsset()The asset code the customer will receive the funds in.StringgetCustomerGuid()The unique identifier for the customer.BigIntegergetDeliverAmount()The amount to be delivered in base units of the asset, i.e., the amount the customer will receive before fees.List<String>getLabels()The labels associated with the customer.BigIntegergetReceiveAmount()The amount to be received in base units of the asset, i.e., the amount the customer will receive after fees.inthashCode()PostInvoiceBankModellabels(List<String> labels)PostInvoiceBankModelreceiveAmount(BigInteger receiveAmount)voidsetAccountGuid(String accountGuid)voidsetAsset(String asset)voidsetCustomerGuid(String customerGuid)voidsetDeliverAmount(BigInteger deliverAmount)voidsetLabels(List<String> labels)voidsetReceiveAmount(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
-
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
-
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
-
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
-
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 customer.- Returns:
- labels
-
-