Files
adyen-node-api-library/src/typings/checkout/createPaymentRefundRequest.ts

52 lines
2.2 KiB
TypeScript

/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* 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 the class manually.
*/
import { Amount } from './amount';
import { LineItem } from './lineItem';
import { Split } from './split';
export class CreatePaymentRefundRequest {
'amount': Amount;
/**
* Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome.
*/
'lineItems'?: Array<LineItem>;
/**
* The merchant account that is used to process the payment.
*/
'merchantAccount': string;
/**
* Your reference for the refund request. Maximum length: 80 characters.
*/
'reference'?: string;
/**
* An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information).
*/
'splits'?: Array<Split>;
}