Class: Dinie::Events::CustomerDeniedData
- Inherits:
-
Internal::Model
- Object
- Internal::Model
- Dinie::Events::CustomerDeniedData
- Defined in:
- lib/dinie/generated/events/customer_denied.rb,
sig/dinie/generated/events/customer_denied.rbs
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Instance Attribute Summary collapse
-
#cnpj ⇒ String?
readonly
Returns the value of attribute cnpj.
-
#cpf ⇒ String
readonly
Returns the value of attribute cpf.
-
#email ⇒ String
readonly
Returns the value of attribute email.
-
#external_id ⇒ String?
readonly
Returns the value of attribute external_id.
-
#id ⇒ customer_id
readonly
Returns the value of attribute id.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#phone ⇒ String
readonly
Returns the value of attribute phone.
-
#status ⇒ String
readonly
Returns the value of attribute status.
Class Method Summary collapse
Methods inherited from Internal::Model
#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h
Constructor Details
This class inherits a constructor from Dinie::Internal::Model
Instance Attribute Details
#cnpj ⇒ String? (readonly)
Returns the value of attribute cnpj.
7 8 9 |
# File 'sig/dinie/generated/events/customer_denied.rbs', line 7 def cnpj @cnpj end |
#cpf ⇒ String (readonly)
Returns the value of attribute cpf.
8 9 10 |
# File 'sig/dinie/generated/events/customer_denied.rbs', line 8 def cpf @cpf end |
#email ⇒ String (readonly)
Returns the value of attribute email.
9 10 11 |
# File 'sig/dinie/generated/events/customer_denied.rbs', line 9 def email @email end |
#external_id ⇒ String? (readonly)
Returns the value of attribute external_id.
10 11 12 |
# File 'sig/dinie/generated/events/customer_denied.rbs', line 10 def external_id @external_id end |
#id ⇒ customer_id (readonly)
Returns the value of attribute id.
11 12 13 |
# File 'sig/dinie/generated/events/customer_denied.rbs', line 11 def id @id end |
#name ⇒ String (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'sig/dinie/generated/events/customer_denied.rbs', line 12 def name @name end |
#phone ⇒ String (readonly)
Returns the value of attribute phone.
13 14 15 |
# File 'sig/dinie/generated/events/customer_denied.rbs', line 13 def phone @phone end |
#status ⇒ String (readonly)
Returns the value of attribute status.
14 15 16 |
# File 'sig/dinie/generated/events/customer_denied.rbs', line 14 def status @status end |
Class Method Details
.deserialize(raw) ⇒ CustomerDeniedData
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/dinie/generated/events/customer_denied.rb', line 11 def self.deserialize(raw) new( cnpj: raw[:cnpj], cpf: raw[:cpf], email: raw[:email], external_id: raw[:external_id], id: raw[:id], name: raw[:name], phone: raw[:phone], status: raw[:status] ) end |