Class: Stripe::V2::Billing::IntentAction::Deactivate
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Billing::IntentAction::Deactivate
- Defined in:
- lib/stripe/resources/v2/billing/intent_action.rb
Defined Under Namespace
Classes: BillingDetails, EffectiveAt, PricingPlanSubscriptionDetails
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 deactivate action will take effect.
-
#pricing_plan_subscription_details ⇒ Object
readonly
Details for deactivating a Pricing Plan Subscription.
-
#type ⇒ Object
readonly
Type of the action details.
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.
114 115 116 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 114 def billing_details @billing_details end |
#effective_at ⇒ Object (readonly)
When the deactivate action will take effect. If not specified, the default behavior is on_reserve.
116 117 118 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 116 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object (readonly)
Details for deactivating a Pricing Plan Subscription.
120 121 122 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 120 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object (readonly)
Type of the action details.
118 119 120 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 118 def type @type end |
Class Method Details
.field_remappings ⇒ Object
130 131 132 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 130 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
122 123 124 125 126 127 128 |
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 122 def self.inner_class_types @inner_class_types = { billing_details: BillingDetails, effective_at: EffectiveAt, pricing_plan_subscription_details: PricingPlanSubscriptionDetails, } end |