Package org.hl7.fhir.r4b.model
Enum Enumerations.InvoicePriceComponentType
- java.lang.Object
-
- java.lang.Enum<Enumerations.InvoicePriceComponentType>
-
- org.hl7.fhir.r4b.model.Enumerations.InvoicePriceComponentType
-
- All Implemented Interfaces:
Serializable,Comparable<Enumerations.InvoicePriceComponentType>
- Enclosing class:
- Enumerations
public static enum Enumerations.InvoicePriceComponentType extends Enum<Enumerations.InvoicePriceComponentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASEthe amount is the base price used for calculating the total price before applying surcharges, discount or taxes.DEDUCTIONthe amount is a deduction applied on the base price.DISCOUNTthe amount is a discount applied on the base price.INFORMATIONALthe amount is of informational character, it has not been applied in the calculation of the total price.NULLadded to help the parsersSURCHARGEthe amount is a surcharge applied on the base price.TAXthe amount is the tax component of the total price.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Enumerations.InvoicePriceComponentTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Enumerations.InvoicePriceComponentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Enumerations.InvoicePriceComponentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE
public static final Enumerations.InvoicePriceComponentType BASE
the amount is the base price used for calculating the total price before applying surcharges, discount or taxes.
-
SURCHARGE
public static final Enumerations.InvoicePriceComponentType SURCHARGE
the amount is a surcharge applied on the base price.
-
DEDUCTION
public static final Enumerations.InvoicePriceComponentType DEDUCTION
the amount is a deduction applied on the base price.
-
DISCOUNT
public static final Enumerations.InvoicePriceComponentType DISCOUNT
the amount is a discount applied on the base price.
-
TAX
public static final Enumerations.InvoicePriceComponentType TAX
the amount is the tax component of the total price.
-
INFORMATIONAL
public static final Enumerations.InvoicePriceComponentType INFORMATIONAL
the amount is of informational character, it has not been applied in the calculation of the total price.
-
NULL
public static final Enumerations.InvoicePriceComponentType NULL
added to help the parsers
-
-
Method Detail
-
values
public static Enumerations.InvoicePriceComponentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Enumerations.InvoicePriceComponentType c : Enumerations.InvoicePriceComponentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Enumerations.InvoicePriceComponentType valueOf(String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromCode
public static Enumerations.InvoicePriceComponentType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-