forked from LiveCarta/PayPal-PHP-SDK
Updated Invoicing APIs
- Updated Model objects. - Updated Samples. - Updated Tests.
This commit is contained in:
@@ -7,7 +7,7 @@ use PayPal\Common\PayPalModel;
|
||||
/**
|
||||
* Class PaymentTerm
|
||||
*
|
||||
* Payment term of the invoice. If term_type is present, due_date must not be present and vice versa.
|
||||
* The payment term of the invoice. If you specify `term_type`, you cannot specify `due_date` and vice versa.
|
||||
*
|
||||
* @package PayPal\Api
|
||||
*
|
||||
@@ -17,8 +17,8 @@ use PayPal\Common\PayPalModel;
|
||||
class PaymentTerm extends PayPalModel
|
||||
{
|
||||
/**
|
||||
* Terms by which the invoice payment is due.
|
||||
* Valid Values: ["DUE_ON_RECEIPT", "NET_10", "NET_15", "NET_30", "NET_45"]
|
||||
* 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
|
||||
*
|
||||
@@ -31,7 +31,7 @@ class PaymentTerm extends PayPalModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Terms by which the invoice payment is due.
|
||||
* The terms by which the invoice payment is due.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -41,7 +41,7 @@ class PaymentTerm extends PayPalModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Date on which invoice payment is due. It must be always a future date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* 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
|
||||
*
|
||||
@@ -54,7 +54,7 @@ class PaymentTerm extends PayPalModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Date on which invoice payment is due. It must be always a future date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* 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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user