Sha256: 90a26f88124c101647c6586a1ffeebd84e58c81b5f37306eff17e4907a136544
Contents?: true
Size: 413 Bytes
Versions: 21
Compression:
Stored size: 413 Bytes
Contents
class Kaui::InvoiceItem < KillBillClient::Model::InvoiceItem SAMPLE_REASON_CODES = ['100 - Courtesy', '101 - Billing Error', '199 - OTHER'] def amount_to_money Kaui::Base.to_money(amount, currency) end def self.amount_to_money(invoice_item) self.new(:amount => invoice_item.amount, :currency => invoice_item.currency).amount_to_money end end
Version data entries
21 entries across 21 versions & 1 rubygems