Class PaymentRequest

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

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

  • Constructor Details

    • PaymentRequest

      public PaymentRequest()
  • Method Details

    • buyer

      public PaymentRequest buyer(@Nonnull Participant buyer)
    • getBuyer

      @Nonnull public Participant getBuyer()
      Data of the Market Participant acting as the Buyer for the Payment. It must be consistent with the Market Participant acting as the Buyer for the XvP transaction.
      Returns:
      buyer
    • setBuyer

      public void setBuyer(@Nonnull Participant buyer)
    • seller

      public PaymentRequest seller(@Nonnull SimpleParticipant seller)
    • getSeller

      @Nonnull public SimpleParticipant getSeller()
      Data of the Market Participant acting as the Seller for the Payment. It must be consistent with the Market Participant acting as the Seller for the XvP transaction.
      Returns:
      seller
    • setSeller

      public void setSeller(@Nonnull SimpleParticipant seller)
    • amount

      public PaymentRequest amount(@Nonnull String amount)
    • getAmount

      @Nonnull public String getAmount()
      Amount to settle with the payment request, it must be equal to the amount needed to settle the cash leg of the XvP.
      Returns:
      amount
    • setAmount

      public void setAmount(@Nonnull String amount)
    • currency

      public PaymentRequest currency(@Nonnull Currency currency)
    • getCurrency

      @Nonnull public Currency getCurrency()
      Currency of the payment.
      Returns:
      currency
    • setCurrency

      public void setCurrency(@Nonnull Currency currency)
    • 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