| Server IP : 54.36.91.62 / Your IP : 216.73.217.94 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/plugins/djcatalog2payment/paypal/lib/PayPal/Api/ |
Upload File : |
<?php
namespace PayPal\Api;
use PayPal\Common\PayPalModel;
/**
* Class PaymentTerm
*
* The payment term of the invoice. If you specify `term_type`, you cannot specify `due_date` and vice versa.
*
* @package PayPal\Api
*
* @property string term_type
* @property string due_date
*/
class PaymentTerm extends PayPalModel
{
/**
* The terms by which the invoice payment is due.
* Valid Values: ["DUE_ON_RECEIPT", "DUE_ON_DATE_SPECIFIED", "NET_10", "NET_15", "NET_30", "NET_45", "NET_60", "NET_90", "NO_DUE_DATE"]
*
* @param string $term_type
*
* @return $this
*/
public function setTermType($term_type)
{
$this->term_type = $term_type;
return $this;
}
/**
* The terms by which the invoice payment is due.
*
* @return string
*/
public function getTermType()
{
return $this->term_type;
}
/**
* 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](http://tools.ietf.org/html/rfc3339#section-5.6).
*
* @param string $due_date
*
* @return $this
*/
public function setDueDate($due_date)
{
$this->due_date = $due_date;
return $this;
}
/**
* 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](http://tools.ietf.org/html/rfc3339#section-5.6).
*
* @return string
*/
public function getDueDate()
{
return $this->due_date;
}
}