Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Add::Pricing::PriceDetails::PricingOverride::EndsAt

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_update_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.



31
32
33
34
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 31

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.



27
28
29
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 27

def timestamp
  @timestamp
end

#typeObject

The type of the ends_at.



29
30
31
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 29

def type
  @type
end