Sha256: 74ac6a3087799d4806015c229830fb14ef175924e6ecc92a778b962c051c1837

Contents?: true

Size: 1.88 KB

Versions: 4

Compression:

Stored size: 1.88 KB

Contents

require_relative "../base.rb"
module Figo
# Object representing a Payment
  class StandingOrder < Base
    @dump_attributes = []

    def initialize(session, json)
      super(session, json)
    end

    # Name of creditor or debtor
    # @return [String]
    attr_accessor :name

    # Internal figo Connect standing order ID
    # @return [String]
    attr_accessor :standing_order_id

    # Internal figo Connect account ID
    # @return [String]
    attr_accessor :account_id

    # First execution date of the standing order
    # @return [Date]
    attr_accessor :first_execution_date

    # Last execution date of the standing order (this field might be emtpy, if no last execution date is set)
    # @return [Date]
    attr_accessor :last_execution_date

    # The day the standing order gets executed
    # @return [Number]
    attr_accessor :execution_day

    # The interval the standing order gets executed (possible values are weekly, monthly, two monthly, quarterly, half yearly and yearly)
    # @return [String]
    attr_accessor :interval

    # Name of recipient
    # @return [String]
    attr_accessor :name

    # Account number recipient
    # @return [String]
    attr_accessor :account_number

    # Bank code of recipient
    # @return [String]
    attr_accessor :bank_code

    # Bank name of recipient
    # @return [String]
    attr_accessor :bank_name

    # Standing order amount
    # @return [Number]
    attr_accessor :amount

    # Three-character currency code
    # @return [String]
    attr_accessor :currency

    # Purpose text (this field might be empty if the standing order has no purpose)
    # @return [String]
    attr_accessor :purpose

    # Internal creation timestamp on the figo Connect server
    # @return [Date]
    attr_accessor :creation_timestamp

    # Internal modification timestamp on the figo
    # @return [Date]
    attr_accessor :modification_timestamp
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
figo-1.4.2 lib/standing_order/model.rb
figo-1.4.1 lib/standing_order/model.rb
figo-1.4.0 lib/standing_order/model.rb
figo-1.3.3 lib/standing_order/model.rb