| 1 |
<?php |
| 2 |
/** |
| 3 |
* PaymentTransactionType |
| 4 |
* |
| 5 |
* PHP version 5 |
| 6 |
* |
| 7 |
* @category Class |
| 8 |
* @package OpenAPI\Client |
| 9 |
* @author OpenAPI Generator team |
| 10 |
* @link https://openapi-generator.tech |
| 11 |
*/ |
| 12 |
|
| 13 |
/** |
| 14 |
* MONEI API v1 |
| 15 |
* |
| 16 |
* The MONEI API is organized around [REST](https://en.wikipedia.org/wiki/Representational_State_Transfer). Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. |
| 17 |
* |
| 18 |
* The version of the OpenAPI document: 1.0.0 |
| 19 |
* |
| 20 |
* Generated by: https://openapi-generator.tech |
| 21 |
* OpenAPI Generator version: 4.3.1 |
| 22 |
*/ |
| 23 |
|
| 24 |
/** |
| 25 |
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 26 |
* https://openapi-generator.tech |
| 27 |
* Do not edit the class manually. |
| 28 |
*/ |
| 29 |
|
| 30 |
namespace OpenAPI\Client\Model; |
| 31 |
use \OpenAPI\Client\ObjectSerializer; |
| 32 |
|
| 33 |
/** |
| 34 |
* PaymentTransactionType Class Doc Comment |
| 35 |
* |
| 36 |
* @category Class |
| 37 |
* @description Controls when the funds will be captured. - `SALE` - **Default**. MONEI automatically captures funds when the customer authorizes the payment. - `AUTH` - Place a hold on the funds when the customer authorizes the payment, but don’t capture the funds until later. |
| 38 |
* @package OpenAPI\Client |
| 39 |
* @author OpenAPI Generator team |
| 40 |
* @link https://openapi-generator.tech |
| 41 |
*/ |
| 42 |
class PaymentTransactionType |
| 43 |
{ |
| 44 |
/** |
| 45 |
* Possible values of this enum |
| 46 |
*/ |
| 47 |
const SALE = 'SALE'; |
| 48 |
const AUTH = 'AUTH'; |
| 49 |
|
| 50 |
/** |
| 51 |
* Gets allowable values of the enum |
| 52 |
* @return string[] |
| 53 |
*/ |
| 54 |
public static function getAllowableEnumValues() |
| 55 |
{ |
| 56 |
return [ |
| 57 |
self::SALE, |
| 58 |
self::AUTH, |
| 59 |
]; |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
|
| 64 |
|