Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ITT-413] Data Protection API #480

Merged
merged 7 commits into from
Apr 7, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The library supports all APIs under the following services:
* [Referrals API](https://docs.adyen.com/risk-management/automate-submitting-referrals/referrals-api-reference): Endpoints to [automate submitting referrals](https://docs.adyen.com/risk-management/automate-submitting-referrals) for Adyen risk rules.
* [Refunds API](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments/{paymentPspReference}/refunds): Refunds a payment that has been captured, and returns a unique reference for this request. Current supported version: **v68**
* [Reversals API](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments/{paymentPspReference}/reversals): Refunds a payment if it has already been captured, and cancels a payment if it has not yet been captured. Current supported version: **v68**
* [Data Protection API](https://docs.adyen.com/development-resources/data-protection-api): Use our API to comply with GDPR's right to erasure mandate. Current supported version: **v1**

For more information, refer to our [documentation](https://docs.adyen.com/) or the [API Explorer](https://docs.adyen.com/api-explorer/).

Expand Down
92 changes: 92 additions & 0 deletions src/Adyen/Model/DataProtection/ModelInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?php

/**
* Adyen Data Protection API
*
* The version of the OpenAPI document: 1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


namespace Adyen\Model\DataProtection;

interface ModelInterface
{
/**
* The original name of the model.
*
* @return string
*/
public function getModelName();

/**
* Array of property to type mappings. Used for (de)serialization
*
* @return array
*/
public static function openAPITypes();

/**
* Array of property to format mappings. Used for (de)serialization
*
* @return array
*/
public static function openAPIFormats();

/**
* Array of attributes where the key is the local name, and the value is the original name
*
* @return array
*/
public static function attributeMap();

/**
* Array of attributes to setter functions (for deserialization of responses)
*
* @return array
*/
public static function setters();

/**
* Array of attributes to getter functions (for serialization of requests)
*
* @return array
*/
public static function getters();

/**
* Show all the invalid properties with reasons.
*
* @return array
*/
public function listInvalidProperties();

/**
* Validate all the properties in the model
* return true if all passed
*
* @return bool
*/
public function valid();

/**
* Checks if a property is nullable
*
* @param string $property
* @return bool
*/
public static function isNullable(string $property): bool;

/**
* Checks if a nullable property is set to null.
*
* @param string $property
* @return bool
*/
public function isNullableSetToNull(string $property): bool;
}
Loading