Class XvPInitResponse

java.lang.Object
net.finmath.smartbonds.pontes.model.XvPInitResponse

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.24.0") public class XvPInitResponse extends Object
XvPInitResponse
  • Field Details

  • Constructor Details

    • XvPInitResponse

      public XvPInitResponse()
  • Method Details

    • xvpTransactionId

      public XvPInitResponse xvpTransactionId(@Nonnull UUID xvpTransactionId)
    • getXvpTransactionId

      @Nonnull public UUID getXvpTransactionId()
      Unique ID of the XvP transaction.
      Returns:
      xvpTransactionId
    • setXvpTransactionId

      public void setXvpTransactionId(@Nonnull UUID xvpTransactionId)
    • executionHash

      public XvPInitResponse executionHash(@Nonnull String executionHash)
    • getExecutionHash

      @Nonnull public String getExecutionHash()
      SHA256 function of Execution Key.
      Returns:
      executionHash
    • setExecutionHash

      public void setExecutionHash(@Nonnull String executionHash)
    • cancellationHash

      public XvPInitResponse cancellationHash(@Nonnull String cancellationHash)
    • getCancellationHash

      @Nonnull public String getCancellationHash()
      SHA256 function of Cancellation Key.
      Returns:
      cancellationHash
    • setCancellationHash

      public void setCancellationHash(@Nonnull String cancellationHash)
    • timeout

      public XvPInitResponse timeout(@Nonnull OffsetDateTime timeout)
    • getTimeout

      @Nonnull public OffsetDateTime getTimeout()
      Timeout indicates: i. The moment until when is possible for the Buyer to pay for the cash leg of the XvP. ii. The moment after which is possible for the Seller to request the cancellation key in case the cash leg of the XvP is not settled. It is equal to timestamp of creation of the request plus the system parameter defining the XvP timeframe Timeout timestamp in UTC using the RFC 3339 / ISO 8601 format: YYYY-MM-DDThh:mm:ssZ. Optional fractional seconds are allowed (e.g., 2025-12-04T09:51:41.123Z). Timezone must be Z (UTC).
      Returns:
      timeout
    • setTimeout

      public void setTimeout(@Nonnull OffsetDateTime timeout)
    • buyer

      public XvPInitResponse buyer(@Nonnull SimpleParticipant buyer)
    • getBuyer

      @Nonnull public SimpleParticipant getBuyer()
      Data of the Market Participant acting as the Buyer for the XvP transaction.
      Returns:
      buyer
    • setBuyer

      public void setBuyer(@Nonnull SimpleParticipant buyer)
    • seller

      public XvPInitResponse seller(@Nonnull Participant seller)
    • getSeller

      @Nonnull public Participant getSeller()
      Data of the Market Participant acting as the Seller for the XvP transaction.
      Returns:
      seller
    • setSeller

      public void setSeller(@Nonnull Participant seller)
    • amount

      public XvPInitResponse amount(@Nonnull String amount)
    • getAmount

      @Nonnull public String getAmount()
      Amount to pay to settle the cash leg of the XvP.
      Returns:
      amount
    • setAmount

      public void setAmount(@Nonnull String amount)
    • currency

      public XvPInitResponse currency(@Nonnull Currency currency)
    • getCurrency

      @Nonnull public Currency getCurrency()
      Currency of the cash leg of the XvP.
      Returns:
      currency
    • setCurrency

      public void setCurrency(@Nonnull Currency currency)
    • type

      public XvPInitResponse type(@Nonnull TransactionType type)
    • getType

      @Nonnull public TransactionType getType()
      The type of the XvP to manage, it can be \"DVP\" for Delivery Versus Payment transactions or \"PVP\" for Payment Versus Payment transactions.
      Returns:
      type
    • setType

      public void setType(@Nonnull TransactionType type)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object