Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Update::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.



464
465
466
467
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 464

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

Instance Attribute Details

#timestampObject

The timestamp when the pricing starts.



460
461
462
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 460

def timestamp
  @timestamp
end

#typeObject

The type of start time to apply.



462
463
464
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 462

def type
  @type
end