Enum Class Codes.Incoterms

java.lang.Object
java.lang.Enum<Codes.Incoterms>
com.fourjs.report.facturx.Codes.Incoterms
All Implemented Interfaces:
Serializable, Comparable<Codes.Incoterms>, java.lang.constant.Constable
Enclosing class:
Codes

public static enum Codes.Incoterms extends Enum<Codes.Incoterms>
INCOTERMS: BT-X-145, BT-X-562
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Cost and Freight
    The function getCode() returns "CFR" for this value
    The function getName() returns "Cost and Freight" for this value
    Cost, Insurance and Freight
    The function getCode() returns "CIF" for this value
    The function getName() returns "Cost, Insurance and Freight" for this value
    Carriage and Insurance Paid to (insert named place of destination)
    The function getCode() returns "CIP" for this value
    The function getName() returns "Carriage and Insurance Paid to (insert named place of destination)" for this value
    Carriage Paid To (insert named place of destination)
    The function getCode() returns "CPT" for this value
    The function getName() returns "Carriage Paid To (insert named place of destination)" for this value
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    Delivered At Place (insert named place of destination)
    The function getCode() returns "DAP" for this value
    The function getName() returns "Delivered At Place (insert named place of destination)" for this value
    Delivered Duty Paid (insert named place of destination)
    The function getCode() returns "DDP" for this value
    The function getName() returns "Delivered Duty Paid (insert named place of destination)" for this value
    Delivered At Place Unloaded (insert named place of unloading)
    The function getCode() returns "DPU" for this value
    The function getName() returns "Delivered At Place Unloaded (insert named place of unloading)" for this value
    Ex Works (insert named place of delivery)
    The function getCode() returns "EXW" for this value
    The function getName() returns "Ex Works (insert named place of delivery)" for this value
    Free Alongside Ship (insert named port of shipment)
    The function getCode() returns "FAS" for this value
    The function getName() returns "Free Alongside Ship (insert named port of shipment)" for this value
    Free Carrier (insert named place of delivery)
    The function getCode() returns "FCA" for this value
    The function getName() returns "Free Carrier (insert named place of delivery)" for this value
    Free On Board (insert named port of shipment)
    The function getCode() returns "FOB" for this value
    The function getName() returns "Free On Board (insert named port of shipment)" for this value
    Delivery arranged by supplier
    The function getCode() returns "1" for this value
    The function getName() returns "Delivery arranged by supplier" for this value
    Delivery arranged by logistic service provider
    The function getCode() returns "2" for this value
    The function getName() returns "Delivery arranged by logistic service provider" for this value
  • Method Summary

    Modifier and Type
    Method
    Description
    Convert a String to a Incoterms.
    Get the "Code" property value
    Get the "Name" property value
    static boolean
    Tests if valueOf(value) would return a non custom enum value
    Returns a string representation of the Incoterms.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • No1

      public static final Codes.Incoterms No1
      Delivery arranged by supplier
      The function getCode() returns "1" for this value
      The function getName() returns "Delivery arranged by supplier" for this value
    • No2

      public static final Codes.Incoterms No2
      Delivery arranged by logistic service provider
      The function getCode() returns "2" for this value
      The function getName() returns "Delivery arranged by logistic service provider" for this value
    • CFR

      public static final Codes.Incoterms CFR
      Cost and Freight
      The function getCode() returns "CFR" for this value
      The function getName() returns "Cost and Freight" for this value
    • CIF

      public static final Codes.Incoterms CIF
      Cost, Insurance and Freight
      The function getCode() returns "CIF" for this value
      The function getName() returns "Cost, Insurance and Freight" for this value
    • CIP

      public static final Codes.Incoterms CIP
      Carriage and Insurance Paid to (insert named place of destination)
      The function getCode() returns "CIP" for this value
      The function getName() returns "Carriage and Insurance Paid to (insert named place of destination)" for this value
    • CPT

      public static final Codes.Incoterms CPT
      Carriage Paid To (insert named place of destination)
      The function getCode() returns "CPT" for this value
      The function getName() returns "Carriage Paid To (insert named place of destination)" for this value
    • DAP

      public static final Codes.Incoterms DAP
      Delivered At Place (insert named place of destination)
      The function getCode() returns "DAP" for this value
      The function getName() returns "Delivered At Place (insert named place of destination)" for this value
    • DDP

      public static final Codes.Incoterms DDP
      Delivered Duty Paid (insert named place of destination)
      The function getCode() returns "DDP" for this value
      The function getName() returns "Delivered Duty Paid (insert named place of destination)" for this value
    • DPU

      public static final Codes.Incoterms DPU
      Delivered At Place Unloaded (insert named place of unloading)
      The function getCode() returns "DPU" for this value
      The function getName() returns "Delivered At Place Unloaded (insert named place of unloading)" for this value
    • EXW

      public static final Codes.Incoterms EXW
      Ex Works (insert named place of delivery)
      The function getCode() returns "EXW" for this value
      The function getName() returns "Ex Works (insert named place of delivery)" for this value
    • FAS

      public static final Codes.Incoterms FAS
      Free Alongside Ship (insert named port of shipment)
      The function getCode() returns "FAS" for this value
      The function getName() returns "Free Alongside Ship (insert named port of shipment)" for this value
    • FCA

      public static final Codes.Incoterms FCA
      Free Carrier (insert named place of delivery)
      The function getCode() returns "FCA" for this value
      The function getName() returns "Free Carrier (insert named place of delivery)" for this value
    • FOB

      public static final Codes.Incoterms FOB
      Free On Board (insert named port of shipment)
      The function getCode() returns "FOB" for this value
      The function getName() returns "Free On Board (insert named port of shipment)" for this value
    • CustomEntry1

      public static final Codes.Incoterms CustomEntry1
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    • CustomEntry2

      public static final Codes.Incoterms CustomEntry2
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    • CustomEntry3

      public static final Codes.Incoterms CustomEntry3
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    • CustomEntry4

      public static final Codes.Incoterms CustomEntry4
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    • CustomEntry5

      public static final Codes.Incoterms CustomEntry5
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    • CustomEntry6

      public static final Codes.Incoterms CustomEntry6
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    • CustomEntry7

      public static final Codes.Incoterms CustomEntry7
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    • CustomEntry8

      public static final Codes.Incoterms CustomEntry8
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    • CustomEntry9

      public static final Codes.Incoterms CustomEntry9
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
    • CustomEntry10

      public static final Codes.Incoterms CustomEntry10
      Custom entry whose member "code" gets updated to "value" on calls to fromString(String value)
  • Method Details

    • values

      public static Codes.Incoterms[] 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 Codes.Incoterms 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
    • getCode

      public String getCode()
      Get the "Code" property value
      Returns:
      code
    • getName

      public String getName()
      Get the "Name" property value
      Returns:
      name
    • toString

      public String toString()
      Returns a string representation of the Incoterms.
      Overrides:
      toString in class Enum<Codes.Incoterms>
      Returns:
      a string representation of the Incoterms.
    • fromString

      public static Codes.Incoterms fromString(String value)
      Convert a String to a Incoterms.
      Throws a IllegalArgumentException if the value doesn't exist unless the system property "facturx.laxenums" is set to true. In the latter case, a custom value is returned if available.
      Returns:
      a Incoterms that represents the String.
    • isNativeValue

      public static boolean isNativeValue(String value)
      Tests if valueOf(value) would return a non custom enum value
      Returns:
      true if if valueOf(value) would return a non custom enum value