1 | <?php |
||
15 | class ISRCreditTransfer extends CreditTransfer |
||
16 | { |
||
17 | /** |
||
18 | * @var ISRParticipant |
||
19 | */ |
||
20 | protected $creditorAccount; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $creditorReference; |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | * |
||
30 | * @param ISRParticipant $creditorAccount ISR participation number of the creditor |
||
31 | * @param string $creditorReference ISR reference number |
||
32 | * |
||
33 | * @throws InvalidArgumentException When the amount is not in EUR or CHF. |
||
34 | */ |
||
35 | public function __construct($instructionId, $endToEndId, Money\Money $amount, ISRParticipant $creditorAccount, $creditorReference) |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function setRemittanceInformation($remittanceInformation) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function asDom(DOMDocument $doc, PaymentInformation $paymentInformation) |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | protected function buildRemittanceInformation(\DOMDocument $doc) |
||
92 | |||
93 | /** |
||
94 | * {@inheritdoc} |
||
95 | */ |
||
96 | protected function hasRemittanceInformation() |
||
100 | } |
||
101 |