Enum InvoicePriceComponentType
- java.lang.Object
-
- java.lang.Enum<InvoicePriceComponentType>
-
- org.hl7.fhir.r4.model.codesystems.InvoicePriceComponentType
-
- All Implemented Interfaces:
Serializable,Comparable<InvoicePriceComponentType>
public enum InvoicePriceComponentType extends Enum<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 InvoicePriceComponentTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static InvoicePriceComponentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static 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 InvoicePriceComponentType BASE
the amount is the base price used for calculating the total price before applying surcharges, discount or taxes.
-
SURCHARGE
public static final InvoicePriceComponentType SURCHARGE
the amount is a surcharge applied on the base price.
-
DEDUCTION
public static final InvoicePriceComponentType DEDUCTION
the amount is a deduction applied on the base price.
-
DISCOUNT
public static final InvoicePriceComponentType DISCOUNT
the amount is a discount applied on the base price.
-
TAX
public static final InvoicePriceComponentType TAX
the amount is the tax component of the total price.
-
INFORMATIONAL
public static final InvoicePriceComponentType INFORMATIONAL
the amount is of informational character, it has not been applied in the calculation of the total price.
-
NULL
public static final InvoicePriceComponentType NULL
added to help the parsers
-
-
Method Detail
-
values
public static 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 (InvoicePriceComponentType c : 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 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 InvoicePriceComponentType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-