Sha256: 1063a5e3daa5ed818e3e98f60cb36c931d4ca88719fe819f3c835c865c4bc9b6
Contents?: true
Size: 850 Bytes
Versions: 7
Compression:
Stored size: 850 Bytes
Contents
module ChargeBee class PaymentIntent < Model class PaymentAttempt < Model attr_accessor :id, :status, :id_at_gateway, :error_code, :error_text, :created_at, :modified_at end attr_accessor :id, :status, :currency_code, :amount, :gateway_account_id, :expires_at, :reference_id, :created_at, :modified_at, :customer_id, :gateway, :active_payment_attempt # OPERATIONS #----------- def self.create(params, env=nil, headers={}) Request.send('post', uri_path("payment_intents"), params, env, headers) end def self.update(id, params={}, env=nil, headers={}) Request.send('post', uri_path("payment_intents",id.to_s), params, env, headers) end def self.retrieve(id, env=nil, headers={}) Request.send('get', uri_path("payment_intents",id.to_s), {}, env, headers) end end # ~PaymentIntent end # ~ChargeBee
Version data entries
7 entries across 7 versions & 1 rubygems