This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Simon Schurter
committed
Apr 27, 2018
1 parent
4ae7531
commit 9bef0a9
Showing
183 changed files
with
16,279 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
<?php | ||
/** | ||
* Wallee Magento 2 | ||
* | ||
* This Magento 2 extension enables to process payments with Wallee (https://www.wallee.com/). | ||
* | ||
* @package Wallee_Payment | ||
* @author customweb GmbH (http://www.customweb.com/) | ||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0) | ||
*/ | ||
namespace Wallee\Payment\Api\Data; | ||
|
||
use Magento\Framework\Api\ExtensibleDataInterface; | ||
|
||
/** | ||
* Payment method configuration is an entity that holds information about a wallee payment method. | ||
* | ||
* @api | ||
*/ | ||
interface PaymentMethodConfigurationInterface extends ExtensibleDataInterface | ||
{ | ||
|
||
/** | ||
* Constants for keys of data array. | ||
* Identical to the name of the getter in snake case. | ||
*/ | ||
/** | ||
* Configuration ID. | ||
*/ | ||
const CONFIGURATION_ID = 'configuration_id'; | ||
|
||
/** | ||
* Configuration name. | ||
*/ | ||
const CONFIGURATION_NAME = 'configuration_name'; | ||
|
||
/** | ||
* Create-at timestamp. | ||
*/ | ||
const CREATED_AT = 'created_at'; | ||
|
||
/** | ||
* Description. | ||
*/ | ||
const DESCRIPTION = 'description'; | ||
|
||
/** | ||
* Entity ID. | ||
*/ | ||
const ENTITY_ID = 'entity_id'; | ||
|
||
/** | ||
* Image. | ||
*/ | ||
const IMAGE = 'image'; | ||
|
||
/** | ||
* Sort order. | ||
*/ | ||
const SORT_ORDER = 'sort_order'; | ||
|
||
/** | ||
* Space ID. | ||
*/ | ||
const SPACE_ID = 'space_id'; | ||
|
||
/** | ||
* State. | ||
*/ | ||
const STATE = 'state'; | ||
|
||
/** | ||
* Title. | ||
*/ | ||
const TITLE = 'title'; | ||
|
||
/** | ||
* Updated-at timestamp. | ||
*/ | ||
const UPDATED_AT = 'updated_at'; | ||
|
||
/** | ||
* Gets the ID of the payment method configuration. | ||
* | ||
* @return int Configuration ID. | ||
*/ | ||
public function getConfigurationId(); | ||
|
||
/** | ||
* Gets the name of the payment method configuration. | ||
* | ||
* @return string Configuration name. | ||
*/ | ||
public function getConfigurationName(); | ||
|
||
/** | ||
* Gets the created-at timestamp of the payment method configuration. | ||
* | ||
* @return string|null Created-at timestamp. | ||
*/ | ||
public function getCreatedAt(); | ||
|
||
/** | ||
* Gets the translated description of the payment method configuration. | ||
* | ||
* @return array Description. | ||
*/ | ||
public function getDescription(); | ||
|
||
/** | ||
* Gets the ID of the payment method configuration. | ||
* | ||
* @return int Payment method configuration ID. | ||
*/ | ||
public function getEntityId(); | ||
|
||
/** | ||
* Gets the image of the payment method configuration. | ||
* | ||
* @return string Image. | ||
*/ | ||
public function getImage(); | ||
|
||
/** | ||
* Gets the sort order of the payment method configuration. | ||
* | ||
* @return int Sort order. | ||
*/ | ||
public function getSortOrder(); | ||
|
||
/** | ||
* Gets the space ID of the payment method configuration. | ||
* | ||
* @return int Space ID. | ||
*/ | ||
public function getSpaceId(); | ||
|
||
/** | ||
* Gets the state of the payment method configuration. | ||
* | ||
* @return int State. | ||
*/ | ||
public function getState(); | ||
|
||
/** | ||
* Gets the translated title of the payment method configuration. | ||
* | ||
* @return array Title. | ||
*/ | ||
public function getTitle(); | ||
|
||
/** | ||
* Gets the updated-at timestamp of the payment method configuration | ||
* | ||
* @return string Updated-at timestamp. | ||
*/ | ||
public function getUpdatedAt(); | ||
} |
37 changes: 37 additions & 0 deletions
37
Api/Data/PaymentMethodConfigurationSearchResultsInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
/** | ||
* Wallee Magento 2 | ||
* | ||
* This Magento 2 extension enables to process payments with Wallee (https://www.wallee.com/). | ||
* | ||
* @package Wallee_Payment | ||
* @author customweb GmbH (http://www.customweb.com/) | ||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0) | ||
*/ | ||
namespace Wallee\Payment\Api\Data; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface for wallee payment method configuration search results. | ||
* | ||
* @api | ||
*/ | ||
interface PaymentMethodConfigurationSearchResultsInterface extends SearchResultsInterface | ||
{ | ||
|
||
/** | ||
* Get payment method configurations list. | ||
* | ||
* @return \Wallee\Payment\Api\Data\PaymentMethodConfigurationInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* Set payment method configurations list. | ||
* | ||
* @param \Wallee\Payment\Api\Data\PaymentMethodConfigurationInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<?php | ||
/** | ||
* Wallee Magento 2 | ||
* | ||
* This Magento 2 extension enables to process payments with Wallee (https://www.wallee.com/). | ||
* | ||
* @package Wallee_Payment | ||
* @author customweb GmbH (http://www.customweb.com/) | ||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0) | ||
*/ | ||
namespace Wallee\Payment\Api\Data; | ||
|
||
use Magento\Framework\Api\ExtensibleDataInterface; | ||
|
||
/** | ||
* Refund job interface. | ||
* | ||
* A refund job is an entity that holds data about a pending refund to achieve reliability. | ||
* | ||
* @api | ||
*/ | ||
interface RefundJobInterface extends ExtensibleDataInterface | ||
{ | ||
|
||
/** | ||
* Constants for keys of data array. | ||
* Identical to the name of the getter in snake case. | ||
*/ | ||
/** | ||
* Create-at timestamp. | ||
*/ | ||
const CREATED_AT = 'created_at'; | ||
|
||
/** | ||
* Entity ID. | ||
*/ | ||
const ENTITY_ID = 'entity_id'; | ||
|
||
/** | ||
* External ID. | ||
*/ | ||
const EXTERNAL_ID = 'external_id'; | ||
|
||
/** | ||
* Order ID. | ||
*/ | ||
const ORDER_ID = 'order_id'; | ||
|
||
/** | ||
* Invoice ID. | ||
*/ | ||
const INVOICE_ID = 'invoice_id'; | ||
|
||
/** | ||
* Payment method ID. | ||
*/ | ||
const REFUND = 'refund'; | ||
|
||
/** | ||
* Space ID. | ||
*/ | ||
const SPACE_ID = 'space_id'; | ||
|
||
/** | ||
* Gets the created-at timestamp of the refund job. | ||
* | ||
* @return string|null Created-at timestamp. | ||
*/ | ||
public function getCreatedAt(); | ||
|
||
/** | ||
* Gets the ID of the refund job. | ||
* | ||
* @return int Refund job ID. | ||
*/ | ||
public function getEntityId(); | ||
|
||
/** | ||
* Gets the external ID of the refund job. | ||
* | ||
* @return string External ID. | ||
*/ | ||
public function getExternalId(); | ||
|
||
/** | ||
* Gets the ID of the order of the refund job. | ||
* | ||
* @return int Order ID. | ||
*/ | ||
public function getOrderId(); | ||
|
||
/** | ||
* Gets the ID of the invoice of the refund job. | ||
* | ||
* @return int Invoice ID. | ||
*/ | ||
public function getInvoiceId(); | ||
|
||
/** | ||
* Gets the refund of the refund job. | ||
* | ||
* @return string Refund. | ||
*/ | ||
public function getRefund(); | ||
|
||
/** | ||
* Gets the space ID of the refund job. | ||
* | ||
* @return int Space ID. | ||
*/ | ||
public function getSpaceId(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
/** | ||
* Wallee Magento 2 | ||
* | ||
* This Magento 2 extension enables to process payments with Wallee (https://www.wallee.com/). | ||
* | ||
* @package Wallee_Payment | ||
* @author customweb GmbH (http://www.customweb.com/) | ||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0) | ||
*/ | ||
namespace Wallee\Payment\Api\Data; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface for wallee refund job search results. | ||
* | ||
* @api | ||
*/ | ||
interface RefundJobSearchResultsInterface extends SearchResultsInterface | ||
{ | ||
|
||
/** | ||
* Get refund jobs list. | ||
* | ||
* @return \Wallee\Payment\Api\Data\RefundJobInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* Set refund jobs list. | ||
* | ||
* @param \Wallee\Payment\Api\Data\RefundJobInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items); | ||
} |
Oops, something went wrong.