Enum Class PaymentModeEnum

java.lang.Object
java.lang.Enum<PaymentModeEnum>
de.hybris.platform.sap.sappricingbol.constants.PaymentModeEnum
All Implemented Interfaces:
Serializable, Comparable<PaymentModeEnum>, Constable

public enum PaymentModeEnum extends Enum<PaymentModeEnum> implements Serializable
Enumeration that stores satandard hybris payment modes
  • Enum Constant Details

    • InvoicePaymentInfo

      public static final PaymentModeEnum InvoicePaymentInfo
      invoice payment mode
    • CreditCardPaymentInfo

      public static final PaymentModeEnum CreditCardPaymentInfo
      credit cart payment mode
    • DebitPaymentInfo

      public static final PaymentModeEnum DebitPaymentInfo
      debit payment mode
    • AdvancePaymentInfo

      public static final PaymentModeEnum AdvancePaymentInfo
      advance payment mode
  • Method Details

    • values

      public static PaymentModeEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PaymentModeEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPaymentTypeCode

      public static String getPaymentTypeCode(String paymentType)
      Parameters:
      paymentType -
      Returns:
      the payment code corresponding to parameter payment type