Class: Stripe::V2::Billing::ContractCreateParams::PricingLine::Pricing::PriceDetails::PricingOverride::EndsAt

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



161
162
163
164
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 161

def initialize(timestamp: nil, type: nil)
  @timestamp = timestamp
  @type = type
end

Instance Attribute Details

#timestampObject

The timestamp when the item ends. Required if type is timestamp.



157
158
159
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 157

def timestamp
  @timestamp
end

#typeObject

The type of the ends_at.



159
160
161
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 159

def type
  @type
end