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

Feat/api address state official denotation #199

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import java.time.LocalDateTime
@Schema(name = "AddressStateResponse", description = "Status record of a legal entity")
data class AddressStateResponse(
@get:Schema(description = "Exact, official denotation of the status")
val officialDenotation: String?,
val description: String?,

@get:Schema(description = "Since when the status is/was valid")
val validFrom: LocalDateTime?,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,6 @@ class BusinessPartnerBuildService(
)
}

private fun toEntity(dto: AddressVersionDto): AddressVersion {
return AddressVersion(dto.characterSet, dto.language)
}

private fun toEntity(dto: GeoCoordinateDto): GeographicCoordinate {
return GeographicCoordinate(dto.latitude, dto.longitude, dto.altitude)
}
Expand Down