Class: Stripe::V2::Billing::IntentCreateParams::Action::Subscribe::EffectiveAt

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(timestamp: nil, type: nil) ⇒ EffectiveAt

Returns a new instance of EffectiveAt.



361
362
363
364
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 361

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

Instance Attribute Details

#timestampObject

The timestamp at which the subscribe action will take effect. Only present if type is timestamp.



357
358
359
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 357

def timestamp
  @timestamp
end

#typeObject

When the subscribe action will take effect.



359
360
361
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 359

def type
  @type
end