_checkAllInputFieldsHasValues() {
    if (this.orderAmount != "") {
      if (this.shippingCosts != "") {
        if (this.countries[0].nameEnglish != undefined) {
          if (this.currencies[0].primaryCurrencyName != undefined) {
            if (this.importDutyPercentage != null) {

              if (this.taxPercentage != null) {
                if (this.clearanceCosts != null) {
                  if (this.shipmentServices != "") {
                    if (this.exchangeRate != null) {
                      this._calculateOutputValues();
                      this._addCountryToLastUsedValues();
                    }
                  }
                }
              }
            }
          }
        }
      } else {
        this._restOutputUIValues();
      }
    } else {
      this._restOutputUIValues();
    }
  }
// the output values and save the countryCode and inputValues to localStorage
the output values and save the countryCode and inputValues to localStorage
the output values and save the countryCode and inputValues to localStorage
_checkAllInputFieldsHasValues() {
    if (this.orderAmount != "") {
      if (this.shippingCosts != "") {
        if (this.countries[0].nameEnglish != undefined) {
          if (this.currencies[0].primaryCurrencyName != undefined) {
            if (this.importDutyPercentage != null) {
              if (this.taxPercentage != null) {
                if (this.clearanceCosts != null) {
                  if (this.shipmentServices != "") {
                    if (this.exchangeRate != null) {
                      this._calculateOutputValues();
                      this._addCountryToLastUsedValues();
                    }
                  }
                }
              }
            }
          }
        }
      } else {
        this._restOutputUIValues();
      }
    } else {
      this._restOutputUIValues();
    }
  }
_checkAllInputFieldsHasValues ( ) { if ( this . orderAmount != "" ) { if ( this . shippingCosts != "" ) { if ( this . countries [ 0 ] . nameEnglish != undefined ) { if ( this . currencies [ 0 ] . primaryCurrencyName != undefined ) { if ( this . importDutyPercentage != null ) { if ( this . taxPercentage != null ) { if ( this . clearanceCosts != null ) { if ( this . shipmentServices != "" ) { if ( this . exchangeRate != null ) { this . _calculateOutputValues ( ) ; this . _addCountryToLastUsedValues ( ) ; } } } } } } } } else { this . _restOutputUIValues ( ) ; } } else { this . _restOutputUIValues ( ) ; } }
the output values and save the countryCode and inputValues to localStorage
the output values and save the countryCode and inputValues to localStorage