Class: Stripe::V2::Billing::ContractCreateParams::PricingOverride::StartsAt

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

Returns a new instance of StartsAt.



698
699
700
701
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 698

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`.



694
695
696
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 694

def timestamp
  @timestamp
end

#typeObject

The type of the starts_at.



696
697
698
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 696

def type
  @type
end