-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathplatformPayment.ts
97 lines (91 loc) · 4.21 KB
/
platformPayment.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
* The version of the OpenAPI document: v4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class PlatformPayment {
/**
* The capture\'s merchant reference included in the transfer.
*/
'modificationMerchantReference'?: string;
/**
* The capture reference included in the transfer.
*/
'modificationPspReference'?: string;
/**
* The payment\'s merchant reference included in the transfer.
*/
'paymentMerchantReference'?: string;
/**
* Specifies the nature of the transfer. This parameter helps categorize transfers so you can reconcile transactions at a later time, using the Balance Platform Accounting Report for [marketplaces](https://docs.adyen.com/marketplaces/reports-and-fees/balance-platform-accounting-report/) or [platforms](https://docs.adyen.com/platforms/reports-and-fees/balance-platform-accounting-report/). Possible values: * **AcquiringFees**: for the acquiring fee incurred on a transaction. * **AdyenCommission**: for the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing). * **AdyenFees**: for all the transaction fees due to Adyen. This is the sum of Adyen\'s commission and Adyen\'s markup. * **AdyenMarkup**: for the transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: or the sale amount of a transaction. * **Commission**: for your platform\'s commission on a transaction. * **Interchange**: for the interchange fee (fee paid to the issuer) incurred on a transaction. * **PaymentFee**: for all of the transaction fees. * **Remainder**: for the left over amount after currency conversion. * **SchemeFee**: for the scheme fee incurred on a transaction. This is the sum of the interchange fees and the acquiring fees. * **Surcharge**: for the surcharge paid by the customer on a transaction. * **Tip**: for the tip paid by the customer. * **TopUp**: for an incoming transfer to top up your user\'s balance account. * **VAT**: for the Value Added Tax.
*/
'platformPaymentType'?: PlatformPayment.PlatformPaymentTypeEnum;
/**
* The payment reference included in the transfer.
*/
'pspPaymentReference'?: string;
/**
* **platformPayment**
*/
'type'?: PlatformPayment.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "modificationMerchantReference",
"baseName": "modificationMerchantReference",
"type": "string"
},
{
"name": "modificationPspReference",
"baseName": "modificationPspReference",
"type": "string"
},
{
"name": "paymentMerchantReference",
"baseName": "paymentMerchantReference",
"type": "string"
},
{
"name": "platformPaymentType",
"baseName": "platformPaymentType",
"type": "PlatformPayment.PlatformPaymentTypeEnum"
},
{
"name": "pspPaymentReference",
"baseName": "pspPaymentReference",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "PlatformPayment.TypeEnum"
} ];
static getAttributeTypeMap() {
return PlatformPayment.attributeTypeMap;
}
}
export namespace PlatformPayment {
export enum PlatformPaymentTypeEnum {
AcquiringFees = 'AcquiringFees',
AdyenCommission = 'AdyenCommission',
AdyenFees = 'AdyenFees',
AdyenMarkup = 'AdyenMarkup',
BalanceAccount = 'BalanceAccount',
Commission = 'Commission',
Default = 'Default',
Interchange = 'Interchange',
PaymentFee = 'PaymentFee',
Remainder = 'Remainder',
SchemeFee = 'SchemeFee',
Surcharge = 'Surcharge',
Tip = 'Tip',
TopUp = 'TopUp',
Vat = 'VAT'
}
export enum TypeEnum {
PlatformPayment = 'platformPayment'
}
}