Class PaymentMethodBase

  • Direct Known Subclasses:
    Bizum, Klarna, Stcpay, Tabby

    public abstract class PaymentMethodBase
    extends java.lang.Object
    Base class for all payment methods with common properties
    • 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)  
      java.util.List<java.lang.String> getFlags()
      Configuration flags for the payment method
      PaymentMethodInitialization getInitialization()
      Default: "disabled" The initialization state of the payment method.
      java.lang.String getStatus()
      The status of the payment method
      int hashCode()  
      void setFlags​(java.util.List<java.lang.String> flags)
      Configuration flags for the payment method
      void setInitialization​(PaymentMethodInitialization initialization)
      Default: "disabled" The initialization state of the payment method.
      void setStatus​(java.lang.String status)
      The status of the payment method
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • PaymentMethodBase

        public PaymentMethodBase()
    • Method Detail

      • getStatus

        public java.lang.String getStatus()
        The status of the payment method
      • getFlags

        public java.util.List<java.lang.String> getFlags()
        Configuration flags for the payment method
      • getInitialization

        public PaymentMethodInitialization getInitialization()
        Default: "disabled" The initialization state of the payment method. When you create a Payment Setup, this defaults to disabled. Enum: "disabled" "enabled"
      • setStatus

        public void setStatus​(java.lang.String status)
        The status of the payment method
      • setFlags

        public void setFlags​(java.util.List<java.lang.String> flags)
        Configuration flags for the payment method
      • setInitialization

        public void setInitialization​(PaymentMethodInitialization initialization)
        Default: "disabled" The initialization state of the payment method. When you create a Payment Setup, this defaults to disabled. Enum: "disabled" "enabled"
      • 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