PayPal\Api\Refund::setDescription PHP 메소드

setDescription() 공개 메소드

Description of what is being refunded for.
public setDescription ( string $description )
$description string
    public function setDescription($description)
    {
        $this->description = $description;
        return $this;
    }

Usage Example

예제 #1
0
 public static function createRefund()
 {
     $refund = new Refund();
     $refund->setAmount(AmountTest::createAmount());
     $refund->setCapture_id(self::$captureId);
     $refund->setCreate_time(self::$createTime);
     $refund->setDescription(self::$description);
     $refund->setId(self::$id);
     $refund->setLinks(array(LinkTest::createLink()));
     $refund->setParent_payment(self::$parentPayment);
     return $refund;
 }
All Usage Examples Of PayPal\Api\Refund::setDescription