Omnipay\Common\CreditCard::getBillingCompany PHP Method

getBillingCompany() public method

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

Usage Example

Ejemplo n.º 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());
 }
CreditCard