| 1 |
$this->paymentStrategy->createPaymentAfterOrderCreation(); |
| 2 |
return $this->paymentStrategy->buildCheckoutPaymentObject($orderPayment, $this->orderTypeStrategy); |
| 3 |
public function pingPaymentState(OrderPaymentInterface $orderPayment): OrderPaymentResponse |
| 4 |
$this->newPostDataType = !empty($this->input->getOption('type')); |
| 5 |
$this->paymentStrategy = $paymentType; |
| 6 |
if (!in_array($this->newPostDataType, LoadNewPostAddressEnum::getEnumsList())) { |
| 7 |
throw new BadRequestHttpException("Undefined type $this->newPostDataType"); |
| 8 |
} |
| 9 |
foreach ($areas as $row) { |
| 10 |
$result = $this->npService->getStreets($city->getId(), $page); |
| 11 |
$this->orderStrategy = $orderStrategy; |
| 12 |
$this->orderStrategy->getStrategy($createOrderRequest->getOrderTypeEnum()->getValue()), |
| 13 |
$this->baseOrderDomainManager = $baseOrderDomainManager; |
| 14 |
->setOrderId($this->orderPayment->getPaymentOrderId()) |
| 15 |
$this->setPortmoneBaseRequestData($confirmHoldRequest); |
| 16 |
foreach ($deliveryStrategies as $strategy) { |
| 17 |
if (empty($this->strategies)) { |
| 18 |
throw new BadRequestHttpException("Invalid delivery type: $type"); |
| 19 |
$currentStrategy = $this->strategies($orderTypeEnum->getValue()); |
| 20 |
return $this->myCitrusService->getUser((new GetUserRequest())->fromGetUserDTORequest($getOrCreateUserRequest)); |
| 21 |
->setTotalPrice($order->getTotalPrice()) |
| 22 |
return new UserCouponsAndBonusesObject(); |
| 23 |
public function getCities(): ArrayCollection |
| 24 |
class OrderLaptiType extends AbstractOrderType |
| 25 |
return $this->manzanaAdministratorHttp->getAllCardByContact( |
| 26 |
private $liqPayService; |
| 27 |
catch (NotFoundHttpException $exception) { |
| 28 |
if (null !== $email) { |
| 29 |
$this->addCardDataForCustomer($manzanaCustomer); |
| 30 |
$checkBindCardResponse = $this->manzanaAdministratorService->postChequeCardForBinding( |
| 31 |
return $manzanaCustomer; |
| 32 |
public function state(MonoBankStateRequest $requestObject): MonoBankStateResponse |
| 33 |
return $this->monoBankHttp->returnRequest($requestObject); |
| 34 |
private $orderFactory; |
| 35 |
$orderFacade = $this->orderFactory->getFacadeFromOrderPayment($payment); |
| 36 |
->getStrategy(OrderTypeEnum::getValueById($orderTypeId)) |
| 37 |
$result->add((new OrderPaymentObject()) |
| 38 |
->setId($paymentTypeEnum->getId()) |
| 39 |
OrderTypeEnum::getValueById($orderTypeId), |
| 40 |
->setBasketId($getCouponRequest->getBasketId()) |
| 41 |
const USED_BONUSES = 'used'; |
| 42 |
3 => self::NOT_USED_BONUSES, |
| 43 |
return $this->getValue() === self::USED_BONUSES; |
| 44 |
$this->paginator = $paginator; |
| 45 |
$this->justinDepartmentRepository->deleteDepartmentsUntilDate($date); |
| 46 |
$orderEtonDelivery = new OrderEtonDelivery(); |
| 47 |
->setBasketId($orderEton->getBasketId()) |
| 48 |
private function getDelivery(OrderEton $orderEton): DeliveryObject { |
Комментарии