The class implementation from all programming languages have the same interfaces for third party (your) code. Use identical call in Java, PHP or CSharp for functionallity of BO-API with programming language systax.
Java 6 or later
.net 2.0 or later
PHP 5.3 or later
Use what you want. With some click we can reformated code today. For example I use two space for indent and because I get no money for lines of codes open brakes come in the same line (TCL yeah!!!).
Using programming language API - do not reprogramme existing functionality. It will be passive and structured programmed. This matters: - Constant values equals changeable values, because so we can't call function of null references. - Methods / operations / funktions have one entrance and one exit (only exceptions can exit this on other place).
The resources (GTIN.xml, Resource.dtd) are searched under runnig directory.
CSharp and also .net API using the param-qualifier for parmeters of functions. Java use two methods to realize same, first with simple param second with array of type and delegate the functionallity between. PHP check first with is_array() the parameter und than so it is needed convert these param.
Java using the final-qualifier for parameters of functions. Other languages doesn't something.
The realisization of credit cards is based on strategy pattern (strategy == AbstractCreditCard, ConcreteStrategy == ... for example VisaCard ...).