Skip to content

Commit

Permalink
Add support for Checkout sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
xxswingxx committed Mar 17, 2020
1 parent e70d7b6 commit fd4d2b6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "quaderno/quaderno",
"type": "library",
"description": "PHP wrapper for the Quaderno REST API",
"version": "1.6.4",
"version": "1.7.0",
"keywords": ["billing","receipts", "invoices", "stripe", "paypal", "braintree", "gocardless", "vat", "gst"],
"homepage": "https://github.com/quaderno/quaderno-php",
"license": "MIT",
Expand Down
15 changes: 15 additions & 0 deletions quaderno_checkout_session.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* Quaderno Invoice
*
* @package Quaderno PHP
* @author Quaderno <[email protected]>
* @copyright Copyright (c) 2017, Quaderno
* @license https://opensource.org/licenses/MIT The MIT License
*/

class QuadernoCheckoutSession extends QuadernoModel
{
static protected $model = 'checkout/sessions';
}
?>
1 change: 1 addition & 0 deletions quaderno_load.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
require_once $quaderno_script_path.'quaderno_contact.php';
require_once $quaderno_script_path.'quaderno_item.php';
require_once $quaderno_script_path.'quaderno_evidence.php';
require_once $quaderno_script_path.'quaderno_checkout_session.php';
require_once $quaderno_script_path.'quaderno_document.php';
require_once $quaderno_script_path.'quaderno_expense.php';
require_once $quaderno_script_path.'quaderno_estimate.php';
Expand Down

0 comments on commit fd4d2b6

Please sign in to comment.