requests.php 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. return [
  3. 'client_payment_method' => [
  4. 'client_required' => 'The client is required.',
  5. 'client_not_found' => 'Client not found.',
  6. 'token_required' => 'The card token is required.',
  7. 'card_number_required' => 'The card number is required.',
  8. 'card_number_min' => 'The card number must have at least 13 digits.',
  9. 'card_number_max' => 'The card number must have at most 19 digits.',
  10. 'holder_name_required' => 'The cardholder name is required.',
  11. 'expiration_required' => 'The expiration date is required.',
  12. 'expiration_format' => 'The expiration date must use the MM/YYYY format.',
  13. 'cvv_required' => 'The CVV is required.',
  14. 'cvv_min' => 'The CVV must have at least 3 digits.',
  15. 'cvv_max' => 'The CVV must have at most 4 digits.',
  16. 'last_four_required' => 'The last 4 digits are required.',
  17. 'last_four_size' => 'The value must have exactly 4 digits.',
  18. ],
  19. 'client_favorite_provider' => [
  20. 'client_required' => 'The client is required.',
  21. 'client_not_found' => 'Client not found.',
  22. 'provider_required' => 'The provider is required.',
  23. 'provider_not_found' => 'Provider not found.',
  24. 'already_favorite' => 'This provider is already a favorite.',
  25. 'notes_max' => 'The notes may not exceed 1000 characters.',
  26. 'code_required' => 'The code is required.',
  27. 'code_invalid' => 'Invalid code. The code has 6 characters.',
  28. ],
  29. 'custom_schedule_available' => [
  30. 'provider_id_required' => 'The provider ID is required.',
  31. 'provider_not_found' => 'The selected provider does not exist.',
  32. ],
  33. 'custom_schedule' => [
  34. 'max_price_gte' => 'The maximum price must be greater than or equal to the minimum price.',
  35. 'date_after_or_equal' => 'The date must be today or a future date.',
  36. 'end_time_after' => 'The end time must be after the start time.',
  37. ],
  38. 'schedule' => [
  39. 'client_required' => 'The client is required.',
  40. 'client_not_found' => 'Client not found.',
  41. 'provider_required' => 'The provider is required.',
  42. 'provider_not_found' => 'Provider not found.',
  43. 'address_required' => 'The address is required.',
  44. 'address_not_found' => 'Address not found.',
  45. 'date_required' => 'The date is required.',
  46. 'invalid_date' => 'Invalid date.',
  47. 'date_after_or_equal' => 'The date must be today or a future date.',
  48. 'period_required' => 'The period is required.',
  49. 'invalid_period' => 'Invalid period.',
  50. 'start_time_required' => 'The start time is required.',
  51. 'invalid_time_format' => 'Invalid time format.',
  52. 'end_time_required' => 'The end time is required.',
  53. 'end_time_after' => 'The end time must be after the start time.',
  54. 'total_amount_required' => 'The total amount is required.',
  55. 'total_amount_numeric' => 'The total amount must be numeric.',
  56. 'total_amount_min' => 'The total amount must be greater than or equal to zero.',
  57. 'invalid_status' => 'Invalid status.',
  58. ],
  59. ];