PayPal\Api\Order::getId PHP 메소드

getId() 공개 메소드

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

Usage 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::getId