Files
adyen-node-api-library/src/typings/recurring/permitRestriction.ts
jillingk bf1e643973 [PW-7765] add create/disablePermit and simple UT (#1082)
* add create/disablePermit and simple UT

* Add serializer for Date objects and quick test

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>
2023-01-19 16:57:26 +01:00

44 lines
1.2 KiB
TypeScript

/*
* The version of the OpenAPI document: v68
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { Amount } from './amount';
export class PermitRestriction {
'maxAmount'?: Amount;
'singleTransactionLimit'?: Amount;
/**
* Only a single payment can be made using this permit if set to true, otherwise multiple payments are allowed.
*/
'singleUse'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "maxAmount",
"baseName": "maxAmount",
"type": "Amount"
},
{
"name": "singleTransactionLimit",
"baseName": "singleTransactionLimit",
"type": "Amount"
},
{
"name": "singleUse",
"baseName": "singleUse",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return PermitRestriction.attributeTypeMap;
}
}