Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverrideSpecifier

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb

Defined Under Namespace

Modules: BillingFrequency

Instance Attribute Summary collapse

Instance Method Summary collapse

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(billing_frequency: nil, commit_ids: nil, presentation_group_values: nil, pricing_group_values: nil, product_id: nil, product_tags: nil, recurring_commit_ids: nil, recurring_credit_ids: nil) ⇒ Object

Parameters:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 753

class OverrideSpecifier < MetronomeSDK::Internal::Type::BaseModel
  # @!attribute billing_frequency
  #
  #   @return [Symbol, MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverrideSpecifier::BillingFrequency, nil]
  optional :billing_frequency,
           enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverrideSpecifier::BillingFrequency }

  # @!attribute commit_ids
  #
  #   @return [Array<String>, nil]
  optional :commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]

  # @!attribute presentation_group_values
  #
  #   @return [Hash{Symbol=>String, nil}, nil]
  optional :presentation_group_values, MetronomeSDK::Internal::Type::HashOf[String, nil?: true]

  # @!attribute pricing_group_values
  #
  #   @return [Hash{Symbol=>String}, nil]
  optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]

  # @!attribute product_id
  #
  #   @return [String, nil]
  optional :product_id, String

  # @!attribute product_tags
  #
  #   @return [Array<String>, nil]
  optional :product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]

  # @!attribute recurring_commit_ids
  #
  #   @return [Array<String>, nil]
  optional :recurring_commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]

  # @!attribute recurring_credit_ids
  #
  #   @return [Array<String>, nil]
  optional :recurring_credit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]

  # @!method initialize(billing_frequency: nil, commit_ids: nil, presentation_group_values: nil, pricing_group_values: nil, product_id: nil, product_tags: nil, recurring_commit_ids: nil, recurring_credit_ids: nil)
  #   @param billing_frequency [Symbol, MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverrideSpecifier::BillingFrequency]
  #   @param commit_ids [Array<String>]
  #   @param presentation_group_values [Hash{Symbol=>String, nil}]
  #   @param pricing_group_values [Hash{Symbol=>String}]
  #   @param product_id [String]
  #   @param product_tags [Array<String>]
  #   @param recurring_commit_ids [Array<String>]
  #   @param recurring_credit_ids [Array<String>]

  # @see MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverrideSpecifier#billing_frequency
  module BillingFrequency
    extend MetronomeSDK::Internal::Type::Enum

    MONTHLY = :MONTHLY
    QUARTERLY = :QUARTERLY
    ANNUAL = :ANNUAL
    WEEKLY = :WEEKLY

    # @!method self.values
    #   @return [Array<Symbol>]
  end
end

Instance Attribute Details

#billing_frequencySymbol, ...



757
758
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 757

optional :billing_frequency,
enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverrideSpecifier::BillingFrequency }

#commit_idsArray<String>?

Returns:

  • (Array<String>, nil)


763
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 763

optional :commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]

#presentation_group_valuesHash{Symbol=>String, nil}?

Returns:

  • (Hash{Symbol=>String, nil}, nil)


768
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 768

optional :presentation_group_values, MetronomeSDK::Internal::Type::HashOf[String, nil?: true]

#pricing_group_valuesHash{Symbol=>String}?

Returns:

  • (Hash{Symbol=>String}, nil)


773
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 773

optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]

#product_idString?

Returns:

  • (String, nil)


778
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 778

optional :product_id, String

#product_tagsArray<String>?

Returns:

  • (Array<String>, nil)


783
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 783

optional :product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]

#recurring_commit_idsArray<String>?

Returns:

  • (Array<String>, nil)


788
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 788

optional :recurring_commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]

#recurring_credit_idsArray<String>?

Returns:

  • (Array<String>, nil)


793
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 793

optional :recurring_credit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]