twinfield icon indicating copy to clipboard operation
twinfield copied to clipboard

Getter and setter missing in Customer class

Open appdezign opened this issue 6 years ago • 3 comments

It seems to me that the Customer Class should have a getter and setter method for the private variable 'vatcode'.

appdezign avatar Mar 12 '19 09:03 appdezign

Pull requests are accepted on this library. If you need this feature, please create one.

willemstuursma avatar Mar 12 '19 12:03 willemstuursma

Is vatcode an actual field? I thought Twinfield (ab)uses the field4 field for this.

peterjaap avatar Mar 13 '19 14:03 peterjaap

Use CustomerAddress->getField4() and CustomerAddress->setField4() for this, per the API documentation

iranl avatar May 29 '19 18:05 iranl