woocommerce-paypal-payments/modules/ppcp-googlepay/resources/js/Context/CartBlockHandler.js

14 lines
283 B
JavaScript
Raw Normal View History

2024-07-12 12:58:34 +02:00
import BaseHandler from './BaseHandler';
2023-08-28 17:19:07 +01:00
2023-08-29 14:57:10 +01:00
class CartBlockHandler extends BaseHandler {
2024-07-12 12:58:34 +02:00
createOrder() {
return this.externalHandler.createOrder();
}
2023-08-28 17:19:07 +01:00
2024-07-12 12:58:34 +02:00
approveOrder( data, actions ) {
return this.externalHandler.onApprove( data, actions );
}
2023-08-28 17:19:07 +01:00
}
2023-08-29 08:19:11 +01:00
export default CartBlockHandler;