requests.php 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. ],
  27. 'custom_schedule_available' => [
  28. 'provider_id_required' => 'The provider ID is required.',
  29. 'provider_not_found' => 'The selected provider does not exist.',
  30. ],
  31. 'custom_schedule' => [
  32. 'max_price_gte' => 'The maximum price must be greater than or equal to the minimum price.',
  33. 'date_after_or_equal' => 'The date must be today or a future date.',
  34. 'end_time_after' => 'The end time must be after the start time.',
  35. ],
  36. 'schedule' => [
  37. 'client_required' => 'The client is required.',
  38. 'client_not_found' => 'Client not found.',
  39. 'provider_required' => 'The provider is required.',
  40. 'provider_not_found' => 'Provider not found.',
  41. 'address_required' => 'The address is required.',
  42. 'address_not_found' => 'Address not found.',
  43. 'date_required' => 'The date is required.',
  44. 'invalid_date' => 'Invalid date.',
  45. 'date_after_or_equal' => 'The date must be today or a future date.',
  46. 'period_required' => 'The period is required.',
  47. 'invalid_period' => 'Invalid period.',
  48. 'start_time_required' => 'The start time is required.',
  49. 'invalid_time_format' => 'Invalid time format.',
  50. 'end_time_required' => 'The end time is required.',
  51. 'end_time_after' => 'The end time must be after the start time.',
  52. 'total_amount_required' => 'The total amount is required.',
  53. 'total_amount_numeric' => 'The total amount must be numeric.',
  54. 'total_amount_min' => 'The total amount must be greater than or equal to zero.',
  55. 'invalid_status' => 'Invalid status.',
  56. ],
  57. ];