Omnipay\Common\CreditCard::setCity PHP 메소드

setCity() 공개 메소드

Sets the billing and shipping city.
public setCity ( string $value ) : CreditCard
$value string
리턴 CreditCard provides a fluent interface.
    public function setCity($value)
    {
        $this->setParameter('billingCity', $value);
        $this->setParameter('shippingCity', $value);
        return $this;
    }

Usage Example

예제 #1
0
 public function testCity()
 {
     $this->card->setCity('Quahog');
     $this->assertEquals('Quahog', $this->card->getCity());
     $this->assertEquals('Quahog', $this->card->getBillingCity());
     $this->assertEquals('Quahog', $this->card->getShippingCity());
 }
All Usage Examples Of Omnipay\Common\CreditCard::setCity
CreditCard