@@ 58-69 (lines=12) @@ | ||
55 | * @param Order $oOrder |
|
56 | * @return array |
|
57 | */ |
|
58 | public function getSubTypeSpecificParameters(Order $oOrder) |
|
59 | { |
|
60 | $oInfoInstance = $this->getInfoInstance(); |
|
61 | ||
62 | $aParams = [ |
|
63 | 'bankcountry' => 'DE', |
|
64 | 'iban' => $oInfoInstance->getAdditionalInformation('iban'), |
|
65 | 'bic' => $oInfoInstance->getAdditionalInformation('bic'), |
|
66 | ]; |
|
67 | ||
68 | return $aParams; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * Add the checkout-form-data to the checkout session |
@@ 76-88 (lines=13) @@ | ||
73 | * @param Order $oOrder |
|
74 | * @return array |
|
75 | */ |
|
76 | public function getSubTypeSpecificParameters(Order $oOrder) |
|
77 | { |
|
78 | $oInfoInstance = $this->getInfoInstance(); |
|
79 | ||
80 | $aParams = [ |
|
81 | 'iban' => $oInfoInstance->getAdditionalInformation('iban'), |
|
82 | 'bic' => $oInfoInstance->getAdditionalInformation('bic'), |
|
83 | 'add_paydata[installment_duration]' => $oInfoInstance->getAdditionalInformation('duration'), |
|
84 | 'workorderid' => $this->checkoutSession->getInstallmentWorkorderId() |
|
85 | ]; |
|
86 | ||
87 | return $aParams; |
|
88 | } |
|
89 | ||
90 | /** |
|
91 | * Add the checkout-form-data to the checkout session |