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

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) ⇒ StartsAt

Returns a new instance of StartsAt.



52
53
54
55
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 52

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

Instance Attribute Details

#timestampObject

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



48
49
50
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 48

def timestamp
  @timestamp
end

#typeObject

The type of the starts_at.



50
51
52
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 50

def type
  @type
end