createCheckout abstract method

  1. @POST('/v2/locations/{locationId}/checkouts')
Future<CreateCheckoutResponse> createCheckout({
  1. @Path() required String locationId,
  2. @Body() required CreateCheckoutRequest body,
})

Implementation

@POST('/v2/locations/{locationId}/checkouts')
Future<CreateCheckoutResponse> createCheckout({
  @Path() required String locationId,
  @Body() required CreateCheckoutRequest body,
});