Class: OpenApiSDK::Models::Shared::PartnerEnrolledEventData
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Shared::PartnerEnrolledEventData
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/shared/partnerenrolledevent_data.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, name:, network_status:, program_id:, partner_id:, created_at:, status:, username: nil, email: nil, image: nil, country: nil, company_name: nil, default_payout_method: nil, paypal_email: nil, stripe_connect_id: nil, payouts_enabled_at: nil, identity_verified_at: nil, tenant_id: nil, links: nil, tags: nil, description: nil, group_id: nil, total_commissions: 0.0, click_reward_id: nil, lead_reward_id: nil, sale_reward_id: nil, referral_reward_id: nil, discount_id: nil, application_id: nil, banned_at: nil, banned_reason: nil, referral_form_data: nil, application: nil, total_clicks: 0.0, total_leads: 0.0, total_conversions: 0.0, total_sales: 0.0, total_sale_amount: 0.0, net_revenue: 0.0, earnings_per_click: nil, average_lifetime_value: nil, click_to_lead_rate: nil, click_to_conversion_rate: nil, lead_to_conversion_rate: nil, return_on_ad_spend: nil, website: nil, youtube: nil, twitter: nil, linkedin: nil, instagram: nil, tiktok: nil, trusted_at: nil) ⇒ PartnerEnrolledEventData
constructor
A new instance of PartnerEnrolledEventData.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, name:, network_status:, program_id:, partner_id:, created_at:, status:, username: nil, email: nil, image: nil, country: nil, company_name: nil, default_payout_method: nil, paypal_email: nil, stripe_connect_id: nil, payouts_enabled_at: nil, identity_verified_at: nil, tenant_id: nil, links: nil, tags: nil, description: nil, group_id: nil, total_commissions: 0.0, click_reward_id: nil, lead_reward_id: nil, sale_reward_id: nil, referral_reward_id: nil, discount_id: nil, application_id: nil, banned_at: nil, banned_reason: nil, referral_form_data: nil, application: nil, total_clicks: 0.0, total_leads: 0.0, total_conversions: 0.0, total_sales: 0.0, total_sale_amount: 0.0, net_revenue: 0.0, earnings_per_click: nil, average_lifetime_value: nil, click_to_lead_rate: nil, click_to_conversion_rate: nil, lead_to_conversion_rate: nil, return_on_ad_spend: nil, website: nil, youtube: nil, twitter: nil, linkedin: nil, instagram: nil, tiktok: nil, trusted_at: nil) ⇒ PartnerEnrolledEventData
Returns a new instance of PartnerEnrolledEventData.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/open_api_sdk/models/shared/partnerenrolledevent_data.rb', line 123 def initialize(id:, name:, network_status:, program_id:, partner_id:, created_at:, status:, username: nil, email: nil, image: nil, country: nil, company_name: nil, default_payout_method: nil, paypal_email: nil, stripe_connect_id: nil, payouts_enabled_at: nil, identity_verified_at: nil, tenant_id: nil, links: nil, tags: nil, description: nil, group_id: nil, total_commissions: 0.0, click_reward_id: nil, lead_reward_id: nil, sale_reward_id: nil, referral_reward_id: nil, discount_id: nil, application_id: nil, banned_at: nil, banned_reason: nil, referral_form_data: nil, application: nil, total_clicks: 0.0, total_leads: 0.0, total_conversions: 0.0, total_sales: 0.0, total_sale_amount: 0.0, net_revenue: 0.0, earnings_per_click: nil, average_lifetime_value: nil, click_to_lead_rate: nil, click_to_conversion_rate: nil, lead_to_conversion_rate: nil, return_on_ad_spend: nil, website: nil, youtube: nil, twitter: nil, linkedin: nil, instagram: nil, tiktok: nil, trusted_at: nil) @id = id @name = name @network_status = network_status @program_id = program_id @partner_id = partner_id @created_at = created_at @status = status @username = username @email = email @image = image @country = country @company_name = company_name @default_payout_method = default_payout_method @paypal_email = paypal_email @stripe_connect_id = stripe_connect_id @payouts_enabled_at = payouts_enabled_at @identity_verified_at = identity_verified_at @tenant_id = tenant_id @links = links @tags = @description = description @group_id = group_id @total_commissions = total_commissions @click_reward_id = click_reward_id @lead_reward_id = lead_reward_id @sale_reward_id = sale_reward_id @referral_reward_id = referral_reward_id @discount_id = discount_id @application_id = application_id @banned_at = banned_at @banned_reason = banned_reason @referral_form_data = referral_form_data @application = application @total_clicks = total_clicks @total_leads = total_leads @total_conversions = total_conversions @total_sales = total_sales @total_sale_amount = total_sale_amount @net_revenue = net_revenue @earnings_per_click = earnings_per_click @average_lifetime_value = average_lifetime_value @click_to_lead_rate = click_to_lead_rate @click_to_conversion_rate = click_to_conversion_rate @lead_to_conversion_rate = lead_to_conversion_rate @return_on_ad_spend = return_on_ad_spend @website = website @youtube = youtube @twitter = twitter @linkedin = linkedin @instagram = instagram @tiktok = tiktok @trusted_at = trusted_at end |
Instance Method Details
#==(other) ⇒ Object
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 |
# File 'lib/open_api_sdk/models/shared/partnerenrolledevent_data.rb', line 179 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @name == other.name return false unless @network_status == other.network_status return false unless @program_id == other.program_id return false unless @partner_id == other.partner_id return false unless @created_at == other.created_at return false unless @status == other.status return false unless @username == other.username return false unless @email == other.email return false unless @image == other.image return false unless @country == other.country return false unless @company_name == other.company_name return false unless @default_payout_method == other.default_payout_method return false unless @paypal_email == other.paypal_email return false unless @stripe_connect_id == other.stripe_connect_id return false unless @payouts_enabled_at == other.payouts_enabled_at return false unless @identity_verified_at == other.identity_verified_at return false unless @tenant_id == other.tenant_id return false unless @links == other.links return false unless @tags == other. return false unless @description == other.description return false unless @group_id == other.group_id return false unless @total_commissions == other.total_commissions return false unless @click_reward_id == other.click_reward_id return false unless @lead_reward_id == other.lead_reward_id return false unless @sale_reward_id == other.sale_reward_id return false unless @referral_reward_id == other.referral_reward_id return false unless @discount_id == other.discount_id return false unless @application_id == other.application_id return false unless @banned_at == other.banned_at return false unless @banned_reason == other.banned_reason return false unless @referral_form_data == other.referral_form_data return false unless @application == other.application return false unless @total_clicks == other.total_clicks return false unless @total_leads == other.total_leads return false unless @total_conversions == other.total_conversions return false unless @total_sales == other.total_sales return false unless @total_sale_amount == other.total_sale_amount return false unless @net_revenue == other.net_revenue return false unless @earnings_per_click == other.earnings_per_click return false unless @average_lifetime_value == other.average_lifetime_value return false unless @click_to_lead_rate == other.click_to_lead_rate return false unless @click_to_conversion_rate == other.click_to_conversion_rate return false unless @lead_to_conversion_rate == other.lead_to_conversion_rate return false unless @return_on_ad_spend == other.return_on_ad_spend return false unless @website == other.website return false unless @youtube == other.youtube return false unless @twitter == other.twitter return false unless @linkedin == other.linkedin return false unless @instagram == other.instagram return false unless @tiktok == other.tiktok return false unless @trusted_at == other.trusted_at true end |