Class: MetronomeSDK::Models::V1::ContractCreateParams::ProfessionalService
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::ContractCreateParams::ProfessionalService
- Defined in:
- lib/metronome_sdk/models/v1/contract_create_params.rb
Instance Attribute Summary collapse
-
#custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg.
- #description ⇒ String?
-
#max_amount ⇒ Float
Maximum amount for the term.
-
#netsuite_sales_order_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
- #product_id ⇒ String
-
#quantity ⇒ Float
Quantity for the charge.
-
#unit_price ⇒ Float
Unit price for the charge.
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_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg. { “key1”: “value1”, “key2”: “value2” }
1885 |
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1885 optional :custom_fields, MetronomeSDK::Internal::Type::HashOf[String] |
#description ⇒ String?
1890 |
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1890 optional :description, String |
#max_amount ⇒ Float
Maximum amount for the term.
1860 |
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1860 required :max_amount, Float |
#netsuite_sales_order_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
1896 |
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1896 optional :netsuite_sales_order_id, String |
#product_id ⇒ String
1865 |
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1865 required :product_id, String |
#quantity ⇒ Float
Quantity for the charge. Will be multiplied by unit_price to determine the amount.
1872 |
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1872 required :quantity, Float |
#unit_price ⇒ Float
Unit price for the charge. Will be multiplied by quantity to determine the amount and must be specified.
1879 |
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 1879 required :unit_price, Float |