class Moneta::Api::Types::InvoiceBatchRequestType
Тип, описывающий параметры операции в запросах в пакетном режиме. Transaction parameters type for requests in batch processing mode.
Public Instance Methods
add_transaction(item)
click to toggle source
Набор операций, которые необходимо выполнить в одном пакете. Операции выполняются в том порядке, в котором они переданы в запросе. Set of transfers to be processed in one batch. Processed in order of appearance. @param @return void
# File lib/moneta/api/types/invoice_batch_request_type.rb, line 36 def add_transaction(item) if item.kind_of? Moneta::Api::Types::InvoiceRequestType (@transaction ||=[]).push(item) else raise TypeError.new("TypeError: can't convert #{ item.class } into Moneta::Api::Types::InvoiceRequestType") end end