Class: Stripe::TestHelpers::Terminal::ReaderPresentPaymentMethodParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Terminal::ReaderPresentPaymentMethodParams
- Defined in:
- lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb
Defined Under Namespace
Classes: Card, CardPresent, InteracPresent
Instance Attribute Summary collapse
-
#amount_tip ⇒ Object
Simulated on-reader tip amount.
-
#card ⇒ Object
Simulated data for the card payment method.
-
#card_present ⇒ Object
Simulated data for the card_present payment method.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#interac_present ⇒ Object
Simulated data for the interac_present payment method.
-
#type ⇒ Object
Simulated payment type.
Instance Method Summary collapse
-
#initialize(amount_tip: nil, card: nil, card_present: nil, expand: nil, interac_present: nil, type: nil) ⇒ ReaderPresentPaymentMethodParams
constructor
A new instance of ReaderPresentPaymentMethodParams.
Methods inherited from RequestParams
Constructor Details
#initialize(amount_tip: nil, card: nil, card_present: nil, expand: nil, interac_present: nil, type: nil) ⇒ ReaderPresentPaymentMethodParams
Returns a new instance of ReaderPresentPaymentMethodParams.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb', line 56 def initialize( amount_tip: nil, card: nil, card_present: nil, expand: nil, interac_present: nil, type: nil ) @amount_tip = amount_tip @card = card @card_present = card_present @expand = @interac_present = interac_present @type = type end |
Instance Attribute Details
#amount_tip ⇒ Object
Simulated on-reader tip amount.
44 45 46 |
# File 'lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb', line 44 def amount_tip @amount_tip end |
#card ⇒ Object
Simulated data for the card payment method.
46 47 48 |
# File 'lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb', line 46 def card @card end |
#card_present ⇒ Object
Simulated data for the card_present payment method.
48 49 50 |
# File 'lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb', line 48 def card_present @card_present end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
50 51 52 |
# File 'lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb', line 50 def @expand end |
#interac_present ⇒ Object
Simulated data for the interac_present payment method.
52 53 54 |
# File 'lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb', line 52 def interac_present @interac_present end |
#type ⇒ Object
Simulated payment type.
54 55 56 |
# File 'lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb', line 54 def type @type end |