main
| 1 | import StripeBase from "../core/stripe-base" |
| 2 | import { PaymentIntentOptions, PaymentProviderKeys } from "../types" |
| 3 | |
| 4 | class BancontactProviderService extends StripeBase { |
| 5 | static identifier = PaymentProviderKeys.BAN_CONTACT |
| 6 | |
| 7 | constructor(_, options) { |
| 8 | super(_, options) |
| 9 | } |
| 10 | |
| 11 | get paymentIntentOptions(): PaymentIntentOptions { |
| 12 | return { |
| 13 | payment_method_types: ["bancontact"], |
| 14 | capture_method: "automatic", |
| 15 | } |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | export default BancontactProviderService |