Class PaymentInstructionBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PaymentInstructionBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-10-30T02:45:21.156936Z[Etc/UTC]") public class PaymentInstructionBankModel extends Object
PaymentInstructionBankModel
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_CUSTOMER_GUIDstatic StringJSON_PROPERTY_EXPECTED_PAYMENT_AMOUNTstatic StringJSON_PROPERTY_EXPECTED_PAYMENT_ASSETstatic StringJSON_PROPERTY_EXPIRED_ATstatic StringJSON_PROPERTY_FAILED_ATstatic StringJSON_PROPERTY_FAILURE_CODEstatic StringJSON_PROPERTY_GUIDstatic StringJSON_PROPERTY_INVOICE_GUIDstatic StringJSON_PROPERTY_NETWORK_ADDRESSstatic StringJSON_PROPERTY_STATEstatic StringJSON_PROPERTY_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description PaymentInstructionBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentInstructionBankModelcreatedAt(OffsetDateTime createdAt)PaymentInstructionBankModelcustomerGuid(String customerGuid)booleanequals(Object o)PaymentInstructionBankModelexpectedPaymentAmount(BigInteger expectedPaymentAmount)PaymentInstructionBankModelexpectedPaymentAsset(String expectedPaymentAsset)PaymentInstructionBankModelexpiredAt(OffsetDateTime expiredAt)PaymentInstructionBankModelfailedAt(OffsetDateTime failedAt)PaymentInstructionBankModelfailureCode(String failureCode)OffsetDateTimegetCreatedAt()ISO8601 datetime the record was created at.StringgetCustomerGuid()The customer identifier.BigIntegergetExpectedPaymentAmount()The amount to be paid in base units of expected_payment_asset.StringgetExpectedPaymentAsset()The asset the payor must pay the invoice in, e.g., BTC.OffsetDateTimegetExpiredAt()ISO8601 datetime the instructions expired at.OffsetDateTimegetFailedAt()ISO8601 datetime the instructions failed to be created at.StringgetFailureCode()The reason code explaining the failure; ond of invoice_paid, invoice_cancelled, or invalid_amount.StringgetGuid()Auto-generated unique identifier for the payment instruction.StringgetInvoiceGuid()The invoice identifier.StringgetNetworkAddress()The network address to pay the invoice to.StringgetState()The state of the payment instruction; one of storing, created, expired, or failed.OffsetDateTimegetUpdatedAt()ISO8601 datetime the record was last updated at.PaymentInstructionBankModelguid(String guid)inthashCode()PaymentInstructionBankModelinvoiceGuid(String invoiceGuid)PaymentInstructionBankModelnetworkAddress(String networkAddress)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCustomerGuid(String customerGuid)voidsetExpectedPaymentAmount(BigInteger expectedPaymentAmount)voidsetExpectedPaymentAsset(String expectedPaymentAsset)voidsetExpiredAt(OffsetDateTime expiredAt)voidsetFailedAt(OffsetDateTime failedAt)voidsetFailureCode(String failureCode)voidsetGuid(String guid)voidsetInvoiceGuid(String invoiceGuid)voidsetNetworkAddress(String networkAddress)voidsetState(String state)voidsetUpdatedAt(OffsetDateTime updatedAt)PaymentInstructionBankModelstate(String state)StringtoString()PaymentInstructionBankModelupdatedAt(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_INVOICE_GUID
public static final String JSON_PROPERTY_INVOICE_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_EXPIRED_AT
public static final String JSON_PROPERTY_EXPIRED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FAILED_AT
public static final String JSON_PROPERTY_FAILED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_ADDRESS
public static final String JSON_PROPERTY_NETWORK_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPECTED_PAYMENT_ASSET
public static final String JSON_PROPERTY_EXPECTED_PAYMENT_ASSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPECTED_PAYMENT_AMOUNT
public static final String JSON_PROPERTY_EXPECTED_PAYMENT_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FAILURE_CODE
public static final String JSON_PROPERTY_FAILURE_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
guid
public PaymentInstructionBankModel 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 PaymentInstructionBankModel customerGuid(String customerGuid)
-
getCustomerGuid
@Nullable public String getCustomerGuid()
The customer identifier.- Returns:
- customerGuid
-
setCustomerGuid
public void setCustomerGuid(String customerGuid)
-
invoiceGuid
public PaymentInstructionBankModel invoiceGuid(String invoiceGuid)
-
getInvoiceGuid
@Nullable public String getInvoiceGuid()
The invoice identifier.- Returns:
- invoiceGuid
-
setInvoiceGuid
public void setInvoiceGuid(String invoiceGuid)
-
createdAt
public PaymentInstructionBankModel 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 PaymentInstructionBankModel updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
ISO8601 datetime the record was last updated at.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
expiredAt
public PaymentInstructionBankModel expiredAt(OffsetDateTime expiredAt)
-
getExpiredAt
@Nullable public OffsetDateTime getExpiredAt()
ISO8601 datetime the instructions expired at.- Returns:
- expiredAt
-
setExpiredAt
public void setExpiredAt(OffsetDateTime expiredAt)
-
failedAt
public PaymentInstructionBankModel failedAt(OffsetDateTime failedAt)
-
getFailedAt
@Nullable public OffsetDateTime getFailedAt()
ISO8601 datetime the instructions failed to be created at.- Returns:
- failedAt
-
setFailedAt
public void setFailedAt(OffsetDateTime failedAt)
-
networkAddress
public PaymentInstructionBankModel networkAddress(String networkAddress)
-
getNetworkAddress
@Nullable public String getNetworkAddress()
The network address to pay the invoice to.- Returns:
- networkAddress
-
setNetworkAddress
public void setNetworkAddress(String networkAddress)
-
expectedPaymentAsset
public PaymentInstructionBankModel expectedPaymentAsset(String expectedPaymentAsset)
-
getExpectedPaymentAsset
@Nullable public String getExpectedPaymentAsset()
The asset the payor must pay the invoice in, e.g., BTC.- Returns:
- expectedPaymentAsset
-
setExpectedPaymentAsset
public void setExpectedPaymentAsset(String expectedPaymentAsset)
-
expectedPaymentAmount
public PaymentInstructionBankModel expectedPaymentAmount(BigInteger expectedPaymentAmount)
-
getExpectedPaymentAmount
@Nullable public BigInteger getExpectedPaymentAmount()
The amount to be paid in base units of expected_payment_asset.- Returns:
- expectedPaymentAmount
-
setExpectedPaymentAmount
public void setExpectedPaymentAmount(BigInteger expectedPaymentAmount)
-
failureCode
public PaymentInstructionBankModel failureCode(String failureCode)
-
getFailureCode
@Nullable public String getFailureCode()
The reason code explaining the failure; ond of invoice_paid, invoice_cancelled, or invalid_amount.- Returns:
- failureCode
-
setFailureCode
public void setFailureCode(String failureCode)
-
state
public PaymentInstructionBankModel state(String state)
-
getState
@Nullable public String getState()
The state of the payment instruction; one of storing, created, expired, or failed.- Returns:
- state
-
setState
public void setState(String state)
-
-