Class: Stripe::Terminal::Reader::RefundPaymentParams::RefundPaymentConfig

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/terminal/reader.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.



289
290
291
# File 'lib/stripe/resources/terminal/reader.rb', line 289

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.



287
288
289
# File 'lib/stripe/resources/terminal/reader.rb', line 287

def enable_customer_cancellation
  @enable_customer_cancellation
end