Sha256: 936953e137a86bf786dbff7d39dbbdab34f785deb4cfd3fe082eddab841d04f9
Contents?: true
Size: 346 Bytes
Versions: 1
Compression:
Stored size: 346 Bytes
Contents
class AlipayPayment < Payment def assign_detail(params) self.notified_at = params['notify_time'] self.payment_uuid = params['trade_no'] self.pay_status = params['trade_status'] self.seller_identifier = params['seller_id'] self.buyer_identifier = params['buyer_id'] self.total_amount = params['total_amount'] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.1 | app/models/rails_trade/payments/alipay_payment.rb |