Class: Stripe::OrderService::CreateParams::Payment

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/order_service.rb

Defined Under Namespace

Classes: Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(settings: nil) ⇒ Payment

Returns a new instance of Payment.



849
850
851
# File 'lib/stripe/services/order_service.rb', line 849

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

Instance Attribute Details

#settingsObject

Settings describing how the order should configure generated PaymentIntents.



847
848
849
# File 'lib/stripe/services/order_service.rb', line 847

def settings
  @settings
end