PayPal\Api\RefundDetail::getDate PHP Method

getDate() public method

Date on which the invoice was refunded. Date format: yyyy-MM-dd z. For example, 2014-02-27 PST.
public getDate ( ) : string
return string
    public function getDate()
    {
        return $this->date;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param RefundDetail $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getType(), "TestSample");
     $this->assertEquals($obj->getDate(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
 }
All Usage Examples Of PayPal\Api\RefundDetail::getDate