Class: Killbill::Plugin::Model::PaymentPluginApiException
- Defined in:
- lib/killbill/gen/plugin-api/payment_plugin_api_exception.rb
Instance Attribute Summary collapse
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#error_type ⇒ Object
Returns the value of attribute error_type.
Instance Method Summary collapse
-
#initialize ⇒ PaymentPluginApiException
constructor
A new instance of PaymentPluginApiException.
- #to_java ⇒ Object
- #to_ruby(j_obj) ⇒ Object
Constructor Details
#initialize ⇒ PaymentPluginApiException
Returns a new instance of PaymentPluginApiException.
37 38 |
# File 'lib/killbill/gen/plugin-api/payment_plugin_api_exception.rb', line 37 def initialize() end |
Instance Attribute Details
#error_message ⇒ Object
Returns the value of attribute error_message.
35 36 37 |
# File 'lib/killbill/gen/plugin-api/payment_plugin_api_exception.rb', line 35 def end |
#error_type ⇒ Object
Returns the value of attribute error_type.
35 36 37 |
# File 'lib/killbill/gen/plugin-api/payment_plugin_api_exception.rb', line 35 def error_type @error_type end |
Instance Method Details
#to_java ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'lib/killbill/gen/plugin-api/payment_plugin_api_exception.rb', line 40 def to_java() # conversion for error_type [type = java.lang.String] @error_type = @error_type.to_s unless @error_type.nil? # conversion for error_message [type = java.lang.String] = .to_s unless .nil? Java::org.killbill.billing.payment.plugin.api.PaymentPluginApiException.new(@error_type, ) end |
#to_ruby(j_obj) ⇒ Object
49 50 51 52 53 54 55 56 |
# File 'lib/killbill/gen/plugin-api/payment_plugin_api_exception.rb', line 49 def to_ruby(j_obj) # conversion for error_type [type = java.lang.String] @error_type = j_obj.error_type # conversion for error_message [type = java.lang.String] = j_obj. self end |