Class: Zavudev::Models::Sender::Whatsapp
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::Sender::Whatsapp
- Defined in:
- lib/zavudev/models/sender.rb
Overview
Defined Under Namespace
Classes: PaymentStatus
Instance Attribute Summary collapse
-
#display_phone_number ⇒ String?
Display phone number.
-
#payment_status ⇒ Zavudev::Models::Sender::Whatsapp::PaymentStatus?
Payment configuration status from Meta.
-
#phone_number_id ⇒ String?
WhatsApp phone number ID from Meta.
Instance Method Summary collapse
-
#initialize(display_phone_number: nil, payment_status: nil, phone_number_id: nil) ⇒ Object
constructor
WhatsApp Business Account information.
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(display_phone_number: nil, payment_status: nil, phone_number_id: nil) ⇒ Object
WhatsApp Business Account information. Only present if a WABA is connected.
|
|
# File 'lib/zavudev/models/sender.rb', line 96
|
Instance Attribute Details
#display_phone_number ⇒ String?
Display phone number.
82 |
# File 'lib/zavudev/models/sender.rb', line 82 optional :display_phone_number, String, api_name: :displayPhoneNumber |
#payment_status ⇒ Zavudev::Models::Sender::Whatsapp::PaymentStatus?
Payment configuration status from Meta.
88 |
# File 'lib/zavudev/models/sender.rb', line 88 optional :payment_status, -> { Zavudev::Sender::Whatsapp::PaymentStatus }, api_name: :paymentStatus |
#phone_number_id ⇒ String?
WhatsApp phone number ID from Meta.
94 |
# File 'lib/zavudev/models/sender.rb', line 94 optional :phone_number_id, String, api_name: :phoneNumberId |