Sha256: e786e4b78fb555057b7b53531cbe8d7cf23cd2c4d3d2ea7557dffdf2345c9470
Contents?: true
Size: 281 Bytes
Versions: 1
Compression:
Stored size: 281 Bytes
Contents
class PaymentStrategy < ApplicationRecord def credit? self.period.to_i > 0 end end unless RailsTrade.config.disabled_models.include?('PaymentStrategy') # :name, comment: '名称' # :period, comment: '可延期时间,单位天' # 预付全款 # 预付定金 # 后付
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.1 | app/models/rails_trade/payment_strategy.rb |