Omnipay\PayPal\RestGateway::createPlan PHP Метод

createPlan() публичный Метод

You can create an empty billing plan and add a trial period and/or regular billing. Alternatively, you can create a fully loaded plan that includes both a trial period and regular billing. Note: By default, a created billing plan is in a CREATED state. A user cannot subscribe to the billing plan unless it has been set to the ACTIVE state.
public createPlan ( array $parameters = [] ) : Omnipay\PayPal\Message\RestCreatePlanRequest
$parameters array
Результат Omnipay\PayPal\Message\RestCreatePlanRequest
    public function createPlan(array $parameters = array())
    {
        return $this->createRequest('\\Omnipay\\PayPal\\Message\\RestCreatePlanRequest', $parameters);
    }