setState() public method

Sets the billing and shipping state.
public setState ( string $value ) : CreditCard
$value string
return CreditCard provides a fluent interface.
Example #1
0
 public function testState()
 {
     $this->card->setState('RI');
     $this->assertEquals('RI', $this->card->getState());
     $this->assertEquals('RI', $this->card->getBillingState());
     $this->assertEquals('RI', $this->card->getShippingState());
 }