Package com.ibm.fhir.model.type.code
Class ChargeItemDefinitionPriceComponentType
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.ChargeItemDefinitionPriceComponentType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ChargeItemDefinitionPriceComponentType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChargeItemDefinitionPriceComponentType.Builderstatic classChargeItemDefinitionPriceComponentType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ChargeItemDefinitionPriceComponentTypeBASEbase pricestatic ChargeItemDefinitionPriceComponentTypeDEDUCTIONdeductionstatic ChargeItemDefinitionPriceComponentTypeDISCOUNTdiscountstatic ChargeItemDefinitionPriceComponentTypeINFORMATIONALinformationalstatic ChargeItemDefinitionPriceComponentTypeSURCHARGEsurchargestatic ChargeItemDefinitionPriceComponentTypeTAXtax
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChargeItemDefinitionPriceComponentType.Builderbuilder()static Codecode(String value)Inherited factory method for creating ChargeItemDefinitionPriceComponentType objects from a passed string value.booleanequals(Object obj)ChargeItemDefinitionPriceComponentType.ValueSetgetValueAsEnumConstant()inthashCode()static ChargeItemDefinitionPriceComponentTypeof(ChargeItemDefinitionPriceComponentType.ValueSet value)Factory method for creating ChargeItemDefinitionPriceComponentType objects from a passed enum value.static ChargeItemDefinitionPriceComponentTypeof(String value)Factory method for creating ChargeItemDefinitionPriceComponentType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ChargeItemDefinitionPriceComponentType objects from a passed string value.ChargeItemDefinitionPriceComponentType.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
BASE
public static final ChargeItemDefinitionPriceComponentType BASE
base pricethe amount is the base price used for calculating the total price before applying surcharges, discount or taxes.
-
SURCHARGE
public static final ChargeItemDefinitionPriceComponentType SURCHARGE
surchargethe amount is a surcharge applied on the base price.
-
DEDUCTION
public static final ChargeItemDefinitionPriceComponentType DEDUCTION
deductionthe amount is a deduction applied on the base price.
-
DISCOUNT
public static final ChargeItemDefinitionPriceComponentType DISCOUNT
discountthe amount is a discount applied on the base price.
-
TAX
public static final ChargeItemDefinitionPriceComponentType TAX
taxthe amount is the tax component of the total price.
-
INFORMATIONAL
public static final ChargeItemDefinitionPriceComponentType INFORMATIONAL
informationalthe amount is of informational character, it has not been applied in the calculation of the total price.
-
-
Method Detail
-
getValueAsEnumConstant
public ChargeItemDefinitionPriceComponentType.ValueSet getValueAsEnumConstant()
-
of
public static ChargeItemDefinitionPriceComponentType of(ChargeItemDefinitionPriceComponentType.ValueSet value)
Factory method for creating ChargeItemDefinitionPriceComponentType objects from a passed enum value.
-
of
public static ChargeItemDefinitionPriceComponentType of(String value)
Factory method for creating ChargeItemDefinitionPriceComponentType objects 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
-
string
public static String string(String value)
Inherited factory method for creating ChargeItemDefinitionPriceComponentType objects 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
-
code
public static Code code(String value)
Inherited factory method for creating ChargeItemDefinitionPriceComponentType objects 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
-
toBuilder
public ChargeItemDefinitionPriceComponentType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ChargeItemDefinitionPriceComponentType.Builder builder()
-
-