Class: Sentdm::Models::Profiles::BrandCampaign
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id: nil, billed_date: nil, brand_id: nil, cost: nil, created_at: nil, customer_id: nil, dca_elections_complete: nil, dca_elections_completed_at: nil, description: nil, has_submission_transaction: nil, help_keywords: nil, help_message: nil, message_flow: nil, name: nil, optin_keywords: nil, optin_message: nil, optout_keywords: nil, optout_message: nil, privacy_policy_link: nil, status: nil, submitted_at: nil, submitted_to_tcr: nil, tcr_campaign_id: nil, tcr_sync_error: nil, terms_and_conditions_link: nil, type: nil, updated_at: nil, use_cases: nil, volume: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BrandCampaign for more details.
-
#to_hash ⇒ {
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: nil, billed_date: nil, brand_id: nil, cost: nil, created_at: nil, customer_id: nil, dca_elections_complete: nil, dca_elections_completed_at: nil, description: nil, has_submission_transaction: nil, help_keywords: nil, help_message: nil, message_flow: nil, name: nil, optin_keywords: nil, optin_message: nil, optout_keywords: nil, optout_message: nil, privacy_policy_link: nil, status: nil, submitted_at: nil, submitted_to_tcr: nil, tcr_campaign_id: nil, tcr_sync_error: nil, terms_and_conditions_link: nil, type: nil, updated_at: nil, use_cases: nil, volume: nil) ⇒ Object
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 169
|
Instance Attribute Details
#billed_date ⇒ Time?
15
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 15
optional :billed_date, Time, api_name: :billedDate, nil?: true
|
#brand_id ⇒ String?
20
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 20
optional :brand_id, String, api_name: :brandId, nil?: true
|
#cost ⇒ Float?
25
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 25
optional :cost, Float, nil?: true
|
#created_at ⇒ Time?
30
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 30
optional :created_at, Time, api_name: :createdAt
|
#customer_id ⇒ String?
35
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 35
optional :customer_id, String, api_name: :customerId
|
#dca_elections_complete ⇒ Boolean?
True once every carrier has completed its DCA election and the campaign is
operationally ready for traffic.
42
43
44
45
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 42
optional :dca_elections_complete,
Sentdm::Internal::Type::Boolean,
api_name: :dcaElectionsComplete,
nil?: true
|
#dca_elections_completed_at ⇒ Time?
50
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 50
optional :dca_elections_completed_at, Time, api_name: :dcaElectionsCompletedAt, nil?: true
|
#description ⇒ String?
55
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 55
optional :description, String
|
#has_submission_transaction ⇒ Boolean?
True when the one-time campaign submission fee has already been charged.
61
62
63
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 61
optional :has_submission_transaction,
Sentdm::Internal::Type::Boolean,
api_name: :hasSubmissionTransaction
|
#help_keywords ⇒ String?
68
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 68
optional :help_keywords, String, api_name: :helpKeywords, nil?: true
|
#help_message ⇒ String?
73
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 73
optional :help_message, String, api_name: :helpMessage, nil?: true
|
#id ⇒ String?
10
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 10
optional :id, String
|
#message_flow ⇒ String?
78
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 78
optional :message_flow, String, api_name: :messageFlow, nil?: true
|
#name ⇒ String?
83
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 83
optional :name, String
|
#optin_keywords ⇒ String?
88
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 88
optional :optin_keywords, String, api_name: :optinKeywords, nil?: true
|
#optin_message ⇒ String?
93
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 93
optional :optin_message, String, api_name: :optinMessage, nil?: true
|
#optout_keywords ⇒ String?
98
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 98
optional :optout_keywords, String, api_name: :optoutKeywords, nil?: true
|
#optout_message ⇒ String?
103
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 103
optional :optout_message, String, api_name: :optoutMessage, nil?: true
|
#privacy_policy_link ⇒ String?
108
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 108
optional :privacy_policy_link, String, api_name: :privacyPolicyLink, nil?: true
|
#status ⇒ Symbol, ...
113
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 113
optional :status, enum: -> { Sentdm::Profiles::BrandCampaign::Status }, nil?: true
|
#submitted_at ⇒ Time?
118
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 118
optional :submitted_at, Time, api_name: :submittedAt, nil?: true
|
#submitted_to_tcr ⇒ Boolean?
123
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 123
optional :submitted_to_tcr, Sentdm::Internal::Type::Boolean, api_name: :submittedToTCR
|
#tcr_campaign_id ⇒ String?
The Campaign Registry identifier, once the campaign has been accepted.
129
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 129
optional :tcr_campaign_id, String, api_name: :tcrCampaignId, nil?: true
|
#tcr_sync_error ⇒ String?
Surfaced so customers can see why a submission did not reach the registry.
135
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 135
optional :tcr_sync_error, String, api_name: :tcrSyncError, nil?: true
|
#terms_and_conditions_link ⇒ String?
140
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 140
optional :terms_and_conditions_link, String, api_name: :termsAndConditionsLink, nil?: true
|
#type ⇒ String?
Campaign type (for example KYC or App).
146
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 146
optional :type, String
|
#updated_at ⇒ Time?
151
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 151
optional :updated_at, Time, api_name: :updatedAt, nil?: true
|
156
157
158
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 156
optional :use_cases,
-> { Sentdm::Internal::Type::ArrayOf[Sentdm::Profiles::CampaignUseCase] },
api_name: :useCases
|
#volume ⇒ String?
Expected messaging volume for this campaign — customer-supplied on
create/update, and the input to both the TCR usecase classification (LOW_VOLUME
vs MIXED/specific) and the campaign fee tier. Surfaced so customers can read
back the value they set.
167
|
# File 'lib/sentdm/models/profiles/brand_campaign.rb', line 167
optional :volume, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
148
|
# File 'sig/sentdm/models/profiles/brand_campaign.rbs', line 148
def to_hash: -> {
|