Class: Stripe::V2::Billing::IntentAction::Modify

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

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_detailsObject (readonly)

Configuration for the billing details.



199
200
201
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 199

def billing_details
  @billing_details
end

#effective_atObject (readonly)

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



201
202
203
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 201

def effective_at
  @effective_at
end

#pricing_plan_subscription_detailsObject (readonly)

Details for modifying a Pricing Plan Subscription.



205
206
207
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 205

def pricing_plan_subscription_details
  @pricing_plan_subscription_details
end

#typeObject (readonly)

Type of the action details.



203
204
205
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 203

def type
  @type
end

Class Method Details

.field_remappingsObject



215
216
217
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 215

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



207
208
209
210
211
212
213
# File 'lib/stripe/resources/v2/billing/intent_action.rb', line 207

def self.inner_class_types
  @inner_class_types = {
    billing_details: BillingDetails,
    effective_at: EffectiveAt,
    pricing_plan_subscription_details: PricingPlanSubscriptionDetails,
  }
end