Class: Stripe::Terminal::ReaderService::RefundPaymentParams::RefundPaymentConfig

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/terminal/reader_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(enable_customer_cancellation: nil) ⇒ RefundPaymentConfig

Returns a new instance of RefundPaymentConfig.



185
186
187
# File 'lib/stripe/services/terminal/reader_service.rb', line 185

def initialize(enable_customer_cancellation: nil)
  @enable_customer_cancellation = enable_customer_cancellation
end

Instance Attribute Details

#enable_customer_cancellationObject

Enables cancel button on transaction screens.



183
184
185
# File 'lib/stripe/services/terminal/reader_service.rb', line 183

def enable_customer_cancellation
  @enable_customer_cancellation
end