PayPal\Api\Order::getId PHP Method

getId() public method

Identifier of the order transaction.
public getId ( ) : string
return string
    public function getId()
    {
        return $this->id;
    }

Usage Example

Exemplo n.º 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::getId