Class: Stripe::V2::Billing::ContractCreateParams::PricingLine::EndsAt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::PricingLine::EndsAt
- Defined in:
- lib/stripe/params/v2/billing/contract_create_params.rb
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
The timestamp when the item ends.
-
#type ⇒ Object
The type of the ends_at.
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.
510 511 512 513 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 510 def initialize(timestamp: nil, type: nil) @timestamp = @type = type end |
Instance Attribute Details
#timestamp ⇒ Object
The timestamp when the item ends. Required if ‘type` is `timestamp`.
506 507 508 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 506 def @timestamp end |
#type ⇒ Object
The type of the ends_at.
508 509 510 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 508 def type @type end |