code: function () {
          // Iterate children_resources
          _.each(this.children_resources, (resource, resourceName) => {
            // Iterate object json data
            _.each(this._json, (object, key) => {
              // If children_resource and object different, next
              if (resourceName !== key) {
                return
              }
  
              if (object instanceof Array) {
                /*
               * Iterate array object to extend from
               * target Conekta resource and overwrite attribute
               */
                const childrenObjects = []
                _.each(object, (elem) => {
                  const resourceInstance = _.extend({}, Conekta[resource])
                  childrenObjects.push(
                    _.extend(resourceInstance, {
                      _json: elem,
                      _id: elem.id
                    })
                  )
                })
  
                /* overwrite property */
                this[key] = childrenObjects
              } else if (object) {
                /* overwrite property */
                this[key] = _.extend(Conekta[resource], {
                  _json: object,
                  _id: object.id
                })
              }
            })
          })
        }
docs: /*
  Method to populate attributes that are
  of another kind of resource.