PayPal\Api\RefundRequest::getDescription PHP Метод

getDescription() публичный Метод

Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters.
public getDescription ( ) : string
Результат string
    public function getDescription()
    {
        return $this->description;
    }

Usage Example

Пример #1
0
 /**
  * @depends testSerializationDeserialization
  * @param RefundRequest $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAmount(), AmountTest::getObject());
     $this->assertEquals($obj->getDescription(), "TestSample");
     $this->assertEquals($obj->getRefundSource(), "TestSample");
     $this->assertEquals($obj->getReason(), "TestSample");
     $this->assertEquals($obj->getInvoiceNumber(), "TestSample");
     $this->assertEquals($obj->getRefundAdvice(), true);
 }