You are here

abstract public function PayPalBasic::getApiContext in PayPal for Payment 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Payment/Method/PayPalBasic.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasic::getApiContext()

Parameters

string $type:

Return value

\PayPal\Rest\ApiContext

1 call to PayPalBasic::getApiContext()
PayPalBasic::doExecutePayment in src/Plugin/Payment/Method/PayPalBasic.php
2 methods override PayPalBasic::getApiContext()
PayPalExpress::getApiContext in src/Plugin/Payment/Method/PayPalExpress.php
{}
PayPalStandard::getApiContext in src/Plugin/Payment/Method/PayPalStandard.php

File

src/Plugin/Payment/Method/PayPalBasic.php, line 50

Class

PayPalBasic
Abstract class for PayPal payment methods.

Namespace

Drupal\paypal_payment\Plugin\Payment\Method

Code

public abstract function getApiContext($type) : ApiContext;