class Mollie::Method
Constants
- ALMA
- APPLEPAY
- BANCOMAT_PAY
- BANCONTACT
- BANKTRANSFER
- BELFIUS
- BILLIE
- BLIK
- CREDITCARD
- DIRECTDEBIT
- EPS
- GIFTCARD
- GIROPAY
- IDEAL
- IN3
- INGHOMEPAY
- KBC
- KLARNA
- KLARNAPAYLATER
- KLARNASLICEIT
- MYBANK
- PAYPAL
- PAYSAFECARD
- PRZELEWY24
- RIVERTY
- SATISPAY
- SOFORT
- TRUSTLY
- TWINT
- VOUCHER
Attributes
Public Class Methods
Source
# File lib/mollie/method.rb, line 43 def self.all_available(options = {}) response = Client.instance.perform_http_call("GET", "methods", "all", {}, options) Mollie::List.new(response, Mollie::Method) end
Public Instance Methods
Source
# File lib/mollie/method.rb, line 52 def maximum_amount=(maximum_amount) @maximum_amount = Mollie::Amount.new(maximum_amount) end
Source
# File lib/mollie/method.rb, line 48 def minimum_amount=(minimum_amount) @minimum_amount = Mollie::Amount.new(minimum_amount) end
Source
# File lib/mollie/method.rb, line 64 def pricing=(pricing) @pricing = pricing.map do |price| OpenStruct.new( description: price['description'], fixed: Mollie::Amount.new(price['fixed']), variable: price['variable'], fee_region: price['fee_region'] ) end end