Class: Stripe::V2::Billing::Contract::ContractLineDetail::Override
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Billing::Contract::ContractLineDetail::Override
- Defined in:
- lib/stripe/resources/v2/billing/contract.rb
Defined Under Namespace
Classes: EndsAt, ServiceAction, StartsAt
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#ends_at ⇒ Object
readonly
Timestamp to indicate when the override ends.
-
#service_action ⇒ Object
readonly
Service action override details.
-
#starts_at ⇒ Object
readonly
Timestamp to indicate when the override starts.
-
#type ⇒ Object
readonly
The type of the override.
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?, 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
#ends_at ⇒ Object (readonly)
Timestamp to indicate when the override ends.
414 415 416 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 414 def ends_at @ends_at end |
#service_action ⇒ Object (readonly)
Service action override details.
416 417 418 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 416 def service_action @service_action end |
#starts_at ⇒ Object (readonly)
Timestamp to indicate when the override starts.
418 419 420 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 418 def starts_at @starts_at end |
#type ⇒ Object (readonly)
The type of the override.
420 421 422 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 420 def type @type end |
Class Method Details
.field_remappings ⇒ Object
430 431 432 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 430 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
422 423 424 425 426 427 428 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 422 def self.inner_class_types @inner_class_types = { ends_at: EndsAt, service_action: ServiceAction, starts_at: StartsAt, } end |