Skip to content

Commit

Permalink
chore: update SDK from api-definitions (#702)
Browse files Browse the repository at this point in the history
Co-authored-by: rebilly-machine-user <[email protected]>
  • Loading branch information
rebilly-machine-user and rebilly-machine-user authored Jun 25, 2024
1 parent 5c78acc commit 8387805
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/real-rules-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

fix(api-definitions): Add missing cancel category entries Rebilly/rebilly#6146
4 changes: 4 additions & 0 deletions src/Model/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down

0 comments on commit 8387805

Please sign in to comment.