Omnipay\Common\CreditCard::getBillingCountry PHP Method

getBillingCountry() public method

Get the billing country name.
public getBillingCountry ( ) : string
return string
    public function getBillingCountry()
    {
        return $this->getParameter('billingCountry');
    }

Usage Example

Beispiel #1
0
 public function testCountry()
 {
     $this->card->setCountry('US');
     $this->assertEquals('US', $this->card->getCountry());
     $this->assertEquals('US', $this->card->getBillingCountry());
     $this->assertEquals('US', $this->card->getShippingCountry());
 }
All Usage Examples Of Omnipay\Common\CreditCard::getBillingCountry
CreditCard