Skip to content

Commit

Permalink
Merge pull request #1050 from nickdnk/master
Browse files Browse the repository at this point in the history
Added proration behavior constants
  • Loading branch information
richardm-stripe committed Nov 19, 2020
2 parents 7835578 + 9e99d09 commit 1c3da2a
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 @@ -58,6 +58,10 @@ class Subscription extends ApiResource
const PAYMENT_BEHAVIOR_ERROR_IF_INCOMPLETE = 'error_if_incomplete';
const PAYMENT_BEHAVIOR_PENDING_IF_INCOMPLETE = 'pending_if_incomplete';

const PRORATION_BEHAVIOR_ALWAYS_INVOICE = 'always_invoice';
const PRORATION_BEHAVIOR_CREATE_PRORATIONS = 'create_prorations';
const PRORATION_BEHAVIOR_NONE = 'none';

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

0 comments on commit 1c3da2a

Please sign in to comment.