killbill 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Jarfile +2 -2
- data/NEWS +3 -0
- data/VERSION +1 -1
- data/lib/killbill/gen/api/account_audit_logs.rb +20 -1
- data/lib/killbill/gen/api/invoice_user_api.rb +20 -0
- data/lib/killbill/gen/api/subscription_api.rb +37 -0
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 066bd71e55d9705a5bd8e7ebba0e43f11e1419cd
         | 
| 4 | 
            +
              data.tar.gz: 7523a51c0c79f4b190980f420f5a54875b014f74
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: f7f1623cd4243898630d260a46b4f463c90d62b4fd95f9ba8e21fcf0286914fac14678efb483b2a1243ea65c00e417bbd54984bdb2b20215613fa4fea4ad66ef
         | 
| 7 | 
            +
              data.tar.gz: 6cb7f6f6ba646d5996e6b797da7def1a976dadad0392e79216c4d3abbde648c63c44416b2c5a9234eccd15f4a436aa84eeb93fb44864ae73f1d1976b60bd4e22
         | 
    
        data/Jarfile
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 | 
            -
            jar 'com.ning.billing:killbill-api', '0.8. | 
| 1 | 
            +
            jar 'com.ning.billing:killbill-api', '0.8.1'
         | 
| 2 2 | 
             
            jar 'com.ning.billing.plugin:killbill-plugin-api-notification', '0.6.3'
         | 
| 3 3 | 
             
            jar 'com.ning.billing.plugin:killbill-plugin-api-payment', '0.6.3'
         | 
| 4 4 | 
             
            jar 'com.ning.billing.plugin:killbill-plugin-api-currency', '0.6.3'
         | 
| 5 | 
            -
            jar 'com.ning.billing:killbill-util:tests', '0.8. | 
| 5 | 
            +
            jar 'com.ning.billing:killbill-util:tests', '0.8.11'
         | 
| 6 6 | 
             
            jar 'javax.servlet:javax.servlet-api', '3.0.1'
         | 
    
        data/NEWS
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            2.0. | 
| 1 | 
            +
            2.0.1
         | 
| @@ -32,7 +32,7 @@ module Killbill | |
| 32 32 |  | 
| 33 33 | 
             
                    include com.ning.billing.util.audit.AccountAuditLogs
         | 
| 34 34 |  | 
| 35 | 
            -
                    attr_accessor :audit_logs_for_account, :audit_logs_for_bundle, :audit_logs_for_subscription, :audit_logs_for_subscription_event, :audit_logs_for_blocking_state, :audit_logs_for_invoice, :audit_logs_for_invoice_item, :audit_logs_for_invoice_payment, :audit_logs_for_payment, :audit_logs_for_refund, :audit_logs_for_chargeback, :audit_logs_for_tag, :audit_logs_for_custom_field, :audit_logs
         | 
| 35 | 
            +
                    attr_accessor :audit_logs_for_account, :audit_logs_for_bundle, :audit_logs_for_subscription, :audit_logs_for_subscription_event, :audit_logs_for_blocking_state, :audit_logs_for_invoice, :audit_logs_for_invoice_item, :audit_logs_for_invoice_payment, :audit_logs_for_payment, :audit_logs_for_payment_method, :audit_logs_for_refund, :audit_logs_for_chargeback, :audit_logs_for_tag, :audit_logs_for_custom_field, :audit_logs
         | 
| 36 36 |  | 
| 37 37 | 
             
                    def initialize()
         | 
| 38 38 | 
             
                    end
         | 
| @@ -119,6 +119,15 @@ module Killbill | |
| 119 119 | 
             
                      end
         | 
| 120 120 | 
             
                      @audit_logs_for_payment = tmp
         | 
| 121 121 |  | 
| 122 | 
            +
                      # conversion for audit_logs_for_payment_method [type = java.util.List]
         | 
| 123 | 
            +
                      tmp = java.util.ArrayList.new
         | 
| 124 | 
            +
                      (@audit_logs_for_payment_method || []).each do |m|
         | 
| 125 | 
            +
                        # conversion for m [type = com.ning.billing.util.audit.AuditLog]
         | 
| 126 | 
            +
                        m = m.to_java unless m.nil?
         | 
| 127 | 
            +
                        tmp.add(m)
         | 
| 128 | 
            +
                      end
         | 
| 129 | 
            +
                      @audit_logs_for_payment_method = tmp
         | 
| 130 | 
            +
             | 
| 122 131 | 
             
                      # conversion for audit_logs_for_refund [type = java.util.List]
         | 
| 123 132 | 
             
                      tmp = java.util.ArrayList.new
         | 
| 124 133 | 
             
                      (@audit_logs_for_refund || []).each do |m|
         | 
| @@ -251,6 +260,16 @@ module Killbill | |
| 251 260 | 
             
                      end
         | 
| 252 261 | 
             
                      @audit_logs_for_payment = tmp
         | 
| 253 262 |  | 
| 263 | 
            +
                      # conversion for audit_logs_for_payment_method [type = java.util.List]
         | 
| 264 | 
            +
                      @audit_logs_for_payment_method = j_obj.audit_logs_for_payment_method
         | 
| 265 | 
            +
                      tmp = []
         | 
| 266 | 
            +
                      (@audit_logs_for_payment_method || []).each do |m|
         | 
| 267 | 
            +
                        # conversion for m [type = com.ning.billing.util.audit.AuditLog]
         | 
| 268 | 
            +
                        m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
         | 
| 269 | 
            +
                        tmp << m
         | 
| 270 | 
            +
                      end
         | 
| 271 | 
            +
                      @audit_logs_for_payment_method = tmp
         | 
| 272 | 
            +
             | 
| 254 273 | 
             
                      # conversion for audit_logs_for_refund [type = java.util.List]
         | 
| 255 274 | 
             
                      @audit_logs_for_refund = j_obj.audit_logs_for_refund
         | 
| 256 275 | 
             
                      tmp = []
         | 
| @@ -74,6 +74,26 @@ module Killbill | |
| 74 74 | 
             
                      return res
         | 
| 75 75 | 
             
                    end
         | 
| 76 76 |  | 
| 77 | 
            +
                    java_signature 'Java::com.ning.billing.util.entity.Pagination searchInvoices(Java::java.lang.String, Java::java.lang.Long, Java::java.lang.Long, Java::com.ning.billing.util.callcontext.TenantContext)'
         | 
| 78 | 
            +
                    def search_invoices(searchKey, offset, limit, context)
         | 
| 79 | 
            +
             | 
| 80 | 
            +
                      # conversion for searchKey [type = java.lang.String]
         | 
| 81 | 
            +
                      searchKey = searchKey.to_s unless searchKey.nil?
         | 
| 82 | 
            +
             | 
| 83 | 
            +
                      # conversion for offset [type = java.lang.Long]
         | 
| 84 | 
            +
                      offset = offset
         | 
| 85 | 
            +
             | 
| 86 | 
            +
                      # conversion for limit [type = java.lang.Long]
         | 
| 87 | 
            +
                      limit = limit
         | 
| 88 | 
            +
             | 
| 89 | 
            +
                      # conversion for context [type = com.ning.billing.util.callcontext.TenantContext]
         | 
| 90 | 
            +
                      context = context.to_java unless context.nil?
         | 
| 91 | 
            +
                      res = @real_java_api.search_invoices(searchKey, offset, limit, context)
         | 
| 92 | 
            +
                      # conversion for res [type = com.ning.billing.util.entity.Pagination]
         | 
| 93 | 
            +
                      res = Killbill::Plugin::Model::Pagination.new.to_ruby(res) unless res.nil?
         | 
| 94 | 
            +
                      return res
         | 
| 95 | 
            +
                    end
         | 
| 96 | 
            +
             | 
| 77 97 | 
             
                    java_signature 'Java::java.math.BigDecimal getAccountBalance(Java::java.util.UUID, Java::com.ning.billing.util.callcontext.TenantContext)'
         | 
| 78 98 | 
             
                    def get_account_balance(accountId, context)
         | 
| 79 99 |  | 
| @@ -179,6 +179,43 @@ module Killbill | |
| 179 179 | 
             
                        raise Killbill::Plugin::Model::SubscriptionApiException.new.to_ruby(e)
         | 
| 180 180 | 
             
                      end
         | 
| 181 181 | 
             
                    end
         | 
| 182 | 
            +
             | 
| 183 | 
            +
                    java_signature 'Java::com.ning.billing.util.entity.Pagination getSubscriptionBundles(Java::java.lang.Long, Java::java.lang.Long, Java::com.ning.billing.util.callcontext.TenantContext)'
         | 
| 184 | 
            +
                    def get_subscription_bundles(offset, limit, context)
         | 
| 185 | 
            +
             | 
| 186 | 
            +
                      # conversion for offset [type = java.lang.Long]
         | 
| 187 | 
            +
                      offset = offset
         | 
| 188 | 
            +
             | 
| 189 | 
            +
                      # conversion for limit [type = java.lang.Long]
         | 
| 190 | 
            +
                      limit = limit
         | 
| 191 | 
            +
             | 
| 192 | 
            +
                      # conversion for context [type = com.ning.billing.util.callcontext.TenantContext]
         | 
| 193 | 
            +
                      context = context.to_java unless context.nil?
         | 
| 194 | 
            +
                      res = @real_java_api.get_subscription_bundles(offset, limit, context)
         | 
| 195 | 
            +
                      # conversion for res [type = com.ning.billing.util.entity.Pagination]
         | 
| 196 | 
            +
                      res = Killbill::Plugin::Model::Pagination.new.to_ruby(res) unless res.nil?
         | 
| 197 | 
            +
                      return res
         | 
| 198 | 
            +
                    end
         | 
| 199 | 
            +
             | 
| 200 | 
            +
                    java_signature 'Java::com.ning.billing.util.entity.Pagination searchSubscriptionBundles(Java::java.lang.String, Java::java.lang.Long, Java::java.lang.Long, Java::com.ning.billing.util.callcontext.TenantContext)'
         | 
| 201 | 
            +
                    def search_subscription_bundles(searchKey, offset, limit, context)
         | 
| 202 | 
            +
             | 
| 203 | 
            +
                      # conversion for searchKey [type = java.lang.String]
         | 
| 204 | 
            +
                      searchKey = searchKey.to_s unless searchKey.nil?
         | 
| 205 | 
            +
             | 
| 206 | 
            +
                      # conversion for offset [type = java.lang.Long]
         | 
| 207 | 
            +
                      offset = offset
         | 
| 208 | 
            +
             | 
| 209 | 
            +
                      # conversion for limit [type = java.lang.Long]
         | 
| 210 | 
            +
                      limit = limit
         | 
| 211 | 
            +
             | 
| 212 | 
            +
                      # conversion for context [type = com.ning.billing.util.callcontext.TenantContext]
         | 
| 213 | 
            +
                      context = context.to_java unless context.nil?
         | 
| 214 | 
            +
                      res = @real_java_api.search_subscription_bundles(searchKey, offset, limit, context)
         | 
| 215 | 
            +
                      # conversion for res [type = com.ning.billing.util.entity.Pagination]
         | 
| 216 | 
            +
                      res = Killbill::Plugin::Model::Pagination.new.to_ruby(res) unless res.nil?
         | 
| 217 | 
            +
                      return res
         | 
| 218 | 
            +
                    end
         | 
| 182 219 | 
             
                  end
         | 
| 183 220 | 
             
                end
         | 
| 184 221 | 
             
              end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: killbill
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.0. | 
| 4 | 
            +
              version: 2.0.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Kill Bill core team
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2014- | 
| 11 | 
            +
            date: 2014-02-03 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: sinatra
         |