PayPal\Api\PaymentTerm::getDueDate PHP Метод

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

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
Результат string
    public function getDueDate()
    {
        return $this->due_date;
    }

Usage Example

Пример #1
0
 /**
  * @depends testSerializationDeserialization
  * @param PaymentTerm $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getTermType(), "TestSample");
     $this->assertEquals($obj->getDueDate(), "TestSample");
 }