forked from Wavyzz/dolibarr
Update Stripe lib to 10.7.0
This commit is contained in:
@@ -14,7 +14,7 @@ class CreditNoteService extends \Stripe\Service\AbstractService
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\Collection
|
||||
* @return \Stripe\Collection<\Stripe\CreditNote>
|
||||
*/
|
||||
public function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -32,7 +32,7 @@ class CreditNoteService extends \Stripe\Service\AbstractService
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\Collection
|
||||
* @return \Stripe\Collection<\Stripe\CreditNoteLineItem>
|
||||
*/
|
||||
public function allLines($parentId, $params = null, $opts = null)
|
||||
{
|
||||
@@ -98,11 +98,11 @@ class CreditNoteService extends \Stripe\Service\AbstractService
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\CreditNote
|
||||
* @return \Stripe\Collection<\Stripe\CreditNoteLineItem>
|
||||
*/
|
||||
public function previewLines($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('get', '/v1/credit_notes/preview/lines', $params, $opts);
|
||||
return $this->requestCollection('get', '/v1/credit_notes/preview/lines', $params, $opts);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user