Skip to content

Commit

Permalink
Støtte for å sette opphørsdato i beregning (#443)
Browse files Browse the repository at this point in the history
* Støtte for å sette opphørsdato i beregning

* Støtte for å sette opphørsdato i beregning
  • Loading branch information
ugur93 authored Feb 10, 2025
1 parent aafec25 commit 50c37ea
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ enum class Resultatkode(
val bisysKode: List<BisysResultatkode>,
vararg val type: ResultatkodeType,
) {
OPPHØR(
listOf(BisysResultatkode("OH", BisysResultatkodeType.OPPHØR)),
ResultatkodeType.BARNEBIDRAG,
),

// Gebyr
GEBYR_FRITATT(
listOf(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,7 @@ GEBYR_ILAGT:
intern: "Gebyr ilagt"

PARTEN_BER_OM_OPPHØR:
intern: "Parten ber om opphør"
intern: "Parten ber om opphør"

OPPHØR:
intern: "Annet opphør"
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import no.nav.bidrag.transport.behandling.felles.grunnlag.GrunnlagDto
@Schema(description = "Grunnlaget for en beregning av barnebidrag, forskudd og særbidrag")
data class BeregnGrunnlag(
@Schema(description = "Beregningsperiode") val periode: ÅrMånedsperiode,
@Schema(description = "Om beregning skal opphøre siste periode") val opphørSistePeriode: Boolean = false,
@Schema(description = "Referanse til Person-objekt som tilhører søknadsbarnet") valknadsbarnReferanse: String,
@Schema(description = "Periodisert liste over grunnlagselementer") val grunnlagListe: List<GrunnlagDto> = emptyList(),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import java.math.BigDecimal
@Schema(description = "Grunnlag for kategorisering, gruppering og beregning av inntekter")
data class BeregnValgteInntekterGrunnlag(
@Schema(description = "Beregningsperiode") val periode: ÅrMånedsperiode,
@Schema(description = "Om beregning skal opphøre siste periode") val opphørSistePeriode: Boolean = false,
@Schema(description = "Liste over identer til barn som det skal beregnes for") val barnIdentListe: List<Personident>,
@Schema(description = "Ident til person som inntekter skal beregnes for") val gjelderIdent: Personident,
@Schema(description = "Periodisert liste over inntekter") val grunnlagListe: List<InntektsgrunnlagPeriode> = emptyList(),
Expand Down

0 comments on commit 50c37ea

Please sign in to comment.