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