Class NoticeRateSubjectInfo

  • All Implemented Interfaces:
    SubjectInfo

    public class NoticeRateSubjectInfo
    extends java.lang.Object
    implements SubjectInfo
    • Constructor Summary

      Constructors 
      Constructor Description
      NoticeRateSubjectInfo​(java.lang.String subject, java.lang.String currency, java.lang.String marginBand, java.lang.String startDate, java.lang.String noticePeriod, java.lang.String amount)
      Constructs an RateSubjectInfo based on the provided subscription parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getAmount()  
      java.lang.String getCurrency()
      Returns the currency for the subscription.
      java.lang.String getMarginBand()
      Returns the margin band for the subscription.
      java.lang.String getNoticePeriod()  
      java.lang.String getStartDate()  
      java.lang.String getSubject()
      Returns the original subject that was parsed to create this SubjectInfo
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoticeRateSubjectInfo

        public NoticeRateSubjectInfo​(java.lang.String subject,
                                     java.lang.String currency,
                                     java.lang.String marginBand,
                                     java.lang.String startDate,
                                     java.lang.String noticePeriod,
                                     java.lang.String amount)
        Constructs an RateSubjectInfo based on the provided subscription parameters.
        Parameters:
        subject - The full requested subject
        currency - The requested currency pair.
        marginBand - The margin band for the subscription. Sometimes referred to as the price tier.
        amount - The principal amount of the requested rate
        startDate - The start date of the request
        noticePeriod - The notice period of the request
    • Method Detail

      • getCurrency

        public java.lang.String getCurrency()
        Returns the currency for the subscription.
        Returns:
        The currency in the deposit request.
      • getMarginBand

        public java.lang.String getMarginBand()
        Returns the margin band for the subscription. Sometimes referred to as the price tier. This is usually mapped on to the request by Liberator using the permissioning system rather than specified by the client, because clients are usually not in control of (or aware of) which price tier they have been assigned to.
        Returns:
        The margin band.
      • getSubject

        public java.lang.String getSubject()
        Description copied from interface: SubjectInfo
        Returns the original subject that was parsed to create this SubjectInfo
        Specified by:
        getSubject in interface SubjectInfo
        Returns:
        The original subject.
      • getStartDate

        public java.lang.String getStartDate()
        Returns:
        The start date of the request, meaning the initial loan or deposit day. In the format YYYY-MM-DD.
      • getNoticePeriod

        public java.lang.String getNoticePeriod()
        Returns:
        The notice period of the request, meaning the agreed notice period that the customer will receive their funds after giving notice. For example 32 Days.
      • getAmount

        public java.lang.String getAmount()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object