Skip to content

Commit

Permalink
fix: [PQ-151] - email field name (#89)
Browse files Browse the repository at this point in the history
* fix - email field name

* getOrgReceipt - psp channel description not required

* getOrgReceipt openapi - psp channel description not required

---------

Co-authored-by: Andrea Ferracci <[email protected]>
Co-authored-by: pasqualespica <[email protected]>
  • Loading branch information
3 people authored Sep 13, 2024
1 parent c3790a9 commit 058e759
Show file tree
Hide file tree
Showing 12 changed files with 3,822 additions and 4,259 deletions.
4,148 changes: 1,955 additions & 2,193 deletions openapi/openapi.json

Large diffs are not rendered by default.

1,073 changes: 505 additions & 568 deletions openapi/openapi_ec.json

Large diffs are not rendered by default.

1,438 changes: 699 additions & 739 deletions openapi/openapi_helpdesk.json

Large diffs are not rendered by default.

1,402 changes: 653 additions & 749 deletions openapi/openapi_io.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public class Debtor {
private String city;
private String stateProvinceRegion;
private String country;
@JsonProperty(value = "eMail")
@JsonProperty(value = "email")
private String eMail;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public class Payer {
private String city;
private String stateProvinceRegion;
private String country;
@JsonProperty(value = "eMail")
@JsonProperty(value = "email")
private String eMail;
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class CtReceiptModelResponse implements Serializable {
private String pspCompanyName;
@NotBlank(message = "idChannel is required")
private String idChannel;
@NotBlank(message = "channelDescription is required")

private String channelDescription;

private Payer payer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ public class Debtor implements Serializable {
private String city;
private String stateProvinceRegion;
private String country;
@JsonProperty(value = "eMail")
@JsonProperty(value = "email")
private String eMail;
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class Payer implements Serializable {
private String city;
private String stateProvinceRegion;
private String country;
@JsonProperty(value = "eMail")
@JsonProperty(value = "email")
private String eMail;
}
4 changes: 2 additions & 2 deletions src/test/resources/biz-events/bizEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"city": "city",
"stateProvinceRegion": "stateProvinceRegion",
"country": "IT",
"eMail": "[email protected]"
"email": "[email protected]"
},
"payer": {
"fullName": "fullName",
Expand All @@ -52,7 +52,7 @@
"city": "city",
"stateProvinceRegion": "stateProvinceRegion",
"country": "IT",
"eMail": "[email protected]"
"email": "[email protected]"
},
"paymentInfo": {
"paymentDateTime": "2022-12-06T17:54:08.017744",
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/biz-events/bizEvent_duplicate.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"city": "city",
"stateProvinceRegion": "stateProvinceRegion",
"country": "IT",
"eMail": "[email protected]"
"email": "[email protected]"
},
"payer": {
"fullName": "fullName",
Expand All @@ -52,7 +52,7 @@
"city": "city",
"stateProvinceRegion": "stateProvinceRegion",
"country": "IT",
"eMail": "[email protected]"
"email": "[email protected]"
},
"paymentInfo": {
"paymentDateTime": "2022-12-06T17:54:08.017744",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/receipts/getOrganizationReceipt.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"city": null,
"stateProvinceRegion": null,
"country": null,
"eMail": null
"email": null
},
"transferList": [
{
Expand Down

0 comments on commit 058e759

Please sign in to comment.