Class AbstractSource

  • Direct Known Subclasses:
    IdSource, TokenSource

    public abstract class AbstractSource
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected SourceType type
      The payment source type (Required)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      SourceType getType()
      The payment source type (Required)
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • type

        protected final SourceType type
        The payment source type (Required)
    • Constructor Detail

      • AbstractSource

        protected AbstractSource​(SourceType type)
    • Method Detail

      • getType

        public SourceType getType()
        The payment source type (Required)
      • equals

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

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

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