class JeraPayment::Charge

Public Instance Methods

has_destroy_callback?() click to toggle source
# File lib/jera_payment/models/charge.rb, line 18
def has_destroy_callback?
  false
end
has_update_callback?() click to toggle source
# File lib/jera_payment/models/charge.rb, line 14
def has_update_callback?
  false
end
items() click to toggle source
# File lib/jera_payment/models/charge.rb, line 26
def items
  ActiveSupport::JSON.decode(self[:items]).map{ |item| item.deep_symbolize_keys } if self[:items]
end
items=(value) click to toggle source
# File lib/jera_payment/models/charge.rb, line 22
def items=(value)
  write_attribute(:items, value&.to_json)
end