Class: Telnyx::Models::CallPaymentProgressWebhookEvent::Data::Payload
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::CallPaymentProgressWebhookEvent::Data::Payload
- Defined in:
- lib/telnyx/models/call_payment_progress_webhook_event.rb,
sig/telnyx/models/call_payment_progress_webhook_event.rbs
Overview
Defined Under Namespace
Modules: ErrorType, PaymentCardType, PaymentMethod, PaymentStatus, PaymentStep
Instance Attribute Summary collapse
-
#attempt ⇒ Integer?
Current 1-based attempt number for the step.
-
#bank_account_number ⇒ String?
Masked bank account number with only the last two digits visible.
-
#bank_account_type ⇒ String?
Bank account type, when available.
-
#bank_routing_number ⇒ String?
Bank routing number collected from the caller.
-
#call_control_id ⇒ String?
Call ID used to issue commands via Call Control API.
-
#call_leg_id ⇒ String?
ID unique to the call leg.
-
#call_session_id ⇒ String?
ID shared by related call legs in the same call session.
-
#client_state ⇒ String?
Base64-encoded state received from the command.
-
#connection_id ⇒ String?
Call Control App ID used in the call.
-
#error_type ⇒ Symbol, ...
Step-level error when payment collection fails.
-
#expiration_date ⇒ String?
Card expiration date in MMYY format.
-
#from ⇒ String?
Number or SIP URI placing the call.
-
#payment_card_number ⇒ String?
Masked card number with only the last four digits visible.
-
#payment_card_postal_code ⇒ String?
Billing postal code collected from the caller.
-
#payment_card_type ⇒ Symbol, ...
Detected card type.
-
#payment_connector ⇒ String?
Name of the Pay connector used.
-
#payment_method ⇒ Symbol, ...
Payment method being collected.
-
#payment_status ⇒ Symbol, ...
Status of the current payment step.
-
#payment_step ⇒ Symbol, ...
Current payment collection or processing step.
-
#security_code ⇒ String?
Fully masked card security code.
-
#to ⇒ String?
Destination number or SIP URI of the call.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(attempt: nil, bank_account_number: nil, bank_account_type: nil, bank_routing_number: nil, call_control_id: nil, call_leg_id: nil, call_session_id: nil, client_state: nil, connection_id: nil, error_type: nil, expiration_date: nil, from: nil, payment_card_number: nil, payment_card_postal_code: nil, payment_card_type: nil, payment_connector: nil, payment_method: nil, payment_status: nil, payment_step: nil, security_code: nil, to: nil) ⇒ Object constructor
- #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(attempt: nil, bank_account_number: nil, bank_account_type: nil, bank_routing_number: nil, call_control_id: nil, call_leg_id: nil, call_session_id: nil, client_state: nil, connection_id: nil, error_type: nil, expiration_date: nil, from: nil, payment_card_number: nil, payment_card_postal_code: nil, payment_card_type: nil, payment_connector: nil, payment_method: nil, payment_status: nil, payment_step: nil, security_code: nil, to: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 199
|
Instance Attribute Details
#attempt ⇒ Integer?
Current 1-based attempt number for the step.
74 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 74 optional :attempt, Integer |
#bank_account_number ⇒ String?
Masked bank account number with only the last two digits visible.
80 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 80 optional :bank_account_number, String |
#bank_account_type ⇒ String?
Bank account type, when available.
86 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 86 optional :bank_account_type, String |
#bank_routing_number ⇒ String?
Bank routing number collected from the caller.
92 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 92 optional :bank_routing_number, String |
#call_control_id ⇒ String?
Call ID used to issue commands via Call Control API.
98 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 98 optional :call_control_id, String |
#call_leg_id ⇒ String?
ID unique to the call leg.
104 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 104 optional :call_leg_id, String |
#call_session_id ⇒ String?
ID shared by related call legs in the same call session.
110 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 110 optional :call_session_id, String |
#client_state ⇒ String?
Base64-encoded state received from the command.
116 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 116 optional :client_state, String |
#connection_id ⇒ String?
Call Control App ID used in the call.
122 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 122 optional :connection_id, String |
#error_type ⇒ Symbol, ...
Step-level error when payment collection fails.
128 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 128 optional :error_type, enum: -> { Telnyx::CallPaymentProgressWebhookEvent::Data::Payload::ErrorType } |
#expiration_date ⇒ String?
Card expiration date in MMYY format.
134 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 134 optional :expiration_date, String |
#from ⇒ String?
Number or SIP URI placing the call.
140 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 140 optional :from, String |
#payment_card_number ⇒ String?
Masked card number with only the last four digits visible.
146 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 146 optional :payment_card_number, String |
#payment_card_postal_code ⇒ String?
Billing postal code collected from the caller.
152 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 152 optional :payment_card_postal_code, String |
#payment_card_type ⇒ Symbol, ...
Detected card type. Present only for the recognized card brands listed below.
158 159 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 158 optional :payment_card_type, enum: -> { Telnyx::CallPaymentProgressWebhookEvent::Data::Payload::PaymentCardType } |
#payment_connector ⇒ String?
Name of the Pay connector used.
165 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 165 optional :payment_connector, String |
#payment_method ⇒ Symbol, ...
Payment method being collected.
171 172 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 171 optional :payment_method, enum: -> { Telnyx::CallPaymentProgressWebhookEvent::Data::Payload::PaymentMethod } |
#payment_status ⇒ Symbol, ...
Status of the current payment step.
178 179 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 178 optional :payment_status, enum: -> { Telnyx::CallPaymentProgressWebhookEvent::Data::Payload::PaymentStatus } |
#payment_step ⇒ Symbol, ...
Current payment collection or processing step.
185 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 185 optional :payment_step, enum: -> { Telnyx::CallPaymentProgressWebhookEvent::Data::Payload::PaymentStep } |
#security_code ⇒ String?
Fully masked card security code.
191 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 191 optional :security_code, String |
#to ⇒ String?
Destination number or SIP URI of the call.
197 |
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 197 optional :to, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/call_payment_progress_webhook_event.rb', line 257
|
Instance Method Details
#to_hash ⇒ {
225 |
# File 'sig/telnyx/models/call_payment_progress_webhook_event.rbs', line 225
def to_hash: -> {
|