lib/killbill/gen/api/entitlement.rb in killbill-7.0.6 vs lib/killbill/gen/api/entitlement.rb in killbill-8.0.0
- old
+ new
@@ -32,11 +32,11 @@
java_package 'org.killbill.billing.entitlement.api'
class Entitlement
include org.killbill.billing.entitlement.api.Entitlement
- attr_accessor :id, :created_date, :updated_date, :base_entitlement_id, :bundle_id, :account_id, :external_key, :state, :source_type, :effective_start_date, :effective_end_date, :last_active_product, :last_active_plan, :last_active_phase, :last_active_price_list, :last_active_product_category
+ attr_accessor :id, :created_date, :updated_date, :base_entitlement_id, :bundle_id, :account_id, :external_key, :state, :source_type, :effective_start_date, :effective_end_date, :last_active_product, :last_active_plan, :last_active_phase, :last_active_price_list, :last_active_product_category, :bill_cycle_day_local
def initialize()
end
def to_java()
@@ -95,10 +95,13 @@
# conversion for last_active_price_list [type = org.killbill.billing.catalog.api.PriceList]
@last_active_price_list = @last_active_price_list.to_java unless @last_active_price_list.nil?
# conversion for last_active_product_category [type = org.killbill.billing.catalog.api.ProductCategory]
@last_active_product_category = Java::org.killbill.billing.catalog.api.ProductCategory.value_of( @last_active_product_category.to_s ) unless @last_active_product_category.nil?
+
+ # conversion for bill_cycle_day_local [type = java.lang.Integer]
+ @bill_cycle_day_local = @bill_cycle_day_local
self
end
def to_ruby(j_obj)
# conversion for id [type = java.util.UUID]
@@ -173,9 +176,12 @@
@last_active_price_list = Killbill::Plugin::Model::PriceList.new.to_ruby(@last_active_price_list) unless @last_active_price_list.nil?
# conversion for last_active_product_category [type = org.killbill.billing.catalog.api.ProductCategory]
@last_active_product_category = j_obj.last_active_product_category
@last_active_product_category = @last_active_product_category.to_s.to_sym unless @last_active_product_category.nil?
+
+ # conversion for bill_cycle_day_local [type = java.lang.Integer]
+ @bill_cycle_day_local = j_obj.bill_cycle_day_local
self
end
end
end