Class: Pago::V2026_04::Models::MetricPeriod
- Defined in:
- lib/pago/v2026_04/models.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- JSON_KEYS =
{ timestamp: "timestamp", active_subscriptions: "active_subscriptions", committed_subscriptions: "committed_subscriptions", monthly_recurring_revenue: "monthly_recurring_revenue", trial_monthly_recurring_revenue: "trial_monthly_recurring_revenue", committed_monthly_recurring_revenue: "committed_monthly_recurring_revenue", trial_committed_monthly_recurring_revenue: "trial_committed_monthly_recurring_revenue", average_revenue_per_user: "average_revenue_per_user", checkouts: "checkouts", succeeded_checkouts: "succeeded_checkouts", churned_subscriptions: "churned_subscriptions", churn_rate: "churn_rate", seats_total: "seats_total", seats_claimed: "seats_claimed", seats_pending: "seats_pending", seat_customers: "seat_customers", new_seat_customers: "new_seat_customers", churned_seat_customers: "churned_seat_customers", orders: "orders", revenue: "revenue", net_revenue: "net_revenue", cumulative_revenue: "cumulative_revenue", net_cumulative_revenue: "net_cumulative_revenue", costs: "costs", cumulative_costs: "cumulative_costs", average_order_value: "average_order_value", net_average_order_value: "net_average_order_value", cost_per_user: "cost_per_user", active_user_by_event: "active_user_by_event", one_time_products: "one_time_products", one_time_products_revenue: "one_time_products_revenue", one_time_products_net_revenue: "one_time_products_net_revenue", new_subscriptions: "new_subscriptions", new_subscriptions_revenue: "new_subscriptions_revenue", new_subscriptions_net_revenue: "new_subscriptions_net_revenue", renewed_subscriptions: "renewed_subscriptions", renewed_subscriptions_revenue: "renewed_subscriptions_revenue", renewed_subscriptions_net_revenue: "renewed_subscriptions_net_revenue", canceled_subscriptions: "canceled_subscriptions", canceled_subscriptions_customer_service: "canceled_subscriptions_customer_service", canceled_subscriptions_low_quality: "canceled_subscriptions_low_quality", canceled_subscriptions_missing_features: "canceled_subscriptions_missing_features", canceled_subscriptions_switched_service: "canceled_subscriptions_switched_service", canceled_subscriptions_too_complex: "canceled_subscriptions_too_complex", canceled_subscriptions_too_expensive: "canceled_subscriptions_too_expensive", canceled_subscriptions_unused: "canceled_subscriptions_unused", canceled_subscriptions_other: "canceled_subscriptions_other", annual_recurring_revenue: "annual_recurring_revenue", committed_annual_recurring_revenue: "committed_annual_recurring_revenue", checkouts_conversion: "checkouts_conversion", ltv: "ltv", gross_margin: "gross_margin", gross_margin_percentage: "gross_margin_percentage", cashflow: "cashflow", average_seats_per_customer: "average_seats_per_customer", seat_utilization_rate: "seat_utilization_rate" }.freeze
- REQUIRED_KEYS =
["timestamp"].freeze
Instance Attribute Summary collapse
- #active_subscriptions ⇒ Integer, ... readonly
- #active_user_by_event ⇒ Integer, ... readonly
- #annual_recurring_revenue ⇒ Integer, ... readonly
- #average_order_value ⇒ Integer, ... readonly
- #average_revenue_per_user ⇒ Integer, ... readonly
- #average_seats_per_customer ⇒ Integer, ... readonly
- #canceled_subscriptions ⇒ Integer, ... readonly
- #canceled_subscriptions_customer_service ⇒ Integer, ... readonly
- #canceled_subscriptions_low_quality ⇒ Integer, ... readonly
- #canceled_subscriptions_missing_features ⇒ Integer, ... readonly
- #canceled_subscriptions_other ⇒ Integer, ... readonly
- #canceled_subscriptions_switched_service ⇒ Integer, ... readonly
- #canceled_subscriptions_too_complex ⇒ Integer, ... readonly
- #canceled_subscriptions_too_expensive ⇒ Integer, ... readonly
- #canceled_subscriptions_unused ⇒ Integer, ... readonly
- #cashflow ⇒ Integer, ... readonly
- #checkouts ⇒ Integer, ... readonly
- #checkouts_conversion ⇒ Integer, ... readonly
- #churn_rate ⇒ Integer, ... readonly
- #churned_seat_customers ⇒ Integer, ... readonly
- #churned_subscriptions ⇒ Integer, ... readonly
- #committed_annual_recurring_revenue ⇒ Integer, ... readonly
- #committed_monthly_recurring_revenue ⇒ Integer, ... readonly
- #committed_subscriptions ⇒ Integer, ... readonly
- #cost_per_user ⇒ Integer, ... readonly
- #costs ⇒ Integer, ... readonly
- #cumulative_costs ⇒ Integer, ... readonly
- #cumulative_revenue ⇒ Integer, ... readonly
- #gross_margin ⇒ Integer, ... readonly
- #gross_margin_percentage ⇒ Integer, ... readonly
- #ltv ⇒ Integer, ... readonly
- #monthly_recurring_revenue ⇒ Integer, ... readonly
- #net_average_order_value ⇒ Integer, ... readonly
- #net_cumulative_revenue ⇒ Integer, ... readonly
- #net_revenue ⇒ Integer, ... readonly
- #new_seat_customers ⇒ Integer, ... readonly
- #new_subscriptions ⇒ Integer, ... readonly
- #new_subscriptions_net_revenue ⇒ Integer, ... readonly
- #new_subscriptions_revenue ⇒ Integer, ... readonly
- #one_time_products ⇒ Integer, ... readonly
- #one_time_products_net_revenue ⇒ Integer, ... readonly
- #one_time_products_revenue ⇒ Integer, ... readonly
- #orders ⇒ Integer, ... readonly
- #renewed_subscriptions ⇒ Integer, ... readonly
- #renewed_subscriptions_net_revenue ⇒ Integer, ... readonly
- #renewed_subscriptions_revenue ⇒ Integer, ... readonly
- #revenue ⇒ Integer, ... readonly
- #seat_customers ⇒ Integer, ... readonly
- #seat_utilization_rate ⇒ Integer, ... readonly
- #seats_claimed ⇒ Integer, ... readonly
- #seats_pending ⇒ Integer, ... readonly
- #seats_total ⇒ Integer, ... readonly
- #succeeded_checkouts ⇒ Integer, ... readonly
-
#timestamp ⇒ String
readonly
Timestamp of this period data.
- #trial_committed_monthly_recurring_revenue ⇒ Integer, ... readonly
- #trial_monthly_recurring_revenue ⇒ Integer, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Model
#==, #[], #field_set?, #hash, #inspect, json_keys, required_json_keys, #to_json, #to_json_hash, wrap_raw
Constructor Details
#initialize(timestamp:, active_subscriptions: ::Pago::UNSET, committed_subscriptions: ::Pago::UNSET, monthly_recurring_revenue: ::Pago::UNSET, trial_monthly_recurring_revenue: ::Pago::UNSET, committed_monthly_recurring_revenue: ::Pago::UNSET, trial_committed_monthly_recurring_revenue: ::Pago::UNSET, average_revenue_per_user: ::Pago::UNSET, checkouts: ::Pago::UNSET, succeeded_checkouts: ::Pago::UNSET, churned_subscriptions: ::Pago::UNSET, churn_rate: ::Pago::UNSET, seats_total: ::Pago::UNSET, seats_claimed: ::Pago::UNSET, seats_pending: ::Pago::UNSET, seat_customers: ::Pago::UNSET, new_seat_customers: ::Pago::UNSET, churned_seat_customers: ::Pago::UNSET, orders: ::Pago::UNSET, revenue: ::Pago::UNSET, net_revenue: ::Pago::UNSET, cumulative_revenue: ::Pago::UNSET, net_cumulative_revenue: ::Pago::UNSET, costs: ::Pago::UNSET, cumulative_costs: ::Pago::UNSET, average_order_value: ::Pago::UNSET, net_average_order_value: ::Pago::UNSET, cost_per_user: ::Pago::UNSET, active_user_by_event: ::Pago::UNSET, one_time_products: ::Pago::UNSET, one_time_products_revenue: ::Pago::UNSET, one_time_products_net_revenue: ::Pago::UNSET, new_subscriptions: ::Pago::UNSET, new_subscriptions_revenue: ::Pago::UNSET, new_subscriptions_net_revenue: ::Pago::UNSET, renewed_subscriptions: ::Pago::UNSET, renewed_subscriptions_revenue: ::Pago::UNSET, renewed_subscriptions_net_revenue: ::Pago::UNSET, canceled_subscriptions: ::Pago::UNSET, canceled_subscriptions_customer_service: ::Pago::UNSET, canceled_subscriptions_low_quality: ::Pago::UNSET, canceled_subscriptions_missing_features: ::Pago::UNSET, canceled_subscriptions_switched_service: ::Pago::UNSET, canceled_subscriptions_too_complex: ::Pago::UNSET, canceled_subscriptions_too_expensive: ::Pago::UNSET, canceled_subscriptions_unused: ::Pago::UNSET, canceled_subscriptions_other: ::Pago::UNSET, annual_recurring_revenue: ::Pago::UNSET, committed_annual_recurring_revenue: ::Pago::UNSET, checkouts_conversion: ::Pago::UNSET, ltv: ::Pago::UNSET, gross_margin: ::Pago::UNSET, gross_margin_percentage: ::Pago::UNSET, cashflow: ::Pago::UNSET, average_seats_per_customer: ::Pago::UNSET, seat_utilization_rate: ::Pago::UNSET) ⇒ MetricPeriod
Returns a new instance of MetricPeriod.
30197 30198 30199 30200 30201 30202 30203 30204 30205 30206 30207 30208 30209 30210 30211 30212 30213 30214 30215 30216 30217 30218 30219 30220 30221 30222 30223 30224 30225 30226 30227 30228 30229 30230 30231 30232 30233 30234 30235 30236 30237 30238 30239 30240 30241 30242 30243 30244 30245 30246 30247 30248 30249 30250 30251 30252 30253 30254 30255 30256 30257 30258 30259 30260 30261 30262 30263 30264 30265 30266 30267 30268 30269 30270 30271 30272 30273 30274 30275 30276 30277 30278 30279 30280 30281 30282 30283 30284 30285 30286 30287 30288 30289 30290 30291 30292 30293 30294 30295 30296 30297 30298 30299 30300 30301 30302 30303 30304 30305 30306 30307 30308 30309 30310 30311 30312 |
# File 'lib/pago/v2026_04/models.rb', line 30197 def initialize( timestamp:, active_subscriptions: ::Pago::UNSET, committed_subscriptions: ::Pago::UNSET, monthly_recurring_revenue: ::Pago::UNSET, trial_monthly_recurring_revenue: ::Pago::UNSET, committed_monthly_recurring_revenue: ::Pago::UNSET, trial_committed_monthly_recurring_revenue: ::Pago::UNSET, average_revenue_per_user: ::Pago::UNSET, checkouts: ::Pago::UNSET, succeeded_checkouts: ::Pago::UNSET, churned_subscriptions: ::Pago::UNSET, churn_rate: ::Pago::UNSET, seats_total: ::Pago::UNSET, seats_claimed: ::Pago::UNSET, seats_pending: ::Pago::UNSET, seat_customers: ::Pago::UNSET, new_seat_customers: ::Pago::UNSET, churned_seat_customers: ::Pago::UNSET, orders: ::Pago::UNSET, revenue: ::Pago::UNSET, net_revenue: ::Pago::UNSET, cumulative_revenue: ::Pago::UNSET, net_cumulative_revenue: ::Pago::UNSET, costs: ::Pago::UNSET, cumulative_costs: ::Pago::UNSET, average_order_value: ::Pago::UNSET, net_average_order_value: ::Pago::UNSET, cost_per_user: ::Pago::UNSET, active_user_by_event: ::Pago::UNSET, one_time_products: ::Pago::UNSET, one_time_products_revenue: ::Pago::UNSET, one_time_products_net_revenue: ::Pago::UNSET, new_subscriptions: ::Pago::UNSET, new_subscriptions_revenue: ::Pago::UNSET, new_subscriptions_net_revenue: ::Pago::UNSET, renewed_subscriptions: ::Pago::UNSET, renewed_subscriptions_revenue: ::Pago::UNSET, renewed_subscriptions_net_revenue: ::Pago::UNSET, canceled_subscriptions: ::Pago::UNSET, canceled_subscriptions_customer_service: ::Pago::UNSET, canceled_subscriptions_low_quality: ::Pago::UNSET, canceled_subscriptions_missing_features: ::Pago::UNSET, canceled_subscriptions_switched_service: ::Pago::UNSET, canceled_subscriptions_too_complex: ::Pago::UNSET, canceled_subscriptions_too_expensive: ::Pago::UNSET, canceled_subscriptions_unused: ::Pago::UNSET, canceled_subscriptions_other: ::Pago::UNSET, annual_recurring_revenue: ::Pago::UNSET, committed_annual_recurring_revenue: ::Pago::UNSET, checkouts_conversion: ::Pago::UNSET, ltv: ::Pago::UNSET, gross_margin: ::Pago::UNSET, gross_margin_percentage: ::Pago::UNSET, cashflow: ::Pago::UNSET, average_seats_per_customer: ::Pago::UNSET, seat_utilization_rate: ::Pago::UNSET ) super() assign(:timestamp, ) assign(:active_subscriptions, active_subscriptions) assign(:committed_subscriptions, committed_subscriptions) assign(:monthly_recurring_revenue, monthly_recurring_revenue) assign(:trial_monthly_recurring_revenue, trial_monthly_recurring_revenue) assign(:committed_monthly_recurring_revenue, committed_monthly_recurring_revenue) assign(:trial_committed_monthly_recurring_revenue, trial_committed_monthly_recurring_revenue) assign(:average_revenue_per_user, average_revenue_per_user) assign(:checkouts, checkouts) assign(:succeeded_checkouts, succeeded_checkouts) assign(:churned_subscriptions, churned_subscriptions) assign(:churn_rate, churn_rate) assign(:seats_total, seats_total) assign(:seats_claimed, seats_claimed) assign(:seats_pending, seats_pending) assign(:seat_customers, seat_customers) assign(:new_seat_customers, new_seat_customers) assign(:churned_seat_customers, churned_seat_customers) assign(:orders, orders) assign(:revenue, revenue) assign(:net_revenue, net_revenue) assign(:cumulative_revenue, cumulative_revenue) assign(:net_cumulative_revenue, net_cumulative_revenue) assign(:costs, costs) assign(:cumulative_costs, cumulative_costs) assign(:average_order_value, average_order_value) assign(:net_average_order_value, net_average_order_value) assign(:cost_per_user, cost_per_user) assign(:active_user_by_event, active_user_by_event) assign(:one_time_products, one_time_products) assign(:one_time_products_revenue, one_time_products_revenue) assign(:one_time_products_net_revenue, one_time_products_net_revenue) assign(:new_subscriptions, new_subscriptions) assign(:new_subscriptions_revenue, new_subscriptions_revenue) assign(:new_subscriptions_net_revenue, new_subscriptions_net_revenue) assign(:renewed_subscriptions, renewed_subscriptions) assign(:renewed_subscriptions_revenue, renewed_subscriptions_revenue) assign(:renewed_subscriptions_net_revenue, renewed_subscriptions_net_revenue) assign(:canceled_subscriptions, canceled_subscriptions) assign(:canceled_subscriptions_customer_service, canceled_subscriptions_customer_service) assign(:canceled_subscriptions_low_quality, canceled_subscriptions_low_quality) assign(:canceled_subscriptions_missing_features, canceled_subscriptions_missing_features) assign(:canceled_subscriptions_switched_service, canceled_subscriptions_switched_service) assign(:canceled_subscriptions_too_complex, canceled_subscriptions_too_complex) assign(:canceled_subscriptions_too_expensive, canceled_subscriptions_too_expensive) assign(:canceled_subscriptions_unused, canceled_subscriptions_unused) assign(:canceled_subscriptions_other, canceled_subscriptions_other) assign(:annual_recurring_revenue, annual_recurring_revenue) assign(:committed_annual_recurring_revenue, committed_annual_recurring_revenue) assign(:checkouts_conversion, checkouts_conversion) assign(:ltv, ltv) assign(:gross_margin, gross_margin) assign(:gross_margin_percentage, gross_margin_percentage) assign(:cashflow, cashflow) assign(:average_seats_per_customer, average_seats_per_customer) assign(:seat_utilization_rate, seat_utilization_rate) end |
Instance Attribute Details
#active_subscriptions ⇒ Integer, ... (readonly)
30033 30034 30035 |
# File 'lib/pago/v2026_04/models.rb', line 30033 def active_subscriptions @active_subscriptions end |
#active_user_by_event ⇒ Integer, ... (readonly)
30114 30115 30116 |
# File 'lib/pago/v2026_04/models.rb', line 30114 def active_user_by_event @active_user_by_event end |
#annual_recurring_revenue ⇒ Integer, ... (readonly)
30171 30172 30173 |
# File 'lib/pago/v2026_04/models.rb', line 30171 def annual_recurring_revenue @annual_recurring_revenue end |
#average_order_value ⇒ Integer, ... (readonly)
30105 30106 30107 |
# File 'lib/pago/v2026_04/models.rb', line 30105 def average_order_value @average_order_value end |
#average_revenue_per_user ⇒ Integer, ... (readonly)
30051 30052 30053 |
# File 'lib/pago/v2026_04/models.rb', line 30051 def average_revenue_per_user @average_revenue_per_user end |
#average_seats_per_customer ⇒ Integer, ... (readonly)
30192 30193 30194 |
# File 'lib/pago/v2026_04/models.rb', line 30192 def average_seats_per_customer @average_seats_per_customer end |
#canceled_subscriptions ⇒ Integer, ... (readonly)
30144 30145 30146 |
# File 'lib/pago/v2026_04/models.rb', line 30144 def canceled_subscriptions @canceled_subscriptions end |
#canceled_subscriptions_customer_service ⇒ Integer, ... (readonly)
30147 30148 30149 |
# File 'lib/pago/v2026_04/models.rb', line 30147 def canceled_subscriptions_customer_service @canceled_subscriptions_customer_service end |
#canceled_subscriptions_low_quality ⇒ Integer, ... (readonly)
30150 30151 30152 |
# File 'lib/pago/v2026_04/models.rb', line 30150 def canceled_subscriptions_low_quality @canceled_subscriptions_low_quality end |
#canceled_subscriptions_missing_features ⇒ Integer, ... (readonly)
30153 30154 30155 |
# File 'lib/pago/v2026_04/models.rb', line 30153 def canceled_subscriptions_missing_features @canceled_subscriptions_missing_features end |
#canceled_subscriptions_other ⇒ Integer, ... (readonly)
30168 30169 30170 |
# File 'lib/pago/v2026_04/models.rb', line 30168 def canceled_subscriptions_other @canceled_subscriptions_other end |
#canceled_subscriptions_switched_service ⇒ Integer, ... (readonly)
30156 30157 30158 |
# File 'lib/pago/v2026_04/models.rb', line 30156 def canceled_subscriptions_switched_service @canceled_subscriptions_switched_service end |
#canceled_subscriptions_too_complex ⇒ Integer, ... (readonly)
30159 30160 30161 |
# File 'lib/pago/v2026_04/models.rb', line 30159 def canceled_subscriptions_too_complex @canceled_subscriptions_too_complex end |
#canceled_subscriptions_too_expensive ⇒ Integer, ... (readonly)
30162 30163 30164 |
# File 'lib/pago/v2026_04/models.rb', line 30162 def canceled_subscriptions_too_expensive @canceled_subscriptions_too_expensive end |
#canceled_subscriptions_unused ⇒ Integer, ... (readonly)
30165 30166 30167 |
# File 'lib/pago/v2026_04/models.rb', line 30165 def canceled_subscriptions_unused @canceled_subscriptions_unused end |
#cashflow ⇒ Integer, ... (readonly)
30189 30190 30191 |
# File 'lib/pago/v2026_04/models.rb', line 30189 def cashflow @cashflow end |
#checkouts ⇒ Integer, ... (readonly)
30054 30055 30056 |
# File 'lib/pago/v2026_04/models.rb', line 30054 def checkouts @checkouts end |
#checkouts_conversion ⇒ Integer, ... (readonly)
30177 30178 30179 |
# File 'lib/pago/v2026_04/models.rb', line 30177 def checkouts_conversion @checkouts_conversion end |
#churn_rate ⇒ Integer, ... (readonly)
30063 30064 30065 |
# File 'lib/pago/v2026_04/models.rb', line 30063 def churn_rate @churn_rate end |
#churned_seat_customers ⇒ Integer, ... (readonly)
30081 30082 30083 |
# File 'lib/pago/v2026_04/models.rb', line 30081 def churned_seat_customers @churned_seat_customers end |
#churned_subscriptions ⇒ Integer, ... (readonly)
30060 30061 30062 |
# File 'lib/pago/v2026_04/models.rb', line 30060 def churned_subscriptions @churned_subscriptions end |
#committed_annual_recurring_revenue ⇒ Integer, ... (readonly)
30174 30175 30176 |
# File 'lib/pago/v2026_04/models.rb', line 30174 def committed_annual_recurring_revenue @committed_annual_recurring_revenue end |
#committed_monthly_recurring_revenue ⇒ Integer, ... (readonly)
30045 30046 30047 |
# File 'lib/pago/v2026_04/models.rb', line 30045 def committed_monthly_recurring_revenue @committed_monthly_recurring_revenue end |
#committed_subscriptions ⇒ Integer, ... (readonly)
30036 30037 30038 |
# File 'lib/pago/v2026_04/models.rb', line 30036 def committed_subscriptions @committed_subscriptions end |
#cost_per_user ⇒ Integer, ... (readonly)
30111 30112 30113 |
# File 'lib/pago/v2026_04/models.rb', line 30111 def cost_per_user @cost_per_user end |
#costs ⇒ Integer, ... (readonly)
30099 30100 30101 |
# File 'lib/pago/v2026_04/models.rb', line 30099 def costs @costs end |
#cumulative_costs ⇒ Integer, ... (readonly)
30102 30103 30104 |
# File 'lib/pago/v2026_04/models.rb', line 30102 def cumulative_costs @cumulative_costs end |
#cumulative_revenue ⇒ Integer, ... (readonly)
30093 30094 30095 |
# File 'lib/pago/v2026_04/models.rb', line 30093 def cumulative_revenue @cumulative_revenue end |
#gross_margin ⇒ Integer, ... (readonly)
30183 30184 30185 |
# File 'lib/pago/v2026_04/models.rb', line 30183 def gross_margin @gross_margin end |
#gross_margin_percentage ⇒ Integer, ... (readonly)
30186 30187 30188 |
# File 'lib/pago/v2026_04/models.rb', line 30186 def gross_margin_percentage @gross_margin_percentage end |
#ltv ⇒ Integer, ... (readonly)
30180 30181 30182 |
# File 'lib/pago/v2026_04/models.rb', line 30180 def ltv @ltv end |
#monthly_recurring_revenue ⇒ Integer, ... (readonly)
30039 30040 30041 |
# File 'lib/pago/v2026_04/models.rb', line 30039 def monthly_recurring_revenue @monthly_recurring_revenue end |
#net_average_order_value ⇒ Integer, ... (readonly)
30108 30109 30110 |
# File 'lib/pago/v2026_04/models.rb', line 30108 def net_average_order_value @net_average_order_value end |
#net_cumulative_revenue ⇒ Integer, ... (readonly)
30096 30097 30098 |
# File 'lib/pago/v2026_04/models.rb', line 30096 def net_cumulative_revenue @net_cumulative_revenue end |
#net_revenue ⇒ Integer, ... (readonly)
30090 30091 30092 |
# File 'lib/pago/v2026_04/models.rb', line 30090 def net_revenue @net_revenue end |
#new_seat_customers ⇒ Integer, ... (readonly)
30078 30079 30080 |
# File 'lib/pago/v2026_04/models.rb', line 30078 def new_seat_customers @new_seat_customers end |
#new_subscriptions ⇒ Integer, ... (readonly)
30126 30127 30128 |
# File 'lib/pago/v2026_04/models.rb', line 30126 def new_subscriptions @new_subscriptions end |
#new_subscriptions_net_revenue ⇒ Integer, ... (readonly)
30132 30133 30134 |
# File 'lib/pago/v2026_04/models.rb', line 30132 def new_subscriptions_net_revenue @new_subscriptions_net_revenue end |
#new_subscriptions_revenue ⇒ Integer, ... (readonly)
30129 30130 30131 |
# File 'lib/pago/v2026_04/models.rb', line 30129 def new_subscriptions_revenue @new_subscriptions_revenue end |
#one_time_products ⇒ Integer, ... (readonly)
30117 30118 30119 |
# File 'lib/pago/v2026_04/models.rb', line 30117 def one_time_products @one_time_products end |
#one_time_products_net_revenue ⇒ Integer, ... (readonly)
30123 30124 30125 |
# File 'lib/pago/v2026_04/models.rb', line 30123 def one_time_products_net_revenue @one_time_products_net_revenue end |
#one_time_products_revenue ⇒ Integer, ... (readonly)
30120 30121 30122 |
# File 'lib/pago/v2026_04/models.rb', line 30120 def one_time_products_revenue @one_time_products_revenue end |
#orders ⇒ Integer, ... (readonly)
30084 30085 30086 |
# File 'lib/pago/v2026_04/models.rb', line 30084 def orders @orders end |
#renewed_subscriptions ⇒ Integer, ... (readonly)
30135 30136 30137 |
# File 'lib/pago/v2026_04/models.rb', line 30135 def renewed_subscriptions @renewed_subscriptions end |
#renewed_subscriptions_net_revenue ⇒ Integer, ... (readonly)
30141 30142 30143 |
# File 'lib/pago/v2026_04/models.rb', line 30141 def renewed_subscriptions_net_revenue @renewed_subscriptions_net_revenue end |
#renewed_subscriptions_revenue ⇒ Integer, ... (readonly)
30138 30139 30140 |
# File 'lib/pago/v2026_04/models.rb', line 30138 def renewed_subscriptions_revenue @renewed_subscriptions_revenue end |
#revenue ⇒ Integer, ... (readonly)
30087 30088 30089 |
# File 'lib/pago/v2026_04/models.rb', line 30087 def revenue @revenue end |
#seat_customers ⇒ Integer, ... (readonly)
30075 30076 30077 |
# File 'lib/pago/v2026_04/models.rb', line 30075 def seat_customers @seat_customers end |
#seat_utilization_rate ⇒ Integer, ... (readonly)
30195 30196 30197 |
# File 'lib/pago/v2026_04/models.rb', line 30195 def seat_utilization_rate @seat_utilization_rate end |
#seats_claimed ⇒ Integer, ... (readonly)
30069 30070 30071 |
# File 'lib/pago/v2026_04/models.rb', line 30069 def seats_claimed @seats_claimed end |
#seats_pending ⇒ Integer, ... (readonly)
30072 30073 30074 |
# File 'lib/pago/v2026_04/models.rb', line 30072 def seats_pending @seats_pending end |
#seats_total ⇒ Integer, ... (readonly)
30066 30067 30068 |
# File 'lib/pago/v2026_04/models.rb', line 30066 def seats_total @seats_total end |
#succeeded_checkouts ⇒ Integer, ... (readonly)
30057 30058 30059 |
# File 'lib/pago/v2026_04/models.rb', line 30057 def succeeded_checkouts @succeeded_checkouts end |
#timestamp ⇒ String (readonly)
Timestamp of this period data.
30030 30031 30032 |
# File 'lib/pago/v2026_04/models.rb', line 30030 def @timestamp end |
#trial_committed_monthly_recurring_revenue ⇒ Integer, ... (readonly)
30048 30049 30050 |
# File 'lib/pago/v2026_04/models.rb', line 30048 def trial_committed_monthly_recurring_revenue @trial_committed_monthly_recurring_revenue end |
#trial_monthly_recurring_revenue ⇒ Integer, ... (readonly)
30042 30043 30044 |
# File 'lib/pago/v2026_04/models.rb', line 30042 def trial_monthly_recurring_revenue @trial_monthly_recurring_revenue end |
Class Method Details
.from_json(data) ⇒ MetricPeriod?
30316 30317 30318 30319 30320 30321 30322 30323 30324 30325 30326 30327 30328 30329 30330 30331 30332 30333 30334 30335 30336 30337 30338 30339 30340 30341 30342 30343 30344 30345 30346 30347 30348 30349 30350 30351 30352 30353 30354 30355 30356 30357 30358 30359 30360 30361 30362 30363 30364 30365 30366 30367 30368 30369 30370 30371 30372 30373 30374 30375 30376 30377 30378 30379 30380 30381 30382 |
# File 'lib/pago/v2026_04/models.rb', line 30316 def self.from_json(data) data = ::JSON.parse(data) if data.is_a?(String) data = ::Pago::Serde.object(data) return nil if data.nil? wrap_raw( new( timestamp: (data.key?("timestamp") ? data["timestamp"] : ::Pago::UNSET), active_subscriptions: (data.key?("active_subscriptions") ? data["active_subscriptions"] : ::Pago::UNSET), committed_subscriptions: (data.key?("committed_subscriptions") ? data["committed_subscriptions"] : ::Pago::UNSET), monthly_recurring_revenue: (data.key?("monthly_recurring_revenue") ? data["monthly_recurring_revenue"] : ::Pago::UNSET), trial_monthly_recurring_revenue: (data.key?("trial_monthly_recurring_revenue") ? data["trial_monthly_recurring_revenue"] : ::Pago::UNSET), committed_monthly_recurring_revenue: (data.key?("committed_monthly_recurring_revenue") ? data["committed_monthly_recurring_revenue"] : ::Pago::UNSET), trial_committed_monthly_recurring_revenue: (data.key?("trial_committed_monthly_recurring_revenue") ? data["trial_committed_monthly_recurring_revenue"] : ::Pago::UNSET), average_revenue_per_user: (data.key?("average_revenue_per_user") ? data["average_revenue_per_user"] : ::Pago::UNSET), checkouts: (data.key?("checkouts") ? data["checkouts"] : ::Pago::UNSET), succeeded_checkouts: (data.key?("succeeded_checkouts") ? data["succeeded_checkouts"] : ::Pago::UNSET), churned_subscriptions: (data.key?("churned_subscriptions") ? data["churned_subscriptions"] : ::Pago::UNSET), churn_rate: (data.key?("churn_rate") ? data["churn_rate"] : ::Pago::UNSET), seats_total: (data.key?("seats_total") ? data["seats_total"] : ::Pago::UNSET), seats_claimed: (data.key?("seats_claimed") ? data["seats_claimed"] : ::Pago::UNSET), seats_pending: (data.key?("seats_pending") ? data["seats_pending"] : ::Pago::UNSET), seat_customers: (data.key?("seat_customers") ? data["seat_customers"] : ::Pago::UNSET), new_seat_customers: (data.key?("new_seat_customers") ? data["new_seat_customers"] : ::Pago::UNSET), churned_seat_customers: (data.key?("churned_seat_customers") ? data["churned_seat_customers"] : ::Pago::UNSET), orders: (data.key?("orders") ? data["orders"] : ::Pago::UNSET), revenue: (data.key?("revenue") ? data["revenue"] : ::Pago::UNSET), net_revenue: (data.key?("net_revenue") ? data["net_revenue"] : ::Pago::UNSET), cumulative_revenue: (data.key?("cumulative_revenue") ? data["cumulative_revenue"] : ::Pago::UNSET), net_cumulative_revenue: (data.key?("net_cumulative_revenue") ? data["net_cumulative_revenue"] : ::Pago::UNSET), costs: (data.key?("costs") ? data["costs"] : ::Pago::UNSET), cumulative_costs: (data.key?("cumulative_costs") ? data["cumulative_costs"] : ::Pago::UNSET), average_order_value: (data.key?("average_order_value") ? data["average_order_value"] : ::Pago::UNSET), net_average_order_value: (data.key?("net_average_order_value") ? data["net_average_order_value"] : ::Pago::UNSET), cost_per_user: (data.key?("cost_per_user") ? data["cost_per_user"] : ::Pago::UNSET), active_user_by_event: (data.key?("active_user_by_event") ? data["active_user_by_event"] : ::Pago::UNSET), one_time_products: (data.key?("one_time_products") ? data["one_time_products"] : ::Pago::UNSET), one_time_products_revenue: (data.key?("one_time_products_revenue") ? data["one_time_products_revenue"] : ::Pago::UNSET), one_time_products_net_revenue: (data.key?("one_time_products_net_revenue") ? data["one_time_products_net_revenue"] : ::Pago::UNSET), new_subscriptions: (data.key?("new_subscriptions") ? data["new_subscriptions"] : ::Pago::UNSET), new_subscriptions_revenue: (data.key?("new_subscriptions_revenue") ? data["new_subscriptions_revenue"] : ::Pago::UNSET), new_subscriptions_net_revenue: (data.key?("new_subscriptions_net_revenue") ? data["new_subscriptions_net_revenue"] : ::Pago::UNSET), renewed_subscriptions: (data.key?("renewed_subscriptions") ? data["renewed_subscriptions"] : ::Pago::UNSET), renewed_subscriptions_revenue: (data.key?("renewed_subscriptions_revenue") ? data["renewed_subscriptions_revenue"] : ::Pago::UNSET), renewed_subscriptions_net_revenue: (data.key?("renewed_subscriptions_net_revenue") ? data["renewed_subscriptions_net_revenue"] : ::Pago::UNSET), canceled_subscriptions: (data.key?("canceled_subscriptions") ? data["canceled_subscriptions"] : ::Pago::UNSET), canceled_subscriptions_customer_service: (data.key?("canceled_subscriptions_customer_service") ? data["canceled_subscriptions_customer_service"] : ::Pago::UNSET), canceled_subscriptions_low_quality: (data.key?("canceled_subscriptions_low_quality") ? data["canceled_subscriptions_low_quality"] : ::Pago::UNSET), canceled_subscriptions_missing_features: (data.key?("canceled_subscriptions_missing_features") ? data["canceled_subscriptions_missing_features"] : ::Pago::UNSET), canceled_subscriptions_switched_service: (data.key?("canceled_subscriptions_switched_service") ? data["canceled_subscriptions_switched_service"] : ::Pago::UNSET), canceled_subscriptions_too_complex: (data.key?("canceled_subscriptions_too_complex") ? data["canceled_subscriptions_too_complex"] : ::Pago::UNSET), canceled_subscriptions_too_expensive: (data.key?("canceled_subscriptions_too_expensive") ? data["canceled_subscriptions_too_expensive"] : ::Pago::UNSET), canceled_subscriptions_unused: (data.key?("canceled_subscriptions_unused") ? data["canceled_subscriptions_unused"] : ::Pago::UNSET), canceled_subscriptions_other: (data.key?("canceled_subscriptions_other") ? data["canceled_subscriptions_other"] : ::Pago::UNSET), annual_recurring_revenue: (data.key?("annual_recurring_revenue") ? data["annual_recurring_revenue"] : ::Pago::UNSET), committed_annual_recurring_revenue: (data.key?("committed_annual_recurring_revenue") ? data["committed_annual_recurring_revenue"] : ::Pago::UNSET), checkouts_conversion: (data.key?("checkouts_conversion") ? data["checkouts_conversion"] : ::Pago::UNSET), ltv: (data.key?("ltv") ? data["ltv"] : ::Pago::UNSET), gross_margin: (data.key?("gross_margin") ? data["gross_margin"] : ::Pago::UNSET), gross_margin_percentage: (data.key?("gross_margin_percentage") ? data["gross_margin_percentage"] : ::Pago::UNSET), cashflow: (data.key?("cashflow") ? data["cashflow"] : ::Pago::UNSET), average_seats_per_customer: (data.key?("average_seats_per_customer") ? data["average_seats_per_customer"] : ::Pago::UNSET), seat_utilization_rate: (data.key?("seat_utilization_rate") ? data["seat_utilization_rate"] : ::Pago::UNSET) ), data ) end |