Class: Stripe::PaymentIntent::AutomaticPaymentMethods

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, 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_redirectsObject (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](stripe.com/docs/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.



40
41
42
# File 'lib/stripe/resources/payment_intent.rb', line 40

def allow_redirects
  @allow_redirects
end

#enabledObject (readonly)

Automatically calculates compatible payment methods



42
43
44
# File 'lib/stripe/resources/payment_intent.rb', line 42

def enabled
  @enabled
end