vds/LeasingParams.js

/**
 * @fileoverview Exposed data type for use outside of VdsClient.
 *               All properties should be exposed to allow use from uncompiled
 *               code.
 *
 * @author margarita.krutikova@spark-vision.com
 */

goog.provide('spv.vds.LeasingParams');




/**
 * @export
 * @struct
 * @constructor
 * @param {Array.<number>} driving_distances_per_year
 * @param {number} default_driving_distance
 * @param {Array.<number>} leasing_durations
 * @param {number} default_leasing_duration
 */
spv.vds.LeasingParams = function(
	driving_distances_per_year,
	default_driving_distance,
	leasing_durations,
	default_leasing_duration)
{
	/**
	 * @type {Array.<number>}
	 * @nocollapse
	 */
	this.driving_distances_per_year = driving_distances_per_year;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.default_driving_distance = default_driving_distance;

	/**
	 * @type {Array.<number>}
	 * @nocollapse
	 */
	this.leasing_durations = leasing_durations;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.default_leasing_duration = default_leasing_duration;
};