Class: Pago::V2026_04::Models::OrganizationDetails
- Defined in:
- lib/pago/v2026_04/models.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- JSON_KEYS =
{ about: "about", product_description: "product_description", selling_categories: "selling_categories", pricing_models: "pricing_models", intended_use: "intended_use", customer_acquisition: "customer_acquisition", future_annual_revenue: "future_annual_revenue", switching: "switching", switching_from: "switching_from", previous_annual_revenue: "previous_annual_revenue" }.freeze
- REQUIRED_KEYS =
[].freeze
Instance Attribute Summary collapse
- #about ⇒ String? readonly deprecated Deprecated.
- #customer_acquisition ⇒ Array<String> readonly deprecated Deprecated.
- #future_annual_revenue ⇒ Integer? readonly deprecated Deprecated.
- #intended_use ⇒ String? readonly deprecated Deprecated.
- #previous_annual_revenue ⇒ Integer? readonly deprecated Deprecated.
-
#pricing_models ⇒ Array<String>
readonly
Pricing models used by the organization.
-
#product_description ⇒ String?
readonly
Description of digital products being sold.
-
#selling_categories ⇒ Array<String>
readonly
Categories of products being sold.
-
#switching ⇒ Boolean
readonly
Switching from another platform?.
-
#switching_from ⇒ String?
readonly
Which platform the organization is migrating from.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(about: ::Pago::UNSET, product_description: ::Pago::UNSET, selling_categories: ::Pago::UNSET, pricing_models: ::Pago::UNSET, intended_use: ::Pago::UNSET, customer_acquisition: ::Pago::UNSET, future_annual_revenue: ::Pago::UNSET, switching: ::Pago::UNSET, switching_from: ::Pago::UNSET, previous_annual_revenue: ::Pago::UNSET) ⇒ OrganizationDetails
constructor
A new instance of OrganizationDetails.
Methods inherited from Model
#==, #[], #field_set?, #hash, #inspect, json_keys, required_json_keys, #to_json, #to_json_hash, wrap_raw
Constructor Details
#initialize(about: ::Pago::UNSET, product_description: ::Pago::UNSET, selling_categories: ::Pago::UNSET, pricing_models: ::Pago::UNSET, intended_use: ::Pago::UNSET, customer_acquisition: ::Pago::UNSET, future_annual_revenue: ::Pago::UNSET, switching: ::Pago::UNSET, switching_from: ::Pago::UNSET, previous_annual_revenue: ::Pago::UNSET) ⇒ OrganizationDetails
Returns a new instance of OrganizationDetails.
34737 34738 34739 34740 34741 34742 34743 34744 34745 34746 34747 34748 34749 34750 34751 34752 34753 34754 34755 34756 34757 34758 34759 34760 |
# File 'lib/pago/v2026_04/models.rb', line 34737 def initialize( about: ::Pago::UNSET, product_description: ::Pago::UNSET, selling_categories: ::Pago::UNSET, pricing_models: ::Pago::UNSET, intended_use: ::Pago::UNSET, customer_acquisition: ::Pago::UNSET, future_annual_revenue: ::Pago::UNSET, switching: ::Pago::UNSET, switching_from: ::Pago::UNSET, previous_annual_revenue: ::Pago::UNSET ) super() assign(:about, about) assign(:product_description, product_description) assign(:selling_categories, selling_categories) assign(:pricing_models, pricing_models) assign(:intended_use, intended_use) assign(:customer_acquisition, customer_acquisition) assign(:future_annual_revenue, future_annual_revenue) assign(:switching, switching) assign(:switching_from, switching_from) assign(:previous_annual_revenue, previous_annual_revenue) end |
Instance Attribute Details
#about ⇒ String? (readonly)
Brief information about you and your business.
34695 34696 34697 |
# File 'lib/pago/v2026_04/models.rb', line 34695 def about @about end |
#customer_acquisition ⇒ Array<String> (readonly)
Main customer acquisition channels.
34717 34718 34719 |
# File 'lib/pago/v2026_04/models.rb', line 34717 def customer_acquisition @customer_acquisition end |
#future_annual_revenue ⇒ Integer? (readonly)
Estimated revenue in the next 12 months
34722 34723 34724 |
# File 'lib/pago/v2026_04/models.rb', line 34722 def future_annual_revenue @future_annual_revenue end |
#intended_use ⇒ String? (readonly)
How the organization will integrate and use Pago.
34712 34713 34714 |
# File 'lib/pago/v2026_04/models.rb', line 34712 def intended_use @intended_use end |
#previous_annual_revenue ⇒ Integer? (readonly)
Revenue from last year if applicable.
34735 34736 34737 |
# File 'lib/pago/v2026_04/models.rb', line 34735 def previous_annual_revenue @previous_annual_revenue end |
#pricing_models ⇒ Array<String> (readonly)
Pricing models used by the organization.
34707 34708 34709 |
# File 'lib/pago/v2026_04/models.rb', line 34707 def pricing_models @pricing_models end |
#product_description ⇒ String? (readonly)
Description of digital products being sold.
34699 34700 34701 |
# File 'lib/pago/v2026_04/models.rb', line 34699 def product_description @product_description end |
#selling_categories ⇒ Array<String> (readonly)
Categories of products being sold.
34703 34704 34705 |
# File 'lib/pago/v2026_04/models.rb', line 34703 def selling_categories @selling_categories end |
#switching ⇒ Boolean (readonly)
Switching from another platform?
34726 34727 34728 |
# File 'lib/pago/v2026_04/models.rb', line 34726 def switching @switching end |
#switching_from ⇒ String? (readonly)
Which platform the organization is migrating from.
34730 34731 34732 |
# File 'lib/pago/v2026_04/models.rb', line 34730 def switching_from @switching_from end |
Class Method Details
.from_json(data) ⇒ OrganizationDetails?
34764 34765 34766 34767 34768 34769 34770 34771 34772 34773 34774 34775 34776 34777 34778 34779 34780 34781 34782 34783 34784 |
# File 'lib/pago/v2026_04/models.rb', line 34764 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( about: (data.key?("about") ? data["about"] : ::Pago::UNSET), product_description: (data.key?("product_description") ? data["product_description"] : ::Pago::UNSET), selling_categories: (data.key?("selling_categories") ? data["selling_categories"] : ::Pago::UNSET), pricing_models: (data.key?("pricing_models") ? data["pricing_models"] : ::Pago::UNSET), intended_use: (data.key?("intended_use") ? data["intended_use"] : ::Pago::UNSET), customer_acquisition: (data.key?("customer_acquisition") ? data["customer_acquisition"] : ::Pago::UNSET), future_annual_revenue: (data.key?("future_annual_revenue") ? data["future_annual_revenue"] : ::Pago::UNSET), switching: (data.key?("switching") ? data["switching"] : ::Pago::UNSET), switching_from: (data.key?("switching_from") ? data["switching_from"] : ::Pago::UNSET), previous_annual_revenue: (data.key?("previous_annual_revenue") ? data["previous_annual_revenue"] : ::Pago::UNSET) ), data ) end |