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.
698 699 700 701 702 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 698 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.
692 693 694 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 692 def ends_at @ends_at end |
#id ⇒ Object
The ID of the pricing override.
694 695 696 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 694 def id @id end |
#starts_at ⇒ Object
The updated start time for the pricing override.
696 697 698 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 696 def starts_at @starts_at end |