Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Update::StartsAt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Update::StartsAt
- Defined in:
- lib/stripe/params/v2/billing/contract_update_params.rb
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
The timestamp when the item starts.
-
#type ⇒ Object
The type of start time to apply.
Instance Method Summary collapse
-
#initialize(timestamp: nil, type: nil) ⇒ StartsAt
constructor
A new instance of StartsAt.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(timestamp: nil, type: nil) ⇒ StartsAt
Returns a new instance of StartsAt.
169 170 171 172 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 169 def initialize(timestamp: nil, type: nil) @timestamp = @type = type end |
Instance Attribute Details
#timestamp ⇒ Object
The timestamp when the item starts.
165 166 167 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 165 def @timestamp end |
#type ⇒ Object
The type of start time to apply.
167 168 169 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 167 def type @type end |