Omnipay\Common\CreditCard::getPhone PHP Method

getPhone() public method

Get the billing phone number.
public getPhone ( ) : string
return string
    public function getPhone()
    {
        return $this->getParameter('billingPhone');
    }

Usage Example

Exemplo n.º 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