public function testSerializationDeserialization()
{
$obj = new RefundRequest(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getAmount());
$this->assertNotNull($obj->getDescription());
$this->assertNotNull($obj->getRefundSource());
$this->assertNotNull($obj->getReason());
$this->assertNotNull($obj->getInvoiceNumber());
$this->assertNotNull($obj->getRefundAdvice());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}