Class: Orb::Models::InvoiceMarkPaidParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/orb/models/invoice_mark_paid_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

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, 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(payment_received_date: , external_id: nil, notes: nil, request_options: {}) ⇒ Object

Parameters:

  • payment_received_date (Date) (defaults to: )

    A date string to specify the date of the payment.

  • external_id (String, nil) (defaults to: nil)

    An optional external ID to associate with the payment.

  • notes (String, nil) (defaults to: nil)

    An optional note to associate with the payment.

  • request_options (Orb::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/orb/models/invoice_mark_paid_params.rb', line 28


Instance Attribute Details

#external_idString?

An optional external ID to associate with the payment.

Returns:

  • (String, nil)


20
# File 'lib/orb/models/invoice_mark_paid_params.rb', line 20

optional :external_id, String, nil?: true

#notesString?

An optional note to associate with the payment.

Returns:

  • (String, nil)


26
# File 'lib/orb/models/invoice_mark_paid_params.rb', line 26

optional :notes, String, nil?: true

#payment_received_dateDate

A date string to specify the date of the payment.

Returns:

  • (Date)


14
# File 'lib/orb/models/invoice_mark_paid_params.rb', line 14

required :payment_received_date, Date