Class: OpenApiSDK::Models::Operations::CreatePartnerResponseBody
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Operations::CreatePartnerResponseBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/operations/createpartner_responsebody.rb
Overview
The created or updated partner
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, name:, program_id:, partner_id:, created_at:, status:, company_name: nil, email: nil, image: nil, country: nil, default_payout_method: nil, paypal_email: nil, stripe_connect_id: nil, payouts_enabled_at: nil, trusted_at: nil, tenant_id: nil, links: nil, description: nil, group_id: nil, total_commissions: 0.0, click_reward_id: nil, lead_reward_id: nil, sale_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) ⇒ CreatePartnerResponseBody
constructor
A new instance of CreatePartnerResponseBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, name:, program_id:, partner_id:, created_at:, status:, company_name: nil, email: nil, image: nil, country: nil, default_payout_method: nil, paypal_email: nil, stripe_connect_id: nil, payouts_enabled_at: nil, trusted_at: nil, tenant_id: nil, links: nil, description: nil, group_id: nil, total_commissions: 0.0, click_reward_id: nil, lead_reward_id: nil, sale_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) ⇒ CreatePartnerResponseBody
Returns a new instance of CreatePartnerResponseBody.
111 112 113 114 115 116 117 118 119 120 121 122 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 |
# File 'lib/open_api_sdk/models/operations/createpartner_responsebody.rb', line 111 def initialize(id:, name:, program_id:, partner_id:, created_at:, status:, company_name: nil, email: nil, image: nil, country: nil, default_payout_method: nil, paypal_email: nil, stripe_connect_id: nil, payouts_enabled_at: nil, trusted_at: nil, tenant_id: nil, links: nil, description: nil, group_id: nil, total_commissions: 0.0, click_reward_id: nil, lead_reward_id: nil, sale_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) @id = id @name = name @program_id = program_id @partner_id = partner_id @created_at = created_at @status = status @company_name = company_name @email = email @image = image @country = country @default_payout_method = default_payout_method @paypal_email = paypal_email @stripe_connect_id = stripe_connect_id @payouts_enabled_at = payouts_enabled_at @trusted_at = trusted_at @tenant_id = tenant_id @links = links @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 @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 end |
Instance Method Details
#==(other) ⇒ Object
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 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 |
# File 'lib/open_api_sdk/models/operations/createpartner_responsebody.rb', line 162 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 @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 @company_name == other.company_name return false unless @email == other.email return false unless @image == other.image return false unless @country == other.country 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 @trusted_at == other.trusted_at return false unless @tenant_id == other.tenant_id return false unless @links == other.links 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 @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 true end |