{"action":"opened","issue":{"url":"https://api.github.com/repos/sportngin/active_zuora/issues/61","labels_url":"https://api.github.com/repos/sportngin/active_zuora/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/sportngin/active_zuora/issues/61/comments","events_url":"https://api.github.com/repos/sportngin/active_zuora/issues/61/events","html_url":"https://github.com/sportngin/active_zuora/issues/61","id":115314518,"number":61,"title":"Generate a preview for future Invoice - BillingPreview()","user":{"login":"bharad","id":143478,"avatar_url":"https://avatars.githubusercontent.com/u/143478?v=3","gravatar_id":"","url":"https://api.github.com/users/bharad","html_url":"https://github.com/bharad","followers_url":"https://api.github.com/users/bharad/followers","following_url":"https://api.github.com/users/bharad/following{/other_user}","gists_url":"https://api.github.com/users/bharad/gists{/gist_id}","starred_url":"https://api.github.com/users/bharad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharad/subscriptions","organizations_url":"https://api.github.com/users/bharad/orgs","repos_url":"https://api.github.com/users/bharad/repos","events_url":"https://api.github.com/users/bharad/events{/privacy}","received_events_url":"https://api.github.com/users/bharad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-05T15:59:45Z","updated_at":"2015-11-05T15:59:45Z","closed_at":null,"body":"Hello,\r\n\r\nI have been trying to test the BillingPreview () call and seems like there is no support in active_zuora. Are there any plans to include support for the same ?\r\n\r\nCurrently these seem to be the only options for anything related to BillingPreview\r\n[:BillingPreviewRequest, :BillingPreviewResult, :BillingPreviewRun]\r\n\r\nAlternatively, I tried to use the BillingPreviewRun instead\r\n\r\n2.2.0 :016 > bpr = ActiveZuora::BillingPreviewRun.new ({\"target_date\": \"2015-05-31\"})\r\n\r\n => #<ActiveZuora::BillingPreviewRun:0x007fc1412f2880 @id=nil, @batch=nil, @charge_type_to_exclude=nil, @created_by_id=nil, @created_date=nil, @end_date=nil, @error_message=nil, @including_evergreen_subscription=nil, @result_file_url=nil, @run_number=nil, @start_date=nil, @status=nil, @succeeded_accounts=nil, @target_date=Sun, 31 May 2015 00:00:00 +0000, @total_accounts=nil, @updated_by_id=nil, @updated_date=nil, @changed_attributes={\"target_date\"=>nil}>\r\n\r\nBut ended up getting this...\r\n\r\n2.2.0 :018 >   bpr.create\r\nNoMethodError: private method `create' called for #<ActiveZuora::BillingPreviewRun:0x007fc1412f2880>\r\n\r\nAppreciate any help or feedback on this issue. Thanks!"}}