SeverancePayHypothesisSolution
SeverancePayHypothesisSolution
Description
L'entité SeverancePayHypothesisSolution contient les différentes informations liées à la solution de plan de financement.
Relations
Ascendantes
Entité | Propriété |
|---|---|
SeverancePayHypothesis | severancePayHypothesisSolutions |
Descendantes
Entité | Propriété |
|---|---|
History | history |
SeverancePayHypothesisSolutionFundingPlan | severancePayHypothesisSolutionFundingPlans |
Propriétés
Nom | Type | Description | Validateur | Lecture seule ? | Dépréciée ? | DerniÚre version modifiée |
|---|---|---|---|---|---|---|
depositFee | Number | Il s'agit des frais sur versements. | ï»ż | ï»ż | ï»ż | 2.8.0 |
eurosDistributionPercentage | Number | Il s'agit du pourcentage de rĂ©partition entre les fonds en euros et en unitĂ© de compte. Ici c'est celui pour les fonds en euros. | ï»ż | ï»ż | ï»ż | 2.8.0 |
eurosExpenseRatio | Number | Il s'agit des frais sur encours en euros. | ï»ż | ï»ż | ï»ż | 2.8.0 |
firstDeposit | Number | Il s'agit du versement initial effectuĂ© la premiĂšre annĂ©e. | ï»ż | ï»ż | ï»ż | 2.8.0 |
isSelected | Boolean | Il s'agit de savoir si la solution financiĂšre a Ă©tĂ© sĂ©lectionnĂ©e. | ï»ż | ï»ż | ï»ż | 2.10.0 |
periodicDeposit | Number | Il s'agit du versement pĂ©riodique. | ï»ż | ï»ż | ï»ż | 2.8.0 |
transferFee | Number | Il s'agit des frais sur transfert. | ï»ż | ï»ż | ï»ż | 2.8.0 |
type | SeverancePayHypothesisSolutionTypeEnum | Il s'agit du type de solution de plan de financement. | ï»ż | ï»ż | ï»ż | 2.8.0 |
unitOfAccountsExpenseRatio | Number | Il s'agit des frais sur encours en unitĂ©s de compte. | ï»ż | ï»ż | ï»ż | 2.8.0 |
unitofAccountsDistributionPercentage | Number | Il s'agit du pourcentage de rĂ©partition entre les fonds en euros et en unitĂ© de compte. Ici c'est celui pour les fonds en unitĂ©s de compte. | ï»ż | ï»ż | ï»ż | 2.8.0 |
id | String | Identifiant de l'entitĂ© SeverancePayHypothesisSolution | ï»ż | X | ï»ż | ï»ż |
code | String | Codification fonctionnelle de l'entitĂ© SeverancePayHypothesisSolution | ï»ż | ï»ż | ï»ż | ï»ż |
externalId | String | Identifiant de l'entitĂ© SeverancePayHypothesisSolution dans le systĂšme client | ï»ż | ï»ż | ï»ż | ï»ż |
externalCode | String | Codification fonctionnelle de l'entitĂ© SeverancePayHypothesisSolution dans le systĂšme client | ï»ż | ï»ż | ï»ż | ï»ż |
severancePayHypothesisSolutionId | String | Identifiant public de l'entitĂ© SeverancePayHypothesisSolution dans l'OIP | ï»ż | ï»ż | ï»ż | ï»ż |
label | String | Information relative au nom de l'entitĂ© SeverancePayHypothesisSolution dans son contexte d'utilisation | ï»ż | ï»ż | ï»ż | ï»ż |
createdAt | Date | Date de crĂ©ation de l'entitĂ© SeverancePayHypothesisSolution | ï»ż | X | ï»ż | ï»ż |
updatedAt | Date | Date de modification de l'entitĂ© SeverancePayHypothesisSolution | ï»ż | X | ï»ż | ï»ż |
Enumérations
SeverancePayHypothesisSolutionTypeEnum
- AMORTIZED
- CUSTOMIZED
- RETROSPECTIVE_ADJUSTMENT
Enumérations génériques
Aucune enumération générique.
Exemple
import { Entities } from '@fasstech/oip-core';
import { getHypothesisId } from '@fasstech/oip-core/entities/Hypothesis';
import { getOfferId } from '@fasstech/oip-core/entities/Offer';
import { getProjectId } from '@fasstech/oip-core/entities/Project';
import { getSeverancePayHypothesisId } from '@fasstech/oip-core/entities/SeverancePayHypothesis';
import { getSeverancePayHypothesisSolutionCode, getSeverancePayHypothesisSolutionDepositFee, getSeverancePayHypothesisSolutionEurosDistributionPercentage, getSeverancePayHypothesisSolutionEurosExpenseRatio, getSeverancePayHypothesisSolutionExternalCode, getSeverancePayHypothesisSolutionExternalId, getSeverancePayHypothesisSolutionFirstDeposit, getSeverancePayHypothesisSolutionId, getSeverancePayHypothesisSolutionIsSelected, getSeverancePayHypothesisSolutionLabel, getSeverancePayHypothesisSolutionPeriodicDeposit, getSeverancePayHypothesisSolutionSeverancePayHypothesisSolutionId, getSeverancePayHypothesisSolutionTransferFee, getSeverancePayHypothesisSolutionType, getSeverancePayHypothesisSolutionUnitOfAccountsExpenseRatio, getSeverancePayHypothesisSolutionUnitofAccountsDistributionPercentage, setSeverancePayHypothesisSolutionCode, setSeverancePayHypothesisSolutionDepositFee, setSeverancePayHypothesisSolutionEurosDistributionPercentage, setSeverancePayHypothesisSolutionEurosExpenseRatio, setSeverancePayHypothesisSolutionExternalCode, setSeverancePayHypothesisSolutionExternalId, setSeverancePayHypothesisSolutionFirstDeposit, setSeverancePayHypothesisSolutionIsSelected, setSeverancePayHypothesisSolutionLabel, setSeverancePayHypothesisSolutionPeriodicDeposit, setSeverancePayHypothesisSolutionSeverancePayHypothesisSolutionId, setSeverancePayHypothesisSolutionTransferFee, setSeverancePayHypothesisSolutionType, setSeverancePayHypothesisSolutionUnitOfAccountsExpenseRatio, setSeverancePayHypothesisSolutionUnitofAccountsDistributionPercentage } from '@fasstech/oip-core/entities/SeverancePayHypothesisSolution';
import { SeverancePayHypothesisSolutionTypeEnum } from '@fasstech/oip-core/entities/SeverancePayHypothesisSolution/enums';
(async () => {
let project = await Entities('Project').create();
let offer = await Entities('Offer').create();
let hypothesis = await Entities('Hypothesis').create();
let severancePayHypothesis = await Entities('SeverancePayHypothesis').create();
const severancePayHypothesisSolution = await Entities('SeverancePayHypothesisSolution').create();
setSeverancePayHypothesisSolutionDepositFee(100, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionEurosDistributionPercentage(101, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionEurosExpenseRatio(101, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionFirstDeposit(102, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionIsSelected(false, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionPeriodicDeposit(112, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionTransferFee(116, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionType(SeverancePayHypothesisSolutionTypeEnum.RETROSPECTIVE_ADJUSTMENT, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionUnitOfAccountsExpenseRatio(117, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionUnitofAccountsDistributionPercentage(117, severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionCode('code', severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionExternalId('externalId', severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionExternalCode('externalCode', severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionSeverancePayHypothesisSolutionId('severancePayHypothesisSolutionId', severancePayHypothesisSolution);
setSeverancePayHypothesisSolutionLabel('label', severancePayHypothesisSolution);
severancePayHypothesis = await Entities('SeverancePayHypothesisSolution').save(severancePayHypothesis, severancePayHypothesisSolution);
hypothesis = await Entities('SeverancePayHypothesis').save(hypothesis, severancePayHypothesis);
offer = await Entities('Hypothesis').save(offer, hypothesis);
project = await Entities('Offer').save(project, offer);
await Entities('Project').save(project);
const projectToTest = await Entities('Project').get({ id: getProjectId(project) });
const offerToTest = await Entities('Offer').get(projectToTest, { filter: ({ id }) => id === getOfferId(offer) });
const hypothesisToTest = await Entities('Hypothesis').get(offerToTest, { filter: ({ id }) => id === getHypothesisId(hypothesis) });
const severancePayHypothesisToTest = await Entities('SeverancePayHypothesis').get(hypothesisToTest, { filter: ({ id }) => id === getSeverancePayHypothesisId(severancePayHypothesis) });
const severancePayHypothesisSolutionToTest = await Entities('SeverancePayHypothesisSolution').get(severancePayHypothesisToTest, { filter: ({ id }) => id === getSeverancePayHypothesisSolutionId(severancePayHypothesisSolution) });
getSeverancePayHypothesisSolutionDepositFee(severancePayHypothesisSolutionToTest); // 100
getSeverancePayHypothesisSolutionEurosDistributionPercentage(severancePayHypothesisSolutionToTest); // 101
getSeverancePayHypothesisSolutionEurosExpenseRatio(severancePayHypothesisSolutionToTest); // 101
getSeverancePayHypothesisSolutionFirstDeposit(severancePayHypothesisSolutionToTest); // 102
getSeverancePayHypothesisSolutionIsSelected(severancePayHypothesisSolutionToTest); // false
getSeverancePayHypothesisSolutionPeriodicDeposit(severancePayHypothesisSolutionToTest); // 112
getSeverancePayHypothesisSolutionTransferFee(severancePayHypothesisSolutionToTest); // 116
getSeverancePayHypothesisSolutionType(severancePayHypothesisSolutionToTest); // SeverancePayHypothesisSolutionTypeEnum.RETROSPECTIVE_ADJUSTMENT
getSeverancePayHypothesisSolutionUnitOfAccountsExpenseRatio(severancePayHypothesisSolutionToTest); // 117
getSeverancePayHypothesisSolutionUnitofAccountsDistributionPercentage(severancePayHypothesisSolutionToTest); // 117
getSeverancePayHypothesisSolutionCode(severancePayHypothesisSolutionToTest); // 'code'
getSeverancePayHypothesisSolutionExternalId(severancePayHypothesisSolutionToTest); // 'externalId'
getSeverancePayHypothesisSolutionExternalCode(severancePayHypothesisSolutionToTest); // 'externalCode'
getSeverancePayHypothesisSolutionSeverancePayHypothesisSolutionId(severancePayHypothesisSolutionToTest); // 'severancePayHypothesisSolutionId'
getSeverancePayHypothesisSolutionLabel(severancePayHypothesisSolutionToTest); // 'label'
})();