Class: EInvoiceAPI::Models::DocumentResponse::PaymentDetail

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

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

#initializeObject



933
# File 'sig/e_invoice_api/models/document_response.rbs', line 933

def initialize: (

Instance Attribute Details

#bank_account_numberString?

Bank account number (for non-IBAN accounts)

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


962
# File 'lib/e_invoice_api/models/document_response.rb', line 962

optional :bank_account_number, String, nil?: true

#ibanString?

International Bank Account Number for payment transfers

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


968
# File 'lib/e_invoice_api/models/document_response.rb', line 968

optional :iban, String, nil?: true

#payment_referenceString?

Structured payment reference or communication (e.g., structured communication for Belgian bank transfers)

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


975
# File 'lib/e_invoice_api/models/document_response.rb', line 975

optional :payment_reference, String, nil?: true

#swiftString?

SWIFT/BIC code of the bank

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


981
# File 'lib/e_invoice_api/models/document_response.rb', line 981

optional :swift, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


940
# File 'sig/e_invoice_api/models/document_response.rbs', line 940

def to_hash: -> {