Sha256: b0eb00e932f501030e67c5e9ce0207f4ace0d61adc75156d26ade86a425dc4a0
Contents?: true
Size: 1.85 KB
Versions: 4
Compression:
Stored size: 1.85 KB
Contents
require_relative "../base.rb" module Figo # Object representing a Payment class Payment < Base @dump_attributes = [:type, :name, :account_number, :bank_code, :amount, :currency, :purpose] def initialize(session, json) super(session, json) end # Internal figo Connect payment ID # @return [String] attr_accessor :payment_id # Internal figo Connect account ID # @return [String] attr_accessor :account_id # Payment type # @return [String] attr_accessor :type # Name of creditor or debtor # @return [String] attr_accessor :name # Account number of creditor or debtor # @return [String] attr_accessor :account_number # Bank code of creditor or debtor # @return [String] attr_accessor :bank_code # Bank name of creditor or debtor # @return [String] attr_accessor :bank_name # Icon of creditor or debtor bank # @return [String] attr_accessor :bank_icon # Icon of the creditor or debtor bank in other resolutions # @return [Hash] attr_accessor :bank_additional_icons # Order amount # @return [DecNum] attr_accessor :amount # Three-character currency code # @return [String] attr_accessor :currency # Purpose text # @return [String] attr_accessor :purpose # Timestamp of submission to the bank server # @return [DateTime] attr_accessor :submission_timestamp # Internal creation timestamp on the figo Connect server # @return [DateTime] attr_accessor :creation_timestamp # Internal modification timestamp on the figo Connect server # @return [DateTime] attr_accessor :modification_timestamp # ID of the transaction corresponding to this payment. This field is only set if the payment has been matched to a transaction # @return [String] attr_accessor :transaction_id end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
figo-1.4.2 | lib/payment/model.rb |
figo-1.4.1 | lib/payment/model.rb |
figo-1.4.0 | lib/payment/model.rb |
figo-1.3.3 | lib/payment/model.rb |