Class: Stripe::BillingPortal::Configuration::Features::PaymentMethodUpdate

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/billing_portal/configuration.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

#enabledObject (readonly)

Whether the feature is enabled.



65
66
67
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 65

def enabled
  @enabled
end

#payment_method_configurationObject (readonly)

The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set, the default payment method configuration is used.



67
68
69
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 67

def payment_method_configuration
  @payment_method_configuration
end

Class Method Details

.field_remappingsObject



73
74
75
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 73

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



69
70
71
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 69

def self.inner_class_types
  @inner_class_types = {}
end