Class: Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping

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(amount_eligible: nil) ⇒ Tipping

Returns a new instance of Tipping.



219
220
221
# File 'lib/stripe/resources/terminal/reader.rb', line 219

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

Instance Attribute Details

#amount_eligibleObject

Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).



217
218
219
# File 'lib/stripe/resources/terminal/reader.rb', line 217

def amount_eligible
  @amount_eligible
end