Package com.ibm.fhir.model.type.code
Enum InvoicePriceComponentType.ValueSet
- java.lang.Object
-
- java.lang.Enum<InvoicePriceComponentType.ValueSet>
-
- com.ibm.fhir.model.type.code.InvoicePriceComponentType.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<InvoicePriceComponentType.ValueSet>
- Enclosing class:
- InvoicePriceComponentType
public static enum InvoicePriceComponentType.ValueSet extends Enum<InvoicePriceComponentType.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvoicePriceComponentType.ValueSetfrom(String value)Factory method for creating InvoicePriceComponentType.ValueSet values from a passed string value.Stringvalue()static InvoicePriceComponentType.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static InvoicePriceComponentType.ValueSet[]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.ValueSet BASE
base pricethe amount is the base price used for calculating the total price before applying surcharges, discount or taxes.
-
SURCHARGE
public static final InvoicePriceComponentType.ValueSet SURCHARGE
surchargethe amount is a surcharge applied on the base price.
-
DEDUCTION
public static final InvoicePriceComponentType.ValueSet DEDUCTION
deductionthe amount is a deduction applied on the base price.
-
DISCOUNT
public static final InvoicePriceComponentType.ValueSet DISCOUNT
discountthe amount is a discount applied on the base price.
-
TAX
public static final InvoicePriceComponentType.ValueSet TAX
taxthe amount is the tax component of the total price.
-
INFORMATIONAL
public static final InvoicePriceComponentType.ValueSet INFORMATIONAL
informationalthe amount is of informational character, it has not been applied in the calculation of the total price.
-
-
Method Detail
-
values
public static InvoicePriceComponentType.ValueSet[] 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.ValueSet c : InvoicePriceComponentType.ValueSet.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.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static InvoicePriceComponentType.ValueSet from(String value)
Factory method for creating InvoicePriceComponentType.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-