src.data_sources.annuity.model_points.model_point.annuitants.annuitant.Annuitant

class src.data_sources.annuity.model_points.model_point.annuitants.annuitant.Annuitant(data: Dict)

Data source for a single annuitant.

Inheritance Diagram

Inheritance diagram of Annuitant

Variables & Properties

date_of_birth

Date of birth for this particular individual.

gender

Gender for this particular individual.

id

Unique identifier for this particular individual.

Methods

__init__(data)

Constructor method.

Details

__init__(data: Dict)

Constructor method. Initializes an annuitant based on data within an annuity model point file.

Parameters:

data – Data for a single annuitant.

cache: DataFrame

Internal cache, populated at runtime.

property date_of_birth: date

Date of birth for this particular individual.

Returns:

Date of birth.

property gender: Gender

Gender for this particular individual.

Returns:

Gender.

property id: str

Unique identifier for this particular individual. This could be a Social Security Number or DNA sequence. For security purposes, this value should probably be salted and hashed.

Returns:

Person ID.