Skip to content

Commit

Permalink
add new type SupplierAgreement
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaschen committed Sep 13, 2022
1 parent 9a15172 commit bcbad78
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions src/Type/SupplierAgreement.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?php

declare(strict_types=1);

namespace MarcusJaschen\Collmex\Type;

/**
* @property $type_identifier
* @property $client_id
* @property $supplier_id
* @property $supplier_name
* @property $product_id
* @property $product_description
* @property $quantity_unit
* @property $product_id_supplier
* @property $description
* @property $packaging_unit
* @property $tax_rate
* @property $priority
* @property $reserved_1
* @property $reserved_2
* @property $reserved_3
* @property $reserved_4
* @property $reserved_5
* @property $position
* @property $valid_from
* @property $valid_to
* @property $delivery_time
* @property $price
* @property $currency
* @property $price_quantity
*/
class SupplierAgreement extends AbstractType implements TypeInterface
{
/**
* @var array
*/
protected $template = [
'type_identifier' => 'CMXVAG',
'client_id' => null,
'supplier_id' => null,
'supplier_name' => null,
// 5
'product_id' => null,
'product_description' => null,
'quantity_unit' => null,
'product_id_supplier' => null,
'description' => null,
// 10
'packaging_unit' => null,
'tax_rate' => null,
'priority' => null,
'reserved_1' => null,
'reserved_2' => null,
// 15
'reserved_3' => null,
'reserved_4' => null,
'reserved_5' => null,
'position' => null,
'valid_from' => null,
// 20
'valid_to' => null,
'delivery_time' => null,
'price' => null,
'currency' => null,
'price_quantity' => null,
];

public function validate(): bool
{
return true;
}
}

0 comments on commit bcbad78

Please sign in to comment.