enum Mollie::Method::Type

Defined in:

mollie/method.cr

Enum Members

ApplePay = 0
Bancontact = 1
BankTransfer = 2
Belfius = 3
Creditcard = 4
DirectDebit = 5
Eps = 6
Giftcard = 7
Giropay = 8
Ideal = 9
IngHomePay = 10
Kbc = 11
KlarnaPayLater = 12
KlarnaSliceIt = 13
PayPal = 14
Paysafecard = 15
Przelewy24 = 16
Sofort = 17

Instance Method Summary

Instance Method Detail

def ==(other) #
Description copied from struct Value

Returns false.


[View source]
def apple_pay? #

[View source]
def bancontact? #

[View source]
def bank_transfer? #

[View source]
def belfius? #

[View source]
def creditcard? #

[View source]
def direct_debit? #

[View source]
def eps? #

[View source]
def giftcard? #

[View source]
def giropay? #

[View source]
def ideal? #

[View source]
def ing_home_pay? #

[View source]
def kbc? #

[View source]
def klarna_pay_later? #

[View source]
def klarna_slice_it? #

[View source]
def pay_pal? #

[View source]
def paysafecard? #

[View source]
def przelewy24? #

[View source]
def sofort? #

[View source]
def to_s #
Description copied from struct Enum

Returns a String representation of this enum member. In the case of regular enums, this is just the name of the member. In the case of flag enums, it's the names joined by vertical bars, or "None", if the value is zero.

If an enum's value doesn't match a member's value, the raw value is returned as a string.

Color::Red.to_s                     # => "Red"
IOMode::None.to_s                   # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"

Color.new(10).to_s # => "10"

[View source]