1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/lib/payment/item.rb
Sylvain 87cd41794e WIP: payzen subscription
TODO: retreive the payzen subscription from PayZen::Item
2021-06-02 20:07:53 +02:00

26 lines
343 B
Ruby

# frozen_string_literal: true
# Payments module
module Payment; end
# Generic payment object
class Payment::Item
attr_reader :klass
def initialize(klass, id = nil, *args)
@klass = klass
@id = id
@args = args
end
def class
klass
end
def payment_mean?
false
end
def retrieve(_id = nil, *_args); end
end