Enum Class PurchaseMomentEnumeration

java.lang.Object
java.lang.Enum<PurchaseMomentEnumeration>
uk.org.netex.www.netex.PurchaseMomentEnumeration
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<PurchaseMomentEnumeration>, Constable

public enum PurchaseMomentEnumeration extends Enum<PurchaseMomentEnumeration> implements com.google.protobuf.ProtocolMessageEnum
 Allowed values for Purchase Moment.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 235:51]
 
Protobuf enum uk.org.netex.www.netex.PurchaseMomentEnumeration
  • Enum Constant Details

    • PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED
       Default
       
      PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED = 0;
    • PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION
       Purchase must   be made on reservation in advance of travel.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 240:43]
       
      PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION = 1;
    • PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE
       Purchase can  be made in advance of travel.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 245:39]
       
      PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE = 2;
    • PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY
       Purchase can only be made in advance of travel (e.g. for season ticket or advance ticket).  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 250:43]
       
      PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY = 3;
    • PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING
       Purchase can   be made before boarding transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 255:44]
       
      PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING = 4;
    • PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY
       Purchase must  be made before boarding transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 260:48]
       
      PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY = 5;
    • PURCHASE_MOMENT_ENUMERATION_ON_BOARDING

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_ON_BOARDING
       Purchase can   be made on boarding  transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 265:40]
       
      PURCHASE_MOMENT_ENUMERATION_ON_BOARDING = 6;
    • PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY
       Purchase can  only be made on boarding  transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 270:44]
       
      PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY = 7;
    • PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING
       Purchase can  be made after boarding  transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 275:43]
       
      PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING = 8;
    • PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN
       Purchase can  be made on entering transport system.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 280:39]
       
      PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN = 9;
    • PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT
       Purchase can   be made on leaving transport system.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 285:40]
       
      PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT = 10;
    • PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY
       Purchase can  only be made on subscription.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 290:46]
       
      PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY = 11;
    • PURCHASE_MOMENT_ENUMERATION_OTHER

      public static final PurchaseMomentEnumeration PURCHASE_MOMENT_ENUMERATION_OTHER
       Other moment of Purchase  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 295:35]
       
      PURCHASE_MOMENT_ENUMERATION_OTHER = 12;
    • UNRECOGNIZED

      public static final PurchaseMomentEnumeration UNRECOGNIZED
  • Field Details

    • PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED_VALUE
       Default
       
      PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED = 0;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION_VALUE
       Purchase must   be made on reservation in advance of travel.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 240:43]
       
      PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION = 1;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_VALUE
       Purchase can  be made in advance of travel.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 245:39]
       
      PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE = 2;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY_VALUE
       Purchase can only be made in advance of travel (e.g. for season ticket or advance ticket).  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 250:43]
       
      PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY = 3;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_VALUE
       Purchase can   be made before boarding transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 255:44]
       
      PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING = 4;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY_VALUE
       Purchase must  be made before boarding transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 260:48]
       
      PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY = 5;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_VALUE
       Purchase can   be made on boarding  transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 265:40]
       
      PURCHASE_MOMENT_ENUMERATION_ON_BOARDING = 6;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY_VALUE
       Purchase can  only be made on boarding  transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 270:44]
       
      PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY = 7;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING_VALUE
       Purchase can  be made after boarding  transport vehicle.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 275:43]
       
      PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING = 8;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN_VALUE
       Purchase can  be made on entering transport system.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 280:39]
       
      PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN = 9;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT_VALUE
       Purchase can   be made on leaving transport system.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 285:40]
       
      PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT = 10;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY_VALUE
       Purchase can  only be made on subscription.  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 290:46]
       
      PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY = 11;
      See Also:
    • PURCHASE_MOMENT_ENUMERATION_OTHER_VALUE

      public static final int PURCHASE_MOMENT_ENUMERATION_OTHER_VALUE
       Other moment of Purchase  [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 295:35]
       
      PURCHASE_MOMENT_ENUMERATION_OTHER = 12;
      See Also:
  • Method Details

    • values

      public static PurchaseMomentEnumeration[] 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 PurchaseMomentEnumeration 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
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static PurchaseMomentEnumeration valueOf(int value)
      Deprecated.
      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:
      value - 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
    • forNumber

      public static PurchaseMomentEnumeration forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<PurchaseMomentEnumeration> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static PurchaseMomentEnumeration valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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