<?php

/*
 * Copyright Iain Cambridge 2023-2025.
 *
 * Use of this software is governed by the Fair Core License, Version 1.0, ALv2 Future License included in the LICENSE.md file and at https://github.com/BillaBear/billabear/blob/main/LICENSE.
 */

namespace BillaBear\Dto\Response\App\Settings;

use Symfony\Component\Serializer\Annotation\SerializedName;

class StripeImportView
{
    #[SerializedName('stripe_imports')]
    private array $stripeImports = [];

    #[SerializedName('use_stripe_billing')]
    private bool $useStripeBilling;

    #[SerializedName('webhook_url')]
    private ?string $webhookUrl;

    #[SerializedName('has_obol_config')]
    private bool $hasObolConfig;

    #[SerializedName('stripe_public_key')]
    private ?string $stripePublicKey;

    #[SerializedName('stripe_private_key')]
    private ?string $stripePrivateKey;

    public function getStripeImports(): array
    {
        return $this->stripeImports;
    }

    public function setStripeImports(array $stripeImports): void
    {
        $this->stripeImports = $stripeImports;
    }

    public function isUseStripeBilling(): bool
    {
        return $this->useStripeBilling;
    }

    public function setUseStripeBilling(bool $useStripeBilling): void
    {
        $this->useStripeBilling = $useStripeBilling;
    }

    public function getWebhookUrl(): ?string
    {
        return $this->webhookUrl;
    }

    public function setWebhookUrl(?string $webhookUrl): void
    {
        $this->webhookUrl = $webhookUrl;
    }

    public function isHasObolConfig(): bool
    {
        return $this->hasObolConfig;
    }

    public function setHasObolConfig(bool $hasObolConfig): void
    {
        $this->hasObolConfig = $hasObolConfig;
    }

    public function getStripePublicKey(): ?string
    {
        return $this->stripePublicKey;
    }

    public function setStripePublicKey(?string $stripePublicKey): void
    {
        $this->stripePublicKey = $stripePublicKey;
    }

    public function getStripePrivateKey(): ?string
    {
        return $this->stripePrivateKey;
    }

    public function setStripePrivateKey(?string $stripePrivateKey): void
    {
        $this->stripePrivateKey = $stripePrivateKey;
    }
}
