Sha256: b9e333298552127bba82225d0cba869f2c819440a2d200d8779525ff84a0de0f
Contents?: true
Size: 595 Bytes
Versions: 12
Compression:
Stored size: 595 Bytes
Contents
module NetSuite module Records class CustomerPaymentApplyList include Namespaces::TranCust def initialize(attributes = {}) case attributes[:apply] when Hash applies << CustomerPaymentApply.new(attributes[:apply]) when Array attributes[:apply].each { |apply| applies << CustomerPaymentApply.new(apply) } end end def applies @applies ||= [] end def to_record applies.map do |apply| { "#{record_namespace}:apply" => apply.to_record } end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems