public enum InvoicePriceComponentType extends Enum<InvoicePriceComponentType>
| Enum Constant and Description |
|---|
BASE
the amount is the base price used for calculating the total price before applying surcharges, discount or taxes.
|
DEDUCTION
the amount is a deduction applied on the base price.
|
DISCOUNT
the amount is a discount applied on the base price.
|
INFORMATIONAL
the amount is of informational character, it has not been applied in the calculation of the total price.
|
NULL
added to help the parsers
|
SURCHARGE
the amount is a surcharge applied on the base price.
|
TAX
the amount is the tax component of the total price.
|
| Modifier and Type | Method and Description |
|---|---|
static InvoicePriceComponentType |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static InvoicePriceComponentType |
valueOf(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.
|
public static final InvoicePriceComponentType BASE
public static final InvoicePriceComponentType SURCHARGE
public static final InvoicePriceComponentType DEDUCTION
public static final InvoicePriceComponentType DISCOUNT
public static final InvoicePriceComponentType TAX
public static final InvoicePriceComponentType INFORMATIONAL
public static final InvoicePriceComponentType NULL
public static InvoicePriceComponentType[] values()
for (InvoicePriceComponentType c : InvoicePriceComponentType.values()) System.out.println(c);
public static InvoicePriceComponentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static InvoicePriceComponentType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2021 Health Level 7. All rights reserved.