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

entitlement operations are not available #60

sbrossie opened this Issue Jan 17, 2017 · 1 comment


None yet
2 participants
Copy link

sbrossie commented Jan 17, 2017

The generation code will create the methods for the KillbillApi classes, but will not do it interface that also export operations (e.g Entitlement). As a result those are generated as pure POJO and such operations are not available to plugins.

@sbrossie sbrossie added the bug label Jan 17, 2017


This comment has been minimized.

Copy link
Member Author

sbrossie commented Jan 17, 2017

In addition to that, calling simple methods on Entitlement object throws exceptions:

/var/tmp/bundles2/plugins/ruby/killbill-stripe/4.1.0/ROOT/gems/gems/killbill-8.3.0/lib/killbill/gen/api/product.rb:96:in `to_ruby'
/var/tmp/bundles2/plugins/ruby/killbill-stripe/4.1.0/ROOT/gems/gems/killbill-8.3.0/lib/killbill/gen/api/entitlement.rb:164:in `to_ruby'
/var/tmp/bundles2/plugins/ruby/killbill-stripe/4.1.0/ROOT/gems/gems/killbill-8.3.0/lib/killbill/gen/api/entitlement_api.rb:356:in `get_all_entitlements_for_account_id'
classpath:/jruby/java/java_ext/java.util.rb:7:in `each'

@pierre pierre added this to the Release-0.20.0 milestone Mar 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.