Class: MetronomeSDK::Models::ContractWithoutAmendments

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/contract_without_amendments.rb

Defined Under Namespace

Modules: ScheduledChargesOnUsageInvoices Classes: RecurringCommit, RecurringCredit, ResellerRoyalty, Transition, UsageFilter, UsageStatementSchedule

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from MetronomeSDK::Internal::Type::BaseModel

Instance Attribute Details

#commitsArray<MetronomeSDK::Models::Commit>

Returns:



9
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 9

required :commits, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Commit] }

#created_atTime

Returns:

  • (Time)


14
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 14

required :created_at, Time

#created_byString

Returns:

  • (String)


19
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 19

required :created_by, String

#creditsArray<MetronomeSDK::Models::Credit>?

Returns:



50
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 50

optional :credits, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Credit] }

#discountsArray<MetronomeSDK::Models::Discount>?

This field’s availability is dependent on your client’s

Returns:



56
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 56

optional :discounts, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Discount] }

#ending_beforeTime?

Returns:

  • (Time, nil)


61
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 61

optional :ending_before, Time

#hierarchy_configurationMetronomeSDK::Models::HierarchyConfiguration::ParentHierarchyConfiguration, ...

Either a parent configuration with a list of children or a child configuration with a single parent.



68
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 68

optional :hierarchy_configuration, union: -> { MetronomeSDK::HierarchyConfiguration }

#nameString?

Returns:

  • (String, nil)


73
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 73

optional :name, String

#net_payment_terms_daysFloat?

Returns:

  • (Float, nil)


78
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 78

optional :net_payment_terms_days, Float

#netsuite_sales_order_idString?

This field’s availability is dependent on your client’s configuration.

Returns:

  • (String, nil)


84
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 84

optional :netsuite_sales_order_id, String

#overridesArray<MetronomeSDK::Models::Override>

Returns:



24
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 24

required :overrides, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Override] }

#prepaid_balance_threshold_configurationMetronomeSDK::Models::PrepaidBalanceThresholdConfiguration?



89
90
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 89

optional :prepaid_balance_threshold_configuration,
-> { MetronomeSDK::PrepaidBalanceThresholdConfiguration }

#professional_servicesArray<MetronomeSDK::Models::ProService>?

This field’s availability is dependent on your client’s configuration.

Returns:



96
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 96

optional :professional_services, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::ProService] }

#rate_card_idString?

Returns:

  • (String, nil)


101
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 101

optional :rate_card_id, String

#recurring_commitsArray<MetronomeSDK::Models::ContractWithoutAmendments::RecurringCommit>?



106
107
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 106

optional :recurring_commits,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::ContractWithoutAmendments::RecurringCommit] }

#recurring_creditsArray<MetronomeSDK::Models::ContractWithoutAmendments::RecurringCredit>?



112
113
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 112

optional :recurring_credits,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::ContractWithoutAmendments::RecurringCredit] }

#reseller_royaltiesArray<MetronomeSDK::Models::ContractWithoutAmendments::ResellerRoyalty>?

This field’s availability is dependent on your client’s configuration.



119
120
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 119

optional :reseller_royalties,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::ContractWithoutAmendments::ResellerRoyalty] }

#salesforce_opportunity_idString?

This field’s availability is dependent on your client’s configuration.

Returns:

  • (String, nil)


126
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 126

optional :salesforce_opportunity_id, String

#scheduled_chargesArray<MetronomeSDK::Models::ScheduledCharge>



29
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 29

required :scheduled_charges, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::ScheduledCharge] }

#scheduled_charges_on_usage_invoicesSymbol, ...

Determines which scheduled and commit charges to consolidate onto the Contract’s usage invoice. The charge’s ‘timestamp` must match the usage invoice’s ‘ending_before` date for consolidation to occur. This field cannot be modified after a Contract has been created. If this field is omitted, charges will appear on a separate invoice from usage charges.



136
137
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 136

optional :scheduled_charges_on_usage_invoices,
enum: -> { MetronomeSDK::ContractWithoutAmendments::ScheduledChargesOnUsageInvoices }

#spend_threshold_configurationMetronomeSDK::Models::SpendThresholdConfiguration?



142
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 142

optional :spend_threshold_configuration, -> { MetronomeSDK::SpendThresholdConfiguration }

#starting_atTime

Returns:

  • (Time)


34
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 34

required :starting_at, Time

#total_contract_valueFloat?

This field’s availability is dependent on your client’s configuration.

Returns:

  • (Float, nil)


148
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 148

optional :total_contract_value, Float

#transitionsArray<MetronomeSDK::Models::ContractWithoutAmendments::Transition>



39
40
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 39

required :transitions,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::ContractWithoutAmendments::Transition] }

#usage_filterMetronomeSDK::Models::ContractWithoutAmendments::UsageFilter?



153
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 153

optional :usage_filter, -> { MetronomeSDK::ContractWithoutAmendments::UsageFilter }

#usage_statement_scheduleMetronomeSDK::Models::ContractWithoutAmendments::UsageStatementSchedule



45
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 45

required :usage_statement_schedule, -> { MetronomeSDK::ContractWithoutAmendments::UsageStatementSchedule }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 239