Cdentinger has submitted this change and it was merged.
Change subject: Spaces to tabs
......................................................................
Spaces to tabs
Change-Id: If9d55de93aa301b114b693e65e4c1567626abb4c
---
M PaymentProviders/Adyen/WSDL/Notification.php
M PaymentProviders/Adyen/WSDL/Payment.php
M config_defaults.php
3 files changed, 673 insertions(+), 677 deletions(-)
Approvals:
Cdentinger: Looks good to me, approved
jenkins-bot: Verified
diff --git a/PaymentProviders/Adyen/WSDL/Notification.php
b/PaymentProviders/Adyen/WSDL/Notification.php
index c78356e..cdaa82b 100644
--- a/PaymentProviders/Adyen/WSDL/Notification.php
+++ b/PaymentProviders/Adyen/WSDL/Notification.php
@@ -1,204 +1,202 @@
<?php namespace SmashPig\PaymentProviders\Adyen\WSDL;
class NotificationRequest {
- /** @var boolean $live True if the notification was received from the live
(not test) platform */
- public $live;
+ /** @var boolean $live True if the notification was received from the
live (not test) platform */
+ public $live;
- /** @var array of NotificationRequestItem */
- public $notificationItems;
+ /** @var array of NotificationRequestItem */
+ public $notificationItems;
}
class NotificationRequestItem {
- /** @var */
- public $additionalData; // anyType2anyTypeMap
- public $amount; // Amount
- public $eventCode; // string
- public $eventDate; // dateTime
- public $merchantAccountCode; // string
- public $merchantReference; // string
- public $operations; // ArrayOfString
- public $originalReference; // string
- public $paymentMethod; // string
- public $pspReference; // string
- public $reason; // string
- public $success; // boolean
+ /** @var */
+ public $additionalData; // anyType2anyTypeMap
+ public $amount; // Amount
+ public $eventCode; // string
+ public $eventDate; // dateTime
+ public $merchantAccountCode; // string
+ public $merchantReference; // string
+ public $operations; // ArrayOfString
+ public $originalReference; // string
+ public $paymentMethod; // string
+ public $pspReference; // string
+ public $reason; // string
+ public $success; // boolean
}
class anyType2anyTypeMap {
- public $entry; // entry
+ public $entry; // entry
}
class entry {
- public $key; // anyType
- public $value; // anyType
+ public $key; // anyType
+ public $value; // anyType
}
class sendNotification {
- public $notification; // NotificationRequest
+ public $notification; // NotificationRequest
}
class sendNotificationResponse {
- public $notificationResponse; // string
+ public $notificationResponse; // string
}
class Amount {
- public $currency; // string
- public $value; // long
+ public $currency; // string
+ public $value; // long
}
class ServiceException {
- public $error; // Error
- public $type; // Type
+ public $error; // Error
+ public $type; // Type
}
class Error {
- const Unknown = 'Unknown';
- const NotAllowed = 'NotAllowed';
- const NoAmountSpecified = 'NoAmountSpecified';
- const InvalidCardNumber = 'InvalidCardNumber';
- const UnableToDetermineVariant = 'UnableToDetermineVariant';
- const CVCisNotTheRightLength = 'CVCisNotTheRightLength';
- const InvalidLoyaltyAmountSpecified = 'InvalidLoyaltyAmountSpecified';
- const InvalidPaRes3dSecure = 'InvalidPaRes3dSecure';
- const SessionAlreadyUsed = 'SessionAlreadyUsed';
- const RecurringNotEnabled = 'RecurringNotEnabled';
- const InvalidBankAccountNumber = 'InvalidBankAccountNumber';
- const InvalidVariant = 'InvalidVariant';
- const InvalidBankDetailsMissing = 'InvalidBankDetailsMissing';
- const InvalidBankCountry = 'InvalidBankCountry';
- const BankCountryNotSupported = 'BankCountryNotSupported';
- const OpenInvoiceLinesMissing = 'OpenInvoiceLinesMissing';
- const OpenInvoiceLineInvalid = 'OpenInvoiceLineInvalid';
- const OpenInvoiceLinesInvalidTotalAmount =
'OpenInvoiceLinesInvalidTotalAmount';
- const InvalidDateOfBirth = 'InvalidDateOfBirth';
- const InvalidBillingAddress = 'InvalidBillingAddress';
- const InvalidDeliveryAddress = 'InvalidDeliveryAddress';
- const InvalidShopperName = 'InvalidShopperName';
- const MissingShopperEmail = 'MissingShopperEmail';
- const MissingShopperReference = 'MissingShopperReference';
- const MissingPhoneNumber = 'MissingPhoneNumber';
- const MobilePhoneNumberOnly = 'MobilePhoneNumberOnly';
- const InvalidPhoneNumber = 'InvalidPhoneNumber';
- const RecurringInvalidContract = 'RecurringInvalidContract';
- const BankAccountOrBankLocationIdNotValid =
'BankAccountOrBankLocationIdNotValid';
- const AccountHolderMissing = 'AccountHolderMissing';
- const CardHolderNameMissing = 'CardHolderNameMissing';
- const InvalidExpiry = 'InvalidExpiry';
- const MissingMerchantReference = 'MissingMerchantReference';
- const BillingAddressCityProblem = 'BillingAddressCityProblem';
- const BillingAddressStreetProblem = 'BillingAddressStreetProblem';
- const BillingAddressHouseNumberOrNameProblem =
'BillingAddressHouseNumberOrNameProblem';
- const BillingAddressCountryProblem = 'BillingAddressCountryProblem';
- const BillingAddressStateOrProvinceProblem =
'BillingAddressStateOrProvinceProblem';
- const OpenInvoiceFailedToRetrieveDetails =
'OpenInvoiceFailedToRetrieveDetails';
- const InvalidAmount = 'InvalidAmount';
- const UnsupportedCurrency = 'UnsupportedCurrency';
- const RecurringRequiredFields = 'RecurringRequiredFields';
- const InvalidCardExpiryOnInPast = 'InvalidCardExpiryOnInPast';
- const InvalidCardExpiry = 'InvalidCardExpiry';
- const BankNameOrBankLocationIsNotValid =
'BankNameOrBankLocationIsNotValid';
- const InvalidIdealMerchantReturnUrl = 'InvalidIdealMerchantReturnUrl';
- const InvalidCardStartDateInFuture = 'InvalidCardStartDateInFuture';
- const InvalidIssuerCountryCode = 'InvalidIssuerCountryCode';
- const InvalidSocialSecurityNumber = 'InvalidSocialSecurityNumber';
- const DeliveryAddressCityProblem = 'DeliveryAddressCityProblem';
- const DeliveryAddressStreetProblem = 'DeliveryAddressStreetProblem';
- const DeliveryAddressHouseNumberOrNameProblem =
'DeliveryAddressHouseNumberOrNameProblem';
- const DeliveryAddressCountryProblem = 'DeliveryAddressCountryProblem';
- const DeliveryAddressStateOrProvinceProblem =
'DeliveryAddressStateOrProvinceProblem';
- const InvalidInstallments = 'InvalidInstallments';
- const InvalidCVC = 'InvalidCVC';
- const MissingAdditionalData = 'MissingAdditionalData';
- const MissingAcquirer = 'MissingAcquirer';
- const MissingAuthorisationMid = 'MissingAuthorisationMid';
- const MissingFields = 'MissingFields';
- const MissingRequiredField = 'MissingRequiredField';
- const InvalidNumberOfRequests = 'InvalidNumberOfRequests';
- const PayoutStoreDetailNotAllowed = 'PayoutStoreDetailNotAllowed';
- const InvalidIBAN = 'InvalidIBAN';
- const InconsistentIban = 'InconsistentIban';
- const InvalidBIC = 'InvalidBIC';
- const Invoice_MissingInvoiceProject = 'Invoice_MissingInvoiceProject';
- const Invoice_MissingInvoiceBatch = 'Invoice_MissingInvoiceBatch';
- const Invoice_MissingCreditorAccount = 'Invoice_MissingCreditorAccount';
- const Invoice_MissingProjectCode = 'Invoice_MissingProjectCode';
- const Invoice_CreditorAccountNotFound = 'Invoice_CreditorAccountNotFound';
- const Invoice_ProjectNotFound = 'Invoice_ProjectNotFound';
- const Invoice_InvoiceProjectCouldNotBeCreated =
'Invoice_InvoiceProjectCouldNotBeCreated';
- const Invoice_InvoiceBatchAlreadyExists =
'Invoice_InvoiceBatchAlreadyExists';
- const Invoice_InvoiceBatchCouldNotBeCreated =
'Invoice_InvoiceBatchCouldNotBeCreated';
- const Invoice_InvoiceBatchPeriodExceeded =
'Invoice_InvoiceBatchPeriodExceeded';
- const InvoiceMissingInvoice = 'InvoiceMissingInvoice';
- const InvoiceMissingCreditorAccountCode =
'InvoiceMissingCreditorAccountCode';
- const InvoiceMissingDebtorCode = 'InvoiceMissingDebtorCode';
- const InvoiceMissingDebtorName = 'InvoiceMissingDebtorName';
- const InvoiceMissingDebtorEmailAddress =
'InvoiceMissingDebtorEmailAddress';
- const InvoiceMissingDebtorCountryCode = 'InvoiceMissingDebtorCountryCode';
- const InvoiceMissingInvoicePayment = 'InvoiceMissingInvoicePayment';
- const InvoiceMissingReference = 'InvoiceMissingReference';
- const InvoiceInvalidCreditorAccount = 'InvoiceInvalidCreditorAccount';
- const InvoiceInvalidDebtor = 'InvoiceInvalidDebtor';
- const InvoiceInvalidPaymentAmount = 'InvoiceInvalidPaymentAmount';
- const InvoiceInvalidPaymentCurrency = 'InvoiceInvalidPaymentCurrency';
- const InvoiceInvalidDebtorType = 'InvoiceInvalidDebtorType';
- const InvoiceDoesNotExists = 'InvoiceDoesNotExists';
- const InvoiceDoesNotExistsForDebtor = 'InvoiceDoesNotExistsForDebtor';
- const InvoicePaymentAmountTooHigh = 'InvoicePaymentAmountTooHigh';
- const InvoiceAlreadyPaid = 'InvoiceAlreadyPaid';
- const InvoiceErrorStoreDebtor = 'InvoiceErrorStoreDebtor';
- const InvoiceErrorStoreInvoice = 'InvoiceErrorStoreInvoice';
- const InvoiceErrorCheckInvoiceReference =
'InvoiceErrorCheckInvoiceReference';
- const InvoiceErrorSearchInvoices = 'InvoiceErrorSearchInvoices';
- const InvoiceErrorNoInvoiceConfiguration =
'InvoiceErrorNoInvoiceConfiguration';
- const InvoiceErrorInvalidInvoiceConfiguration =
'InvoiceErrorInvalidInvoiceConfiguration';
- const RechargeContractNotFound = 'RechargeContractNotFound';
- const RechargeTooManyPaymentDetails = 'RechargeTooManyPaymentDetails';
- const RechargeInvalidContract = 'RechargeInvalidContract';
- const RechargeDetailNotFound = 'RechargeDetailNotFound';
- const RechargeFailedToDisable = 'RechargeFailedToDisable';
- const RechargeDetailNotAvailableForContract =
'RechargeDetailNotAvailableForContract';
- const RechargeNoApplicableContractTypeLeft =
'RechargeNoApplicableContractTypeLeft';
- const InvalidMerchantAccount = 'InvalidMerchantAccount';
- const RequestMissing = 'RequestMissing';
- const InternalError = 'InternalError';
- const UnableToProcess = 'UnableToProcess';
- const PaymentDetailsAreNotSupported = 'PaymentDetailsAreNotSupported';
- const OriginalPspReferenceInvalidForThisEnvironment =
'OriginalPspReferenceInvalidForThisEnvironment';
- const InvalidAcquirerAccount = 'InvalidAcquirerAccount';
- const InvalidConfigurationAuthorisationMid =
'InvalidConfigurationAuthorisationMid';
- const InvalidConfigurationAcquirerPassword =
'InvalidConfigurationAcquirerPassword';
- const InvalidConfigurationApiKey = 'InvalidConfigurationApiKey';
- const InvalidConfigurationRedirectUrl = 'InvalidConfigurationRedirectUrl';
- const InvalidConfigurationAcquirerAccountData =
'InvalidConfigurationAcquirerAccountData';
- const InvalidConfigurationCurrencyCode =
'InvalidConfigurationCurrencyCode';
- const InvalidConfigurationAuthorisationTerminalId =
'InvalidConfigurationAuthorisationTerminalId';
- const InvalidConfigurationSerialNumber =
'InvalidConfigurationSerialNumber';
- const InvalidConfigurationPassword = 'InvalidConfigurationPassword';
- const InvalidConfigurationProjectId = 'InvalidConfigurationProjectId';
- const InvalidConfigurationMerchantCategoryCode =
'InvalidConfigurationMerchantCategoryCode';
- const InvalidConfigurationMerchantName =
'InvalidConfigurationMerchantName';
+ const Unknown = 'Unknown';
+ const NotAllowed = 'NotAllowed';
+ const NoAmountSpecified = 'NoAmountSpecified';
+ const InvalidCardNumber = 'InvalidCardNumber';
+ const UnableToDetermineVariant = 'UnableToDetermineVariant';
+ const CVCisNotTheRightLength = 'CVCisNotTheRightLength';
+ const InvalidLoyaltyAmountSpecified = 'InvalidLoyaltyAmountSpecified';
+ const InvalidPaRes3dSecure = 'InvalidPaRes3dSecure';
+ const SessionAlreadyUsed = 'SessionAlreadyUsed';
+ const RecurringNotEnabled = 'RecurringNotEnabled';
+ const InvalidBankAccountNumber = 'InvalidBankAccountNumber';
+ const InvalidVariant = 'InvalidVariant';
+ const InvalidBankDetailsMissing = 'InvalidBankDetailsMissing';
+ const InvalidBankCountry = 'InvalidBankCountry';
+ const BankCountryNotSupported = 'BankCountryNotSupported';
+ const OpenInvoiceLinesMissing = 'OpenInvoiceLinesMissing';
+ const OpenInvoiceLineInvalid = 'OpenInvoiceLineInvalid';
+ const OpenInvoiceLinesInvalidTotalAmount =
'OpenInvoiceLinesInvalidTotalAmount';
+ const InvalidDateOfBirth = 'InvalidDateOfBirth';
+ const InvalidBillingAddress = 'InvalidBillingAddress';
+ const InvalidDeliveryAddress = 'InvalidDeliveryAddress';
+ const InvalidShopperName = 'InvalidShopperName';
+ const MissingShopperEmail = 'MissingShopperEmail';
+ const MissingShopperReference = 'MissingShopperReference';
+ const MissingPhoneNumber = 'MissingPhoneNumber';
+ const MobilePhoneNumberOnly = 'MobilePhoneNumberOnly';
+ const InvalidPhoneNumber = 'InvalidPhoneNumber';
+ const RecurringInvalidContract = 'RecurringInvalidContract';
+ const BankAccountOrBankLocationIdNotValid =
'BankAccountOrBankLocationIdNotValid';
+ const AccountHolderMissing = 'AccountHolderMissing';
+ const CardHolderNameMissing = 'CardHolderNameMissing';
+ const InvalidExpiry = 'InvalidExpiry';
+ const MissingMerchantReference = 'MissingMerchantReference';
+ const BillingAddressCityProblem = 'BillingAddressCityProblem';
+ const BillingAddressStreetProblem = 'BillingAddressStreetProblem';
+ const BillingAddressHouseNumberOrNameProblem =
'BillingAddressHouseNumberOrNameProblem';
+ const BillingAddressCountryProblem = 'BillingAddressCountryProblem';
+ const BillingAddressStateOrProvinceProblem =
'BillingAddressStateOrProvinceProblem';
+ const OpenInvoiceFailedToRetrieveDetails =
'OpenInvoiceFailedToRetrieveDetails';
+ const InvalidAmount = 'InvalidAmount';
+ const UnsupportedCurrency = 'UnsupportedCurrency';
+ const RecurringRequiredFields = 'RecurringRequiredFields';
+ const InvalidCardExpiryOnInPast = 'InvalidCardExpiryOnInPast';
+ const InvalidCardExpiry = 'InvalidCardExpiry';
+ const BankNameOrBankLocationIsNotValid =
'BankNameOrBankLocationIsNotValid';
+ const InvalidIdealMerchantReturnUrl = 'InvalidIdealMerchantReturnUrl';
+ const InvalidCardStartDateInFuture = 'InvalidCardStartDateInFuture';
+ const InvalidIssuerCountryCode = 'InvalidIssuerCountryCode';
+ const InvalidSocialSecurityNumber = 'InvalidSocialSecurityNumber';
+ const DeliveryAddressCityProblem = 'DeliveryAddressCityProblem';
+ const DeliveryAddressStreetProblem = 'DeliveryAddressStreetProblem';
+ const DeliveryAddressHouseNumberOrNameProblem =
'DeliveryAddressHouseNumberOrNameProblem';
+ const DeliveryAddressCountryProblem = 'DeliveryAddressCountryProblem';
+ const DeliveryAddressStateOrProvinceProblem =
'DeliveryAddressStateOrProvinceProblem';
+ const InvalidInstallments = 'InvalidInstallments';
+ const InvalidCVC = 'InvalidCVC';
+ const MissingAdditionalData = 'MissingAdditionalData';
+ const MissingAcquirer = 'MissingAcquirer';
+ const MissingAuthorisationMid = 'MissingAuthorisationMid';
+ const MissingFields = 'MissingFields';
+ const MissingRequiredField = 'MissingRequiredField';
+ const InvalidNumberOfRequests = 'InvalidNumberOfRequests';
+ const PayoutStoreDetailNotAllowed = 'PayoutStoreDetailNotAllowed';
+ const InvalidIBAN = 'InvalidIBAN';
+ const InconsistentIban = 'InconsistentIban';
+ const InvalidBIC = 'InvalidBIC';
+ const Invoice_MissingInvoiceProject = 'Invoice_MissingInvoiceProject';
+ const Invoice_MissingInvoiceBatch = 'Invoice_MissingInvoiceBatch';
+ const Invoice_MissingCreditorAccount = 'Invoice_MissingCreditorAccount';
+ const Invoice_MissingProjectCode = 'Invoice_MissingProjectCode';
+ const Invoice_CreditorAccountNotFound =
'Invoice_CreditorAccountNotFound';
+ const Invoice_ProjectNotFound = 'Invoice_ProjectNotFound';
+ const Invoice_InvoiceProjectCouldNotBeCreated =
'Invoice_InvoiceProjectCouldNotBeCreated';
+ const Invoice_InvoiceBatchAlreadyExists =
'Invoice_InvoiceBatchAlreadyExists';
+ const Invoice_InvoiceBatchCouldNotBeCreated =
'Invoice_InvoiceBatchCouldNotBeCreated';
+ const Invoice_InvoiceBatchPeriodExceeded =
'Invoice_InvoiceBatchPeriodExceeded';
+ const InvoiceMissingInvoice = 'InvoiceMissingInvoice';
+ const InvoiceMissingCreditorAccountCode =
'InvoiceMissingCreditorAccountCode';
+ const InvoiceMissingDebtorCode = 'InvoiceMissingDebtorCode';
+ const InvoiceMissingDebtorName = 'InvoiceMissingDebtorName';
+ const InvoiceMissingDebtorEmailAddress =
'InvoiceMissingDebtorEmailAddress';
+ const InvoiceMissingDebtorCountryCode =
'InvoiceMissingDebtorCountryCode';
+ const InvoiceMissingInvoicePayment = 'InvoiceMissingInvoicePayment';
+ const InvoiceMissingReference = 'InvoiceMissingReference';
+ const InvoiceInvalidCreditorAccount = 'InvoiceInvalidCreditorAccount';
+ const InvoiceInvalidDebtor = 'InvoiceInvalidDebtor';
+ const InvoiceInvalidPaymentAmount = 'InvoiceInvalidPaymentAmount';
+ const InvoiceInvalidPaymentCurrency = 'InvoiceInvalidPaymentCurrency';
+ const InvoiceInvalidDebtorType = 'InvoiceInvalidDebtorType';
+ const InvoiceDoesNotExists = 'InvoiceDoesNotExists';
+ const InvoiceDoesNotExistsForDebtor = 'InvoiceDoesNotExistsForDebtor';
+ const InvoicePaymentAmountTooHigh = 'InvoicePaymentAmountTooHigh';
+ const InvoiceAlreadyPaid = 'InvoiceAlreadyPaid';
+ const InvoiceErrorStoreDebtor = 'InvoiceErrorStoreDebtor';
+ const InvoiceErrorStoreInvoice = 'InvoiceErrorStoreInvoice';
+ const InvoiceErrorCheckInvoiceReference =
'InvoiceErrorCheckInvoiceReference';
+ const InvoiceErrorSearchInvoices = 'InvoiceErrorSearchInvoices';
+ const InvoiceErrorNoInvoiceConfiguration =
'InvoiceErrorNoInvoiceConfiguration';
+ const InvoiceErrorInvalidInvoiceConfiguration =
'InvoiceErrorInvalidInvoiceConfiguration';
+ const RechargeContractNotFound = 'RechargeContractNotFound';
+ const RechargeTooManyPaymentDetails = 'RechargeTooManyPaymentDetails';
+ const RechargeInvalidContract = 'RechargeInvalidContract';
+ const RechargeDetailNotFound = 'RechargeDetailNotFound';
+ const RechargeFailedToDisable = 'RechargeFailedToDisable';
+ const RechargeDetailNotAvailableForContract =
'RechargeDetailNotAvailableForContract';
+ const RechargeNoApplicableContractTypeLeft =
'RechargeNoApplicableContractTypeLeft';
+ const InvalidMerchantAccount = 'InvalidMerchantAccount';
+ const RequestMissing = 'RequestMissing';
+ const InternalError = 'InternalError';
+ const UnableToProcess = 'UnableToProcess';
+ const PaymentDetailsAreNotSupported = 'PaymentDetailsAreNotSupported';
+ const OriginalPspReferenceInvalidForThisEnvironment =
'OriginalPspReferenceInvalidForThisEnvironment';
+ const InvalidAcquirerAccount = 'InvalidAcquirerAccount';
+ const InvalidConfigurationAuthorisationMid =
'InvalidConfigurationAuthorisationMid';
+ const InvalidConfigurationAcquirerPassword =
'InvalidConfigurationAcquirerPassword';
+ const InvalidConfigurationApiKey = 'InvalidConfigurationApiKey';
+ const InvalidConfigurationRedirectUrl =
'InvalidConfigurationRedirectUrl';
+ const InvalidConfigurationAcquirerAccountData =
'InvalidConfigurationAcquirerAccountData';
+ const InvalidConfigurationCurrencyCode =
'InvalidConfigurationCurrencyCode';
+ const InvalidConfigurationAuthorisationTerminalId =
'InvalidConfigurationAuthorisationTerminalId';
+ const InvalidConfigurationSerialNumber =
'InvalidConfigurationSerialNumber';
+ const InvalidConfigurationPassword = 'InvalidConfigurationPassword';
+ const InvalidConfigurationProjectId = 'InvalidConfigurationProjectId';
+ const InvalidConfigurationMerchantCategoryCode =
'InvalidConfigurationMerchantCategoryCode';
+ const InvalidConfigurationMerchantName =
'InvalidConfigurationMerchantName';
}
class Type {
- const internal = 'internal';
- const validation = 'validation';
- const security = 'security';
- const configuration = 'configuration';
+ const internal = 'internal';
+ const validation = 'validation';
+ const security = 'security';
+ const configuration = 'configuration';
}
class ClassMap {
- public $classmap = array(
- 'NotificationRequest' => 'NotificationRequest',
- 'NotificationRequestItem' => 'NotificationRequestItem',
- 'anyType2anyTypeMap' => 'anyType2anyTypeMap',
- 'entry' => 'entry',
- 'sendNotification' => 'sendNotification',
- 'sendNotificationResponse' => 'sendNotificationResponse',
- 'Amount' => 'Amount',
- 'ServiceException' => 'ServiceException',
- 'Error' => 'Error',
- 'Type' => 'Type',
- );
+ public $classmap = array(
+ 'NotificationRequest' => 'NotificationRequest',
+ 'NotificationRequestItem' => 'NotificationRequestItem',
+ 'anyType2anyTypeMap' => 'anyType2anyTypeMap',
+ 'entry' => 'entry',
+ 'sendNotification' => 'sendNotification',
+ 'sendNotificationResponse' => 'sendNotificationResponse',
+ 'Amount' => 'Amount',
+ 'ServiceException' => 'ServiceException',
+ 'Error' => 'Error',
+ 'Type' => 'Type',
+ );
}
-
-?>
diff --git a/PaymentProviders/Adyen/WSDL/Payment.php
b/PaymentProviders/Adyen/WSDL/Payment.php
index 80b6ff4..42c3316 100644
--- a/PaymentProviders/Adyen/WSDL/Payment.php
+++ b/PaymentProviders/Adyen/WSDL/Payment.php
@@ -1,66 +1,66 @@
<?php namespace SmashPig\PaymentProviders\Adyen\WSDL;
class BalanceCheckRequest {
- public $additionalAmount; // Amount
- public $additionalData; // anyType2anyTypeMap
- public $amount; // Amount
- public $bankAccount; // BankAccount
- public $browserInfo; // BrowserInfo
- public $card; // Card
- public $dccQuote; // ForexQuote
- public $deliveryAddress; // Address
- public $elv; // ELV
- public $fraudOffset; // int
- public $merchantAccount; // string
- public $mpiData; // ThreeDSecureData
- public $orderReference; // string
- public $recurring; // Recurring
- public $reference; // string
- public $selectedBrand; // string
- public $selectedRecurringDetailReference; // string
- public $sessionId; // string
- public $shopperEmail; // string
- public $shopperIP; // string
- public $shopperInteraction; // string
- public $shopperReference; // string
- public $shopperStatement; // string
+ public $additionalAmount; // Amount
+ public $additionalData; // anyType2anyTypeMap
+ public $amount; // Amount
+ public $bankAccount; // BankAccount
+ public $browserInfo; // BrowserInfo
+ public $card; // Card
+ public $dccQuote; // ForexQuote
+ public $deliveryAddress; // Address
+ public $elv; // ELV
+ public $fraudOffset; // int
+ public $merchantAccount; // string
+ public $mpiData; // ThreeDSecureData
+ public $orderReference; // string
+ public $recurring; // Recurring
+ public $reference; // string
+ public $selectedBrand; // string
+ public $selectedRecurringDetailReference; // string
+ public $sessionId; // string
+ public $shopperEmail; // string
+ public $shopperIP; // string
+ public $shopperInteraction; // string
+ public $shopperReference; // string
+ public $shopperStatement; // string
}
class BalanceCheckResult {
- public $additionalData; // anyType2anyTypeMap
- public $currentBalance; // Amount
- public $pspReference; // string
- public $responseCode; // BalanceCheckResponseCode
+ public $additionalData; // anyType2anyTypeMap
+ public $currentBalance; // Amount
+ public $pspReference; // string
+ public $responseCode; // BalanceCheckResponseCode
}
class BalanceCheckResponseCode {
- const OK = 'OK';
- const NO_BALANCE = 'NO_BALANCE';
- const NOT_CHECKED = 'NOT_CHECKED';
- const NOT_ALLOWED = 'NOT_ALLOWED';
+ const OK = 'OK';
+ const NO_BALANCE = 'NO_BALANCE';
+ const NOT_CHECKED = 'NOT_CHECKED';
+ const NOT_ALLOWED = 'NOT_ALLOWED';
}
class BankAccount {
- public $bankAccountNumber; // string
- public $bankLocationId; // string
- public $bankName; // string
- public $bic; // string
- public $countryCode; // string
- public $iban; // string
- public $ownerName; // string
+ public $bankAccountNumber; // string
+ public $bankLocationId; // string
+ public $bankName; // string
+ public $bic; // string
+ public $countryCode; // string
+ public $iban; // string
+ public $ownerName; // string
}
class Card {
- public $billingAddress; // Address
- public $brand; // string
- public $cvc; // cvc
- public $expiryMonth; // expiryMonth
- public $expiryYear; // expiryYear
- public $holderName; // holderName
- public $issueNumber; // issueNumber
- public $number; // number
- public $startMonth; // startMonth
- public $startYear; // startYear
+ public $billingAddress; // Address
+ public $brand; // string
+ public $cvc; // cvc
+ public $expiryMonth; // expiryMonth
+ public $expiryYear; // expiryYear
+ public $holderName; // holderName
+ public $issueNumber; // issueNumber
+ public $number; // number
+ public $startMonth; // startMonth
+ public $startYear; // startYear
}
class cvc {
@@ -88,304 +88,304 @@
}
class DirectDebitRequest {
- public $additionalAmount; // Amount
- public $additionalData; // anyType2anyTypeMap
- public $amount; // Amount
- public $bankAccount; // BankAccount
- public $browserInfo; // BrowserInfo
- public $dccQuote; // ForexQuote
- public $deliveryAddress; // Address
- public $fraudOffset; // int
- public $merchantAccount; // string
- public $orderReference; // string
- public $recurring; // Recurring
- public $reference; // string
- public $selectedBrand; // string
- public $selectedRecurringDetailReference; // string
- public $sessionId; // string
- public $shopperEmail; // string
- public $shopperIP; // string
- public $shopperInteraction; // string
- public $shopperReference; // string
- public $shopperStatement; // string
+ public $additionalAmount; // Amount
+ public $additionalData; // anyType2anyTypeMap
+ public $amount; // Amount
+ public $bankAccount; // BankAccount
+ public $browserInfo; // BrowserInfo
+ public $dccQuote; // ForexQuote
+ public $deliveryAddress; // Address
+ public $fraudOffset; // int
+ public $merchantAccount; // string
+ public $orderReference; // string
+ public $recurring; // Recurring
+ public $reference; // string
+ public $selectedBrand; // string
+ public $selectedRecurringDetailReference; // string
+ public $sessionId; // string
+ public $shopperEmail; // string
+ public $shopperIP; // string
+ public $shopperInteraction; // string
+ public $shopperReference; // string
+ public $shopperStatement; // string
}
class DirectDebitResponse {
- public $additionalData; // anyType2anyTypeMap
- public $fraudResult; // FraudResult
- public $pspReference; // string
- public $refusalReason; // string
- public $resultCode; // string
+ public $additionalData; // anyType2anyTypeMap
+ public $fraudResult; // FraudResult
+ public $pspReference; // string
+ public $refusalReason; // string
+ public $resultCode; // string
}
class ELV {
- public $accountHolderName; // string
- public $bankAccountNumber; // string
- public $bankLocation; // string
- public $bankLocationId; // string
- public $bankName; // string
+ public $accountHolderName; // string
+ public $bankAccountNumber; // string
+ public $bankLocation; // string
+ public $bankLocationId; // string
+ public $bankName; // string
}
class ForexQuote {
- public $account; // string
- public $accountType; // string
- public $baseAmount; // Amount
- public $basePoints; // int
- public $buy; // Amount
- public $interbank; // Amount
- public $reference; // string
- public $sell; // Amount
- public $signature; // string
- public $source; // string
- public $type; // string
- public $validTill; // dateTime
+ public $account; // string
+ public $accountType; // string
+ public $baseAmount; // Amount
+ public $basePoints; // int
+ public $buy; // Amount
+ public $interbank; // Amount
+ public $reference; // string
+ public $sell; // Amount
+ public $signature; // string
+ public $source; // string
+ public $type; // string
+ public $validTill; // dateTime
}
class FraudCheckResult {
- public $accountScore; // int
- public $checkId; // int
- public $name; // string
+ public $accountScore; // int
+ public $checkId; // int
+ public $name; // string
}
class FraudResult {
- public $accountScore; // int
- public $results; // ArrayOfFraudCheckResult
+ public $accountScore; // int
+ public $results; // ArrayOfFraudCheckResult
}
class FundTransferRequest {
- public $additionalData; // anyType2anyTypeMap
- public $authorisationCode; // string
- public $merchantAccount; // string
- public $modificationAmount; // Amount
- public $originalReference; // string
- public $reference; // string
- public $shopperEmail; // string
- public $shopperStatement; // string
+ public $additionalData; // anyType2anyTypeMap
+ public $authorisationCode; // string
+ public $merchantAccount; // string
+ public $modificationAmount; // Amount
+ public $originalReference; // string
+ public $reference; // string
+ public $shopperEmail; // string
+ public $shopperStatement; // string
}
class FundTransferResult {
- public $additionalData; // anyType2anyTypeMap
- public $pspReference; // string
- public $response; // string
+ public $additionalData; // anyType2anyTypeMap
+ public $pspReference; // string
+ public $response; // string
}
class ModificationRequest {
- public $additionalData; // anyType2anyTypeMap
- public $authorisationCode; // string
- public $merchantAccount; // string
- public $modificationAmount; // Amount
- public $originalReference; // string
+ public $additionalData; // anyType2anyTypeMap
+ public $authorisationCode; // string
+ public $merchantAccount; // string
+ public $modificationAmount; // Amount
+ public $originalReference; // string
}
class ModificationResult {
- public $additionalData; // anyType2anyTypeMap
- public $pspReference; // string
- public $response; // string
+ public $additionalData; // anyType2anyTypeMap
+ public $pspReference; // string
+ public $response; // string
}
class PaymentRequest {
- public $additionalAmount; // Amount
- public $additionalData; // anyType2anyTypeMap
- public $amount; // Amount
- public $bankAccount; // BankAccount
- public $browserInfo; // BrowserInfo
- public $card; // Card
- public $dccQuote; // ForexQuote
- public $deliveryAddress; // Address
- public $elv; // ELV
- public $fraudOffset; // int
- public $merchantAccount; // string
- public $mpiData; // ThreeDSecureData
- public $orderReference; // string
- public $recurring; // Recurring
- public $reference; // string
- public $selectedBrand; // string
- public $selectedRecurringDetailReference; // string
- public $sessionId; // string
- public $shopperEmail; // string
- public $shopperIP; // string
- public $shopperInteraction; // string
- public $shopperReference; // string
- public $shopperStatement; // string
+ public $additionalAmount; // Amount
+ public $additionalData; // anyType2anyTypeMap
+ public $amount; // Amount
+ public $bankAccount; // BankAccount
+ public $browserInfo; // BrowserInfo
+ public $card; // Card
+ public $dccQuote; // ForexQuote
+ public $deliveryAddress; // Address
+ public $elv; // ELV
+ public $fraudOffset; // int
+ public $merchantAccount; // string
+ public $mpiData; // ThreeDSecureData
+ public $orderReference; // string
+ public $recurring; // Recurring
+ public $reference; // string
+ public $selectedBrand; // string
+ public $selectedRecurringDetailReference; // string
+ public $sessionId; // string
+ public $shopperEmail; // string
+ public $shopperIP; // string
+ public $shopperInteraction; // string
+ public $shopperReference; // string
+ public $shopperStatement; // string
}
class PaymentRequest3d {
- public $additionalAmount; // Amount
- public $additionalData; // anyType2anyTypeMap
- public $amount; // Amount
- public $browserInfo; // BrowserInfo
- public $dccQuote; // ForexQuote
- public $deliveryAddress; // Address
- public $fraudOffset; // int
- public $md; // string
- public $merchantAccount; // string
- public $orderReference; // string
- public $paResponse; // string
- public $recurring; // Recurring
- public $reference; // string
- public $selectedBrand; // string
- public $selectedRecurringDetailReference; // string
- public $sessionId; // string
- public $shopperEmail; // string
- public $shopperIP; // string
- public $shopperInteraction; // string
- public $shopperReference; // string
- public $shopperStatement; // string
+ public $additionalAmount; // Amount
+ public $additionalData; // anyType2anyTypeMap
+ public $amount; // Amount
+ public $browserInfo; // BrowserInfo
+ public $dccQuote; // ForexQuote
+ public $deliveryAddress; // Address
+ public $fraudOffset; // int
+ public $md; // string
+ public $merchantAccount; // string
+ public $orderReference; // string
+ public $paResponse; // string
+ public $recurring; // Recurring
+ public $reference; // string
+ public $selectedBrand; // string
+ public $selectedRecurringDetailReference; // string
+ public $sessionId; // string
+ public $shopperEmail; // string
+ public $shopperIP; // string
+ public $shopperInteraction; // string
+ public $shopperReference; // string
+ public $shopperStatement; // string
}
class PaymentResult {
- public $additionalData; // anyType2anyTypeMap
- public $authCode; // string
- public $dccAmount; // Amount
- public $dccSignature; // string
- public $fraudResult; // FraudResult
- public $issuerUrl; // string
- public $md; // string
- public $paRequest; // string
- public $pspReference; // string
- public $refusalReason; // string
- public $resultCode; // string
+ public $additionalData; // anyType2anyTypeMap
+ public $authCode; // string
+ public $dccAmount; // Amount
+ public $dccSignature; // string
+ public $fraudResult; // FraudResult
+ public $issuerUrl; // string
+ public $md; // string
+ public $paRequest; // string
+ public $pspReference; // string
+ public $refusalReason; // string
+ public $resultCode; // string
}
class Recurring {
- public $contract; // string
- public $recurringDetailName; // string
+ public $contract; // string
+ public $recurringDetailName; // string
}
class ThreeDSecureData {
- public $authenticationResponse; // string
- public $cavv; // base64Binary
- public $cavvAlgorithm; // string
- public $directoryResponse; // string
- public $eci; // string
- public $xid; // base64Binary
+ public $authenticationResponse; // string
+ public $cavv; // base64Binary
+ public $cavvAlgorithm; // string
+ public $directoryResponse; // string
+ public $eci; // string
+ public $xid; // base64Binary
}
class anyType2anyTypeMap {
- public $entry; // entry
+ public $entry; // entry
}
class entry {
- public $key; // anyType
- public $value; // anyType
+ public $key; // anyType
+ public $value; // anyType
}
class authorise {
- public $paymentRequest; // PaymentRequest
+ public $paymentRequest; // PaymentRequest
}
class authorise3d {
- public $paymentRequest3d; // PaymentRequest3d
+ public $paymentRequest3d; // PaymentRequest3d
}
class authorise3dResponse {
- public $paymentResult; // PaymentResult
+ public $paymentResult; // PaymentResult
}
class authoriseReferral {
- public $modificationRequest; // ModificationRequest
+ public $modificationRequest; // ModificationRequest
}
class authoriseReferralResponse {
- public $authoriseReferralResult; // ModificationResult
+ public $authoriseReferralResult; // ModificationResult
}
class authoriseResponse {
- public $paymentResult; // PaymentResult
+ public $paymentResult; // PaymentResult
}
class balanceCheck {
- public $request; // BalanceCheckRequest
+ public $request; // BalanceCheckRequest
}
class balanceCheckResponse {
- public $response; // BalanceCheckResult
+ public $response; // BalanceCheckResult
}
class cancel {
- public $modificationRequest; // ModificationRequest
+ public $modificationRequest; // ModificationRequest
}
class cancelOrRefund {
- public $modificationRequest; // ModificationRequest
+ public $modificationRequest; // ModificationRequest
}
class cancelOrRefundResponse {
- public $cancelOrRefundResult; // ModificationResult
+ public $cancelOrRefundResult; // ModificationResult
}
class cancelResponse {
- public $cancelResult; // ModificationResult
+ public $cancelResult; // ModificationResult
}
class capture {
- public $modificationRequest; // ModificationRequest
+ public $modificationRequest; // ModificationRequest
}
class captureResponse {
- public $captureResult; // ModificationResult
+ public $captureResult; // ModificationResult
}
class checkFraud {
- public $paymentRequest; // PaymentRequest
+ public $paymentRequest; // PaymentRequest
}
class checkFraudResponse {
- public $paymentResult; // PaymentResult
+ public $paymentResult; // PaymentResult
}
class directdebit {
- public $request; // DirectDebitRequest
+ public $request; // DirectDebitRequest
}
class directdebitFuncResponse {
- public $response; // DirectDebitResponse
+ public $response; // DirectDebitResponse
}
class fundTransfer {
- public $request; // FundTransferRequest
+ public $request; // FundTransferRequest
}
class fundTransferResponse {
- public $result; // FundTransferResult
+ public $result; // FundTransferResult
}
class refund {
- public $modificationRequest; // ModificationRequest
+ public $modificationRequest; // ModificationRequest
}
class refundResponse {
- public $refundResult; // ModificationResult
+ public $refundResult; // ModificationResult
}
class refundWithData {
- public $request; // PaymentRequest
+ public $request; // PaymentRequest
}
class refundWithDataResponse {
- public $result; // PaymentResult
+ public $result; // PaymentResult
}
class Address {
- public $city; // string
- public $country; // string
- public $houseNumberOrName; // string
- public $postalCode; // string
- public $stateOrProvince; // string
- public $street; // string
+ public $city; // string
+ public $country; // string
+ public $houseNumberOrName; // string
+ public $postalCode; // string
+ public $stateOrProvince; // string
+ public $street; // string
}
class Amount {
- public $currency; // currency
- public $value; // long
+ public $currency; // currency
+ public $value; // long
}
class currency {
}
class BrowserInfo {
- public $acceptHeader; // acceptHeader
- public $userAgent; // userAgent
+ public $acceptHeader; // acceptHeader
+ public $userAgent; // userAgent
}
class acceptHeader {
@@ -395,284 +395,282 @@
}
class ServiceException {
- public $error; // Error
- public $type; // Type
+ public $error; // Error
+ public $type; // Type
}
class Error {
- const Unknown = 'Unknown';
- const NotAllowed = 'NotAllowed';
- const NoAmountSpecified = 'NoAmountSpecified';
- const UnableToDetermineVariant = 'UnableToDetermineVariant';
- const InvalidMerchantAccount = 'InvalidMerchantAccount';
- const RequestMissing = 'RequestMissing';
- const InternalError = 'InternalError';
- const UnableToProcess = 'UnableToProcess';
- const PaymentDetailsAreNotSupported = 'PaymentDetailsAreNotSupported';
+ const Unknown = 'Unknown';
+ const NotAllowed = 'NotAllowed';
+ const NoAmountSpecified = 'NoAmountSpecified';
+ const UnableToDetermineVariant = 'UnableToDetermineVariant';
+ const InvalidMerchantAccount = 'InvalidMerchantAccount';
+ const RequestMissing = 'RequestMissing';
+ const InternalError = 'InternalError';
+ const UnableToProcess = 'UnableToProcess';
+ const PaymentDetailsAreNotSupported = 'PaymentDetailsAreNotSupported';
}
class Type {
- const internal = 'internal';
- const validation = 'validation';
- const security = 'security';
- const configuration = 'configuration';
+ const internal = 'internal';
+ const validation = 'validation';
+ const security = 'security';
+ const configuration = 'configuration';
}
/**
* Payment class
- *
- *
- *
- * @author {author}
+ *
+ *
+ *
+ * @author {author}
* @copyright {copyright}
- * @package {package}
+ * @package {package}
*/
class Payment extends \SoapClient {
- private static $classmap = array(
- 'BalanceCheckRequest' =>
'BalanceCheckRequest',
- 'BalanceCheckResult' =>
'BalanceCheckResult',
- 'BalanceCheckResponseCode' =>
'BalanceCheckResponseCode',
- 'BankAccount' => 'BankAccount',
- 'Card' => 'Card',
- 'cvc' => 'cvc',
- 'expiryMonth' => 'expiryMonth',
- 'expiryYear' => 'expiryYear',
- 'holderName' => 'holderName',
- 'issueNumber' => 'issueNumber',
- 'number' => 'number',
- 'startMonth' => 'startMonth',
- 'startYear' => 'startYear',
- 'DirectDebitRequest' =>
'DirectDebitRequest',
- 'DirectDebitResponse' =>
'DirectDebitResponse',
- 'ELV' => 'ELV',
- 'ForexQuote' => 'ForexQuote',
- 'FraudCheckResult' => 'FraudCheckResult',
- 'FraudResult' => 'FraudResult',
- 'FundTransferRequest' =>
'FundTransferRequest',
- 'FundTransferResult' =>
'FundTransferResult',
- 'ModificationRequest' =>
'ModificationRequest',
- 'ModificationResult' =>
'ModificationResult',
- 'PaymentRequest' => 'PaymentRequest',
- 'PaymentRequest3d' => 'PaymentRequest3d',
- 'PaymentResult' => 'PaymentResult',
- 'Recurring' => 'Recurring',
- 'ThreeDSecureData' => 'ThreeDSecureData',
- 'anyType2anyTypeMap' =>
'anyType2anyTypeMap',
- 'entry' => 'entry',
- 'authorise' => 'authorise',
- 'authorise3d' => 'authorise3d',
- 'authorise3dResponse' =>
'authorise3dResponse',
- 'authoriseReferral' => 'authoriseReferral',
- 'authoriseReferralResponse' =>
'authoriseReferralResponse',
- 'authoriseResponse' => 'authoriseResponse',
- 'balanceCheck' => 'balanceCheck',
- 'balanceCheckResponse' =>
'balanceCheckResponse',
- 'cancel' => 'cancel',
- 'cancelOrRefund' => 'cancelOrRefund',
- 'cancelOrRefundResponse' =>
'cancelOrRefundResponse',
- 'cancelResponse' => 'cancelResponse',
- 'capture' => 'capture',
- 'captureResponse' => 'captureResponse',
- 'checkFraud' => 'checkFraud',
- 'checkFraudResponse' =>
'checkFraudResponse',
- 'directdebit' => 'directdebit',
- 'directdebitFuncResponse' =>
'directdebitResponse',
- 'fundTransfer' => 'fundTransfer',
- 'fundTransferResponse' =>
'fundTransferResponse',
- 'refund' => 'refund',
- 'refundResponse' => 'refundResponse',
- 'refundWithData' => 'refundWithData',
- 'refundWithDataResponse' =>
'refundWithDataResponse',
- 'Address' => 'Address',
- 'Amount' => 'Amount',
- 'currency' => 'currency',
- 'BrowserInfo' => 'BrowserInfo',
- 'acceptHeader' => 'acceptHeader',
- 'userAgent' => 'userAgent',
- 'ServiceException' => 'ServiceException',
- 'Error' => 'Error',
- 'Type' => 'Type',
- );
+ private static $classmap = array(
+ 'BalanceCheckRequest' => 'BalanceCheckRequest',
+ 'BalanceCheckResult' => 'BalanceCheckResult',
+ 'BalanceCheckResponseCode' => 'BalanceCheckResponseCode',
+ 'BankAccount' => 'BankAccount',
+ 'Card' => 'Card',
+ 'cvc' => 'cvc',
+ 'expiryMonth' => 'expiryMonth',
+ 'expiryYear' => 'expiryYear',
+ 'holderName' => 'holderName',
+ 'issueNumber' => 'issueNumber',
+ 'number' => 'number',
+ 'startMonth' => 'startMonth',
+ 'startYear' => 'startYear',
+ 'DirectDebitRequest' => 'DirectDebitRequest',
+ 'DirectDebitResponse' => 'DirectDebitResponse',
+ 'ELV' => 'ELV',
+ 'ForexQuote' => 'ForexQuote',
+ 'FraudCheckResult' => 'FraudCheckResult',
+ 'FraudResult' => 'FraudResult',
+ 'FundTransferRequest' => 'FundTransferRequest',
+ 'FundTransferResult' => 'FundTransferResult',
+ 'ModificationRequest' => 'ModificationRequest',
+ 'ModificationResult' => 'ModificationResult',
+ 'PaymentRequest' => 'PaymentRequest',
+ 'PaymentRequest3d' => 'PaymentRequest3d',
+ 'PaymentResult' => 'PaymentResult',
+ 'Recurring' => 'Recurring',
+ 'ThreeDSecureData' => 'ThreeDSecureData',
+ 'anyType2anyTypeMap' => 'anyType2anyTypeMap',
+ 'entry' => 'entry',
+ 'authorise' => 'authorise',
+ 'authorise3d' => 'authorise3d',
+ 'authorise3dResponse' => 'authorise3dResponse',
+ 'authoriseReferral' => 'authoriseReferral',
+ 'authoriseReferralResponse' => 'authoriseReferralResponse',
+ 'authoriseResponse' => 'authoriseResponse',
+ 'balanceCheck' => 'balanceCheck',
+ 'balanceCheckResponse' => 'balanceCheckResponse',
+ 'cancel' => 'cancel',
+ 'cancelOrRefund' => 'cancelOrRefund',
+ 'cancelOrRefundResponse' => 'cancelOrRefundResponse',
+ 'cancelResponse' => 'cancelResponse',
+ 'capture' => 'capture',
+ 'captureResponse' => 'captureResponse',
+ 'checkFraud' => 'checkFraud',
+ 'checkFraudResponse' => 'checkFraudResponse',
+ 'directdebit' => 'directdebit',
+ 'directdebitFuncResponse' => 'directdebitResponse',
+ 'fundTransfer' => 'fundTransfer',
+ 'fundTransferResponse' => 'fundTransferResponse',
+ 'refund' => 'refund',
+ 'refundResponse' => 'refundResponse',
+ 'refundWithData' => 'refundWithData',
+ 'refundWithDataResponse' => 'refundWithDataResponse',
+ 'Address' => 'Address',
+ 'Amount' => 'Amount',
+ 'currency' => 'currency',
+ 'BrowserInfo' => 'BrowserInfo',
+ 'acceptHeader' => 'acceptHeader',
+ 'userAgent' => 'userAgent',
+ 'ServiceException' => 'ServiceException',
+ 'Error' => 'Error',
+ 'Type' => 'Type',
+ );
- public function Payment($wsdl =
"https://pal-live.adyen.com/pal/Payment.wsdl", $options = array()) {
- foreach(self::$classmap as $key => $value) {
- if(!isset($options['classmap'][$key])) {
- $options['classmap'][$key] = $value;
- }
- }
- parent::__construct($wsdl, $options);
- }
+ public function Payment($wsdl =
"https://pal-live.adyen.com/pal/Payment.wsdl", $options = array()) {
+ foreach(self::$classmap as $key => $value) {
+ if(!isset($options['classmap'][$key])) {
+ $options['classmap'][$key] = $value;
+ }
+ }
+ parent::__construct($wsdl, $options);
+ }
- /**
- *
- *
- * @param authorise $parameters
- * @return authoriseResponse
- */
- public function authorise(authorise $parameters) {
- return $this->__soapCall('authorise', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param authorise $parameters
+ * @return authoriseResponse
+ */
+ public function authorise(authorise $parameters) {
+ return $this->__soapCall('authorise', array($parameters), array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param authorise3d $parameters
- * @return authorise3dResponse
- */
- public function authorise3d(authorise3d $parameters) {
- return $this->__soapCall('authorise3d', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param authorise3d $parameters
+ * @return authorise3dResponse
+ */
+ public function authorise3d(authorise3d $parameters) {
+ return $this->__soapCall('authorise3d', array($parameters),
array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param authoriseReferral $parameters
- * @return authoriseReferralResponse
- */
- public function authoriseReferral(authoriseReferral $parameters) {
- return $this->__soapCall('authoriseReferral', array($parameters),
array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param authoriseReferral $parameters
+ * @return authoriseReferralResponse
+ */
+ public function authoriseReferral(authoriseReferral $parameters) {
+ return $this->__soapCall('authoriseReferral',
array($parameters), array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param balanceCheck $parameters
- * @return balanceCheckResponse
- */
- public function balanceCheck(balanceCheck $parameters) {
- return $this->__soapCall('balanceCheck', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param balanceCheck $parameters
+ * @return balanceCheckResponse
+ */
+ public function balanceCheck(balanceCheck $parameters) {
+ return $this->__soapCall('balanceCheck', array($parameters),
array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param cancel $parameters
- * @return cancelResponse
- */
- public function cancel(cancel $parameters) {
- return $this->__soapCall('cancel', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param cancel $parameters
+ * @return cancelResponse
+ */
+ public function cancel(cancel $parameters) {
+ return $this->__soapCall('cancel', array($parameters), array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param cancelOrRefund $parameters
- * @return cancelOrRefundResponse
- */
- public function cancelOrRefund(cancelOrRefund $parameters) {
- return $this->__soapCall('cancelOrRefund', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param cancelOrRefund $parameters
+ * @return cancelOrRefundResponse
+ */
+ public function cancelOrRefund(cancelOrRefund $parameters) {
+ return $this->__soapCall('cancelOrRefund', array($parameters),
array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param capture $parameters
- * @return captureResponse
- */
- public function capture(capture $parameters) {
- return $this->__soapCall('capture', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param capture $parameters
+ * @return captureResponse
+ */
+ public function capture(capture $parameters) {
+ return $this->__soapCall('capture', array($parameters), array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param checkFraud $parameters
- * @return checkFraudResponse
- */
- public function checkFraud(checkFraud $parameters) {
- return $this->__soapCall('checkFraud', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param checkFraud $parameters
+ * @return checkFraudResponse
+ */
+ public function checkFraud(checkFraud $parameters) {
+ return $this->__soapCall('checkFraud', array($parameters),
array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param directdebit $parameters
- * @return directdebitFuncResponse
- */
- public function directdebit(directdebit $parameters) {
- return $this->__soapCall('directdebit', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param directdebit $parameters
+ * @return directdebitFuncResponse
+ */
+ public function directdebit(directdebit $parameters) {
+ return $this->__soapCall('directdebit', array($parameters),
array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param fundTransfer $parameters
- * @return fundTransferResponse
- */
- public function fundTransfer(fundTransfer $parameters) {
- return $this->__soapCall('fundTransfer', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param fundTransfer $parameters
+ * @return fundTransferResponse
+ */
+ public function fundTransfer(fundTransfer $parameters) {
+ return $this->__soapCall('fundTransfer', array($parameters),
array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param refund $parameters
- * @return refundResponse
- */
- public function refund(refund $parameters) {
- return $this->__soapCall('refund', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param refund $parameters
+ * @return refundResponse
+ */
+ public function refund(refund $parameters) {
+ return $this->__soapCall('refund', array($parameters), array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
- /**
- *
- *
- * @param refundWithData $parameters
- * @return refundWithDataResponse
- */
- public function refundWithData(refundWithData $parameters) {
- return $this->__soapCall('refundWithData', array($parameters), array(
- 'uri' => 'http://payment.services.adyen.com',
- 'soapaction' => ''
- )
- );
- }
+ /**
+ *
+ *
+ * @param refundWithData $parameters
+ * @return refundWithDataResponse
+ */
+ public function refundWithData(refundWithData $parameters) {
+ return $this->__soapCall('refundWithData', array($parameters),
array(
+ 'uri' => 'http://payment.services.adyen.com',
+ 'soapaction' => ''
+ )
+ );
+ }
}
-
-?>
diff --git a/config_defaults.php b/config_defaults.php
index e713f03..6a38c0c 100644
--- a/config_defaults.php
+++ b/config_defaults.php
@@ -59,7 +59,7 @@
),
'logging' => array(
- 'root-context' => 'SmashPig',
+ 'root-context' => 'SmashPig',
'log-level' => LOG_INFO,
'enabled-log-streams' => array(
'syslog',
@@ -73,20 +73,20 @@
),
'security' => array(
- 'ip-header-name' => '',
+ 'ip-header-name' => '',
'ip-trusted-proxies' => array(),
'ip-whitelist' => array(),
),
- 'endpoints' => array(),
+ 'endpoints' => array(),
- 'namespaces' => array(),
+ 'namespaces' => array(),
'include-files' => array(),
'include-paths' => array(),
- 'payment-provider' => array(),
+ 'payment-provider' => array(),
'actions' => array(),
@@ -97,49 +97,49 @@
),
),
- 'adyen' => array(
- 'logging' => array(
- 'root-context' => 'SmashPig-Adyen'
- ),
+ 'adyen' => array(
+ 'logging' => array(
+ 'root-context' => 'SmashPig-Adyen'
+ ),
- 'endpoints' => array(
- 'listener' => array(
- 'class' => 'SmashPig\PaymentProviders\Adyen\AdyenListener',
- 'inst-args' => array(),
- )
- ),
+ 'endpoints' => array(
+ 'listener' => array(
+ 'class' =>
'SmashPig\PaymentProviders\Adyen\AdyenListener',
+ 'inst-args' => array(),
+ )
+ ),
- 'payment-provider' => array(
- 'adyen' => array(
- 'payments-wsdl' =>
'https://pal-live.adyen.com/pal/Payment.wsdl',
+ 'payment-provider' => array(
+ 'adyen' => array(
+ 'payments-wsdl' =>
'https://pal-live.adyen.com/pal/Payment.wsdl',
- 'accounts' => array(
- /**
- * For each Adyen merchant account, add an entry like the
- * following with the merchant account name as the key.
- * The ws- credentials should be a user authorized to make
- * API calls, and the report- credentials should be a user
- * authorized to download reports. Reports will be
- * downloaded to the location specified in report-location
- * and moved to report-archive-location after processing.
- *
- * At least one account and all subkeys are required.
- *
- * 'example-account-name' => array(
- * 'ws-username' => '',
- * 'ws-password' => '',
- * 'report-username' => '',
- * 'report-password' => '',
- * 'report-location' => '/tmp',
- * 'report-archive-location' =>
'/var/spool/audit/adyen/completed',
- * )
- **/
- ),
- ),
- ),
+ 'accounts' => array(
+ /**
+ * For each Adyen merchant account, add
an entry like the
+ * following with the merchant account
name as the key.
+ * The ws- credentials should be a user
authorized to make
+ * API calls, and the report-
credentials should be a user
+ * authorized to download reports.
Reports will be
+ * downloaded to the location specified
in report-location
+ * and moved to report-archive-location
after processing.
+ *
+ * At least one account and all subkeys
are required.
+ *
+ * 'example-account-name' => array(
+ * 'ws-username' => '',
+ * 'ws-password' => '',
+ * 'report-username' => '',
+ * 'report-password' => '',
+ * 'report-location' => '/tmp',
+ * 'report-archive-location' =>
'/var/spool/audit/adyen/completed',
+ * )
+ **/
+ ),
+ ),
+ ),
'actions' => array( ),
- ),
+ ),
'amazon' => array(
'actions' => array(
--
To view, visit https://gerrit.wikimedia.org/r/259422
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If9d55de93aa301b114b693e65e4c1567626abb4c
Gerrit-PatchSet: 3
Gerrit-Project: wikimedia/fundraising/SmashPig
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Cdentinger <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits