PayPal\Api\DetailedRefund::getCustom PHP Method

getCustom() public method

free-form field for the use of clients
public getCustom ( ) : string
return string
    public function getCustom()
    {
        return $this->custom;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param DetailedRefund $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getCustom(), "TestSample");
     $this->assertEquals($obj->getInvoiceNumber(), "TestSample");
     $this->assertEquals($obj->getRefundToPayer(), CurrencyTest::getObject());
     $this->assertEquals($obj->getRefundToExternalFunding(), ExternalFundingTest::getObject());
     $this->assertEquals($obj->getRefundFromTransactionFee(), CurrencyTest::getObject());
     $this->assertEquals($obj->getRefundFromReceivedAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getTotalRefundedAmount(), CurrencyTest::getObject());
 }