Enum PaymentMethod

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum PaymentMethod
    extends Enum<PaymentMethod>
                        

    Тип оплаты

    Author:

    Mariya Chernyadieva

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FULL_PREPAYMENT

      Предоплата 100% Полная предварительная оплата до момента передачи предмета расчета

      PREPAYMENT

      Предоплата. Частичная предварительная оплата до момента передачи предмета расчета

      ADVANCE

      Аванс

      FULL_PAYMENT

      Полный расчет. Полная оплата, в том числе с учетом аванса (предварительной оплаты) в момент передачи

      PARTIAL_PAYMENT

      Частичный расчет и кредит. Частичная оплата предмета расчета в момент его передачи с последующей оплатой в кредит

      CREDIT

      Передача в кредит. Передача предмета расчета без его оплаты в момент его передачи с последующей оплатой в кредит

      CREDIT_PAYMENT

      Оплата кредита. Оплата предмета расчета после его передачи с оплатой в кредит

    • Method Summary

      Modifier and Type Method Description
      final PaymentMethod valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<PaymentMethod> values() Returns an array containing the constants of this enum type, in the order they're declared.
      final EnumEntries<PaymentMethod> getEntries() Тип оплаты
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • valueOf

         final PaymentMethod valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<PaymentMethod> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.