Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddScheduledCharge

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

Defined Under Namespace

Classes: Product

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(id: , product: , schedule: , name: nil, netsuite_sales_order_id: nil) ⇒ Object

Parameters:



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

Instance Attribute Details

#idString

Returns:

  • (String)


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

required :id, String

#nameString?

displayed on invoices

Returns:

  • (String, nil)


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

optional :name, String

#netsuite_sales_order_idString?

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

Returns:

  • (String, nil)


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

optional :netsuite_sales_order_id, String

#productMetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddScheduledCharge::Product



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

required :product,
-> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddScheduledCharge::Product }

#scheduleMetronomeSDK::Models::SchedulePointInTime



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

required :schedule, -> { MetronomeSDK::SchedulePointInTime }