<?php

/**
 * This file is auto-generated by Saloon SDK Generator
 * Generator: Crescat\SaloonSdkGenerator\Generators\DtoGenerator
 * Do not modify it directly.
 */

declare(strict_types=1);

namespace SellingPartnerApi\Seller\FBAOutboundV20200701\Dto;

use SellingPartnerApi\Dto;

final class CreateFulfillmentReturnResult extends Dto
{
    protected static array $complexArrayTypes = [
        'returnItems' => [ReturnItem::class],
        'invalidReturnItems' => [InvalidReturnItem::class],
        'returnAuthorizations' => [ReturnAuthorization::class],
    ];

    /**
     * @param  ReturnItem[]|null  $returnItems  An array of items that Amazon accepted for return. Returns empty if no items were accepted for return.
     * @param  InvalidReturnItem[]|null  $invalidReturnItems  An array of invalid return item information.
     * @param  ReturnAuthorization[]|null  $returnAuthorizations  An array of return authorization information.
     */
    public function __construct(
        public readonly ?array $returnItems = null,
        public readonly ?array $invalidReturnItems = null,
        public readonly ?array $returnAuthorizations = null,
    ) {}
}
