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.
-
#metadata ⇒ Object
Metadata mutations to apply to the pricing override.
-
#starts_at ⇒ Object
The updated start time for the pricing override.
Instance Method Summary collapse
-
#initialize(ends_at: nil, id: nil, metadata: 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, metadata: nil, starts_at: nil) ⇒ Update
Returns a new instance of Update.
707 708 709 710 711 712 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 707 def initialize(ends_at: nil, id: nil, metadata: nil, starts_at: nil) @ends_at = ends_at @id = id @metadata = @starts_at = starts_at end |
Instance Attribute Details
#ends_at ⇒ Object
The updated end time for the pricing override.
699 700 701 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 699 def ends_at @ends_at end |
#id ⇒ Object
The ID of the pricing override.
701 702 703 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 701 def id @id end |
#metadata ⇒ Object
Metadata mutations to apply to the pricing override.
703 704 705 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 703 def @metadata end |
#starts_at ⇒ Object
The updated start time for the pricing override.
705 706 707 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 705 def starts_at @starts_at end |