1 | <?php |
||
13 | class IS2CreditTransfer extends CreditTransfer |
||
14 | { |
||
15 | /** |
||
16 | * @var IBAN |
||
17 | */ |
||
18 | protected $creditorIBAN; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $creditorAgentName; |
||
24 | |||
25 | /** |
||
26 | * @var PostalAccount |
||
27 | */ |
||
28 | protected $creditorAgentPostal; |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | * |
||
33 | * @param IBAN $creditorIBAN IBAN of the creditor |
||
34 | * @param string $creditorAgentName Name of the creditor's financial institution |
||
35 | * @param PostalAccount $creditorAgentPostal Postal account of the creditor's financial institution |
||
36 | */ |
||
37 | 2 | public function __construct($instructionId, $endToEndId, Money\CHF $amount, $creditorName, PostalAddressInterface $creditorAddress, IBAN $creditorIBAN, $creditorAgentName, PostalAccount $creditorAgentPostal) |
|
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | 2 | public function asDom(\DOMDocument $doc) |
|
76 | } |
||
77 |