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

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_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.



101
102
103
# File 'lib/stripe/resources/payment_intent.rb', line 101

def allow_redirects
  @allow_redirects
end

#enabledObject (readonly)

Automatically calculates compatible payment methods



103
104
105
# File 'lib/stripe/resources/payment_intent.rb', line 103

def enabled
  @enabled
end

Class Method Details

.field_remappingsObject



109
110
111
# File 'lib/stripe/resources/payment_intent.rb', line 109

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



105
106
107
# File 'lib/stripe/resources/payment_intent.rb', line 105

def self.inner_class_types
  @inner_class_types = {}
end