Class: Stripe::V2::Signals::AccountEvaluationCreateParams::AccountActivityDetails::Data
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Signals::AccountEvaluationCreateParams::AccountActivityDetails::Data
- Defined in:
- lib/stripe/params/v2/signals/account_evaluation_create_params.rb
Defined Under Namespace
Classes: LoginAttempt, RegistrationAttempt
Instance Attribute Summary collapse
-
#login_attempt ⇒ Object
Details for the login attempt.
-
#occurred_at ⇒ Object
Timestamp at which the activity occurred.
-
#registration_attempt ⇒ Object
Details for the registration attempt.
-
#type ⇒ Object
The type of activity.
Instance Method Summary collapse
-
#initialize(login_attempt: nil, occurred_at: nil, registration_attempt: nil, type: nil) ⇒ Data
constructor
A new instance of Data.
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 = login_attempt @occurred_at = occurred_at @registration_attempt = registration_attempt @type = type end |
Instance Attribute Details
#login_attempt ⇒ Object
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 @login_attempt end |
#occurred_at ⇒ Object
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_attempt ⇒ Object
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 |
#type ⇒ Object
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 |