-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oppdatert til bruk av inntektsmeldingRequest fra bibliotek
- Loading branch information
Showing
9 changed files
with
46 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/java/no/nav/dolly/bestilling/inntektsmelding/command/OpprettInntektsmeldingCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 2 additions & 6 deletions
8
...a-transfer-objects/src/main/java/no/nav/testnav/libs/dto/dokarkiv/v1/RsJoarkMetadata.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
.../java/no/nav/testnav/libs/dto/inntektsmeldinggeneratorservice/v1/rs/RsAvsendersystem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...a/no/nav/testnav/libs/dto/inntektsmeldinggeneratorservice/v1/rs/RsKontaktinformasjon.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...va/no/nav/testnav/libs/dto/inntektsmeldingservice/v1/requests/InntektsmeldingRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,33 @@ | ||
package no.nav.testnav.libs.dto.inntektsmeldingservice.v1.requests; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import no.nav.testnav.libs.dto.dokarkiv.v1.RsJoarkMetadata; | ||
import no.nav.testnav.libs.dto.inntektsmeldinggeneratorservice.v1.RsInntektsmeldingRequest; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import static java.util.Objects.isNull; | ||
|
||
@Data | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class InntektsmeldingRequest { | ||
|
||
private String miljoe; | ||
private String arbeidstakerFnr; // TODO: ident! (i v2) | ||
private RsJoarkMetadata joarkMetadata; | ||
private List<RsInntektsmeldingRequest> inntekter; | ||
|
||
public List<RsInntektsmeldingRequest> getInntekter() { | ||
|
||
if (isNull(inntekter)) { | ||
inntekter = new ArrayList<>(); | ||
} | ||
return inntekter; | ||
} | ||
} |