PayPal\Api\PaymentTerm::getDueDate PHP Method

getDueDate() public method

The date when the invoice payment is due. This date must be a future date. Date format is *yyyy*-*MM*-*dd* *z*, as defined in Internet Date/Time Format.
public getDueDate ( ) : string
return string
    public function getDueDate()
    {
        return $this->due_date;
    }

Usage Example

コード例 #1
0
ファイル: PaymentTermTest.php プロジェクト: Roc4rdho/app
 /**
  * @depends testSerializationDeserialization
  * @param PaymentTerm $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getTermType(), "TestSample");
     $this->assertEquals($obj->getDueDate(), "TestSample");
 }