collectPayment abstract method
- @POST("${Api.paymentCollectionCart}/{cartId}")
- @Body() required CollectPaymentRequest body,
- @Path("cartId") required String cartId,
- @Header("X-User-Id") String xUserId = "",
- @Header("X-User-Name") String xUserName = "",
Implementation
@POST("${Api.paymentCollectionCart}/{cartId}")
Future<CollectPaymentModel> collectPayment({
@Body() required CollectPaymentRequest body,
@Path("cartId") required String cartId,
@Header("X-User-Id") String xUserId = "",
@Header("X-User-Name") String xUserName = "",
});