Class: Increase::Models::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/ach_transfer.rb

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(invoices: ) ⇒ Object

Structured ASC X12 820 remittance advice records. Please reach out to [[email protected]]([email protected]) for more information.

Parameters:



446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
# File 'lib/increase/models/ach_transfer.rb', line 446

class Invoice < Increase::Internal::Type::BaseModel
  # @!attribute invoice_number
  #   The invoice number for this reference, determined in advance with the receiver.
  #
  #   @return [String]
  required :invoice_number, String

  # @!attribute paid_amount
  #   The amount that was paid for this invoice in the minor unit of its currency. For
  #   dollars, for example, this is cents.
  #
  #   @return [Integer]
  required :paid_amount, Integer

  # @!method initialize(invoice_number:, paid_amount:)
  #   Some parameter documentations has been truncated, see
  #   {Increase::Models::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice}
  #   for more details.
  #
  #   @param invoice_number [String] The invoice number for this reference, determined in advance with the receiver.
  #
  #   @param paid_amount [Integer] The amount that was paid for this invoice in the minor unit of its currency. For
end

Instance Attribute Details

#invoice_numberString

The invoice number for this reference, determined in advance with the receiver.

Returns:

  • (String)


451
# File 'lib/increase/models/ach_transfer.rb', line 451

required :invoice_number, String

The amount that was paid for this invoice in the minor unit of its currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


458
# File 'lib/increase/models/ach_transfer.rb', line 458

required :paid_amount, Integer