Class: EInvoiceAPI::Models::MeRetrieveResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/e_invoice_api/models/me_retrieve_response.rb

Overview

Defined Under Namespace

Modules: Plan

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(credit_balance: , name: , plan: , bcc_recipient_email: nil, company_address: nil, company_city: nil, company_country: nil, company_email: nil, company_name: nil, company_number: nil, company_zip: nil, description: nil, ibans: nil, peppol_ids: nil, smp_registration: nil, smp_registration_date: nil) ⇒ Object

Parameters:

  • credit_balance (Integer) (defaults to: )

    Credit balance of the tenant

  • name (String) (defaults to: )
  • plan (Symbol, EInvoiceAPI::Models::MeRetrieveResponse::Plan) (defaults to: )

    Plan of the tenant

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

    BCC recipient email to deliver documents

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

    Address of the company

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

    City of the company

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

    Country of the company

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

    Email of the company

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

    Name of the company

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

    Company number

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

    Zip code of the company

  • description (String, nil) (defaults to: nil)
  • ibans (Array<String>, nil) (defaults to: nil)

    IBANs of the tenant

  • peppol_ids (Array<String>, nil) (defaults to: nil)

    Peppol IDs of the tenant

  • smp_registration (Boolean, nil) (defaults to: nil)

    Whether the tenant is registered on our SMP

  • smp_registration_date (Time, nil) (defaults to: nil)

    Date when the tenant was registered on SMP



# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 101

Instance Attribute Details

#bcc_recipient_emailString?

BCC recipient email to deliver documents

Returns:

  • (String, nil)


28
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 28

optional :bcc_recipient_email, String, nil?: true

#company_addressString?

Address of the company

Returns:

  • (String, nil)


34
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 34

optional :company_address, String, nil?: true

#company_cityString?

City of the company

Returns:

  • (String, nil)


40
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 40

optional :company_city, String, nil?: true

#company_countryString?

Country of the company

Returns:

  • (String, nil)


46
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 46

optional :company_country, String, nil?: true

#company_emailString?

Email of the company

Returns:

  • (String, nil)


52
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 52

optional :company_email, String, nil?: true

#company_nameString?

Name of the company

Returns:

  • (String, nil)


58
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 58

optional :company_name, String, nil?: true

#company_numberString?

Company number

Returns:

  • (String, nil)


64
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 64

optional :company_number, String, nil?: true

#company_zipString?

Zip code of the company

Returns:

  • (String, nil)


70
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 70

optional :company_zip, String, nil?: true

#credit_balanceInteger

Credit balance of the tenant

Returns:

  • (Integer)


11
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 11

required :credit_balance, Integer

#descriptionString?

Returns:

  • (String, nil)


75
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 75

optional :description, String, nil?: true

#ibansArray<String>?

IBANs of the tenant

Returns:

  • (Array<String>, nil)


81
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 81

optional :ibans, EInvoiceAPI::Internal::Type::ArrayOf[String], nil?: true

#nameString

Returns:

  • (String)


16
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 16

required :name, String

#peppol_idsArray<String>?

Peppol IDs of the tenant

Returns:

  • (Array<String>, nil)


87
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 87

optional :peppol_ids, EInvoiceAPI::Internal::Type::ArrayOf[String], nil?: true

#planSymbol, EInvoiceAPI::Models::MeRetrieveResponse::Plan

Plan of the tenant



22
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 22

required :plan, enum: -> { EInvoiceAPI::Models::MeRetrieveResponse::Plan }

#smp_registrationBoolean?

Whether the tenant is registered on our SMP

Returns:

  • (Boolean, nil)


93
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 93

optional :smp_registration, EInvoiceAPI::Internal::Type::Boolean, nil?: true

#smp_registration_dateTime?

Date when the tenant was registered on SMP

Returns:

  • (Time, nil)


99
# File 'lib/e_invoice_api/models/me_retrieve_response.rb', line 99

optional :smp_registration_date, Time, nil?: true