Class: Stripe::SubscriptionSchedule::Phase::Discount::Settings

Inherits:
Stripe::StripeObject show all
Defined in:
lib/stripe/resources/subscription_schedule.rb

Defined Under Namespace

Classes: ServicePeriodAnchorConfig

Constant Summary

Constants inherited from Stripe::StripeObject

Stripe::StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from Stripe::StripeObject

#last_response

Class Method Summary collapse

Methods inherited from Stripe::StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #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

#service_period_anchor_configObject (readonly)

Attribute for field service_period_anchor_config



486
487
488
# File 'lib/stripe/resources/subscription_schedule.rb', line 486

def service_period_anchor_config
  @service_period_anchor_config
end

#start_dateObject (readonly)

The start date of the discount’s service period when applying a coupon or promotion code with a service period duration.



488
489
490
# File 'lib/stripe/resources/subscription_schedule.rb', line 488

def start_date
  @start_date
end

Class Method Details

.field_remappingsObject



494
495
496
# File 'lib/stripe/resources/subscription_schedule.rb', line 494

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



490
491
492
# File 'lib/stripe/resources/subscription_schedule.rb', line 490

def self.inner_class_types
  @inner_class_types = { service_period_anchor_config: ServicePeriodAnchorConfig }
end