code: function(data) {
                  console.log('ecInterface.order.checkout');
  
                  if (!data.paymentMethodIds) {
                      return Promise.reject(new Error('paymentMethodIds lists needed'));
                  }
                  if (!data.paymentMethodIds.length) {
                      return Promise.reject(new Error('One payment method is needed at least'));
                  }
                  corbel.validate.value('id', this.id);
                  return this.request({
                      method: corbel.request.method.POST,
                      url: this._buildUri(this.uri, this.id, '/checkout'),
                      data: data
                  }).then(function(res) {
                      return corbel.Services.getLocationId(res);
                  });
              }
docs: Checks out the Order
  @method
  @memberOf corbel.Ec.OrderBuilder
  @param  {Object} data                    Purchase information to do the checkout
  @param {string[]} data.paymentMethodIds  Array of String with the payment methods ids to checkout the order
  @return {Promise}                        Promise that resolves in the new purchase id or rejects with a
  {@link SilkRoadError}