Omnipay\WechatPay\Message\CreateOrderResponse::getPrepayId PHP Метод

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

public getPrepayId ( )
    public function getPrepayId()
    {
        if ($this->isSuccessful()) {
            $data = $this->getData();
            return $data['prepay_id'];
        } else {
            return null;
        }
    }