Omnipay\Common\CreditCard::getShippingAddress1 PHP Method

getShippingAddress1() public method

Get the shipping address, line 1.
public getShippingAddress1 ( ) : string
return string
    public function getShippingAddress1()
    {
        return $this->getParameter('shippingAddress1');
    }

Usage Example

Example #1
0
 public function testAddress1()
 {
     $this->card->setAddress1('31 Spooner St');
     $this->assertEquals('31 Spooner St', $this->card->getAddress1());
     $this->assertEquals('31 Spooner St', $this->card->getBillingAddress1());
     $this->assertEquals('31 Spooner St', $this->card->getShippingAddress1());
 }
All Usage Examples Of Omnipay\Common\CreditCard::getShippingAddress1
CreditCard