public class TaxRegistration extends java.lang.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(java.lang.String taxNumber)
|
TaxRegistration(java.lang.String taxNumber,
Reference typeOfTax)
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNumber()
|
Reference |
getType()
|
TaxRegistration |
setNumber(java.lang.String taxNumber)
|
TaxRegistration |
setType(Reference taxType)
|
public TaxRegistration()
Instantiates a new tax registration.
public TaxRegistration(java.lang.String taxNumber)
Instantiates a new tax registration without a type.
taxNumber - the idpublic TaxRegistration(java.lang.String taxNumber, Reference typeOfTax)
Instantiates a new tax registration.
taxNumber - the tax idtypeOfTax - the scheme idpublic java.lang.String getNumber()
Gets the tax number.
BASIC
DE234567891
public Reference getType()
Gets the tax type. The UNCL 1153 tax type.
BASIC
VA
public TaxRegistration setNumber(java.lang.String taxNumber)
Sets the tax number.
BASIC
DE234567891
taxNumber - the new valuepublic TaxRegistration setType(Reference taxType)
Sets the UNCL 1153 tax type.
BASIC
VA
taxType - the new typeCopyright © 2014 konik.io. All Rights Reserved.