/**
* @fileoverview Exposed data type for use outside of VdsClient.
* All properties should be exposed to allow use from uncompiled
* code.
*
* @author anders.rejdebrant@spark-vision.com (Anders Rejdebrant)
*/
goog.provide('spv.ds.Loan');
/**
* @export
* @struct
* @constructor
* @param {Number} arrangement_fee
* @param {string} currency
* @param {string} currency_monthly
* @param {string} currency_position
* @param {Number} down_payment
* @param {Number} down_payment_ratio_max
* @param {Number} down_payment_ratio_min
* @param {Number} interest_rate
* @param {Number} interest_rate_max
* @param {Number} interest_rate_min
* @param {Number} invoice_fee
* @param {Number} monthly_loan_price
* @param {Number} number_of_months
* @param {Number} number_of_months_max
* @param {Number} number_of_months_min
* @param {Number} total_purchase_price
*/
spv.ds.Loan = function(
arrangement_fee,
currency,
currency_monthly,
currency_position,
down_payment,
down_payment_ratio_max,
down_payment_ratio_min,
interest_rate,
interest_rate_max,
interest_rate_min,
invoice_fee,
monthly_loan_price,
number_of_months,
number_of_months_max,
number_of_months_min,
total_purchase_price)
{
/**
* @type {Number}
* @nocollapse
*/
this.arrangement_fee = arrangement_fee;
/**
* @type {string}
* @nocollapse
*/
this.currency = currency;
/**
* @type {string}
* @nocollapse
*/
this.currency_monthly = currency_monthly;
/**
* @type {string}
* @nocollapse
*/
this.currency_position = currency_position;
/**
* @type {Number}
* @nocollapse
*/
this.down_payment = down_payment;
/**
* @type {Number}
* @nocollapse
*/
this.down_payment_ratio_max = down_payment_ratio_max;
/**
* @type {Number}
* @nocollapse
*/
this.down_payment_ratio_min = down_payment_ratio_min;
/**
* @type {Number}
* @nocollapse
*/
this.interest_rate = interest_rate;
/**
* @type {Number}
* @nocollapse
*/
this.interest_rate_max = interest_rate_max;
/**
* @type {Number}
* @nocollapse
*/
this.interest_rate_min = interest_rate_min;
/**
* @type {Number}
* @nocollapse
*/
this.invoice_fee = invoice_fee;
/**
* @type {Number}
* @nocollapse
*/
this.monthly_loan_price = monthly_loan_price;
/**
* @type {Number}
* @nocollapse
*/
this.number_of_months = number_of_months;
/**
* @type {Number}
* @nocollapse
*/
this.number_of_months_max = number_of_months_max;
/**
* @type {Number}
* @nocollapse
*/
this.number_of_months_min = number_of_months_min;
/**
* @type {Number}
* @nocollapse
*/
this.total_purchase_price = total_purchase_price;
};