Open Monograph Press
3.3.0
|
Protected Member Functions | |
getCurrencies () | |
getParameter ($key) | |
setParameter ($key, $value) | |
setParameter ($key, $value) | |
Protected Attributes | |
$currencies | |
$httpClient | |
$httpRequest | |
$negativeAmountAllowed = false | |
$parameters | |
$response | |
$zeroAmountAllowed = true | |
Abstract Request
This abstract class implements RequestInterface and defines a basic set of functions that all Omnipay Requests are intended to include.
Requests of this class are usually created using the createRequest function of the gateway and then actioned using methods within this class or a class that extends this class.
Example – creating a request:
class MyRequest extends \Omnipay\Common\Message\AbstractRequest {};
class MyGateway extends \Omnipay\Common\AbstractGateway { function myRequest($parameters) { $this->createRequest('MyRequest', $parameters); } }
// Create the gateway object $gw = Omnipay::create('MyGateway');
// Create the request object $myRequest = $gw->myRequest($someParameters);
Example – validating and sending a request:
try { $myRequest->validate(); $myResponse = $myRequest->send(); } catch (InvalidRequestException $e) { print "Something went wrong: " . $e->getMessage() . "\n"; } // now do something with the $myResponse object, test for success, etc.
Abstract Request
This abstract class implements RequestInterface and defines a basic set of functions that all Omnipay Requests are intended to include.
Requests of this class are usually created using the createRequest function of the gateway and then actioned using methods within this class or a class that extends this class.
Example – creating a request:
class MyRequest extends \Omnipay\Common\Message\AbstractRequest {};
class MyGateway extends \Omnipay\Common\AbstractGateway { function myRequest($parameters) { $this->createRequest('MyRequest', $parameters); } }
// Create the gateway object $gw = Omnipay::create('MyGateway');
// Create the request object $myRequest = $gw->myRequest($someParameters);
Example – validating and sending a request:
try { $myRequest->validate(); $myResponse = $myRequest->send(); } catch (InvalidRequestException $e) { print "Something went wrong: " . $e->getMessage() . "\n"; } // now do something with the $myResponse object, test for success, etc.
Definition at line 62 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
Omnipay\Common\Message\AbstractRequest::__construct | ( | ClientInterface | $httpClient, |
HttpRequest | $httpRequest | ||
) |
Create a new Request
ClientInterface | $httpClient | A Guzzle client to make API calls with |
HttpRequest | $httpRequest | A Symfony HTTP request object |
Definition at line 126 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\$httpClient, Omnipay\Common\Message\AbstractRequest\$httpRequest, and Omnipay\Common\Message\AbstractRequest\initialize().
Omnipay\Common\Message\AbstractRequest::__construct | ( | ClientInterface | $httpClient, |
HttpRequest | $httpRequest | ||
) |
Create a new Request
ClientInterface | $httpClient | A HTTP client to make API calls with |
HttpRequest | $httpRequest | A Symfony HTTP request object |
Definition at line 132 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\$httpClient, Omnipay\Common\Message\AbstractRequest\$httpRequest, and Omnipay\Common\Message\AbstractRequest\initialize().
Omnipay\Common\Message\AbstractRequest::formatCurrency | ( | $amount | ) |
Format an amount for the payment currency.
Definition at line 446 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getCurrencyDecimalPlaces().
Referenced by Omnipay\Common\Message\AbstractRequest\getAmount(), and Omnipay\PayPal\Message\AbstractRequest\getItemData().
Omnipay\Common\Message\AbstractRequest::formatCurrency | ( | $amount | ) |
Format an amount for the payment currency.
string | $amount |
Definition at line 458 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getCurrencies().
Omnipay\Common\Message\AbstractRequest::getAmount | ( | ) |
Validates and returns the formated amount.
InvalidRequestException | on any validation failure. |
Definition at line 327 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\formatCurrency(), Omnipay\Common\Message\AbstractRequest\getCurrencyDecimalPlaces(), Omnipay\Common\Message\AbstractRequest\getParameter(), and Omnipay\Common\Message\AbstractRequest\toFloat().
Referenced by Omnipay\Common\Message\AbstractRequest\getAmountInteger(), Omnipay\PayPal\Message\CaptureRequest\getData(), Omnipay\PayPal\Message\ExpressCompleteAuthorizeRequest\getData(), Omnipay\PayPal\Message\ProAuthorizeRequest\getData(), Omnipay\PayPal\Message\RefundRequest\getData(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getData(), Omnipay\PayPal\Message\RestRefundCaptureRequest\getData(), Omnipay\PayPal\Message\RestCaptureRequest\getData(), Omnipay\PayPal\Message\RestRefundRequest\getData(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getData(), and Omnipay\PayPal\Message\RestAuthorizeRequest\getData().
Omnipay\Common\Message\AbstractRequest::getAmount | ( | ) |
Validates and returns the formatted amount.
InvalidRequestException | on any validation failure. |
Definition at line 331 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getCurrencies().
Omnipay\Common\Message\AbstractRequest::getAmountInteger | ( | ) |
Get the payment amount as an integer.
Definition at line 358 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
Omnipay\Common\Message\AbstractRequest::getAmountInteger | ( | ) |
Get the payment amount as an integer.
Definition at line 381 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getAmount().
Omnipay\Common\Message\AbstractRequest::getCancelUrl | ( | ) |
Get the request cancel URL.
Definition at line 596 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\ExpressAuthorizeRequest\getData(), and Omnipay\PayPal\Message\RestAuthorizeRequest\getData().
Omnipay\Common\Message\AbstractRequest::getCancelUrl | ( | ) |
Get the request cancel URL.
Definition at line 606 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getCard | ( | ) |
Get the card.
Definition at line 205 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getCard | ( | ) |
Get the card.
Definition at line 241 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\ProAuthorizeRequest\getData(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getData(), Omnipay\PayPal\Message\RestCreateCardRequest\getData(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getData(), and Omnipay\PayPal\Message\RestAuthorizeRequest\getData().
Omnipay\Common\Message\AbstractRequest::getCardReference | ( | ) |
Get the card reference.
Definition at line 251 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getCardReference | ( | ) |
Get the card reference.
Definition at line 287 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\RestAuthorizeRequest\getData(), and Omnipay\PayPal\Message\RestDeleteCardRequest\getEndpoint().
Omnipay\Common\Message\AbstractRequest::getClientIp | ( | ) |
Get the client IP address.
Definition at line 554 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\ProAuthorizeRequest\getData().
Omnipay\Common\Message\AbstractRequest::getClientIp | ( | ) |
Get the client IP address.
Definition at line 564 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
|
protected |
Definition at line 270 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\$currencies.
Referenced by Omnipay\Common\Message\AbstractRequest\formatCurrency(), Omnipay\Common\Message\AbstractRequest\getAmount(), Omnipay\Common\Message\AbstractRequest\getCurrencyDecimalPlaces(), and Omnipay\Common\Message\AbstractRequest\getCurrencyNumeric().
Omnipay\Common\Message\AbstractRequest::getCurrency | ( | ) |
Get the payment currency code.
Definition at line 391 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\Common\Message\AbstractRequest\getCurrencyDecimalPlaces(), Omnipay\Common\Message\AbstractRequest\getCurrencyNumeric(), Omnipay\PayPal\Message\RefundRequest\getData(), Omnipay\PayPal\Message\ExpressCompleteAuthorizeRequest\getData(), Omnipay\PayPal\Message\CaptureRequest\getData(), Omnipay\PayPal\Message\ProAuthorizeRequest\getData(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getData(), Omnipay\PayPal\Message\RestRefundCaptureRequest\getData(), Omnipay\PayPal\Message\RestCaptureRequest\getData(), Omnipay\PayPal\Message\RestRefundRequest\getData(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getData(), and Omnipay\PayPal\Message\RestAuthorizeRequest\getData().
Omnipay\Common\Message\AbstractRequest::getCurrency | ( | ) |
Get the payment currency code.
Definition at line 398 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getCurrencyDecimalPlaces | ( | ) |
Get the number of decimal places in the payment currency.
Definition at line 427 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Currency\find(), and Omnipay\Common\Message\AbstractRequest\getCurrency().
Referenced by Omnipay\Common\Message\AbstractRequest\formatCurrency(), and Omnipay\Common\Message\AbstractRequest\getAmount().
Omnipay\Common\Message\AbstractRequest::getCurrencyDecimalPlaces | ( | ) |
Get the number of decimal places in the payment currency.
Definition at line 440 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getCurrencies(), and Omnipay\Common\Message\AbstractRequest\getCurrency().
Omnipay\Common\Message\AbstractRequest::getCurrencyNumeric | ( | ) |
Get the payment currency number.
Definition at line 415 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Currency\find(), and Omnipay\Common\Message\AbstractRequest\getCurrency().
Omnipay\Common\Message\AbstractRequest::getCurrencyNumeric | ( | ) |
Get the payment currency number.
Definition at line 422 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getCurrencies(), and Omnipay\Common\Message\AbstractRequest\getCurrency().
Omnipay\Common\Message\AbstractRequest::getDescription | ( | ) |
Get the request description.
Reimplemented in Omnipay\PayPal\Message\RestAuthorizeRequest, and Omnipay\PayPal\Message\RestAuthorizeRequest.
Definition at line 461 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\ExpressCompleteAuthorizeRequest\getData(), Omnipay\PayPal\Message\ProAuthorizeRequest\getData(), Omnipay\PayPal\Message\RestRefundCaptureRequest\getData(), Omnipay\PayPal\Message\RestRefundRequest\getData(), Omnipay\PayPal\Message\RestCancelSubscriptionRequest\getData(), Omnipay\PayPal\Message\RestSuspendSubscriptionRequest\getData(), Omnipay\PayPal\Message\RestReactivateSubscriptionRequest\getData(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getData(), Omnipay\PayPal\Message\RestCreatePlanRequest\getData(), and Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getData().
Omnipay\Common\Message\AbstractRequest::getDescription | ( | ) |
Get the request description.
Reimplemented in Omnipay\PayPal\Message\RestAuthorizeRequest, and Omnipay\PayPal\Message\RestAuthorizeRequest.
Definition at line 471 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getIssuer | ( | ) |
Get the payment issuer.
This field is used by some European gateways, and normally represents the bank where an account is held (separate from the card brand).
Definition at line 641 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getIssuer | ( | ) |
Get the payment issuer.
This field is used by some European gateways, and normally represents the bank where an account is held (separate from the card brand).
Definition at line 651 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getItems | ( | ) |
A list of items in this order
Definition at line 529 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\RestAuthorizeRequest\getData(), and Omnipay\PayPal\Message\AbstractRequest\getItemData().
Omnipay\Common\Message\AbstractRequest::getItems | ( | ) |
A list of items in this order
Definition at line 539 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getNotifyUrl | ( | ) |
Get the request notify URL.
Definition at line 617 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\ExpressCompleteAuthorizeRequest\getData().
Omnipay\Common\Message\AbstractRequest::getNotifyUrl | ( | ) |
Get the request notify URL.
Definition at line 627 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
|
protected |
Get a single parameter.
string | $key | The parameter key |
Definition at line 172 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
Referenced by Omnipay\PayPal\Message\AbstractRequest\getAddressOverride(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getAgreementDetails(), Omnipay\PayPal\Message\RestSearchTransactionRequest\getAgreementId(), Omnipay\PayPal\Message\AbstractRequest\getAllowNote(), Omnipay\Common\Message\AbstractRequest\getAmount(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getAuctionItemNumber(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getBillingAgreement(), Omnipay\PayPal\Message\AbstractRequest\getBorderColor(), Omnipay\PayPal\Message\AbstractRequest\getBrandName(), Omnipay\PayPal\Message\AbstractRequest\getButtonSource(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getCallback(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getCallbackTimeout(), Omnipay\Common\Message\AbstractRequest\getCancelUrl(), Omnipay\Common\Message\AbstractRequest\getCard(), Omnipay\Common\Message\AbstractRequest\getCardReference(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getChargeModel(), Omnipay\PayPal\Message\AbstractRestRequest\getClientId(), Omnipay\Common\Message\AbstractRequest\getClientIp(), Omnipay\PayPal\Message\RestListPurchaseRequest\getCount(), Omnipay\Common\Message\AbstractRequest\getCurrency(), Omnipay\PayPal\Message\AbstractRequest\getCustomerServiceNumber(), Omnipay\Common\Message\AbstractRequest\getDescription(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getEmail(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getEndDate(), Omnipay\PayPal\Message\RestSearchTransactionRequest\getEndDate(), Omnipay\PayPal\Message\RestListPurchaseRequest\getEndTime(), Omnipay\PayPal\Message\RestAuthorizeRequest\getExperienceProfileId(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getFirstName(), Omnipay\PayPal\Message\AbstractRequest\getHandlingAmount(), Omnipay\PayPal\Message\AbstractRequest\getHeaderImageUrl(), Omnipay\PayPal\Message\AbstractRequest\getInsuranceAmount(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getInvoiceNumber(), Omnipay\Common\Message\AbstractRequest\getIssuer(), Omnipay\Common\Message\AbstractRequest\getItems(), Omnipay\PayPal\Message\AbstractRequest\getLandingPage(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getLastName(), Omnipay\PayPal\Message\AbstractRequest\getLocaleCode(), Omnipay\PayPal\Message\AbstractRequest\getLogoImageUrl(), Omnipay\PayPal\Message\AbstractRequest\getMaxAmount(), Omnipay\PayPal\Message\RestCreatePlanRequest\getMerchantPreferences(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getMerchantPreferences(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getMiddleName(), Omnipay\PayPal\Message\RestCreatePlanRequest\getName(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getName(), Omnipay\PayPal\Message\AbstractRequest\getNoShipping(), Omnipay\Common\Message\AbstractRequest\getNotifyUrl(), Omnipay\PayPal\Message\RestListPlanRequest\getPage(), Omnipay\PayPal\Message\RestListPlanRequest\getPageSize(), Omnipay\PayPal\Message\AbstractRequest\getPassword(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getPayerDetails(), Omnipay\PayPal\Message\ExpressCompleteAuthorizeRequest\getPayerID(), Omnipay\PayPal\Message\AbstractRestRequest\getPayerId(), Omnipay\PayPal\Message\RestCreatePlanRequest\getPaymentDefinitions(), Omnipay\Common\Message\AbstractRequest\getPaymentMethod(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getPlanId(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getProfileId(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getReceiptId(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getReceiver(), Omnipay\Common\Message\AbstractRequest\getReturnUrl(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getSalutation(), Omnipay\PayPal\Message\AbstractRestRequest\getSecret(), Omnipay\PayPal\Message\AbstractRequest\getSellerPaypalAccountId(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getShippingAddress(), Omnipay\PayPal\Message\AbstractRequest\getShippingAmount(), Omnipay\PayPal\Message\AbstractRequest\getShippingDiscount(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getShippingOptions(), Omnipay\PayPal\Message\AbstractRequest\getSignature(), Omnipay\PayPal\Message\AbstractRequest\getSolutionType(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getStartDate(), Omnipay\PayPal\Message\RestSearchTransactionRequest\getStartDate(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getStartDate(), Omnipay\PayPal\Message\RestListPurchaseRequest\getStartId(), Omnipay\PayPal\Message\RestListPurchaseRequest\getStartIndex(), Omnipay\PayPal\Message\RestListPurchaseRequest\getStartTime(), Omnipay\PayPal\Message\RestUpdatePlanRequest\getState(), Omnipay\PayPal\Message\RestListPlanRequest\getStatus(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getStatus(), Omnipay\PayPal\Message\AbstractRequest\getSubject(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getSuffix(), Omnipay\PayPal\Message\AbstractRequest\getTaxAmount(), Omnipay\Common\Message\AbstractRequest\getTestMode(), Omnipay\PayPal\Message\AbstractRestRequest\getToken(), Omnipay\Common\Message\AbstractRequest\getToken(), Omnipay\PayPal\Message\RestListPlanRequest\getTotalRequired(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getTransactionClass(), Omnipay\Common\Message\AbstractRequest\getTransactionId(), Omnipay\Common\Message\AbstractRequest\getTransactionReference(), Omnipay\PayPal\Message\RestCreatePlanRequest\getType(), and Omnipay\PayPal\Message\AbstractRequest\getUsername().
Omnipay\Common\Message\AbstractRequest::getParameters | ( | ) |
Get all parameters as an associative array.
Implements Omnipay\Common\Message\RequestInterface.
Definition at line 161 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
Omnipay\Common\Message\AbstractRequest::getPaymentMethod | ( | ) |
Get the payment issuer.
This field is used by some European gateways, which support multiple payment providers with a single API.
Definition at line 668 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getPaymentMethod | ( | ) |
Get the payment issuer.
This field is used by some European gateways, which support multiple payment providers with a single API.
Definition at line 678 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getResponse | ( | ) |
Get the associated Response.
Implements Omnipay\Common\Message\RequestInterface.
Definition at line 704 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\$response.
Omnipay\Common\Message\AbstractRequest::getResponse | ( | ) |
Get the associated Response.
Implements Omnipay\Common\Message\RequestInterface.
Definition at line 714 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\$response.
Omnipay\Common\Message\AbstractRequest::getReturnUrl | ( | ) |
Get the request return URL.
Definition at line 575 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\ExpressAuthorizeRequest\getData(), and Omnipay\PayPal\Message\RestAuthorizeRequest\getData().
Omnipay\Common\Message\AbstractRequest::getReturnUrl | ( | ) |
Get the request return URL.
Definition at line 585 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getTestMode | ( | ) |
Gets the test mode of the request from the gateway.
Definition at line 184 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getTestMode | ( | ) |
Gets the test mode of the request from the gateway.
Definition at line 201 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\AbstractRestRequest\getEndpoint(), and Omnipay\PayPal\Message\AbstractRequest\getEndpoint().
Omnipay\Common\Message\AbstractRequest::getToken | ( | ) |
Get the card token.
Reimplemented in Omnipay\PayPal\Message\AbstractRestRequest, and Omnipay\PayPal\Message\AbstractRestRequest.
Definition at line 230 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getToken | ( | ) |
Get the card token.
Reimplemented in Omnipay\PayPal\Message\AbstractRestRequest, and Omnipay\PayPal\Message\AbstractRestRequest.
Definition at line 266 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\ExpressCompleteAuthorizeRequest\getData(), and Omnipay\PayPal\Message\ExpressFetchCheckoutRequest\getData().
Omnipay\Common\Message\AbstractRequest::getTransactionId | ( | ) |
Get the transaction ID.
The transaction ID is the identifier generated by the merchant website.
Definition at line 484 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\ExpressCompleteAuthorizeRequest\getData(), Omnipay\PayPal\Message\ProAuthorizeRequest\getData(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getData(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getData(), Omnipay\PayPal\Message\RestAuthorizeRequest\getData(), and Omnipay\PayPal\Message\RestAuthorizeRequest\getDescription().
Omnipay\Common\Message\AbstractRequest::getTransactionId | ( | ) |
Get the transaction ID.
The transaction ID is the identifier generated by the merchant website.
Definition at line 494 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::getTransactionReference | ( | ) |
Get the transaction reference.
The transaction reference is the identifier generated by the remote payment gateway.
Definition at line 508 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Referenced by Omnipay\PayPal\Message\CaptureRequest\getData(), Omnipay\PayPal\Message\ExpressVoidRequest\getData(), Omnipay\PayPal\Message\RefundRequest\getData(), Omnipay\PayPal\Message\FetchTransactionRequest\getData(), Omnipay\PayPal\Message\RestVoidRequest\getEndpoint(), Omnipay\PayPal\Message\RestRefundCaptureRequest\getEndpoint(), Omnipay\PayPal\Message\RestFetchPurchaseRequest\getEndpoint(), Omnipay\PayPal\Message\RestFetchTransactionRequest\getEndpoint(), Omnipay\PayPal\Message\RestCaptureRequest\getEndpoint(), Omnipay\PayPal\Message\RestCompletePurchaseRequest\getEndpoint(), Omnipay\PayPal\Message\RestRefundRequest\getEndpoint(), Omnipay\PayPal\Message\RestCancelSubscriptionRequest\getEndpoint(), Omnipay\PayPal\Message\RestReactivateSubscriptionRequest\getEndpoint(), Omnipay\PayPal\Message\RestSuspendSubscriptionRequest\getEndpoint(), Omnipay\PayPal\Message\RestCompleteSubscriptionRequest\getEndpoint(), and Omnipay\PayPal\Message\RestUpdatePlanRequest\getEndpoint().
Omnipay\Common\Message\AbstractRequest::getTransactionReference | ( | ) |
Get the transaction reference.
The transaction reference is the identifier generated by the remote payment gateway.
Definition at line 518 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\getParameter().
Omnipay\Common\Message\AbstractRequest::initialize | ( | array | $parameters = array() | ) |
Initialize the object with parameters.
If any unknown parameters passed, they will be ignored.
array | $parameters | An associative array of parameters |
RuntimeException |
Implements Omnipay\Common\Message\RequestInterface.
Definition at line 143 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\$parameters, and Omnipay\Common\Helper\initialize().
Referenced by Omnipay\Common\Message\AbstractRequest\__construct().
Omnipay\Common\Message\AbstractRequest::initialize | ( | array | $parameters = array() | ) |
Initialize the object with parameters.
If any unknown parameters passed, they will be ignored.
array | $parameters | An associative array of parameters |
RuntimeException |
Implements Omnipay\Common\Message\RequestInterface.
Definition at line 149 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\$parameters, and Omnipay\Common\Helper\initialize().
Omnipay\Common\Message\AbstractRequest::send | ( | ) |
Send the request
Implements Omnipay\Common\Message\RequestInterface.
Definition at line 692 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\MessageInterface\getData(), and Omnipay\Common\Message\RequestInterface\sendData().
Omnipay\Common\Message\AbstractRequest::send | ( | ) |
Send the request
Implements Omnipay\Common\Message\RequestInterface.
Definition at line 702 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\MessageInterface\getData(), and Omnipay\Common\Message\RequestInterface\sendData().
Omnipay\Common\Message\AbstractRequest::setAmount | ( | $value | ) |
Sets the payment amount.
string | null | $value |
Definition at line 348 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setAmount | ( | $value | ) |
Sets the payment amount.
string | $value |
Definition at line 371 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setAmountInteger | ( | $value | ) |
Sets the payment amount as integer.
int | $value |
Definition at line 373 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setCancelUrl | ( | $value | ) |
Sets the request cancel URL.
string | $value |
Definition at line 607 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setCancelUrl | ( | $value | ) |
Sets the request cancel URL.
string | $value |
Definition at line 617 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setCard | ( | $value | ) |
Sets the card.
CreditCard | $value |
Definition at line 216 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setCard | ( | $value | ) |
Sets the card.
CreditCard | $value |
Definition at line 252 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setCardReference | ( | $value | ) |
Sets the card reference.
string | $value |
Definition at line 262 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setCardReference | ( | $value | ) |
Sets the card reference.
string | $value |
Definition at line 298 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setClientIp | ( | $value | ) |
Sets the client IP address.
string | $value |
Definition at line 565 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setClientIp | ( | $value | ) |
Sets the client IP address.
string | $value |
Definition at line 575 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setCurrency | ( | $value | ) |
Sets the payment currency code.
string | $value |
Definition at line 402 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Referenced by Omnipay\Common\Message\AbstractRequest\setMoney().
Omnipay\Common\Message\AbstractRequest::setCurrency | ( | $value | ) |
Sets the payment currency code.
string | $value |
Definition at line 409 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setDescription | ( | $value | ) |
Sets the request description.
string | $value |
Definition at line 472 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setDescription | ( | $value | ) |
Sets the request description.
string | $value |
Definition at line 482 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setIssuer | ( | $value | ) |
Set the payment issuer.
This field is used by some European gateways, and normally represents the bank where an account is held (separate from the card brand).
string | $value |
Definition at line 655 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setIssuer | ( | $value | ) |
Set the payment issuer.
This field is used by some European gateways, and normally represents the bank where an account is held (separate from the card brand).
string | $value |
Definition at line 665 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setItems | ( | $items | ) |
Set the items in this order
ItemBag | array | $items | An array of items in this order |
Reimplemented in Omnipay\PayPal\Message\AbstractRequest, and Omnipay\PayPal\Message\AbstractRequest.
Definition at line 540 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setItems | ( | $items | ) |
Set the items in this order
ItemBag | array | $items | An array of items in this order |
Reimplemented in Omnipay\PayPal\Message\AbstractRequest, and Omnipay\PayPal\Message\AbstractRequest.
Definition at line 550 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setMoney | ( | Money | $value | ) |
Sets the payment amount as integer.
Money | $value |
Definition at line 384 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Money\Money\getCurrency(), Omnipay\Common\Message\AbstractRequest\setCurrency(), and Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setNotifyUrl | ( | $value | ) |
Sets the request notify URL.
string | $value |
Definition at line 628 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setNotifyUrl | ( | $value | ) |
Sets the request notify URL.
string | $value |
Definition at line 638 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
|
protected |
Set a single parameter
string | $key | The parameter key |
mixed | $value | The value to set |
RuntimeException | if a request parameter is modified after the request has been sent. |
Definition at line 170 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
|
protected |
Set a single parameter
string | $key | The parameter key |
mixed | $value | The value to set |
RuntimeException | if a request parameter is modified after the request has been sent. |
Definition at line 185 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
Referenced by Omnipay\PayPal\Message\AbstractRequest\setAddressOverride(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\setAgreementDetails(), Omnipay\PayPal\Message\RestSearchTransactionRequest\setAgreementId(), Omnipay\PayPal\Message\AbstractRequest\setAllowNote(), Omnipay\Common\Message\AbstractRequest\setAmount(), Omnipay\Common\Message\AbstractRequest\setAmountInteger(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setAuctionItemNumber(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\setBillingAgreement(), Omnipay\PayPal\Message\AbstractRequest\setBorderColor(), Omnipay\PayPal\Message\AbstractRequest\setBrandName(), Omnipay\PayPal\Message\AbstractRequest\setButtonSource(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\setCallback(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\setCallbackTimeout(), Omnipay\Common\Message\AbstractRequest\setCancelUrl(), Omnipay\Common\Message\AbstractRequest\setCard(), Omnipay\Common\Message\AbstractRequest\setCardReference(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\setChargeModel(), Omnipay\PayPal\Message\AbstractRestRequest\setClientId(), Omnipay\Common\Message\AbstractRequest\setClientIp(), Omnipay\PayPal\Message\RestListPurchaseRequest\setCount(), Omnipay\Common\Message\AbstractRequest\setCurrency(), Omnipay\PayPal\Message\AbstractRequest\setCustomerServiceNumber(), Omnipay\Common\Message\AbstractRequest\setDescription(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setEmail(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setEndDate(), Omnipay\PayPal\Message\RestSearchTransactionRequest\setEndDate(), Omnipay\PayPal\Message\RestListPurchaseRequest\setEndTime(), Omnipay\PayPal\Message\RestAuthorizeRequest\setExperienceProfileId(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setFirstName(), Omnipay\PayPal\Message\AbstractRequest\setHandlingAmount(), Omnipay\PayPal\Message\AbstractRequest\setHeaderImageUrl(), Omnipay\PayPal\Message\AbstractRequest\setInsuranceAmount(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setInvoiceNumber(), Omnipay\Common\Message\AbstractRequest\setIssuer(), Omnipay\PayPal\Message\AbstractRequest\setItems(), Omnipay\Common\Message\AbstractRequest\setItems(), Omnipay\PayPal\Message\AbstractRequest\setLandingPage(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setLastName(), Omnipay\PayPal\Message\AbstractRequest\setLocaleCode(), Omnipay\PayPal\Message\AbstractRequest\setLogoImageUrl(), Omnipay\PayPal\Message\AbstractRequest\setMaxAmount(), Omnipay\PayPal\Message\RestCreatePlanRequest\setMerchantPreferences(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\setMerchantPreferences(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setMiddleName(), Omnipay\Common\Message\AbstractRequest\setMoney(), Omnipay\PayPal\Message\RestCreatePlanRequest\setName(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\setName(), Omnipay\PayPal\Message\AbstractRequest\setNoShipping(), Omnipay\Common\Message\AbstractRequest\setNotifyUrl(), Omnipay\PayPal\Message\RestListPlanRequest\setPage(), Omnipay\PayPal\Message\RestListPlanRequest\setPageSize(), Omnipay\PayPal\Message\AbstractRequest\setPassword(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\setPayerDetails(), Omnipay\PayPal\Message\ExpressCompleteAuthorizeRequest\setPayerID(), Omnipay\PayPal\Message\AbstractRestRequest\setPayerId(), Omnipay\PayPal\Message\RestCreatePlanRequest\setPaymentDefinitions(), Omnipay\Common\Message\AbstractRequest\setPaymentMethod(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\setPlanId(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setProfileId(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setReceiptId(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setReceiver(), Omnipay\Common\Message\AbstractRequest\setReturnUrl(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setSalutation(), Omnipay\PayPal\Message\AbstractRestRequest\setSecret(), Omnipay\PayPal\Message\AbstractRequest\setSellerPaypalAccountId(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\setShippingAddress(), Omnipay\PayPal\Message\AbstractRequest\setShippingAmount(), Omnipay\PayPal\Message\AbstractRequest\setShippingDiscount(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\setShippingOptions(), Omnipay\PayPal\Message\AbstractRequest\setSignature(), Omnipay\PayPal\Message\AbstractRequest\setSolutionType(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setStartDate(), Omnipay\PayPal\Message\RestSearchTransactionRequest\setStartDate(), Omnipay\PayPal\Message\RestCreateSubscriptionRequest\setStartDate(), Omnipay\PayPal\Message\RestListPurchaseRequest\setStartId(), Omnipay\PayPal\Message\RestListPurchaseRequest\setStartIndex(), Omnipay\PayPal\Message\RestListPurchaseRequest\setStartTime(), Omnipay\PayPal\Message\RestUpdatePlanRequest\setState(), Omnipay\PayPal\Message\RestListPlanRequest\setStatus(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setStatus(), Omnipay\PayPal\Message\AbstractRequest\setSubject(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setSuffix(), Omnipay\PayPal\Message\AbstractRequest\setTaxAmount(), Omnipay\Common\Message\AbstractRequest\setTestMode(), Omnipay\PayPal\Message\AbstractRestRequest\setToken(), Omnipay\Common\Message\AbstractRequest\setToken(), Omnipay\PayPal\Message\RestListPlanRequest\setTotalRequired(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\setTransactionClass(), Omnipay\Common\Message\AbstractRequest\setTransactionId(), Omnipay\Common\Message\AbstractRequest\setTransactionReference(), Omnipay\PayPal\Message\RestCreatePlanRequest\setType(), and Omnipay\PayPal\Message\AbstractRequest\setUsername().
Omnipay\Common\Message\AbstractRequest::setPaymentMethod | ( | $value | ) |
Set the payment method.
This field is used by some European gateways, which support multiple payment providers with a single API.
string | $value |
Definition at line 682 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setPaymentMethod | ( | $value | ) |
Set the payment method.
This field is used by some European gateways, which support multiple payment providers with a single API.
string | $value |
Definition at line 692 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setReturnUrl | ( | $value | ) |
Sets the request return URL.
string | $value |
Definition at line 586 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setReturnUrl | ( | $value | ) |
Sets the request return URL.
string | $value |
Definition at line 596 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setTestMode | ( | $value | ) |
Sets the test mode of the request.
boolean | $value | True for test mode on. |
Definition at line 195 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setTestMode | ( | $value | ) |
Sets the test mode of the request.
boolean | $value | True for test mode on. |
Definition at line 212 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setToken | ( | $value | ) |
Sets the card token.
string | $value |
Reimplemented in Omnipay\PayPal\Message\AbstractRestRequest, and Omnipay\PayPal\Message\AbstractRestRequest.
Definition at line 241 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setToken | ( | $value | ) |
Sets the card token.
string | $value |
Reimplemented in Omnipay\PayPal\Message\AbstractRestRequest, and Omnipay\PayPal\Message\AbstractRestRequest.
Definition at line 277 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setTransactionId | ( | $value | ) |
Sets the transaction ID.
string | $value |
Definition at line 495 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setTransactionId | ( | $value | ) |
Sets the transaction ID.
string | $value |
Definition at line 505 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setTransactionReference | ( | $value | ) |
Sets the transaction reference.
string | $value |
Definition at line 519 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::setTransactionReference | ( | $value | ) |
Sets the transaction reference.
string | $value |
Definition at line 529 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
References Omnipay\Common\Message\AbstractRequest\setParameter().
Omnipay\Common\Message\AbstractRequest::toFloat | ( | $value | ) |
Definition at line 311 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
References Omnipay\Common\Helper\toFloat().
Referenced by Omnipay\Common\Message\AbstractRequest\getAmount().
Omnipay\Common\Message\AbstractRequest::validate | ( | ) |
Validate the request.
This method is called internally by gateways to avoid wasting time with an API call when the request is clearly invalid.
string | ... a variable length list of required parameters |
InvalidRequestException |
Definition at line 226 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
Referenced by Omnipay\PayPal\Message\CaptureRequest\getData(), Omnipay\PayPal\Message\ExpressFetchCheckoutRequest\getData(), Omnipay\PayPal\Message\ProAuthorizeRequest\getData(), Omnipay\PayPal\Message\RefundRequest\getData(), Omnipay\PayPal\Message\ExpressCompleteAuthorizeRequest\getData(), Omnipay\PayPal\Message\ExpressVoidRequest\getData(), Omnipay\PayPal\Message\FetchTransactionRequest\getData(), Omnipay\PayPal\Message\ExpressTransactionSearchRequest\getData(), Omnipay\PayPal\Message\RestRefundCaptureRequest\getData(), Omnipay\PayPal\Message\RestVoidRequest\getData(), Omnipay\PayPal\Message\RestFetchPurchaseRequest\getData(), Omnipay\PayPal\Message\RestFetchTransactionRequest\getData(), Omnipay\PayPal\Message\RestCaptureRequest\getData(), Omnipay\PayPal\Message\RestDeleteCardRequest\getData(), Omnipay\PayPal\Message\RestRefundRequest\getData(), Omnipay\PayPal\Message\RestCompletePurchaseRequest\getData(), Omnipay\PayPal\Message\RestReactivateSubscriptionRequest\getData(), Omnipay\PayPal\Message\RestCancelSubscriptionRequest\getData(), Omnipay\PayPal\Message\RestSuspendSubscriptionRequest\getData(), Omnipay\PayPal\Message\RestCreateCardRequest\getData(), Omnipay\PayPal\Message\RestUpdatePlanRequest\getData(), Omnipay\PayPal\Message\ExpressAuthorizeRequest\getData(), Omnipay\PayPal\Message\RestCompleteSubscriptionRequest\getData(), Omnipay\PayPal\Message\RestSearchTransactionRequest\getData(), Omnipay\PayPal\Message\RestAuthorizeRequest\getData(), Omnipay\PayPal\Message\RestCreatePlanRequest\getData(), and Omnipay\PayPal\Message\RestCreateSubscriptionRequest\getData().
|
protected |
Definition at line 108 of file vendor/omnipay/common/src/Common/Message/AbstractRequest.php.
Referenced by Omnipay\Common\Message\AbstractRequest\getCurrencies().
|
protected |
The request client.
Definition at line 82 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
Referenced by Omnipay\Common\Message\AbstractRequest\__construct().
|
protected |
The HTTP request object.
Definition at line 92 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
Referenced by Omnipay\Common\Message\AbstractRequest\__construct(), Omnipay\PayPal\Message\RestTokenRequest\sendData(), Omnipay\PayPal\Message\AbstractRestRequest\sendData(), and Omnipay\PayPal\Message\AbstractRequest\sendData().
|
protected |
Definition at line 118 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
|
protected |
The request parameters
Definition at line 72 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
Referenced by Omnipay\Common\Message\AbstractRequest\initialize().
|
protected |
An associated ResponseInterface.
Definition at line 102 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.
Referenced by Omnipay\Common\Message\AbstractRequest\getResponse().
|
protected |
Definition at line 110 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php.