Class: Flow::Reference::PaymentMethods::Data
- Inherits:
-
Object
- Object
- Flow::Reference::PaymentMethods::Data
- Defined in:
- lib/generated/payment_methods.rb
Class Method Summary collapse
- .Alipay ⇒ Object
- .AmericanExpress ⇒ Object
- .Bitcoin ⇒ Object
- .CartesBancaires ⇒ Object
- .ChinaUnionPay ⇒ Object
- .Dankort ⇒ Object
- .DinersClub ⇒ Object
- .Directebanking ⇒ Object
- .Discover ⇒ Object
- .Giropay ⇒ Object
- .Ideal ⇒ Object
- .Jcb ⇒ Object
- .Klarna ⇒ Object
- .Maestro ⇒ Object
- .Mastercard ⇒ Object
- .new_pm(hash) ⇒ Object
- .Paypal ⇒ Object
- .Qiwiwallet ⇒ Object
- .Sepadirectdebit ⇒ Object
- .Unionpay ⇒ Object
- .Visa ⇒ Object
- .Wechatpay ⇒ Object
Class Method Details
.Alipay ⇒ Object
14 15 16 |
# 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 ⇒ Object
18 19 20 |
# 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 ⇒ Object
22 23 24 |
# 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 ⇒ Object
26 27 28 |
# 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 ⇒ Object
30 31 32 |
# 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 ⇒ Object
34 35 36 |
# 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 ⇒ Object
38 39 40 |
# 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 ⇒ Object
42 43 44 |
# 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 ⇒ Object
46 47 48 |
# 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 ⇒ Object
50 51 52 |
# 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 ⇒ Object
54 55 56 |
# 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 ⇒ Object
58 59 60 |
# 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 ⇒ Object
62 63 64 |
# 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 ⇒ Object
66 67 68 |
# 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 ⇒ Object
70 71 72 |
# 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 |
.new_pm(hash) ⇒ Object
10 11 12 |
# File 'lib/generated/payment_methods.rb', line 10 def new_pm(hash) ::Io::Flow::Reference::V0::Models::PaymentMethod.new(hash) end |
.Paypal ⇒ Object
74 75 76 |
# 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 ⇒ Object
78 79 80 |
# 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 ⇒ Object
82 83 84 |
# 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 ⇒ Object
86 87 88 |
# 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 ⇒ Object
90 91 92 |
# 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 ⇒ Object
94 95 96 |
# 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 |