Sha256: 1f15367ddc226108798f232fad746cf03cfbff7cbc2159c33de69027387b72fa

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 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"

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

        def getMinimumAmount
          @amount.minimum
        end

        def getMaximumAmount
          @amount.maximum
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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