Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pek 715 hente simulert tjenestepensjon spk #171

Merged
merged 9 commits into from
Nov 27, 2024

Conversation

antonfofanov
Copy link
Collaborator

  • Afp skal hentes fra SPK og logges uten å bli tatt videre.
  • Hvis brukeren har valgt om å simulere uten AFP, skal brukeren få BTP og brukeren skal få vite at BTP er med i det totale beløpet

@antonfofanov antonfofanov requested a review from a team as a code owner November 26, 2024 09:39
@@ -0,0 +1,3 @@
package no.nav.tjenestepensjon.simulering.v2025.tjenestepensjon.v1.exception

class TpregisteretException(s: String) : RuntimeException(s)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bør bruke mer beskrivende navn enn "s". Forslag: "message"

ordningsListe = response.inkludertOrdningListe.map { Ordning(it.tpnr) },
utbetalingsperioder = response.utbetalingsListe.map { Utbetalingsperiode(it.fraOgMedDato, it.manedligUtbetaling, it.ytelseType) },
aarsakIngenUtbetaling = response.arsakIngenUtbetaling
aarsakIngenUtbetaling = response.arsakIngenUtbetaling,
betingetTjenestepensjonErInkludert = response.utbetalingsListe.any { it.ytelseType == "BTP" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ytelsestyper burde være definert i en enum

@antonfofanov antonfofanov merged commit d606dc2 into main Nov 27, 2024
3 checks passed
@antonfofanov antonfofanov deleted the PEK-715-hente-simulert-tjenestepensjon-spk branch November 27, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants