CartCheckoutRequest.php 444 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace App\Shop\Cart\Requests;
  3. use App\Shop\Base\BaseFormRequest;
  4. /**
  5. * Class CartCheckoutRequest
  6. * @package App\Shop\Cart\Requests
  7. * @codeCoverageIgnore
  8. */
  9. class CartCheckoutRequest extends BaseFormRequest
  10. {
  11. /**
  12. * Get the validation rules that apply to the request.
  13. *
  14. * @return array
  15. */
  16. public function rules()
  17. {
  18. return [
  19. 'billing_address' => ['required']
  20. ];
  21. }
  22. }