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.
17 |
# File 'app/services/payment/strategy_resolver.rb', line 17 def initialize(final_capture: true, reason: nil) = super |
Instance Attribute Details
#final_capture ⇒ Object (readonly)
Returns the value of attribute final_capture
16 17 18 |
# File 'app/services/payment/strategy_resolver.rb', line 16 def final_capture @final_capture end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason
16 17 18 |
# File 'app/services/payment/strategy_resolver.rb', line 16 def reason @reason end |