class Flow::Reference::PaymentMethods::Data
Public Class Methods
Alipay()
click to toggle source
# File lib/generated/payment_methods.rb, line 14 def Alipay new_pm({"id":"alipay","type":"online","name":"Alipay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/alipay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/alipay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/alipay/120/original.png","width":256,"height":256}},"regions":["world"]}) end
AmericanExpress()
click to toggle source
# File lib/generated/payment_methods.rb, line 18 def AmericanExpress new_pm({"id":"american_express","type":"card","name":"American Express","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/american_express/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/american_express/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/american_express/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Bitcoin()
click to toggle source
# File lib/generated/payment_methods.rb, line 22 def Bitcoin new_pm({"id":"bitcoin","type":"online","name":"Bitcoin","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/bitcoin/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/bitcoin/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/bitcoin/120/original.png","width":256,"height":256}},"regions":["world"]}) end
CartesBancaires()
click to toggle source
# File lib/generated/payment_methods.rb, line 26 def CartesBancaires new_pm({"id":"cartes_bancaires","type":"card","name":"Cartes Bancaires","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/cartes_bancaires/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/cartes_bancaires/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/cartes_bancaires/120/original.png","width":256,"height":256}},"regions":["fra"]}) end
ChinaUnionPay()
click to toggle source
# File lib/generated/payment_methods.rb, line 30 def ChinaUnionPay new_pm({"id":"china_union_pay","type":"card","name":"China Union Pay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/china_union_pay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/china_union_pay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/china_union_pay/120/original.png","width":256,"height":256}},"regions":["chn"]}) end
Dankort()
click to toggle source
# File lib/generated/payment_methods.rb, line 34 def Dankort new_pm({"id":"dankort","type":"card","name":"Dankort","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/dankort/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/dankort/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/dankort/120/original.png","width":256,"height":256}},"regions":["europe"]}) end
DinersClub()
click to toggle source
# File lib/generated/payment_methods.rb, line 38 def DinersClub new_pm({"id":"diners_club","type":"card","name":"Diners Club","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/diners_club/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/diners_club/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/diners_club/120/original.png","width":256,"height":256}},"regions":["europe","north-america"]}) end
Directebanking()
click to toggle source
# File lib/generated/payment_methods.rb, line 42 def Directebanking new_pm({"id":"directEbanking","type":"online","name":"Sofortüberweisung","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/directEbanking/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/directEbanking/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/directEbanking/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Discover()
click to toggle source
# File lib/generated/payment_methods.rb, line 46 def Discover new_pm({"id":"discover","type":"card","name":"Discover","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/discover/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/discover/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/discover/120/original.png","width":256,"height":256}},"regions":["europe","north-america"]}) end
Giropay()
click to toggle source
# File lib/generated/payment_methods.rb, line 50 def Giropay new_pm({"id":"giropay","type":"online","name":"GiroPay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/giropay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/giropay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/giropay/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Ideal()
click to toggle source
# File lib/generated/payment_methods.rb, line 54 def Ideal new_pm({"id":"ideal","type":"online","name":"iDEAL","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/ideal/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/ideal/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/ideal/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Jcb()
click to toggle source
# File lib/generated/payment_methods.rb, line 58 def Jcb new_pm({"id":"jcb","type":"card","name":"Jcb","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/jcb/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/jcb/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/jcb/120/original.png","width":256,"height":256}},"regions":["jpn"]}) end
Klarna()
click to toggle source
# File lib/generated/payment_methods.rb, line 62 def Klarna new_pm({"id":"klarna","type":"online","name":"Klarna","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/klarna/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/klarna/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/klarna/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Maestro()
click to toggle source
# File lib/generated/payment_methods.rb, line 66 def Maestro new_pm({"id":"maestro","type":"card","name":"Maestro","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/maestro/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/maestro/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/maestro/120/original.png","width":256,"height":256}},"regions":["europe","north-america"]}) end
Mastercard()
click to toggle source
# File lib/generated/payment_methods.rb, line 70 def Mastercard new_pm({"id":"mastercard","type":"card","name":"Mastercard","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/mastercard/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/mastercard/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/mastercard/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Paypal()
click to toggle source
# File lib/generated/payment_methods.rb, line 74 def Paypal new_pm({"id":"paypal","type":"online","name":"PayPal","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/paypal/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/paypal/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/paypal/120/original.png","width":180,"height":60}},"regions":["world"]}) end
Qiwiwallet()
click to toggle source
# File lib/generated/payment_methods.rb, line 78 def Qiwiwallet new_pm({"id":"qiwiwallet","type":"online","name":"Qiwi Wallet","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/qiwiwallet/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/qiwiwallet/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/qiwiwallet/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Sepadirectdebit()
click to toggle source
# File lib/generated/payment_methods.rb, line 82 def Sepadirectdebit new_pm({"id":"sepadirectdebit","type":"online","name":"SEPA Direct Debit","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/sepadirectdebit/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/sepadirectdebit/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/sepadirectdebit/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Unionpay()
click to toggle source
# File lib/generated/payment_methods.rb, line 86 def Unionpay new_pm({"id":"unionpay","type":"online","name":"UnionPay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/unionpay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/unionpay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/unionpay/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Visa()
click to toggle source
# File lib/generated/payment_methods.rb, line 90 def Visa new_pm({"id":"visa","type":"card","name":"VISA","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/visa/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/visa/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/visa/120/original.png","width":256,"height":256}},"regions":["world"]}) end
Wechatpay()
click to toggle source
# File lib/generated/payment_methods.rb, line 94 def Wechatpay new_pm({"id":"wechatpay","type":"online","name":"WeChat Pay","images":{"small":{"url":"https://flowcdn.io/util/logos/payment-methods/wechatpay/30/original.png","width":65,"height":41},"medium":{"url":"https://flowcdn.io/util/logos/payment-methods/wechatpay/60/original.png","width":100,"height":60},"large":{"url":"https://flowcdn.io/util/logos/payment-methods/wechatpay/120/original.png","width":256,"height":256}},"regions":["world"]}) end
new_pm(hash)
click to toggle source
# File lib/generated/payment_methods.rb, line 10 def new_pm(hash) ::Io::Flow::Reference::V0::Models::PaymentMethod.new(hash) end