Sha256: e8729daeb272a9b9f761206744f9ef1814da49a4c6dd1e58bb36f7c4853a70f0

Contents?: true

Size: 667 Bytes

Versions: 2

Compression:

Stored size: 667 Bytes

Contents

module Mollie
  module API
    module Object
      class Method < Base
        IDEAL        = "ideal"
        CREDITCARD   = "creditcard"
        MISTERCASH   = "mistercash"
        BANKTRANSFER = "banktransfer"
        PAYPAL       = "paypal"
        PAYSAFECARD  = "paysafecard"
        BITCOIN      = "bitcoin"
        SOFORT       = "sofort"
        BELFIUS      = "belfius"

        attr_accessor :id,
                      :description,
                      :amount,
                      :image

        def getMinimumAmount
          @amount.minimum
        end

        def getMaximumAmount
          @amount.maximum
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mollie-api-ruby-1.1.5 lib/Mollie/API/Object/Method.rb
mollie-api-ruby-1.1.4 lib/Mollie/API/Object/Method.rb