Class: Amocrm::Models::AccountGetResponse::AccountInfo::InvoicesSettings

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/account_get_response.rb,
sig/amocrm/models/account_get_response.rbs

Overview

See Also:

  • Amocrm::Models::AccountGetResponse::AccountInfo#invoices_settings

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 ⇒ InvoicesSettings

Returns a new instance of InvoicesSettings.

Parameters:

  • invoices_catalog_id: (Integer)
  • lang: (String)


435
# File 'sig/amocrm/models/account_get_response.rbs', line 435

def initialize: (?invoices_catalog_id: Integer, ?lang: String) -> void

Instance Attribute Details

#invoices_catalog_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


363
# File 'lib/amocrm/models/account_get_response.rb', line 363

optional :invoices_catalog_id, Integer

#lang ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


368
# File 'lib/amocrm/models/account_get_response.rb', line 368

optional :lang, String

Instance Method Details

#to_hash ⇒ { invoices_catalog_id: Integer, lang: String }

Returns:

  • ({ invoices_catalog_id: Integer, lang: String })


437
# File 'sig/amocrm/models/account_get_response.rbs', line 437

def to_hash: -> { invoices_catalog_id: Integer, lang: String }