Omnipay\PayPal\Message\RestAuthorizeResponse::getCompleteUrl PHP 메소드

getCompleteUrl() 공개 메소드

The URL is embedded in the links section of the purchase or create subscription request response.
public getCompleteUrl ( ) : string
리턴 string
    public function getCompleteUrl()
    {
        if (isset($this->data['links']) && is_array($this->data['links'])) {
            foreach ($this->data['links'] as $key => $value) {
                if ($value['rel'] == 'execute') {
                    return $value['href'];
                }
            }
        }
        return null;
    }