PHP Class PayPal\Api\PaymentTerm

Inheritance: extends PayPal\Common\PPModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getDueDate ( ) : string 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.
getTermType ( ) : string The terms by which the invoice payment is due.
setDueDate ( string $due_date ) 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.
setTermType ( string $term_type ) The terms by which the invoice payment is due.

Method Details

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

getTermType() public method

The terms by which the invoice payment is due.
public getTermType ( ) : string
return string

setDueDate() 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 setDueDate ( string $due_date )
$due_date string

setTermType() public method

Valid Values: ["DUE_ON_RECEIPT", "DUE_ON_DATE_SPECIFIED", "NET_10", "NET_15", "NET_30", "NET_45", "NET_60", "NET_90", "NO_DUE_DATE"]
public setTermType ( string $term_type )
$term_type string