creditLimitValidation abstract method

  1. @GET("${Api.creditLimitValidation}/{cartId}")
Future<CreditLimitValidationModel> creditLimitValidation({
  1. @Path("cartId") required String cartId,
  2. @Header("X-User-Id") String xUserId = "",
  3. @Header("Content-Type") String type = "application/json",
  4. @Header("X-Roles") String xRoles = "",
})

Implementation

@GET("${Api.creditLimitValidation}/{cartId}")
Future<CreditLimitValidationModel> creditLimitValidation(
    {@Path("cartId") required String cartId,
    @Header("X-User-Id") String xUserId = "",
    @Header("Content-Type") String type = "application/json",
    @Header("X-Roles") String xRoles = ""});