Omnipay\Common\CreditCard::getPhone PHP Метод

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

Get the billing phone number.
public getPhone ( ) : string
Результат string
    public function getPhone()
    {
        return $this->getParameter('billingPhone');
    }

Usage Example

Пример #1
0
 public function testPhone()
 {
     $this->card->setPhone('12345');
     $this->assertEquals('12345', $this->card->getPhone());
     $this->assertEquals('12345', $this->card->getBillingPhone());
     $this->assertEquals('12345', $this->card->getShippingPhone());
 }
All Usage Examples Of Omnipay\Common\CreditCard::getPhone
CreditCard