Class: Stripe::V2::Billing::IntentCreateParams::Action::Modify::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

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of EffectiveAt.



224
225
226
227
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 224

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

Instance Attribute Details

#timestampObject

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



220
221
222
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 220

def timestamp
  @timestamp
end

#typeObject

When the modify action will take effect.



222
223
224
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 222

def type
  @type
end