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);
 }