Class: Stripe::Terminal::ReaderProcessPaymentIntentParams::ProcessConfig::Tipping
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::ReaderProcessPaymentIntentParams::ProcessConfig::Tipping
- Defined in:
- lib/stripe/params/terminal/reader_process_payment_intent_params.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.
12 13 14 |
# File 'lib/stripe/params/terminal/reader_process_payment_intent_params.rb', line 12 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).
10 11 12 |
# File 'lib/stripe/params/terminal/reader_process_payment_intent_params.rb', line 10 def amount_eligible @amount_eligible end |