Class: Lithic::Models::CardPinUpdatedWebhookEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::CardPinUpdatedWebhookEvent
- Defined in:
- lib/lithic/models/card_pin_updated_webhook_event.rb,
sig/lithic/models/card_pin_updated_webhook_event.rbs
Defined Under Namespace
Modules: PinStatus, StatusReason
Instance Attribute Summary collapse
-
#card_token ⇒ String
The token of the card whose PIN or PIN status was updated.
-
#event_type ⇒ Symbol, :"card.pin_updated"
The type of event that occurred.
-
#pin_status ⇒ Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::PinStatus
The card's PIN status after the update.
-
#status_reason ⇒ Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::StatusReason
The reason for the PIN update:.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(card_token:, pin_status:, status_reason:, event_type: :"card.pin_updated") ⇒ Object
constructor
Some parameter documentations has been truncated, see CardPinUpdatedWebhookEvent for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(card_token:, pin_status:, status_reason:, event_type: :"card.pin_updated") ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::CardPinUpdatedWebhookEvent for more details.
|
|
# File 'lib/lithic/models/card_pin_updated_webhook_event.rb', line 38
|
Instance Attribute Details
#card_token ⇒ String
The token of the card whose PIN or PIN status was updated
10 |
# File 'lib/lithic/models/card_pin_updated_webhook_event.rb', line 10 required :card_token, String |
#event_type ⇒ Symbol, :"card.pin_updated"
The type of event that occurred.
16 |
# File 'lib/lithic/models/card_pin_updated_webhook_event.rb', line 16 required :event_type, const: :"card.pin_updated" |
#pin_status ⇒ Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::PinStatus
The card's PIN status after the update
22 |
# File 'lib/lithic/models/card_pin_updated_webhook_event.rb', line 22 required :pin_status, enum: -> { Lithic::CardPinUpdatedWebhookEvent::PinStatus } |
#status_reason ⇒ Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::StatusReason
The reason for the PIN update:
PIN_SET- The PIN was set for the first time;pin_statusisOKPIN_CHANGED- The PIN was changed, including when changing a blocked PIN;pin_statusisOKPIN_UNBLOCKED- The PIN was unblocked without changing it;pin_statusisOKEXCESSIVE_PIN_ATTEMPTS- The PIN was blocked due to excessive incorrect PIN attempts;pin_statusisBLOCKED
36 |
# File 'lib/lithic/models/card_pin_updated_webhook_event.rb', line 36 required :status_reason, enum: -> { Lithic::CardPinUpdatedWebhookEvent::StatusReason } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/card_pin_updated_webhook_event.rb', line 59
|
Instance Method Details
#to_hash ⇒ {
27 |
# File 'sig/lithic/models/card_pin_updated_webhook_event.rbs', line 27
def to_hash: -> {
|