Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::CardPresent
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentMethodOptions::CardPresent
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Defined Under Namespace
Classes: Routing
Instance Attribute Summary collapse
-
#capture_method ⇒ Object
Controls when the funds are captured from the customer's account.
-
#request_extended_authorization ⇒ Object
Request ability to capture this payment beyond the standard authorization validity window.
-
#request_incremental_authorization_support ⇒ Object
Request ability to increment this PaymentIntent if the combination of MCC and card brand is eligible.
-
#routing ⇒ Object
Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
Instance Method Summary collapse
-
#initialize(capture_method: nil, request_extended_authorization: nil, request_incremental_authorization_support: nil, routing: nil) ⇒ CardPresent
constructor
A new instance of CardPresent.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, discriminator, discriminator_fields, field_encodings, new, #to_h
Constructor Details
#initialize(capture_method: nil, request_extended_authorization: nil, request_incremental_authorization_support: nil, routing: nil) ⇒ CardPresent
Returns a new instance of CardPresent.
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1503 def initialize( capture_method: nil, request_extended_authorization: nil, request_incremental_authorization_support: nil, routing: nil ) @capture_method = capture_method @request_extended_authorization = @request_incremental_authorization_support = @routing = routing end |
Instance Attribute Details
#capture_method ⇒ Object
Controls when the funds are captured from the customer's account.
If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If capture_method is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1495 1496 1497 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1495 def capture_method @capture_method end |
#request_extended_authorization ⇒ Object
Request ability to capture this payment beyond the standard authorization validity window
1497 1498 1499 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1497 def @request_extended_authorization end |
#request_incremental_authorization_support ⇒ Object
Request ability to increment this PaymentIntent if the combination of MCC and card brand is eligible. Check incremental_authorization_supported in the Confirm response to verify support.
1499 1500 1501 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1499 def @request_incremental_authorization_support end |
#routing ⇒ Object
Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
1501 1502 1503 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1501 def routing @routing end |