PayPal\Api\Payment::getUpdateTime PHP Method

getUpdateTime() public method

Payment update time as defined in RFC 3339 Section 5.6.
public getUpdateTime ( ) : string
return string
    public function getUpdateTime()
    {
        return $this->update_time;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param Payment $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getIntent(), "TestSample");
     $this->assertEquals($obj->getPayer(), PayerTest::getObject());
     $this->assertEquals($obj->getPayee(), PayeeTest::getObject());
     $this->assertEquals($obj->getCart(), "TestSample");
     $this->assertEquals($obj->getTransactions(), TransactionTest::getObject());
     $this->assertEquals($obj->getFailedTransactions(), ErrorTest::getObject());
     $this->assertEquals($obj->getPaymentInstruction(), PaymentInstructionTest::getObject());
     $this->assertEquals($obj->getState(), "TestSample");
     $this->assertEquals($obj->getExperienceProfileId(), "TestSample");
     $this->assertEquals($obj->getRedirectUrls(), RedirectUrlsTest::getObject());
     $this->assertEquals($obj->getCreateTime(), "TestSample");
     $this->assertEquals($obj->getUpdateTime(), "TestSample");
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }
All Usage Examples Of PayPal\Api\Payment::getUpdateTime