Class: Stripe::SetupIntentCreateParams::PaymentMethodOptions::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SetupIntentCreateParams::PaymentMethodOptions::Card
- Defined in:
- lib/stripe/params/setup_intent_create_params.rb
Defined Under Namespace
Classes: MandateOptions, ThreeDSecure
Instance Attribute Summary collapse
-
#mandate_options ⇒ Object
Configuration options for setting up an eMandate for cards issued in India.
-
#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.
-
#network ⇒ Object
Selected network to process this SetupIntent on.
-
#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.
-
#setup_credential_usage ⇒ Object
Set to indicate the future transaction type usage for the card being set up.
-
#three_d_secure ⇒ Object
If 3D Secure authentication was performed with a third-party provider, the authentication details to use for this setup.
Instance Method Summary collapse
-
#initialize(mandate_options: nil, moto: nil, network: nil, request_three_d_secure: nil, setup_credential_usage: nil, three_d_secure: nil) ⇒ Card
constructor
A new instance of Card.
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, setup_credential_usage: nil, three_d_secure: nil) ⇒ Card
Returns a new instance of Card.
878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 878 def initialize( mandate_options: nil, moto: nil, network: nil, request_three_d_secure: nil, setup_credential_usage: nil, three_d_secure: nil ) @mandate_options = @moto = moto @network = network @request_three_d_secure = request_three_d_secure @setup_credential_usage = setup_credential_usage @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.
863 864 865 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 863 def @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.
867 868 869 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 867 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.
869 870 871 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 869 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.
871 872 873 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 871 def request_three_d_secure @request_three_d_secure end |
#setup_credential_usage ⇒ Object
Set to indicate the future transaction type usage for the card being set up.
873 874 875 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 873 def setup_credential_usage @setup_credential_usage end |
#three_d_secure ⇒ Object
If 3D Secure authentication was performed with a third-party provider, the authentication details to use for this setup.
876 877 878 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 876 def three_d_secure @three_d_secure end |