Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Update
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::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 line.
-
#id ⇒ Object
The ID of the pricing line.
-
#starts_at ⇒ Object
The updated start time for the pricing line.
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.
181 182 183 184 185 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 181 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 line.
175 176 177 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 175 def ends_at @ends_at end |
#id ⇒ Object
The ID of the pricing line.
177 178 179 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 177 def id @id end |
#starts_at ⇒ Object
The updated start time for the pricing line.
179 180 181 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 179 def starts_at @starts_at end |