Class: Stripe::Terminal::ReaderRefundPaymentParams::RefundPaymentConfig

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



11
12
13
# File 'lib/stripe/params/terminal/reader_refund_payment_params.rb', line 11

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.



9
10
11
# File 'lib/stripe/params/terminal/reader_refund_payment_params.rb', line 9

def enable_customer_cancellation
  @enable_customer_cancellation
end