mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
87cd41794e
TODO: retreive the payzen subscription from PayZen::Item
26 lines
343 B
Ruby
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
|