Skip to content

Commit bafb308

Browse files
author
Wout Schoovaerts
committed
Added extra fields to AddressRequest
1 parent c6fc5ce commit bafb308

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 4.2.1
2+
- Added extra fields to AddressRequest
3+
14
## 4.2.0
25
- Add support for payment method TWINT in payment API
36

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This library requires Java 11+.
2020
<dependency>
2121
<groupId>be.woutschoovaerts</groupId>
2222
<artifactId>mollie</artifactId>
23-
<version>4.2.0</version>
23+
<version>4.2.1</version>
2424
</dependency>
2525
```
2626

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>be.woutschoovaerts</groupId>
88
<artifactId>mollie</artifactId>
9-
<version>4.2.0</version>
9+
<version>4.2.1</version>
1010

1111
<name>Mollie with Java</name>
1212
<description>Java framework to consume the Mollie API</description>

src/main/java/be/woutschoovaerts/mollie/data/common/AddressRequest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@
1313
@Builder
1414
public class AddressRequest {
1515

16+
private String givenName;
17+
18+
private String familyName;
19+
1620
private String streetAndNumber;
1721

1822
private Optional<String> streetAdditional = Optional.empty();
1923

20-
private String postalCode;
24+
private Optional<String> postalCode;
2125

2226
private String city;
2327

0 commit comments

Comments
 (0)