1 | <?php |
||
35 | class BillingAddressManagement |
||
36 | { |
||
37 | /** |
||
38 | * Quote repository. |
||
39 | * |
||
40 | * @var \Magento\Quote\Api\CartRepositoryInterface |
||
41 | */ |
||
42 | protected $quoteRepository; |
||
43 | |||
44 | /** |
||
45 | * PAYONE addresscheck request model |
||
46 | * |
||
47 | * @var \Payone\Core\Model\Risk\Addresscheck |
||
48 | */ |
||
49 | protected $addresscheck; |
||
50 | |||
51 | /** |
||
52 | * Constructor |
||
53 | * |
||
54 | * @param \Magento\Quote\Api\CartRepositoryInterface $quoteRepository |
||
55 | * @param \Payone\Core\Model\Risk\Addresscheck $addresscheck |
||
56 | */ |
||
57 | public function __construct( |
||
64 | |||
65 | /** |
||
66 | * This writes the addresscheck score to the quote address |
||
67 | * |
||
68 | * @param BillingAddressManagementOrig $oSource |
||
69 | * @param int $sCartId |
||
70 | * @param AddressInterface $oAddress |
||
71 | * @param bool $useForShipping |
||
72 | * @return array |
||
73 | */ |
||
74 | public function beforeAssign(BillingAddressManagementOrig $oSource, $sCartId, AddressInterface $oAddress, $useForShipping = false) |
||
80 | } |
||
81 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.