Class PrincipalPayment.PrincipalPaymentImpl

java.lang.Object
cdm.product.common.settlement.PrincipalPayment.PrincipalPaymentImpl
All Implemented Interfaces:
PrincipalPayment, com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
PrincipalPayment

public static class PrincipalPayment.PrincipalPaymentImpl extends Object implements PrincipalPayment
Immutable Implementation of PrincipalPayment
  • Constructor Details

  • Method Details

    • getPrincipalPaymentDate

      @RosettaAttribute("principalPaymentDate") @Accessor(GETTER) @RuneAttribute("principalPaymentDate") public AdjustableDate getPrincipalPaymentDate()
      Description copied from interface: PrincipalPayment
      The date where the PrincipalPayment shall be settled.
      Specified by:
      getPrincipalPaymentDate in interface PrincipalPayment
    • getPayerReceiver

      @RosettaAttribute("payerReceiver") @Accessor(GETTER) @RuneAttribute("payerReceiver") public PayerReceiver getPayerReceiver()
      Description copied from interface: PrincipalPayment
      Specifies the parties responsible for making and receiving payments defined by this structure.
      Specified by:
      getPayerReceiver in interface PrincipalPayment
    • getPrincipalAmount

      @RosettaAttribute("principalAmount") @Accessor(GETTER) @RuneAttribute("principalAmount") public Money getPrincipalAmount()
      Description copied from interface: PrincipalPayment
      When known at the time the transaction is made, the cash amount to be paid.
      Specified by:
      getPrincipalAmount in interface PrincipalPayment
    • getDiscountFactor

      @RosettaAttribute("discountFactor") @Accessor(GETTER) @RuneAttribute("discountFactor") public BigDecimal getDiscountFactor()
      Description copied from interface: PrincipalPayment
      The value representing the discount factor used to calculate the present value of the principal payment amount.
      Specified by:
      getDiscountFactor in interface PrincipalPayment
    • getPresentValuePrincipalAmount

      @RosettaAttribute("presentValuePrincipalAmount") @Accessor(GETTER) @RuneAttribute("presentValuePrincipalAmount") public Money getPresentValuePrincipalAmount()
      Description copied from interface: PrincipalPayment
      The amount representing the present value of the principal payment.
      Specified by:
      getPresentValuePrincipalAmount in interface PrincipalPayment
    • getMeta

      @RosettaAttribute("meta") @Accessor(GETTER) @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
      Specified by:
      getMeta in interface PrincipalPayment
    • build

      public PrincipalPayment build()
      Description copied from interface: PrincipalPayment
      Build Methods
      Specified by:
      build in interface PrincipalPayment
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface PrincipalPayment
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(PrincipalPayment.PrincipalPaymentBuilder builder)
    • 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