Class: Stripe::V2::Billing::ContractUpdateParams::PricingOverrideAction::Update
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractUpdateParams::PricingOverrideAction::Update
- Defined in:
- lib/stripe/params/v2/billing/contract_update_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#ends_at ⇒ Object
The updated end time for the pricing override.
-
#id ⇒ Object
The ID of the pricing override.
-
#starts_at ⇒ Object
The updated start time for the pricing override.
Instance Method Summary collapse
-
#initialize(ends_at: nil, id: nil, starts_at: nil) ⇒ Update
constructor
A new instance of Update.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(ends_at: nil, id: nil, starts_at: nil) ⇒ Update
Returns a new instance of Update.
431 432 433 434 435 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 431 def initialize(ends_at: nil, id: nil, starts_at: nil) @ends_at = ends_at @id = id @starts_at = starts_at end |
Instance Attribute Details
#ends_at ⇒ Object
The updated end time for the pricing override.
425 426 427 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 425 def ends_at @ends_at end |
#id ⇒ Object
The ID of the pricing override.
427 428 429 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 427 def id @id end |
#starts_at ⇒ Object
The updated start time for the pricing override.
429 430 431 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 429 def starts_at @starts_at end |