-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathplatformPayment.ts
More file actions
111 lines (103 loc) · 4.86 KB
/
Copy pathplatformPayment.ts
File metadata and controls
111 lines (103 loc) · 4.86 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*
* 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**: The acquiring fee (the aggregated amount of interchange and scheme fee) incurred on a transaction. * **AdyenCommission**: 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**: All transaction fees due to Adyen. This is the aggregated amount of Adyen\'s commission and markup. * **AdyenMarkup**: The transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The amount booked to your user after the deduction of the relevant fees. * **Commission**: Your platform\'s or marketplace\'s commission on a transaction. * **DCCPlatformCommission**: **deprecated** The Dynamic Currency Conversion (DCC) fee on a transaction. * **DCCMarkup**: The Dynamic Currency Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee paid to the issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all transaction fees. * **Remainder**: The leftover amount after currency conversion. * **SchemeFee**: The scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by the customer on a transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An incoming transfer to top up your user\'s balance account. * **VAT**: The value-added tax charged on the payment.
*/
"platformPaymentType"?: PlatformPayment.PlatformPaymentTypeEnum;
/**
* The payment reference included in the transfer.
*/
"pspPaymentReference"?: string;
/**
* **platformPayment**
*/
"type"?: PlatformPayment.TypeEnum;
static readonly discriminator: string | undefined = undefined;
static readonly mapping: {[index: string]: string} | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "modificationMerchantReference",
"baseName": "modificationMerchantReference",
"type": "string",
"format": ""
},
{
"name": "modificationPspReference",
"baseName": "modificationPspReference",
"type": "string",
"format": ""
},
{
"name": "paymentMerchantReference",
"baseName": "paymentMerchantReference",
"type": "string",
"format": ""
},
{
"name": "platformPaymentType",
"baseName": "platformPaymentType",
"type": "PlatformPayment.PlatformPaymentTypeEnum",
"format": ""
},
{
"name": "pspPaymentReference",
"baseName": "pspPaymentReference",
"type": "string",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "PlatformPayment.TypeEnum",
"format": ""
} ];
static getAttributeTypeMap() {
return PlatformPayment.attributeTypeMap;
}
public constructor() {
}
}
export namespace PlatformPayment {
export enum PlatformPaymentTypeEnum {
AcquiringFees = 'AcquiringFees',
AdyenCommission = 'AdyenCommission',
AdyenFees = 'AdyenFees',
AdyenMarkup = 'AdyenMarkup',
BalanceAccount = 'BalanceAccount',
ChargebackRemainder = 'ChargebackRemainder',
Commission = 'Commission',
DccMarkup = 'DCCMarkup',
DccPlatformCommission = 'DCCPlatformCommission',
Default = 'Default',
Interchange = 'Interchange',
PaymentFee = 'PaymentFee',
Remainder = 'Remainder',
SchemeFee = 'SchemeFee',
Surcharge = 'Surcharge',
Tip = 'Tip',
TopUp = 'TopUp',
Vat = 'VAT'
}
export enum TypeEnum {
PlatformPayment = 'platformPayment'
}
}