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