Class: Stripe::V2::Billing::IntentService::CreateParams::Action::Deactivate::EffectiveAt

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/billing/intent_service.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.



87
88
89
90
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 87

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.



83
84
85
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 83

def timestamp
  @timestamp
end

#typeObject

When the deactivate action will take effect.



85
86
87
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 85

def type
  @type
end