Class: Stripe::V2::Billing::ContractCreateParams::PricingLine::StartsAt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::PricingLine::StartsAt
- Defined in:
- lib/stripe/params/v2/billing/contract_create_params.rb
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
The timestamp when the item starts.
-
#type ⇒ Object
The type of the starts_at.
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.
545 546 547 548 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 545 def initialize(timestamp: nil, type: nil) @timestamp = @type = type end |
Instance Attribute Details
#timestamp ⇒ Object
The timestamp when the item starts. Required if ‘type` is `timestamp`.
541 542 543 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 541 def @timestamp end |
#type ⇒ Object
The type of the starts_at.
543 544 545 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 543 def type @type end |