-
Notifications
You must be signed in to change notification settings - Fork 42
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
Showing
6 changed files
with
83 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
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
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
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,8 @@ | ||
# # EventTypes | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
|
||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) |
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,70 @@ | ||
<?php | ||
/** | ||
* EventTypes | ||
* | ||
* PHP version 7.4 | ||
* | ||
* @category Class | ||
* @package Conekta | ||
* @author OpenAPI Generator team | ||
* @link https://openapi-generator.tech | ||
*/ | ||
|
||
/** | ||
* Conekta API | ||
* | ||
* Conekta sdk | ||
* | ||
* The version of the OpenAPI document: 2.1.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* OpenAPI Generator version: 7.2.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 Conekta\Model; | ||
use \Conekta\ObjectSerializer; | ||
|
||
/** | ||
* EventTypes Class Doc Comment | ||
* | ||
* @category Class | ||
* @description It is a parameter that allows to identify in the response, the type of event that is being generated. | ||
* @package Conekta | ||
* @author OpenAPI Generator team | ||
* @link https://openapi-generator.tech | ||
*/ | ||
class EventTypes | ||
{ | ||
/** | ||
* Possible values of this enum | ||
*/ | ||
public const WEBHOOK_PING = 'webhook_ping'; | ||
|
||
public const ORDER_PAID = 'order.paid'; | ||
|
||
public const ORDER_EXPIRED = 'order.expired'; | ||
|
||
public const ORDER_CANCELED = 'order.canceled'; | ||
|
||
/** | ||
* Gets allowable values of the enum | ||
* @return string[] | ||
*/ | ||
public static function getAllowableEnumValues() | ||
{ | ||
return [ | ||
self::WEBHOOK_PING, | ||
self::ORDER_PAID, | ||
self::ORDER_EXPIRED, | ||
self::ORDER_CANCELED | ||
]; | ||
} | ||
} | ||
|
||
|
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