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

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

Get the billing company name.
public getBillingCompany ( ) : string
Результат string
    public function getBillingCompany()
    {
        return $this->getParameter('billingCompany');
    }

Usage Example

Пример #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