Class: GrowsurfRuby::Models::CampaignRetrieveAnalyticsResponse::StatusCounts::PayoutStatus::PayoutStatusMetric
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- GrowsurfRuby::Models::CampaignRetrieveAnalyticsResponse::StatusCounts::PayoutStatus::PayoutStatusMetric
- 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 payout amount in minor currency units.
Instance Method Summary collapse
-
#initialize(failed: nil, issued: nil, queued: nil, upcoming: nil) ⇒ Object
constructor
Affiliate only.
- #to_hash ⇒ { count: Integer, total_amount: Integer }
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(failed: nil, issued: nil, queued: nil, upcoming: nil) ⇒ Object
Affiliate only. Payout counts and amounts by status.
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 733 class PayoutStatusMetric < GrowsurfRuby::Internal::Type::BaseModel # @!attribute count # # @return [Integer, nil] optional :count, Integer # @!attribute total_amount # Total payout amount in minor currency units. # # @return [Integer, nil] optional :total_amount, Integer, api_name: :totalAmount # @!method initialize(count: nil, total_amount: nil) # @param count [Integer] # # @param total_amount [Integer] Total payout amount in minor currency units. end |
Instance Attribute Details
#count ⇒ Integer?
737 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 737 optional :count, Integer |
#total_amount ⇒ Integer?
Total payout amount in minor currency units.
743 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 743 optional :total_amount, Integer, api_name: :totalAmount |
Instance Method Details
#to_hash ⇒ { count: Integer, total_amount: Integer }
746 |
# File 'sig/growsurf_ruby/models/campaign_retrieve_analytics_response.rbs', line 746
def to_hash: -> { count: Integer, total_amount: Integer }
|