-
Notifications
You must be signed in to change notification settings - Fork 850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new constants for collection_method on Invoice #674
Conversation
const BILLING_REASON_SUBSCRIPTION_CREATE = 'subscription_create'; | ||
const BILLING_REASON_SUBSCRIPTION_CYCLE = 'subscription_cycle'; | ||
const BILLING_REASON_SUBSCRIPTION_UPDATE = 'subscription_update'; | ||
const BILLING_REASON_SUBSCRIPTION_THRESHOLD = 'subscription_threshold'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nitpick: Looks like it was carried over from before, but minor misalphabetization here ("U" before "T").
* @link https://stripe.com/docs/api/invoices/object#invoice_object-collection_method | ||
*/ | ||
const COLLECTION_METHOD_SEND_INVOICE = 'send_invoice'; | ||
const COLLECTION_METHOD_CHARGE_AUTOMATICALLY = 'charge_automatically'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(And same down here.)
60642a4
to
fc0c33f
Compare
fc0c33f
to
8b56389
Compare
@brandur-stripe Nice catch. I think I fixed all of them. PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
r? @ob-stripe
cc @stripe/api-libraries