whole_func_string: function StripeResource(stripe, urlData) {
    this._stripe = stripe;
    this._urlData = urlData || {};
  
    this.basePath = utils.makeURLInterpolator(this.basePath || stripe.getApiField('basePath'));
    this.resourcePath = this.path;
    this.path = utils.makeURLInterpolator(this.path);
  
    if (this.includeBasic) {
      this.includeBasic.forEach(function(methodName) {
        this[methodName] = StripeResource.BASIC_METHODS[methodName];
      }, this);
    }
  
    this.initialize.apply(this, arguments);
  }
func_code_string: function StripeResource(stripe, urlData) {
    this._stripe = stripe;
    this._urlData = urlData || {};
  
    this.basePath = utils.makeURLInterpolator(this.basePath || stripe.getApiField('basePath'));
    this.resourcePath = this.path;
    this.path = utils.makeURLInterpolator(this.path);
  
    if (this.includeBasic) {
      this.includeBasic.forEach(function(methodName) {
        this[methodName] = StripeResource.BASIC_METHODS[methodName];
      }, this);
    }
  
    this.initialize.apply(this, arguments);
  }
func_documentation_string: Encapsulates request logic for a Stripe Resource