Class: Stripe::V2::Billing::IntentAction::Subscribe
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Billing::IntentAction::Subscribe
- Defined in:
- lib/stripe/resources/v2/billing/intent_action.rb
Defined Under Namespace
Classes: BillingDetails, EffectiveAt, PricingPlanSubscriptionDetails, V1SubscriptionDetails
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#billing_details ⇒ Object
readonly
Configuration for the billing details.
-
#effective_at ⇒ Object
readonly
When the subscribe action will take effect.
-
#pricing_plan_subscription_details ⇒ Object
readonly
Details for subscribing to a Pricing Plan.
-
#type ⇒ Object
readonly
Type of the action details.
-
#v1_subscription_details ⇒ Object
readonly
Details for subscribing to a V1 subscription.
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
#billing_details ⇒ Object (readonly)
Configuration for the billing details. If not specified, see the default behavior for individual attributes.
335 336 337 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 335 def billing_details @billing_details end |
#effective_at ⇒ Object (readonly)
When the subscribe action will take effect. If not specified, the default behavior is on_reserve.
337 338 339 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 337 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object (readonly)
Details for subscribing to a Pricing Plan.
341 342 343 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 341 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object (readonly)
Type of the action details.
339 340 341 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 339 def type @type end |
#v1_subscription_details ⇒ Object (readonly)
Details for subscribing to a V1 subscription.
343 344 345 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 343 def v1_subscription_details @v1_subscription_details end |
Class Method Details
.field_remappings ⇒ Object
354 355 356 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 354 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
345 346 347 348 349 350 351 352 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 345 def self.inner_class_types @inner_class_types = { billing_details: BillingDetails, effective_at: EffectiveAt, pricing_plan_subscription_details: PricingPlanSubscriptionDetails, v1_subscription_details: V1SubscriptionDetails, } end |