code: function validateOptions(options) {
  	//Check if options is set and is an object.
  	if(! options || ! typeof options === 'object') {
  		return {
  			country: DEFAULT_COUNTRY,
  			amount: DEFAULT_AMOUNT
  		}
  	}
  
  	//Check if country property is set.
  	if (! options.hasOwnProperty('country')) {
  		options.country = DEFAULT_COUNTRY;
  	}
  
  	//Check if amount property is set.
  	if (! options.hasOwnProperty('amount')) {
  		options.amount = DEFAULT_AMOUNT;
  	}
  
  	return options;
  }
docs: Function to validate and when neccessary correct the options object.
  
  @param {*} options
  @return {*} options