PayPal\Api\Order::getState PHP Method

getState() public method

State of the order transaction.
public getState ( ) : string
return string
    public function getState()
    {
        return $this->state;
    }

Usage Example

Example #1
0
 public function testGetterSetter()
 {
     $this->assertEquals(self::$id, $this->order->getId());
     $this->assertEquals(self::$createTime, $this->order->getCreateTime());
     $this->assertEquals(self::$updateTime, $this->order->getUpdateTime());
     $this->assertEquals(self::$state, $this->order->getState());
     $this->assertEquals(AmountTest::$currency, $this->order->getAmount()->getCurrency());
 }
All Usage Examples Of PayPal\Api\Order::getState