ruet

Hire-purchase - vertical
Hire-purchase - horizontal
Hire-purchase - JavaScript

Consumer loan - vertical
Consumer loan - vertical 2
Consumer loan - horizontal
Consumer loan - horizontal 2
Consumer loan - JavaScript

Car loan - vertical
Car loan - vertical 2
Car loan - horizontal
Car loan - JavaScript

Home repair loan - vertical
Home repair loan - vertical 2
Home repair loan - horizontal
Home repair loan - JavaScript

Hire-purchase - vertical

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/hire-purchase/?code=&price=&interest=&info_url="
    width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Hire-purchase - horizontal

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/hire-purchase/horizontal/?code=&price=&interest=&info_url="
    width="540px" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Hire-purchase - JavaScript

<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
    var loan = new LHV.hirePurchase()
    loan.price = 500
    loan.advance = 0
    loan.period = 4
    loan.interest = 15.9

    var monthlyPayment = loan.getMonthlyPayment()

    if (monthlyPayment.error) {
        document.getElementById('error').innerHTML = monthlyPayment.error
    } else {
        document.getElementById('monhly-payment').innerHTML = monthlyPayment.payment
    }
</script>

If You want to use Your own HTML and just our JS to calculate monthly payment:

  1. Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js

  2. Define new LHV.hirePurchase class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).

  3. Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(500, 0, 4, 15.9)

Consumer loan - vertical

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/consumer-loan/?code=&price=&interest=&info_url="
    width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Consumer loan - vertical 2

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/consumer-loan/vertical2/?code=&price=&interest=&info_url="
    width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Consumer loan - horizontal

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/consumer-loan/horizontal/?code=&price=&interest=&info_url="
    width="540px" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Consumer loan - horizontal 2

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/consumer-loan/horizontal2/?code=&price=&interest=&info_url="
    width="540px" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Consumer loan - JavaScript

<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
    var loan = new LHV.consumerLoan()
    loan.price = 1000
    loan.period = 60
    loan.interest = 15.9

    var monthlyPayment = loan.getMonthlyPayment()

    if (monthlyPayment.error) {
        document.getElementById('error').innerHTML = monthlyPayment.error
    } else {
        document.getElementById('monhly-payment').innerHTML = monthlyPayment.payment
    }
</script>

If You want to use Your own HTML and just our JS to calculate monthly payment:

  1. Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js

  2. Define new LHV.consumerLoan class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).

  3. Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(1000, 60, 15.9)

Car loan - vertical

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/car-loan/?code=&price=&interest=&info_url="
    width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Car loan - vertical 2

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/car-loan/vertical2/?code=&price=&interest=&info_url="
    width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Car loan - horizontal

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/car-loan/horizontal/?code=&price=&interest=&info_url="
    width="540px" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Car loan - JavaScript

<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
    var loan = new LHV.carLoan()
    loan.price = 3000
    loan.period = 72
    loan.interest = 9.9

    var monthlyPayment = loan.getMonthlyPayment()

    if (monthlyPayment.error) {
        document.getElementById('error').innerHTML = monthlyPayment.error
    } else {
        document.getElementById('monhly-payment').innerHTML = monthlyPayment.payment
    }
</script>

If You want to use Your own HTML and just our JS to calculate monthly payment:

  1. Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js

  2. Define new LHV.carLoan class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).

  3. Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(3000, 72, 9.9)

Home repair loan - vertical

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/home-repair-loan/?code=&price=&interest=&info_url="
    width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Home repair loan - vertical 2

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/home-repair-loan/vertical2/?code=&price=&interest=&info_url="
    width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Home repair loan - horizontal

<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/home-repair-loan/horizontal/?code=&price=&interest=&info_url="
    width="540px" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>

Parameters:

  • code - partner unique code (for example XX-YYYYYYYYY)
  • price - price (for example 1200)
  • interest - interest rate (for example 19.9)
  • info_url - to replace "Submit application" with "Get info" link

Home repair loan - JavaScript

<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
    var loan = new LHV.homeRepairLoan()
    loan.price = 3000
    loan.period = 72
    loan.interest = 9.9

    var monthlyPayment = loan.getMonthlyPayment()

    if (monthlyPayment.error) {
        document.getElementById('error').innerHTML = monthlyPayment.error
    } else {
        document.getElementById('monhly-payment').innerHTML = monthlyPayment.payment
    }
</script>

If You want to use Your own HTML and just our JS to calculate monthly payment:

  1. Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js

  2. Define new LHV.homeRepairLoan class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).

  3. Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(3000, 72, 9.9)