io.payrun.models.SmpPayInstruction Maven / Gradle / Ivy
package io.payrun.models;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
@JsonRootName(value = "SmpPayInstruction")
public class SmpPayInstruction extends PayInstruction
{
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
@JsonProperty(value="AbsenceStart")
public java.util.Date absenceStart;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
@JsonProperty(value="AbsenceEnd")
public java.util.Date absenceEnd;
@JsonProperty(value="StatutoryOffset")
public Boolean statutoryOffset = false;
@JsonProperty(value="AverageWeeklyEarningOverride")
public java.lang.Double averageWeeklyEarningOverride;
@JsonProperty(value="PayAsLumpSum")
public Boolean payAsLumpSum = false;
@JsonProperty(value="PayPartWeek")
public Boolean payPartWeek = false;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
@JsonProperty(value="BabyDueDate")
public java.util.Date babyDueDate;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
@JsonProperty(value="BabyBornDate")
public java.util.Date babyBornDate;
@JsonProperty(value="Stillbirth")
public Boolean stillbirth = false;
@JsonProperty(value="KeepInTouchDays")
public keepInTouchDaysWrapper keepInTouchDays;
public SmpPayInstruction(){
this.keepInTouchDays = new keepInTouchDaysWrapper();
this.keepInTouchDays.instance = new java.util.ArrayList<>();
}
@com.fasterxml.jackson.annotation.JsonIgnore
public java.util.ArrayList getKeepInTouchDays() {
return this.keepInTouchDays.instance;
}
public class keepInTouchDaysWrapper {
@JsonProperty(value="Date")
public java.util.ArrayList instance;
}
}