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

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

Defined Under Namespace

Classes: CustomerUpdate, InvoiceHistory, PaymentMethodUpdate, SubscriptionCancel, SubscriptionUpdate

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

#customer_updateObject (readonly)

Attribute for field customer_update



191
192
193
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 191

def customer_update
  @customer_update
end

#invoice_historyObject (readonly)

Attribute for field invoice_history



193
194
195
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 193

def invoice_history
  @invoice_history
end

#payment_method_updateObject (readonly)

Attribute for field payment_method_update



195
196
197
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 195

def payment_method_update
  @payment_method_update
end

#subscription_cancelObject (readonly)

Attribute for field subscription_cancel



197
198
199
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 197

def subscription_cancel
  @subscription_cancel
end

#subscription_updateObject (readonly)

Attribute for field subscription_update



199
200
201
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 199

def subscription_update
  @subscription_update
end

Class Method Details

.field_remappingsObject



211
212
213
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 211

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



201
202
203
204
205
206
207
208
209
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 201

def self.inner_class_types
  @inner_class_types = {
    customer_update: CustomerUpdate,
    invoice_history: InvoiceHistory,
    payment_method_update: PaymentMethodUpdate,
    subscription_cancel: SubscriptionCancel,
    subscription_update: SubscriptionUpdate,
  }
end