Sha256: 4f189cf96789d04a8dbf611f0179c438d337287aa159ccdd265f8f349f819501

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

module Mollie
  module API
    module Object
      class Mandate < Base
        STATUS_VALID   = "valid"
        STATUS_INVALID = "invalid"

        attr_accessor :resource,
                      :id,
                      :status,
                      :method,
                      :customerId,
                      :details,
                      :createdDatetime

        def valid?
          @status == STATUS_VALID
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mollie-api-ruby-1.4.2 lib/Mollie/API/Object/Mandate.rb
mollie-api-ruby-1.4.1 lib/Mollie/API/Object/Mandate.rb
mollie-api-ruby-1.4.0 lib/Mollie/API/Object/Mandate.rb
mollie-api-ruby-1.3.0 lib/Mollie/API/Object/Mandate.rb