Class XvPInitRequest

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

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

  • Constructor Details

    • XvPInitRequest

      public XvPInitRequest()
  • Method Details

    • seller

      public XvPInitRequest 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)
    • buyer

      public XvPInitRequest 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)
    • amount

      public XvPInitRequest 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 XvPInitRequest 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 XvPInitRequest 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