Class: MetronomeSDK::Models::V1::ContractScheduleProServicesInvoiceParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/metronome_sdk/models/v1/contract_schedule_pro_services_invoice_params.rb

Overview

Defined Under Namespace

Classes: LineItem

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Method Summary

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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

#contract_idString

Returns:

  • (String)


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

required :contract_id, String

#customer_idString

Returns:

  • (String)


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

required :customer_id, String

#issued_atTime

The date the invoice is issued

Returns:

  • (Time)


25
# File 'lib/metronome_sdk/models/v1/contract_schedule_pro_services_invoice_params.rb', line 25

required :issued_at, Time

#line_itemsArray<MetronomeSDK::Models::V1::ContractScheduleProServicesInvoiceParams::LineItem>

Each line requires an amount or both unit_price and quantity.



31
32
# File 'lib/metronome_sdk/models/v1/contract_schedule_pro_services_invoice_params.rb', line 31

required :line_items,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractScheduleProServicesInvoiceParams::LineItem] }

#netsuite_invoice_header_endTime?

The end date of the invoice header in Netsuite

Returns:

  • (Time, nil)


38
# File 'lib/metronome_sdk/models/v1/contract_schedule_pro_services_invoice_params.rb', line 38

optional :netsuite_invoice_header_end, Time

#netsuite_invoice_header_startTime?

The start date of the invoice header in Netsuite

Returns:

  • (Time, nil)


44
# File 'lib/metronome_sdk/models/v1/contract_schedule_pro_services_invoice_params.rb', line 44

optional :netsuite_invoice_header_start, Time