Sha256: bee4c5cd4f31fbe7de4251482296cb30df0fc66ce26b378d38ae3b4ccc68ae4b
Contents?: true
Size: 917 Bytes
Versions: 26
Compression:
Stored size: 917 Bytes
Contents
require 'active_model' class Kaui::PaymentAttempt < Kaui::Base define_attr :account_id define_attr :invoice_id define_attr :amount define_attr :currency define_attr :payment_id define_attr :payment_attempt_id define_attr :payment_attempt_date define_attr :invoice_dt define_attr :created_dt define_attr :udpated_dt define_attr :retry_count def initialize(data = {}) super(:account_id => data['accountId'], :invoice_id => data['invoiceId'], :amount => data['amount'], :currency => data['currency'], :payment_id => data['paymentId'], :payment_attempt_id => data['paymentAttemptId'], :payment_attempt_date => data['paymentAttemptDate'], :invoice_dt => data['invoiceDate'], :created_dt => data['createdDate'], :udpated_dt => data['updatedDate'], :retry_count => data['retryCount']) end end
Version data entries
26 entries across 26 versions & 1 rubygems