SpecialTaxationType Class

public final class SpecialTaxationType
extends ExpandableStringEnum<SpecialTaxationType>

Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic.

Field Summary

Modifier and Type Field and Description
static final SpecialTaxationType INVOICE_LEVEL

Static value InvoiceLevel for SpecialTaxationType.

static final SpecialTaxationType SUBTOTAL_LEVEL

Static value SubtotalLevel for SpecialTaxationType.

Constructor Summary

Constructor Description
SpecialTaxationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SpecialTaxationType value.

Method Summary

Modifier and Type Method and Description
static SpecialTaxationType fromString(String name)

Creates or finds a SpecialTaxationType from its string representation.

static Collection<SpecialTaxationType> values()

Gets known SpecialTaxationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

INVOICE_LEVEL

public static final SpecialTaxationType INVOICE_LEVEL

Static value InvoiceLevel for SpecialTaxationType.

SUBTOTAL_LEVEL

public static final SpecialTaxationType SUBTOTAL_LEVEL

Static value SubtotalLevel for SpecialTaxationType.

Constructor Details

SpecialTaxationType

@Deprecated
public SpecialTaxationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SpecialTaxationType value.

Method Details

fromString

public static SpecialTaxationType fromString(String name)

Creates or finds a SpecialTaxationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SpecialTaxationType.

values

public static Collection<SpecialTaxationType> values()

Gets known SpecialTaxationType values.

Returns:

known SpecialTaxationType values.

Applies to