Sha256: f8ae1f1a126c4c972ebdd237b6c6c4f4e5913d30a496b1a1632d8b44170f2e83
Contents?: true
Size: 568 Bytes
Versions: 5
Compression:
Stored size: 568 Bytes
Contents
require 'active_model' class Kaui::Refund < Kaui::Base SAMPLE_REASON_CODES = [ "500 - Courtesy", "501 - Billing Error", "502 - Alt payment method", "599 - OTHER" ] define_attr :refund_id define_attr :payment_id define_attr :adjusted define_attr :amount define_attr :currency define_attr :requested_date define_attr :effective_date define_attr :adjustments has_many :audit_logs, Kaui::AuditLog def amount_to_money Kaui::Base.to_money(amount, currency) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
kaui-0.1.11 | app/models/kaui/refund.rb |
kaui-0.1.10 | app/models/kaui/refund.rb |
kaui-0.1.9 | app/models/kaui/refund.rb |
kaui-0.1.8 | app/models/kaui/refund.rb |
kaui-0.1.7 | app/models/kaui/refund.rb |