<?php
namespace ModulesAbstract\ElectronicInvoice\UBL21Structure;

/**
 * TradeFinancing
 *
 * @see http://www.datypic.com/sc/ubl21/e-cac_TradeFinancing.html
 */
class TypeTradeFinancing extends AbstractPeppolElement
{

	/**
	 * cbc:ID, 0..1, optional tag
	 *
	 * An identifier for this trade financing instrument.
	 * @var mixed
	 */
	public $ID = null;

	/**
	 * cbc:FinancingInstrumentCode, 0..1, optional tag
	 *
	 * A code signifying the type of this financing instrument.
	 * @var mixed
	 */
	public $FinancingInstrumentCode = null;

	/**
	 * cac:ContractDocumentReference, 0..1, optional tag
	 *
	 * A reference to a contract document.
	 * @var mixed
	 */
	public $ContractDocumentReference = null;

	/**
	 * cac:DocumentReference, 0..*
	 *
	 * A reference to a document associated with this trade financing instrument.
	 * @var mixed
	 */
	public $DocumentReference = null;

	/**
	 * cac:FinancingParty, 1..1, MANDATORY tag
	 *
	 * The financing party (bank or other enabled party).
	 * @var mixed
	 */
	public $FinancingParty = null;

	/**
	 * cac:FinancingFinancialAccount, 0..1, optional tag
	 *
	 * An internal bank account used by the bank or its first agent to manage the line of credit granted to the financing
	 *   requester.
	 * @var mixed
	 */
	public $FinancingFinancialAccount = null;

	/**
	 * cac:Clause, 0..*
	 *
	 * A clause applicable to this trade financing instrument.
	 * @var mixed
	 */
	public $Clause = null;

}
