diff --git a/.changeset/real-rules-peel.md b/.changeset/real-rules-peel.md new file mode 100644 index 00000000..df2dc895 --- /dev/null +++ b/.changeset/real-rules-peel.md @@ -0,0 +1,5 @@ +--- +"@rebilly/client-php": patch +--- + +fix(api-definitions): Add missing cancel category entries Rebilly/rebilly#6146 diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index df3291aa..ae63506e 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -66,6 +66,8 @@ class Subscription implements SubscriptionOrOneTimeSale public const CANCEL_CATEGORY_BILLING_FAILURE = 'billing-failure'; + public const CANCEL_CATEGORY_DELINQUENCY = 'delinquency'; + public const CANCEL_CATEGORY_DID_NOT_USE = 'did-not-use'; public const CANCEL_CATEGORY_DID_NOT_WANT = 'did-not-want'; @@ -86,6 +88,8 @@ class Subscription implements SubscriptionOrOneTimeSale public const CANCEL_CATEGORY_SWITCHED_PLAN = 'switched-plan'; + public const CANCEL_CATEGORY_ORGANIZATION_DEACTIVATED = 'organization-deactivated'; + public const CANCEL_CATEGORY_OTHER = 'other'; public const CANCEL_CATEGORY_NULL = 'null';