private void initInstalmentStatus() {
   if (this._instrument.get_Category().equals(InstrumentCategory.Physical)) {
     TradePolicyDetail tradePolicyDetail = this.getTradePolicyDetail();
     Guid instalmentPolicyId = tradePolicyDetail.get_InstalmentPolicyId();
     if (instalmentPolicyId != null) {
       this.instalmentPolicy = this._settingsManager.getInstalmentPolicy(instalmentPolicyId);
       this.canFullPayment = tradePolicyDetail.isAllowed(PaymentForm.FullPayment);
       this.canInstalment =
           tradePolicyDetail.isAllowed(PaymentForm.Instalment)
               && this.instalmentPolicy.getActivePeriods().size() > 0;
       this.canAdvancePayment =
           tradePolicyDetail.isAllowed(PaymentForm.Prepay)
               && this.instalmentPolicy.get_TillPayoffDetail() != null
               && this.instalmentPolicy.get_TillPayoffDetail().get_IsActive();
     }
   }
 }