Omnipay\Common\CreditCard::getBillingLastName PHP Method

getBillingLastName() public method

Get the last part of the card billing name.
public getBillingLastName ( ) : string
return string
    public function getBillingLastName()
    {
        return $this->getParameter('billingLastName');
    }

Usage Example

Beispiel #1
0
 public function testBillingName()
 {
     $this->card->setBillingFirstName('Bob');
     $this->card->setBillingLastName('Smith');
     $this->assertEquals('Bob Smith', $this->card->getBillingName());
     $this->card->setBillingName('John Foo');
     $this->assertEquals('John', $this->card->getBillingFirstName());
     $this->assertEquals('Foo', $this->card->getBillingLastName());
 }
All Usage Examples Of Omnipay\Common\CreditCard::getBillingLastName
CreditCard