Class: Stripe::V2::Billing::Contract::PricingLines::Data::Pricing::PriceDetails::PricingOverrides::Data
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Billing::Contract::PricingLines::Data::Pricing::PriceDetails::PricingOverrides::Data
- Defined in:
- lib/stripe/resources/v2/billing/contract.rb
Defined Under Namespace
Classes: EndsAt, OverwritePrice, StartsAt
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#ends_at ⇒ Object
readonly
Timestamp when this override ends.
-
#id ⇒ Object
readonly
The ID of the pricing override.
-
#lookup_key ⇒ Object
readonly
The user-provided lookup key for this override.
-
#overwrite_price ⇒ Object
readonly
Details for an overwrite_price override.
-
#priority ⇒ Object
readonly
The priority of this override relative to others.
-
#starts_at ⇒ Object
readonly
Timestamp when this override starts.
-
#type ⇒ Object
readonly
The type of 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 when this override ends.
201 202 203 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 201 def ends_at @ends_at end |
#id ⇒ Object (readonly)
The ID of the pricing override.
203 204 205 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 203 def id @id end |
#lookup_key ⇒ Object (readonly)
The user-provided lookup key for this override.
205 206 207 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 205 def lookup_key @lookup_key end |
#overwrite_price ⇒ Object (readonly)
Details for an overwrite_price override.
207 208 209 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 207 def overwrite_price @overwrite_price end |
#priority ⇒ Object (readonly)
The priority of this override relative to others. Lower number = higher priority.
209 210 211 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 209 def priority @priority end |
#starts_at ⇒ Object (readonly)
Timestamp when this override starts.
211 212 213 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 211 def starts_at @starts_at end |
#type ⇒ Object (readonly)
The type of override.
213 214 215 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 213 def type @type end |
Class Method Details
.field_remappings ⇒ Object
223 224 225 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 223 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
215 216 217 218 219 220 221 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 215 def self.inner_class_types @inner_class_types = { ends_at: EndsAt, overwrite_price: OverwritePrice, starts_at: StartsAt, } end |