Package com.fourjs.report.facturx
Enum Codes.SubsetForAllowanceIdentificationCode
- java.lang.Object
-
- java.lang.Enum<Codes.SubsetForAllowanceIdentificationCode>
-
- com.fourjs.report.facturx.Codes.SubsetForAllowanceIdentificationCode
-
- All Implemented Interfaces:
Serializable
,Comparable<Codes.SubsetForAllowanceIdentificationCode>
- Enclosing class:
- Codes
public static enum Codes.SubsetForAllowanceIdentificationCode extends Enum<Codes.SubsetForAllowanceIdentificationCode>
Subset for Allowance identification code : BT-140 / BT-98
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABK
ABK
The functiongetCode()
returns "ABK" for this value
The functiongetName()
returns "ABK" for this value
The functiongetMeaning()
returns "Used in the specification examples (e.g.ADZ
ADZ
The functiongetCode()
returns "ADZ" for this value
The functiongetName()
returns "ADZ" for this value
The functiongetMeaning()
returns "Used in the specification examples (e.g.CAO
CAO
The functiongetCode()
returns "CAO" for this value
The functiongetName()
returns "CAO" for this value
The functiongetMeaning()
returns "Used in the specification examples (e.g.CustomEntry1
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)
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)
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 valueNo102
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 valueNo103
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 valueNo104
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 valueNo105
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 valueNo41
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 valueNo42
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 valueNo60
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 valueNo62
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 valueNo63
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 valueNo64
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 valueNo65
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 valueNo66
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 valueNo67
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 valueNo68
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 valueNo70
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 valueNo71
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 valueNo88
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 valueNo95
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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Codes.SubsetForAllowanceIdentificationCode
fromString(String value)
Convert a String to a SubsetForAllowanceIdentificationCode.String
getCode()
Get the "Code" property valueString
getMeaning()
Get the "Meaning" property valueString
getName()
Get the "Name" property valuestatic boolean
isNativeValue(String value)
Tests ifvalueOf(value)
would return a non custom enum valueString
toString()
Returns a string representation of the SubsetForAllowanceIdentificationCode.static Codes.SubsetForAllowanceIdentificationCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Codes.SubsetForAllowanceIdentificationCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
No41
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
public static final Codes.SubsetForAllowanceIdentificationCode 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
-
CAO
public static final Codes.SubsetForAllowanceIdentificationCode CAO
CAO
The functiongetCode()
returns "CAO" for this value
The functiongetName()
returns "CAO" for this value
The functiongetMeaning()
returns "Used in the specification examples (e.g. EXTENDED_Fremdwaehrung.pdf)" for this value
-
ADZ
public static final Codes.SubsetForAllowanceIdentificationCode ADZ
ADZ
The functiongetCode()
returns "ADZ" for this value
The functiongetName()
returns "ADZ" for this value
The functiongetMeaning()
returns "Used in the specification examples (e.g. EXTENDED_Fremdwaehrung.pdf)" for this value
-
ABK
public static final Codes.SubsetForAllowanceIdentificationCode ABK
ABK
The functiongetCode()
returns "ABK" for this value
The functiongetName()
returns "ABK" for this value
The functiongetMeaning()
returns "Used in the specification examples (e.g. EXTENDED_Fremdwaehrung.pdf)" for this value
-
CustomEntry1
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry1
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
CustomEntry2
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry2
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
CustomEntry3
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry3
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
CustomEntry4
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry4
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
CustomEntry5
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry5
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
CustomEntry6
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry6
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
CustomEntry7
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry7
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
CustomEntry8
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry8
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
CustomEntry9
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry9
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
CustomEntry10
public static final Codes.SubsetForAllowanceIdentificationCode CustomEntry10
Custom entry whose member "code" gets updated to "value" on calls tofromString(String value)
-
-
Method Detail
-
values
public static Codes.SubsetForAllowanceIdentificationCode[] 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 (Codes.SubsetForAllowanceIdentificationCode c : Codes.SubsetForAllowanceIdentificationCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Codes.SubsetForAllowanceIdentificationCode 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
-
getCode
public String getCode()
Get the "Code" property value- Returns:
- code
-
getName
public String getName()
Get the "Name" property value- Returns:
- name
-
getMeaning
public String getMeaning()
Get the "Meaning" property value- Returns:
- meaning
-
toString
public String toString()
Returns a string representation of the SubsetForAllowanceIdentificationCode.- Overrides:
toString
in classEnum<Codes.SubsetForAllowanceIdentificationCode>
- Returns:
- a string representation of the SubsetForAllowanceIdentificationCode.
-
fromString
public static Codes.SubsetForAllowanceIdentificationCode fromString(String value)
Convert a String to a SubsetForAllowanceIdentificationCode.
Throws aIllegalArgumentException
if 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
public static boolean isNativeValue(String value)
Tests ifvalueOf(value)
would return a non custom enum value- Returns:
- true if if
valueOf(value)
would return a non custom enum value
-
-