public class TaxRegistration extends Object
Represents the tax number and its type.
The ID.getValue() is value added tax identification number
The ID.getSchemeId() is the Tax payer’s number or VAT number according to (UNCL 1153) eg. FC or VA
| Constructor and Description |
|---|
TaxRegistration()
|
TaxRegistration(String taxNumber)
|
TaxRegistration(String taxNumber,
Reference typeOfTax)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTaxNumber()
|
Reference |
getType()
|
TaxRegistration |
setTaxNumber(String taxNumber)
|
TaxRegistration |
setType(Reference taxType)
|
public TaxRegistration()
Instantiates a new tax registration.
public TaxRegistration(String taxNumber)
Instantiates a new tax registration without a type.
taxNumber - the idpublic TaxRegistration(String taxNumber, Reference typeOfTax)
Instantiates a new tax registration.
taxNumber - the tax idtypeOfTax - the scheme id@NotBlank public String getTaxNumber()
Gets the tax number.
DE234567891
@NotNull public Reference getType()
Gets the tax type. The UNCL 1153 tax type.
VA
public TaxRegistration setTaxNumber(String taxNumber)
Sets the tax number.
DE234567891
taxNumber - the new valuepublic TaxRegistration setType(Reference taxType)
Sets the UNCL 1153 tax type.
VA
taxType - the new typeCopyright © 2014 Konik.io. All Rights Reserved.