Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions lib/checkout_sdk/payments/sessions/payment_methods_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,55 @@

module CheckoutSdk
module Payments
# The type of payment method that can be enabled or disabled for a payment session.
#
# This is a consolidated list covering every payment method the Flow API accepts for
# enabled_payment_methods / disabled_payment_methods. Constants marked deprecated are no
# longer part of the specification but are kept for backward compatibility.
module PaymentMethodsType
ALIPAY_CN = 'alipay_cn'
ALIPAY_HK = 'alipay_hk'
ALMA = 'alma'
APPLEPAY = 'applepay'
BANCONTACT = 'bancontact'
BENEFIT = 'benefit'
BIZUM = 'bizum'
CARD = 'card'
DANA = 'dana'
EPS = 'eps'
# @deprecated No longer part of the specification.
GIROPAY = 'giropay'
GCASH = 'gcash'
GOOGLEPAY = 'googlepay'
IDEAL = 'ideal'
KAKAOPAY = 'kakaopay'
KLARNA = 'klarna'
KNET = 'knet'
MBWAY = 'mbway'
MOBILEPAY = 'mobilepay'
MULTIBANCO = 'multibanco'
OCTOPUS = 'octopus'
PRZELEWY24 = 'p24'
PAYNOW = 'paynow'
PAYPAL = 'paypal'
PLAID = 'plaid'
QPAY = 'qpay'
# Fully supported by the API but deliberately unlisted in the public specification, so
# that merchants do not disable Remember Me en masse. Do not remove it as an unspecified
# value.
REMEMBER_ME = 'remember_me'
SEPA = 'sepa'
# @deprecated No longer part of the specification.
SOFORT = 'sofort'
STCPAY = 'stcpay'
STORED_CARD = 'stored_card'
TABBY = 'tabby'
TAMARA = 'tamara'
TNG = 'tng'
TRUEMONEY = 'truemoney'
TWINT = 'twint'
VIPPS = 'vipps'
WECHATPAY = 'wechatpay'
end
end
end
Loading