From fb9e42eeb763cdd1088c34f50ee8cea5a31f7261 Mon Sep 17 00:00:00 2001 From: Faiber Rodriguez Date: Fri, 2 Feb 2024 16:10:51 -0500 Subject: [PATCH] Add RevRec POBs support --- lib/recurly.php | 2 ++ lib/recurly/client.php | 1 + lib/recurly/performance_obligation.php | 34 ++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 lib/recurly/performance_obligation.php diff --git a/lib/recurly.php b/lib/recurly.php index 4e429fe7..60d37841 100644 --- a/lib/recurly.php +++ b/lib/recurly.php @@ -77,6 +77,8 @@ require_once(__DIR__ . '/recurly/note.php'); require_once(__DIR__ . '/recurly/note_list.php'); require_once(__DIR__ . '/recurly/percentage_tier.php'); +require_once(__DIR__ . '/recurly/performance_obligation.php'); +require_once(__DIR__ . '/recurly/performance_obligation_list.php'); require_once(__DIR__ . '/recurly/plan.php'); require_once(__DIR__ . '/recurly/plan_list.php'); require_once(__DIR__ . '/recurly/ramp_interval.php'); diff --git a/lib/recurly/client.php b/lib/recurly/client.php index bd499fa9..a162bcff 100644 --- a/lib/recurly/client.php +++ b/lib/recurly/client.php @@ -94,6 +94,7 @@ class Recurly_Client const PATH_EXTERNAL_ACCOUNTS = 'external_accounts'; const PATH_BUSINESS_ENTITIES = 'business_entities'; const PATH_GENERAL_LEDGER_ACCOUNTS = 'general_ledger_accounts'; + const PATH_PERFORMANCE_OBLIGATIONS = 'performance_obligations'; /** * Create a new Recurly Client diff --git a/lib/recurly/performance_obligation.php b/lib/recurly/performance_obligation.php new file mode 100644 index 00000000..766ec85b --- /dev/null +++ b/lib/recurly/performance_obligation.php @@ -0,0 +1,34 @@ +