Class: Payment::StrategyResolver::CaptureOptions
- Inherits:
-
Data
- Object
- Data
- Payment::StrategyResolver::CaptureOptions
- Defined in:
- app/services/payment/strategy_resolver.rb
Instance Attribute Summary collapse
-
#final_capture ⇒ Object
readonly
Returns the value of attribute final_capture.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(final_capture: true, reason: nil) ⇒ CaptureOptions
constructor
A new instance of CaptureOptions.
Constructor Details
#initialize(final_capture: true, reason: nil) ⇒ CaptureOptions
Returns a new instance of CaptureOptions.
12 |
# File 'app/services/payment/strategy_resolver.rb', line 12 def initialize(final_capture: true, reason: nil) = super |
Instance Attribute Details
#final_capture ⇒ Object (readonly)
Returns the value of attribute final_capture
11 12 13 |
# File 'app/services/payment/strategy_resolver.rb', line 11 def final_capture @final_capture end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason
11 12 13 |
# File 'app/services/payment/strategy_resolver.rb', line 11 def reason @reason end |