Sha256: 8eb4ee15144ef14f6a69b92d58d63903dc1f718eddf1a789c989c7ef60acc1c7
Contents?: true
Size: 1.65 KB
Versions: 41
Compression:
Stored size: 1.65 KB
Contents
class Kaui::Chargeback < Kaui::Base SAMPLE_REASON_CODES = [ "400 - Canceled Recurring Transaction", "401 - Cardholder Disputes Quality of Goods or Services", "402 - Cardholder Does Not Recognize Transaction", "403 - Cardholder Request Due to Dispute", "404 - Credit Not Processed", "405 - Duplicate Processing", "406 - Fraud Investigation", "407 - Fraudulent Transaction - Card Absent Environment", "408 - Incorrect Transaction Amount or Account Number", "409 - No Cardholder Authorization", "410 - Non receipt of Merchandise", "411 - Not as Described or Defective Merchandise", "412 - Recurring Payment", "413 - Request for Copy Bearing Signature", "414 - Requested Transaction Data Not Received", "415 - Services Not Provided or Merchandise not Received", "416 - Transaction Amount Differs", "417 - Validity Challenged", "418 - Unauthorized Payment", "419 - Unauthorized Claim", "420 - Not as Described", "499 - OTHER" ] define_attr :payment_id define_attr :chargeback_amount define_attr :requested_date define_attr :effective_date define_attr :reason has_many :audit_logs, Kaui::AuditLog # TODO - fix chargeback json to return the currency def chargeback_amount_to_money(currency) Kaui::Base.to_money(chargeback_amount, currency) end end
Version data entries
41 entries across 41 versions & 1 rubygems