Skip to main content

Condition_CanPayInsuranceFee

Description

Checks whether the specified entity has enough currency to pay the insurance fee for S1.

Fee type can be specified with S2:

  • S2 = joining : compares against JoiningFee

Otherwise (including when S2 is None), this condition uses the recurring-fee path:

  • compares against RecurringFee (only valid when the insurance has been billed)
  • if the insurance status is overdue, it requires 2x recurring fee (B1Insurance::MAX_OVERDUE_COUNT == 2)

Parameters

ParameterDescription
BaseObjectThe entity used as payer (Self or Target).
CompareTypeType of comparison operation (Equal or NotEqual).
S1Insurance id (Insurance.Id).
S2(Optional) Fee type: joining. (Otherwise treated as recurring.)

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Checks whether self can pay the joining fee.SelfCanPayInsuranceFeeEqualInsurance_*joining
Checks whether self can pay the recurring fee.SelfCanPayInsuranceFeeEqualInsurance_*