Skip to content
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 isDeleted() method to StripeObject #502

Merged
merged 1 commit into from
Jul 31, 2018

Conversation

ob-stripe
Copy link
Contributor

r? @brandur-stripe @remi-stripe
cc @stripe/api-libraries

Adds a isDeleted() method to StripeObject that returns true if the resource has been deleted and false otherwise.

This is similar to what we have in stripe-ruby: https://github.com/stripe/stripe-ruby/blob/ec66c3f0f44274f885de8d13de5dce2657932121/lib/stripe/stripe_object.rb#L99-L104

@ob-stripe ob-stripe merged commit 1a18afd into master Jul 31, 2018
@ob-stripe ob-stripe deleted the ob-stripe-object-is-deleted branch July 31, 2018 11:35
@ob-stripe
Copy link
Contributor Author

Released as 6.13.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants