Omnipay\Common\CreditCard::setBillingCompany PHP Method

setBillingCompany() public method

Sets the billing company name.
public setBillingCompany ( string $value ) : CreditCard
$value string
return CreditCard provides a fluent interface.
    public function setBillingCompany($value)
    {
        return $this->setParameter('billingCompany', $value);
    }

Usage Example

Exemplo n.º 1
0
 public function testBillingCompany()
 {
     $this->card->setBillingCompany('SuperSoft');
     $this->assertEquals('SuperSoft', $this->card->getBillingCompany());
     $this->assertEquals('SuperSoft', $this->card->getCompany());
 }
CreditCard