Class: Stripe::PaymentIntent::AutomaticPaymentMethods
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentIntent::AutomaticPaymentMethods
- Defined in:
- lib/stripe/resources/payment_intent.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#allow_redirects ⇒ Object
readonly
Controls whether this PaymentIntent will accept redirect-based payment methods.
-
#enabled ⇒ Object
readonly
Automatically calculates compatible payment methods.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#allow_redirects ⇒ Object (readonly)
Controls whether this PaymentIntent will accept redirect-based payment methods.
Redirect-based payment methods may require your customer to be redirected to a payment method’s app or site for authentication or additional steps. To [confirm](docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a return_url to redirect customers back to your site after they authenticate or complete the payment.
118 119 120 |
# File 'lib/stripe/resources/payment_intent.rb', line 118 def allow_redirects @allow_redirects end |
#enabled ⇒ Object (readonly)
Automatically calculates compatible payment methods
120 121 122 |
# File 'lib/stripe/resources/payment_intent.rb', line 120 def enabled @enabled end |
Class Method Details
.field_remappings ⇒ Object
126 127 128 |
# File 'lib/stripe/resources/payment_intent.rb', line 126 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
122 123 124 |
# File 'lib/stripe/resources/payment_intent.rb', line 122 def self.inner_class_types @inner_class_types = {} end |