Class StripeController

java.lang.Object
com.futbol.manager.controller.GlobalCorsConfigController
com.futbol.manager.controller.StripeController

@RestController @RequestMapping("/rest/stripe") public class StripeController extends GlobalCorsConfigController
Controlador Stripe
Author:
Alejandro
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<com.futbol.manager.response.Response>
    createAccount(String email, String clubId)
    metodo para crear la cuenta de strips de un club
    org.springframework.http.ResponseEntity<com.futbol.manager.response.Response>
    processPayment(com.futbol.manager.dto.PaymentRequestDTO paymentRequest)
    metodo para realizar el pago con stripe

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StripeController

      public StripeController()
  • Method Details

    • createAccount

      @GetMapping("/create-account/{email}/{clubId}") public org.springframework.http.ResponseEntity<com.futbol.manager.response.Response> createAccount(@PathVariable String email, @PathVariable String clubId) throws Exception
      metodo para crear la cuenta de strips de un club
      Parameters:
      email -
      clubId -
      Returns:
      Throws:
      Exception
    • processPayment

      @PostMapping("/process-payment") public org.springframework.http.ResponseEntity<com.futbol.manager.response.Response> processPayment(@RequestBody com.futbol.manager.dto.PaymentRequestDTO paymentRequest)
      metodo para realizar el pago con stripe
      Parameters:
      paymentRequest -
      Returns: