Class: MetronomeSDK::Models::V1::ContractCreateParams::ProfessionalService

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

Instance Attribute Summary collapse

Method Summary

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

#custom_fieldsHash{Symbol=>String}?

Custom fields to be added eg. { “key1”: “value1”, “key2”: “value2” }

Returns:

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


1885
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1885

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

#descriptionString?

Returns:

  • (String, nil)


1890
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1890

optional :description, String

#max_amountFloat

Maximum amount for the term.

Returns:

  • (Float)


1860
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1860

required :max_amount, Float

#netsuite_sales_order_idString?

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

Returns:

  • (String, nil)


1896
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1896

optional :netsuite_sales_order_id, String

#product_idString

Returns:

  • (String)


1865
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1865

required :product_id, String

#quantityFloat

Quantity for the charge. Will be multiplied by unit_price to determine the amount.

Returns:

  • (Float)


1872
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1872

required :quantity, Float

#unit_priceFloat

Unit price for the charge. Will be multiplied by quantity to determine the amount and must be specified.

Returns:

  • (Float)


1879
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1879

required :unit_price, Float