Skip to content

Commit 0725fc0

Browse files
author
sangeet-joy_xero
committed
Adding Bereavement enum to EmployeeStatutoryLeaveBalance and EmployeeStatutoryLeaveSummary for UK
1 parent 1a7974d commit 0725fc0

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

docs/v4/payroll-uk/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1952,7 +1952,7 @@
19521952
"leaveType" : {
19531953
"type" : "string",
19541954
"description" : "The type of statutory leave",
1955-
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ]
1955+
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement" ]
19561956
},
19571957
"balanceRemaining" : {
19581958
"type" : "number",
@@ -2000,7 +2000,7 @@
20002000
"type" : {
20012001
"type" : "string",
20022002
"description" : "The category of statutory leave",
2003-
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ]
2003+
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement" ]
20042004
},
20052005
"startDate" : {
20062006
"type" : "string",

src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveBalance.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ public enum LeaveTypeEnum {
3636
PATERNITY("Paternity"),
3737

3838
/** SHAREDPARENTAL */
39-
SHAREDPARENTAL("Sharedparental");
39+
SHAREDPARENTAL("Sharedparental"),
40+
41+
/** BEREAVEMENT */
42+
BEREAVEMENT("Bereavement");
4043

4144
private String value;
4245

src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveSummary.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ public enum TypeEnum {
4444
PATERNITY("Paternity"),
4545

4646
/** SHAREDPARENTAL */
47-
SHAREDPARENTAL("Sharedparental");
47+
SHAREDPARENTAL("Sharedparental"),
48+
49+
/** BEREAVEMENT */
50+
BEREAVEMENT("Bereavement");
4851

4952
private String value;
5053

0 commit comments

Comments
 (0)