Class: Stripe::Terminal::ReaderPresentPaymentMethodParams::GiftCard
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::ReaderPresentPaymentMethodParams::GiftCard
- Defined in:
- lib/stripe/params/terminal/reader_present_payment_method_params.rb
Instance Attribute Summary collapse
-
#brand ⇒ Object
The brand of the gift card.
-
#track_2 ⇒ Object
Simulated track 2 data for the gift card payment method.
Instance Method Summary collapse
-
#initialize(brand: nil, track_2: nil) ⇒ GiftCard
constructor
A new instance of GiftCard.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(brand: nil, track_2: nil) ⇒ GiftCard
Returns a new instance of GiftCard.
40 41 42 43 |
# File 'lib/stripe/params/terminal/reader_present_payment_method_params.rb', line 40 def initialize(brand: nil, track_2: nil) @brand = brand @track_2 = track_2 end |
Instance Attribute Details
#brand ⇒ Object
The brand of the gift card.
36 37 38 |
# File 'lib/stripe/params/terminal/reader_present_payment_method_params.rb', line 36 def brand @brand end |
#track_2 ⇒ Object
Simulated track 2 data for the gift card payment method.
38 39 40 |
# File 'lib/stripe/params/terminal/reader_present_payment_method_params.rb', line 38 def track_2 @track_2 end |