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