Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Add::Pricing::PriceDetails::QuantityChange::EffectiveAt

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

Returns a new instance of EffectiveAt.



98
99
100
101
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 98

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

Instance Attribute Details

#timestampObject

The timestamp for the effective at.



94
95
96
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 94

def timestamp
  @timestamp
end

#typeObject

The type of the effective at.



96
97
98
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 96

def type
  @type
end