Class: Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/ach_transfer_create_params.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. Required if and only if ‘category` is `payment_order_remittance_advice`.

Parameters:



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# File 'lib/increase/models/ach_transfer_create_params.rb', line 291

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::ACHTransferCreateParams::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)


296
# File 'lib/increase/models/ach_transfer_create_params.rb', line 296

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)


303
# File 'lib/increase/models/ach_transfer_create_params.rb', line 303

required :paid_amount, Integer