Class: Stripe::PaymentIntentCreateParams::PaymentDetails::Benefit

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.rb

Defined Under Namespace

Classes: FrMealVoucher

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(fr_meal_voucher: nil) ⇒ Benefit

Returns a new instance of Benefit.



306
307
308
# File 'lib/stripe/params/payment_intent_create_params.rb', line 306

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

Instance Attribute Details

#fr_meal_voucherObject

French meal voucher benefit details for this PaymentIntent.



304
305
306
# File 'lib/stripe/params/payment_intent_create_params.rb', line 304

def fr_meal_voucher
  @fr_meal_voucher
end