Class: Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping
- Defined in:
- lib/stripe/resources/terminal/reader.rb
Instance Attribute Summary collapse
-
#amount_eligible ⇒ Object
Amount used to calculate tip suggestions on tipping selection screen for this transaction.
Instance Method Summary collapse
-
#initialize(amount_eligible: nil) ⇒ Tipping
constructor
A new instance of Tipping.
Methods inherited from RequestParams
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_eligible ⇒ Object
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 |