Class: GrowsurfRuby::Models::CampaignRetrieveAnalyticsResponse::StatusCounts::CommissionStatus::CommissionStatusMetric
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- GrowsurfRuby::Models::CampaignRetrieveAnalyticsResponse::StatusCounts::CommissionStatus::CommissionStatusMetric
- Defined in:
- lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb,
sig/growsurf_ruby/models/campaign_retrieve_analytics_response.rbs
Instance Attribute Summary collapse
- #count ⇒ Integer?
-
#total_amount ⇒ Integer?
Total commission amount in minor currency units.
-
#total_revenue ⇒ Integer?
Total attributed revenue in minor currency units.
Instance Method Summary collapse
-
#initialize(approved: nil, paid: nil, pending: nil, reversed: nil) ⇒ Object
constructor
Affiliate only.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(approved: nil, paid: nil, pending: nil, reversed: nil) ⇒ Object
Affiliate only. Commission counts and amounts by status.
688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 688 class CommissionStatusMetric < GrowsurfRuby::Internal::Type::BaseModel # @!attribute count # # @return [Integer, nil] optional :count, Integer # @!attribute total_amount # Total commission amount in minor currency units. # # @return [Integer, nil] optional :total_amount, Integer, api_name: :totalAmount # @!attribute total_revenue # Total attributed revenue in minor currency units. # # @return [Integer, nil] optional :total_revenue, Integer, api_name: :totalRevenue # @!method initialize(count: nil, total_amount: nil, total_revenue: nil) # @param count [Integer] # # @param total_amount [Integer] Total commission amount in minor currency units. # # @param total_revenue [Integer] Total attributed revenue in minor currency units. end |
Instance Attribute Details
#count ⇒ Integer?
692 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 692 optional :count, Integer |
#total_amount ⇒ Integer?
Total commission amount in minor currency units.
698 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 698 optional :total_amount, Integer, api_name: :totalAmount |
#total_revenue ⇒ Integer?
Total attributed revenue in minor currency units.
704 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 704 optional :total_revenue, Integer, api_name: :totalRevenue |
Instance Method Details
#to_hash ⇒ {
685 |
# File 'sig/growsurf_ruby/models/campaign_retrieve_analytics_response.rbs', line 685
def to_hash: -> {
|