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



73
74
75
76
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 73

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

Instance Attribute Details

#timestampObject

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



69
70
71
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 69

def timestamp
  @timestamp
end

#typeObject

When the deactivate action will take effect.



71
72
73
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 71

def type
  @type
end