Class: Stripe::V2::Billing::IntentAction::Deactivate

Inherits:
StripeObject
  • Object
show all
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

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, 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_detailsObject (readonly)

Configuration for the billing details.



58
59
60
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 58

def billing_details
  @billing_details
end

#effective_atObject (readonly)

When the deactivate action will take effect. If not specified, the default behavior is on_reserve.



60
61
62
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 60

def effective_at
  @effective_at
end

#pricing_plan_subscription_detailsObject (readonly)

Details for deactivating a Pricing Plan Subscription.



64
65
66
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 64

def pricing_plan_subscription_details
  @pricing_plan_subscription_details
end

#typeObject (readonly)

Type of the action details.



62
63
64
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 62

def type
  @type
end