Omnipay\Common\CreditCard::getCompany PHP Method

getCompany() public method

Get the card billing company name.
public getCompany ( ) : string
return string
    public function getCompany()
    {
        return $this->getParameter('billingCompany');
    }

Usage Example

Beispiel #1
0
 public function testCompany()
 {
     $this->card->setCompany('FooBar');
     $this->assertEquals('FooBar', $this->card->getCompany());
     $this->assertEquals('FooBar', $this->card->getBillingCompany());
     $this->assertEquals('FooBar', $this->card->getShippingCompany());
 }
All Usage Examples Of Omnipay\Common\CreditCard::getCompany
CreditCard