Class: Lithic::Models::CardRenewedWebhookEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::CardRenewedWebhookEvent
- Defined in:
- lib/lithic/models/card_renewed_webhook_event.rb
Instance Attribute Summary collapse
-
#card_token ⇒ String?
The token of the card that was renewed.
-
#event_type ⇒ Symbol, :"card.renewed"
The type of event that occurred.
-
#exp_month ⇒ String?
The new expiration month of the card.
-
#exp_year ⇒ String?
The new expiration year of the card.
-
#previous_exp_month ⇒ String?
The previous expiration month of the card.
-
#previous_exp_year ⇒ String?
The previous expiration year of the card.
Instance Method Summary collapse
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: nil, exp_month: nil, exp_year: nil, previous_exp_month: nil, previous_exp_year: nil, event_type: :"card.renewed") ⇒ Object
|
|
# File 'lib/lithic/models/card_renewed_webhook_event.rb', line 42
|
Instance Attribute Details
#card_token ⇒ String?
The token of the card that was renewed.
16 |
# File 'lib/lithic/models/card_renewed_webhook_event.rb', line 16 optional :card_token, String |
#event_type ⇒ Symbol, :"card.renewed"
The type of event that occurred.
10 |
# File 'lib/lithic/models/card_renewed_webhook_event.rb', line 10 required :event_type, const: :"card.renewed" |
#exp_month ⇒ String?
The new expiration month of the card.
22 |
# File 'lib/lithic/models/card_renewed_webhook_event.rb', line 22 optional :exp_month, String |
#exp_year ⇒ String?
The new expiration year of the card.
28 |
# File 'lib/lithic/models/card_renewed_webhook_event.rb', line 28 optional :exp_year, String |
#previous_exp_month ⇒ String?
The previous expiration month of the card.
34 |
# File 'lib/lithic/models/card_renewed_webhook_event.rb', line 34 optional :previous_exp_month, String |
#previous_exp_year ⇒ String?
The previous expiration year of the card.
40 |
# File 'lib/lithic/models/card_renewed_webhook_event.rb', line 40 optional :previous_exp_year, String |