Package com.ibm.fhir.model.type.code
Class InvoicePriceComponentType
- 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.InvoicePriceComponentType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class InvoicePriceComponentType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoicePriceComponentType.Builderstatic classInvoicePriceComponentType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static InvoicePriceComponentTypeBASEbase pricestatic InvoicePriceComponentTypeDEDUCTIONdeductionstatic InvoicePriceComponentTypeDISCOUNTdiscountstatic InvoicePriceComponentTypeINFORMATIONALinformationalstatic InvoicePriceComponentTypeSURCHARGEsurchargestatic InvoicePriceComponentTypeTAXtax
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvoicePriceComponentType.Builderbuilder()static Codecode(String value)Inherited factory method for creating InvoicePriceComponentType objects from a passed string value.booleanequals(Object obj)InvoicePriceComponentType.ValueSetgetValueAsEnumConstant()inthashCode()static InvoicePriceComponentTypeof(InvoicePriceComponentType.ValueSet value)Factory method for creating InvoicePriceComponentType objects from a passed enum value.static InvoicePriceComponentTypeof(String value)Factory method for creating InvoicePriceComponentType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating InvoicePriceComponentType objects from a passed string value.InvoicePriceComponentType.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 InvoicePriceComponentType 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 SURCHARGE
surchargethe amount is a surcharge applied on the base price.
-
DEDUCTION
public static final InvoicePriceComponentType DEDUCTION
deductionthe amount is a deduction applied on the base price.
-
DISCOUNT
public static final InvoicePriceComponentType DISCOUNT
discountthe amount is a discount applied on the base price.
-
TAX
public static final InvoicePriceComponentType TAX
taxthe amount is the tax component of the total price.
-
INFORMATIONAL
public static final InvoicePriceComponentType INFORMATIONAL
informationalthe amount is of informational character, it has not been applied in the calculation of the total price.
-
-
Method Detail
-
getValueAsEnumConstant
public InvoicePriceComponentType.ValueSet getValueAsEnumConstant()
-
of
public static InvoicePriceComponentType of(InvoicePriceComponentType.ValueSet value)
Factory method for creating InvoicePriceComponentType objects from a passed enum value.
-
of
public static InvoicePriceComponentType of(String value)
Factory method for creating InvoicePriceComponentType 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 InvoicePriceComponentType 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 InvoicePriceComponentType 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 InvoicePriceComponentType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static InvoicePriceComponentType.Builder builder()
-
-