Skip to content

Commit e8206d6

Browse files
Merge pull request #97 from defalt2111/bugfix_birthday_string_can't_be_null
bugfix. while setting identity type, it was previously not possible to be an entity seller
2 parents 8d8ccca + c357895 commit e8206d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/model/message/BzstDipCorrectableReportableSellerType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public CorrectableReportableSellerType toXmlType(final BzstDipConfiguration conf
5151
this.vat,
5252
this.firstName,
5353
this.lastName,
54-
this.birthDate.format(DateTimeFormatter.ISO_LOCAL_DATE),
54+
this.birthDate == null ? "NULL" : this.birthDate.format(DateTimeFormatter.ISO_LOCAL_DATE),
5555
this.legalAddress.toXmlType(),
5656
this.addressFix.toXmlType(),
5757
this.numberOfActivities.toXmlType(),

0 commit comments

Comments
 (0)