<?php

namespace PostenBringCheckout\admin\bring\models\booking;

defined( 'ABSPATH' ) || exit;

class CustomsDeclaration {
	public float $amount;
	public ?string $countryCodeOrigin = null;
	public string $currency;
	public ?string $customsArticleNumber = null;
	public string $goodsDescription;
	public ?float $grossWeight = null;
	public ?float $netWeight = null;
	public int $quantity;

	public function __construct(
		float $amount,
		string $currency,
		string $goodsDescription,
		int $quantity,
		?float $netWeight,
		?string $customsArticleNumber = null,
		?string $countryCodeOrigin = null
	) {
		$this->amount               = $amount;
		$this->currency             = $currency;
		$this->goodsDescription     = $goodsDescription;
		$this->quantity             = $quantity;
		$this->customsArticleNumber = $customsArticleNumber;
		$this->countryCodeOrigin    = $countryCodeOrigin;
		$this->netWeight            = $netWeight;
		$this->grossWeight          = $netWeight;
	}

}
