Class: Stripe::V2::Signals::AccountEvaluationCreateParams::AccountActivityDetails::Data

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

Defined Under Namespace

Classes: LoginAttempt, RegistrationAttempt

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(login_attempt: nil, occurred_at: nil, registration_attempt: nil, type: nil) ⇒ Data

Returns a new instance of Data.



86
87
88
89
90
91
92
93
94
95
96
# File 'lib/stripe/params/v2/signals/account_evaluation_create_params.rb', line 86

def initialize(
  login_attempt: nil,
  occurred_at: nil,
  registration_attempt: nil,
  type: nil
)
  @login_attempt = 
  @occurred_at = occurred_at
  @registration_attempt = registration_attempt
  @type = type
end

Instance Attribute Details

#login_attemptObject

Details for the login attempt. Provide only when type is login_attempt.



78
79
80
# File 'lib/stripe/params/v2/signals/account_evaluation_create_params.rb', line 78

def 
  @login_attempt
end

#occurred_atObject

Timestamp at which the activity occurred. Defaults to the created time if not provided.



80
81
82
# File 'lib/stripe/params/v2/signals/account_evaluation_create_params.rb', line 80

def occurred_at
  @occurred_at
end

#registration_attemptObject

Details for the registration attempt. Provide only when type is registration_attempt.



82
83
84
# File 'lib/stripe/params/v2/signals/account_evaluation_create_params.rb', line 82

def registration_attempt
  @registration_attempt
end

#typeObject

The type of activity. Must be registration_attempt or login_attempt.



84
85
86
# File 'lib/stripe/params/v2/signals/account_evaluation_create_params.rb', line 84

def type
  @type
end