Class: Stripe::SetupIntentUpdateParams::PaymentMethodOptions::Card

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

Defined Under Namespace

Classes: MandateOptions, ThreeDSecure

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

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

Constructor Details

#initialize(mandate_options: nil, moto: nil, network: nil, request_three_d_secure: nil, three_d_secure: nil) ⇒ Card

Returns a new instance of Card.



823
824
825
826
827
828
829
830
831
832
833
834
835
# File 'lib/stripe/params/setup_intent_update_params.rb', line 823

def initialize(
  mandate_options: nil,
  moto: nil,
  network: nil,
  request_three_d_secure: nil,
  three_d_secure: nil
)
  @mandate_options = mandate_options
  @moto = moto
  @network = network
  @request_three_d_secure = request_three_d_secure
  @three_d_secure = three_d_secure
end

Instance Attribute Details

#mandate_options ⇒ Object

Configuration options for setting up an eMandate for cards issued in India.



810
811
812
# File 'lib/stripe/params/setup_intent_update_params.rb', line 810

def mandate_options
  @mandate_options
end

#moto ⇒ Object

When specified, this parameter signals that a card has been collected as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This parameter can only be provided during confirmation.



814
815
816
# File 'lib/stripe/params/setup_intent_update_params.rb', line 814

def moto
  @moto
end

#network ⇒ Object

Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.



816
817
818
# File 'lib/stripe/params/setup_intent_update_params.rb', line 816

def network
  @network
end

#request_three_d_secure ⇒ Object

We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to automatic. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine.



818
819
820
# File 'lib/stripe/params/setup_intent_update_params.rb', line 818

def request_three_d_secure
  @request_three_d_secure
end

#three_d_secure ⇒ Object

If 3D Secure authentication was performed with a third-party provider, the authentication details to use for this setup.



821
822
823
# File 'lib/stripe/params/setup_intent_update_params.rb', line 821

def three_d_secure
  @three_d_secure
end