PayPal\Api\Sale::getCreateTime PHP Method

getCreateTime() public method

Time of sale as defined in RFC 3339 Section 5.6
public getCreateTime ( ) : string
return string
    public function getCreateTime()
    {
        return $this->create_time;
    }

Usage Example

示例#1
0
 public function testGetterSetter()
 {
     $this->assertEquals(self::$createTime, $this->sale->getCreateTime());
     $this->assertEquals(self::$id, $this->sale->getId());
     $this->assertEquals(self::$parentPayment, $this->sale->getParentPayment());
     $this->assertEquals(self::$state, $this->sale->getState());
     $this->assertEquals(AmountTest::$currency, $this->sale->getAmount()->getCurrency());
 }
All Usage Examples Of PayPal\Api\Sale::getCreateTime