Class: Killbill::Plugin::Model::OnSuccessPaymentControlResult
- Defined in:
- lib/killbill/gen/plugin-api/on_success_payment_control_result.rb
Instance Attribute Summary collapse
-
#adjusted_plugin_properties ⇒ Object
Returns the value of attribute adjusted_plugin_properties.
Instance Method Summary collapse
-
#initialize ⇒ OnSuccessPaymentControlResult
constructor
A new instance of OnSuccessPaymentControlResult.
- #to_java ⇒ Object
- #to_ruby(j_obj) ⇒ Object
Constructor Details
#initialize ⇒ OnSuccessPaymentControlResult
Returns a new instance of OnSuccessPaymentControlResult.
39 40 |
# File 'lib/killbill/gen/plugin-api/on_success_payment_control_result.rb', line 39 def initialize() end |
Instance Attribute Details
#adjusted_plugin_properties ⇒ Object
Returns the value of attribute adjusted_plugin_properties.
37 38 39 |
# File 'lib/killbill/gen/plugin-api/on_success_payment_control_result.rb', line 37 def adjusted_plugin_properties @adjusted_plugin_properties end |
Instance Method Details
#to_java ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/killbill/gen/plugin-api/on_success_payment_control_result.rb', line 42 def to_java() # conversion for adjusted_plugin_properties [type = java.lang.Iterable] tmp = java.util.ArrayList.new (@adjusted_plugin_properties || []).each do |m| # conversion for m [type = org.killbill.billing.payment.api.PluginProperty] m = m.to_java unless m.nil? tmp.add(m) end @adjusted_plugin_properties = tmp self end |
#to_ruby(j_obj) ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/killbill/gen/plugin-api/on_success_payment_control_result.rb', line 54 def to_ruby(j_obj) # conversion for adjusted_plugin_properties [type = java.lang.Iterable] @adjusted_plugin_properties = j_obj.adjusted_plugin_properties tmp = [] (@adjusted_plugin_properties.nil? ? [] : @adjusted_plugin_properties.iterator).each do |m| # conversion for m [type = org.killbill.billing.payment.api.PluginProperty] m = Killbill::Plugin::Model::PluginProperty.new.to_ruby(m) unless m.nil? tmp << m end @adjusted_plugin_properties = tmp self end |