40 $this->resolver = $resolver;
54 self::PAYPAL_CODE => [
55 'isActive' => $this->config->isActive(),
56 'title' => $this->config->getTitle(),
57 'isAllowShippingAddressOverride' => $this->config->isAllowToEditShippingAddress(),
58 'merchantName' => $this->config->getMerchantName(),
59 'locale' => $this->resolver->getLocale(),
60 'paymentAcceptanceMarkSrc' =>
61 'https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-medium.png',
63 'skipOrderReview' => $this->config->isSkipOrderReview(),
64 'paymentIcon' => $this->config->getPayPalIcon(),
65 'isRequiredBillingAddress' =>
66 (int)$this->config->isRequiredBillingAddress() === $requireBillingAddressAll
__construct(Config $config, ResolverInterface $resolver)
const REQUIRE_BILLING_ADDRESS_ALL