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, reversed: nil, upcoming: nil) ⇒ PayoutStatusMetric
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, reversed: nil, upcoming: nil) ⇒ PayoutStatusMetric
Affiliate only. Payout counts and amounts by status.
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 770 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?
774 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 774 optional :count, Integer |
#total_amount ⇒ Integer?
Total payout amount in minor currency units.
780 |
# File 'lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb', line 780 optional :total_amount, Integer, api_name: :totalAmount |
Instance Method Details
#to_hash ⇒ { count: Integer, total_amount: Integer }
762 |
# File 'sig/growsurf_ruby/models/campaign_retrieve_analytics_response.rbs', line 762
def to_hash: -> { count: Integer, total_amount: Integer }
|