Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Update::EndsAt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Update::EndsAt
- Defined in:
- lib/stripe/params/v2/billing/contract_update_params.rb
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
The timestamp when the item ends.
-
#type ⇒ Object
The type of end time to apply.
Instance Method Summary collapse
-
#initialize(timestamp: nil, type: nil) ⇒ EndsAt
constructor
A new instance of EndsAt.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(timestamp: nil, type: nil) ⇒ EndsAt
Returns a new instance of EndsAt.
157 158 159 160 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 157 def initialize(timestamp: nil, type: nil) @timestamp = @type = type end |
Instance Attribute Details
#timestamp ⇒ Object
The timestamp when the item ends.
153 154 155 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 153 def @timestamp end |
#type ⇒ Object
The type of end time to apply.
155 156 157 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 155 def type @type end |