Skip to content

Commit

Permalink
Utvide feed med FNR for Infotrygd (#435)
Browse files Browse the repository at this point in the history
* Utvide feed med FNR for Infotrygd

* Fjerne mer unødig prefix
  • Loading branch information
jolarsen authored Apr 11, 2023
1 parent de60d6c commit 49b28ce
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,29 @@ public ForeldrepengerEndret() {

private ForeldrepengerEndret(Builder builder) {
this.setAktoerId(builder.aktoerId);
this.setFnr(builder.fnr);
this.setFoersteStoenadsdag(builder.foersteStoenadsdag);
this.setSisteStoenadsdag(builder.sisteStoenadsdag);
this.setGsakId(builder.gsakId);
}

public static class Builder {
private String aktoerId;

private String fnr;
private LocalDate foersteStoenadsdag;

private LocalDate sisteStoenadsdag;

private String gsakId;

public Builder medAktoerId(String val) {
aktoerId = val;
return this;
}

public Builder medFnr(String val) {
fnr = val;
return this;
}

public Builder medFoersteStoenadsdag(LocalDate foersteStoenadsdag) {
this.foersteStoenadsdag = foersteStoenadsdag;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,29 @@ public ForeldrepengerInnvilget() {

private ForeldrepengerInnvilget(Builder builder) {
this.setAktoerId(builder.aktoerId);
this.setFnr(builder.fnr);
this.setFoersteStoenadsdag(builder.foersteStoenadsdag);
this.setSisteStoenadsdag(builder.sisteStoenadsdag);
this.setGsakId(builder.gsakId);
}

public static class Builder {
private String aktoerId;

private String fnr;
private LocalDate foersteStoenadsdag;

private LocalDate sisteStoenadsdag;

private String gsakId;

public Builder medAktoerId(String val) {
aktoerId = val;
return this;
}

public Builder medFnr(String val) {
fnr = val;
return this;
}

public Builder medFoersteStoenadsdag(LocalDate foersteStoenadsdag) {
this.foersteStoenadsdag = foersteStoenadsdag;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,29 @@ public ForeldrepengerOpphoert() {

private ForeldrepengerOpphoert(Builder builder) {
this.setAktoerId(builder.aktoerId);
this.setFnr(builder.fnr);
this.setFoersteStoenadsdag(builder.foersteStoenadsdag);
this.setSisteStoenadsdag(builder.sisteStoenadsdag);
this.setGsakId(builder.gsakId);
}

public static class Builder {
private String aktoerId;

private String fnr;
private LocalDate foersteStoenadsdag;

private LocalDate sisteStoenadsdag;

private String gsakId;

public Builder medAktoerId(String val) {
aktoerId = val;
return this;
}

public Builder medFnr(String val) {
fnr = val;
return this;
}

public Builder medFoersteStoenadsdag(LocalDate foersteStoenadsdag) {
this.foersteStoenadsdag = foersteStoenadsdag;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ public Innhold() {

private String aktoerId;

private String fnr;

private LocalDate foersteStoenadsdag;

private LocalDate sisteStoenadsdag;
Expand All @@ -23,6 +25,14 @@ public void setAktoerId(String aktoerId) {
this.aktoerId = aktoerId;
}

public String getFnr() {
return fnr;
}

public void setFnr(String fnr) {
this.fnr = fnr;
}

public LocalDate getFoersteStoenadsdag() {
return foersteStoenadsdag;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,40 @@ public SvangerskapspengerEndret() {

private SvangerskapspengerEndret(SvangerskapspengerEndret.Builder builder) {
this.setAktoerId(builder.aktoerId);
this.setFnr(builder.fnr);
this.setFoersteStoenadsdag(builder.foersteStoenadsdag);
this.setSisteStoenadsdag(builder.sisteStoenadsdag);
this.setGsakId(builder.gsakId);
}

public static class Builder {
private String aktoerId;

private String fnr;
private LocalDate foersteStoenadsdag;

private LocalDate sisteStoenadsdag;

private String gsakId;

public SvangerskapspengerEndret.Builder medAktoerId(String val) {
public Builder medAktoerId(String val) {
aktoerId = val;
return this;
}

public SvangerskapspengerEndret.Builder medFoersteStoenadsdag(LocalDate foersteStoenadsdag) {
public Builder medFnr(String val) {
fnr = val;
return this;
}

public Builder medFoersteStoenadsdag(LocalDate foersteStoenadsdag) {
this.foersteStoenadsdag = foersteStoenadsdag;
return this;
}

public SvangerskapspengerEndret.Builder medSisteStoenadsdag(LocalDate sisteStoenadsdag) {
public Builder medSisteStoenadsdag(LocalDate sisteStoenadsdag) {
this.sisteStoenadsdag = sisteStoenadsdag;
return this;
}

public SvangerskapspengerEndret.Builder medGsakId(String gsakId) {
public Builder medGsakId(String gsakId) {
this.gsakId = gsakId;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,40 @@ public SvangerskapspengerInnvilget() {

private SvangerskapspengerInnvilget(SvangerskapspengerInnvilget.Builder builder) {
this.setAktoerId(builder.aktoerId);
this.setFnr(builder.fnr);
this.setFoersteStoenadsdag(builder.foersteStoenadsdag);
this.setSisteStoenadsdag(builder.sisteStoenadsdag);
this.setGsakId(builder.gsakId);
}

public static class Builder {
private String aktoerId;

private String fnr;
private LocalDate foersteStoenadsdag;

private LocalDate sisteStoenadsdag;

private String gsakId;

public SvangerskapspengerInnvilget.Builder medAktoerId(String val) {
public Builder medAktoerId(String val) {
aktoerId = val;
return this;
}

public SvangerskapspengerInnvilget.Builder medFoersteStoenadsdag(LocalDate foersteStoenadsdag) {
public Builder medFnr(String val) {
fnr = val;
return this;
}

public Builder medFoersteStoenadsdag(LocalDate foersteStoenadsdag) {
this.foersteStoenadsdag = foersteStoenadsdag;
return this;
}

public SvangerskapspengerInnvilget.Builder medSisteStoenadsdag(LocalDate sisteStoenadsdag) {
public Builder medSisteStoenadsdag(LocalDate sisteStoenadsdag) {
this.sisteStoenadsdag = sisteStoenadsdag;
return this;
}

public SvangerskapspengerInnvilget.Builder medGsakId(String gsakId) {
public Builder medGsakId(String gsakId) {
this.gsakId = gsakId;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,40 @@ public SvangerskapspengerOpphoert() {

private SvangerskapspengerOpphoert(SvangerskapspengerOpphoert.Builder builder) {
this.setAktoerId(builder.aktoerId);
this.setFnr(builder.fnr);
this.setFoersteStoenadsdag(builder.foersteStoenadsdag);
this.setSisteStoenadsdag(builder.sisteStoenadsdag);
this.setGsakId(builder.gsakId);
}

public static class Builder {
private String aktoerId;

private String fnr;
private LocalDate foersteStoenadsdag;

private LocalDate sisteStoenadsdag;

private String gsakId;

public SvangerskapspengerOpphoert.Builder medAktoerId(String val) {
public Builder medAktoerId(String val) {
aktoerId = val;
return this;
}

public SvangerskapspengerOpphoert.Builder medFoersteStoenadsdag(LocalDate foersteStoenadsdag) {
public Builder medFnr(String val) {
fnr = val;
return this;
}

public Builder medFoersteStoenadsdag(LocalDate foersteStoenadsdag) {
this.foersteStoenadsdag = foersteStoenadsdag;
return this;
}

public SvangerskapspengerOpphoert.Builder medSisteStoenadsdag(LocalDate sisteStoenadsdag) {
public Builder medSisteStoenadsdag(LocalDate sisteStoenadsdag) {
this.sisteStoenadsdag = sisteStoenadsdag;
return this;
}

public SvangerskapspengerOpphoert.Builder medGsakId(String gsakId) {
public Builder medGsakId(String gsakId) {
this.gsakId = gsakId;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
"type": "string",
"title": "AkterId for hendelsen "
},
"fnr": {
"$id": "/properties/elementer/items/properties/innhold/properties/fnr",
"type": "string",
"title": "FNR for hendelsen "
},
"foersteStoenadsdag": {
"$id": "/properties/elementer/items/properties/innhold/properties/foersteStoenadsdag",
"type": "string",
Expand Down

0 comments on commit 49b28ce

Please sign in to comment.