Skip to content

Commit

Permalink
Merge pull request #960 from stripe/richardm-add-subscription-enums
Browse files Browse the repository at this point in the history
Add PAYMENT_BEHAVIOR enum to Subscription resource
  • Loading branch information
remi-stripe authored Jun 25, 2020
2 parents 65264ca + c8a1949 commit c0f220c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ class Subscription extends ApiResource
use ApiOperations\Retrieve;
use ApiOperations\Update;

const PAYMENT_BEHAVIOR_ALLOW_INCOMPLETE = 'allow_incomplete';
const PAYMENT_BEHAVIOR_ERROR_IF_INCOMPLETE = 'error_if_incomplete';
const PAYMENT_BEHAVIOR_PENDING_IF_INCOMPLETE = 'pending_if_incomplete';

const STATUS_ACTIVE = 'active';
const STATUS_CANCELED = 'canceled';
const STATUS_INCOMPLETE = 'incomplete';
Expand Down

0 comments on commit c0f220c

Please sign in to comment.