Class: Stripe::BillingPortal::Session::Flow

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/billing_portal/session.rb

Defined Under Namespace

Classes: AfterCompletion, SubscriptionCancel, SubscriptionUpdate, SubscriptionUpdateConfirm

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

#after_completionObject (readonly)

Attribute for field after_completion



93
94
95
# File 'lib/stripe/resources/billing_portal/session.rb', line 93

def after_completion
  @after_completion
end

#subscription_cancelObject (readonly)

Configuration when ‘flow.type=subscription_cancel`.



95
96
97
# File 'lib/stripe/resources/billing_portal/session.rb', line 95

def subscription_cancel
  @subscription_cancel
end

#subscription_updateObject (readonly)

Configuration when ‘flow.type=subscription_update`.



97
98
99
# File 'lib/stripe/resources/billing_portal/session.rb', line 97

def subscription_update
  @subscription_update
end

#subscription_update_confirmObject (readonly)

Configuration when ‘flow.type=subscription_update_confirm`.



99
100
101
# File 'lib/stripe/resources/billing_portal/session.rb', line 99

def subscription_update_confirm
  @subscription_update_confirm
end

#typeObject (readonly)

Type of flow that the customer will go through.



101
102
103
# File 'lib/stripe/resources/billing_portal/session.rb', line 101

def type
  @type
end