Sha256: 5c2216d5c3c483075562ca1ce7f587a075852215725c971c5eb46383531b1a75
Contents?: true
Size: 437 Bytes
Versions: 43
Compression:
Stored size: 437 Bytes
Contents
module NetSuite module Records class PricingMatrix include Namespaces::PlatformCore def initialize(attributes = {}) attributes[:pricing].each do |pricing| prices << RecordRef.new(pricing) end if attributes[:pricing] end def prices @prices ||= [] end def to_record { "#{record_namespace}:item" => prices.map(&:to_record) } end end end end
Version data entries
43 entries across 43 versions & 1 rubygems