Enum Class Codes.SubsetForAllowanceIdentificationCode
java.lang.Object
java.lang.Enum<Codes.SubsetForAllowanceIdentificationCode>
com.fourjs.report.facturx.Codes.SubsetForAllowanceIdentificationCode
- All Implemented Interfaces:
Serializable, Comparable<Codes.SubsetForAllowanceIdentificationCode>, java.lang.constant.Constable
- Enclosing class:
Codes
public static enum Codes.SubsetForAllowanceIdentificationCode
extends Enum<Codes.SubsetForAllowanceIdentificationCode>
Subset for Allowance identification code : BT-140 / BT-98
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCustom entry whose member "code" gets updated to "value" on calls tofromString(String value)Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)Special rebate
The functiongetCode()returns "100" for this value
The functiongetName()returns "Special rebate" for this value
The functiongetMeaning()returns "A return of part of an amount paid for goods or services, serving as a reduction or discount." for this valueFixed long term
The functiongetCode()returns "102" for this value
The functiongetName()returns "Fixed long term" for this value
The functiongetMeaning()returns "A fixed long term allowance or charge." for this valueTemporary
The functiongetCode()returns "103" for this value
The functiongetName()returns "Temporary" for this value
The functiongetMeaning()returns "A temporary allowance or charge." for this valueStandard
The functiongetCode()returns "104" for this value
The functiongetName()returns "Standard" for this value
The functiongetMeaning()returns "The standard available allowance or charge." for this valueYearly turnover
The functiongetCode()returns "105" for this value
The functiongetName()returns "Yearly turnover" for this value
The functiongetMeaning()returns "An allowance or charge based on yearly turnover." for this valueBonus for works ahead of schedule
The functiongetCode()returns "41" for this value
The functiongetName()returns "Bonus for works ahead of schedule" for this value
The functiongetMeaning()returns "Bonus for completing work ahead of schedule." for this valueOther bonus
The functiongetCode()returns "42" for this value
The functiongetName()returns "Other bonus" for this value
The functiongetMeaning()returns "Bonus earned for other reasons." for this valueManufacturer's consumer discount
The functiongetCode()returns "60" for this value
The functiongetName()returns "Manufacturer's consumer discount" for this value
The functiongetMeaning()returns "A discount given by the manufacturer which should be passed on to the consumer." for this valueDue to military status
The functiongetCode()returns "62" for this value
The functiongetName()returns "Due to military status" for this value
The functiongetMeaning()returns "Allowance granted because of the military status." for this valueDue to work accident
The functiongetCode()returns "63" for this value
The functiongetName()returns "Due to work accident" for this value
The functiongetMeaning()returns "Allowance granted to a victim of a work accident." for this valueSpecial agreement
The functiongetCode()returns "64" for this value
The functiongetName()returns "Special agreement" for this value
The functiongetMeaning()returns "An allowance or charge as specified in a special agreement." for this valueProduction error discount
The functiongetCode()returns "65" for this value
The functiongetName()returns "Production error discount" for this value
The functiongetMeaning()returns "A discount given for the purchase of a product with a production error." for this valueNew outlet discount
The functiongetCode()returns "66" for this value
The functiongetName()returns "New outlet discount" for this value
The functiongetMeaning()returns "A discount given at the occasion of the opening of a new outlet." for this valueSample discount
The functiongetCode()returns "67" for this value
The functiongetName()returns "Sample discount" for this value
The functiongetMeaning()returns "A discount given for the purchase of a sample of a product." for this valueEnd-of-range discount
The functiongetCode()returns "68" for this value
The functiongetName()returns "End-of-range discount" for this value
The functiongetMeaning()returns "A discount given for the purchase of an end-of-range product." for this valueIncoterm discount
The functiongetCode()returns "70" for this value
The functiongetName()returns "Incoterm discount" for this value
The functiongetMeaning()returns "A discount given for a specified Incoterm." for this valuePoint of sales threshold allowance
The functiongetCode()returns "71" for this value
The functiongetName()returns "Point of sales threshold allowance" for this value
The functiongetMeaning()returns "Allowance for reaching or exceeding an agreed sales threshold at the point of sales." for this valueMaterial surcharge/deduction
The functiongetCode()returns "88" for this value
The functiongetName()returns "Material surcharge/deduction" for this value
The functiongetMeaning()returns "Surcharge/deduction, calculated for higher/ lower material's consumption." for this valueDiscount
The functiongetCode()returns "95" for this value
The functiongetName()returns "Discount" for this value
The functiongetMeaning()returns "A reduction from a usual or list price." for this value -
Method Summary
Modifier and TypeMethodDescriptionfromString(String value) Convert a String to a SubsetForAllowanceIdentificationCode.getCode()Get the "Code" property valueGet the "Meaning" property valuegetName()Get the "Name" property valuestatic booleanisNativeValue(String value) Tests ifvalueOf(value)would return a non custom enum valuetoString()Returns a string representation of the SubsetForAllowanceIdentificationCode.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
No41
Bonus for works ahead of schedule
The functiongetCode()returns "41" for this value
The functiongetName()returns "Bonus for works ahead of schedule" for this value
The functiongetMeaning()returns "Bonus for completing work ahead of schedule." for this value -
No42
Other bonus
The functiongetCode()returns "42" for this value
The functiongetName()returns "Other bonus" for this value
The functiongetMeaning()returns "Bonus earned for other reasons." for this value -
No60
Manufacturer's consumer discount
The functiongetCode()returns "60" for this value
The functiongetName()returns "Manufacturer's consumer discount" for this value
The functiongetMeaning()returns "A discount given by the manufacturer which should be passed on to the consumer." for this value -
No62
Due to military status
The functiongetCode()returns "62" for this value
The functiongetName()returns "Due to military status" for this value
The functiongetMeaning()returns "Allowance granted because of the military status." for this value -
No63
Due to work accident
The functiongetCode()returns "63" for this value
The functiongetName()returns "Due to work accident" for this value
The functiongetMeaning()returns "Allowance granted to a victim of a work accident." for this value -
No64
Special agreement
The functiongetCode()returns "64" for this value
The functiongetName()returns "Special agreement" for this value
The functiongetMeaning()returns "An allowance or charge as specified in a special agreement." for this value -
No65
Production error discount
The functiongetCode()returns "65" for this value
The functiongetName()returns "Production error discount" for this value
The functiongetMeaning()returns "A discount given for the purchase of a product with a production error." for this value -
No66
New outlet discount
The functiongetCode()returns "66" for this value
The functiongetName()returns "New outlet discount" for this value
The functiongetMeaning()returns "A discount given at the occasion of the opening of a new outlet." for this value -
No67
Sample discount
The functiongetCode()returns "67" for this value
The functiongetName()returns "Sample discount" for this value
The functiongetMeaning()returns "A discount given for the purchase of a sample of a product." for this value -
No68
End-of-range discount
The functiongetCode()returns "68" for this value
The functiongetName()returns "End-of-range discount" for this value
The functiongetMeaning()returns "A discount given for the purchase of an end-of-range product." for this value -
No70
Incoterm discount
The functiongetCode()returns "70" for this value
The functiongetName()returns "Incoterm discount" for this value
The functiongetMeaning()returns "A discount given for a specified Incoterm." for this value -
No71
Point of sales threshold allowance
The functiongetCode()returns "71" for this value
The functiongetName()returns "Point of sales threshold allowance" for this value
The functiongetMeaning()returns "Allowance for reaching or exceeding an agreed sales threshold at the point of sales." for this value -
No88
Material surcharge/deduction
The functiongetCode()returns "88" for this value
The functiongetName()returns "Material surcharge/deduction" for this value
The functiongetMeaning()returns "Surcharge/deduction, calculated for higher/ lower material's consumption." for this value -
No95
Discount
The functiongetCode()returns "95" for this value
The functiongetName()returns "Discount" for this value
The functiongetMeaning()returns "A reduction from a usual or list price." for this value -
No100
Special rebate
The functiongetCode()returns "100" for this value
The functiongetName()returns "Special rebate" for this value
The functiongetMeaning()returns "A return of part of an amount paid for goods or services, serving as a reduction or discount." for this value -
No102
Fixed long term
The functiongetCode()returns "102" for this value
The functiongetName()returns "Fixed long term" for this value
The functiongetMeaning()returns "A fixed long term allowance or charge." for this value -
No103
Temporary
The functiongetCode()returns "103" for this value
The functiongetName()returns "Temporary" for this value
The functiongetMeaning()returns "A temporary allowance or charge." for this value -
No104
Standard
The functiongetCode()returns "104" for this value
The functiongetName()returns "Standard" for this value
The functiongetMeaning()returns "The standard available allowance or charge." for this value -
No105
Yearly turnover
The functiongetCode()returns "105" for this value
The functiongetName()returns "Yearly turnover" for this value
The functiongetMeaning()returns "An allowance or charge based on yearly turnover." for this value -
CustomEntry1
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value) -
CustomEntry2
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value) -
CustomEntry3
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value) -
CustomEntry4
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value) -
CustomEntry5
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value) -
CustomEntry6
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value) -
CustomEntry7
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value) -
CustomEntry8
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value) -
CustomEntry9
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value) -
CustomEntry10
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
-
getName
-
getMeaning
-
toString
Returns a string representation of the SubsetForAllowanceIdentificationCode.- Overrides:
toStringin classEnum<Codes.SubsetForAllowanceIdentificationCode>- Returns:
- a string representation of the SubsetForAllowanceIdentificationCode.
-
fromString
Convert a String to a SubsetForAllowanceIdentificationCode.
Throws aIllegalArgumentExceptionif the value doesn't exist unless the system property "facturx.laxenums" is set to true. In the latter case, a custom value is returned if available.- Returns:
- a SubsetForAllowanceIdentificationCode that represents the String.
-
isNativeValue
Tests ifvalueOf(value)would return a non custom enum value- Returns:
- true if if
valueOf(value)would return a non custom enum value
-