UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

55 lines (54 loc) 2.15 kB
import { Amount } from "./amount"; import { ApplicationInfo } from "./applicationInfo"; import { EnhancedSchemeData } from "./enhancedSchemeData"; import { LineItem } from "./lineItem"; import { Split } from "./split"; export declare class PaymentAmountUpdateRequest { "amount": Amount; "applicationInfo"?: ApplicationInfo | null; "enhancedSchemeData"?: EnhancedSchemeData | null; /** * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** */ "industryUsage"?: PaymentAmountUpdateRequest.IndustryUsageEnum; /** * 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, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. */ "lineItems"?: Array<LineItem>; /** * The merchant account that is used to process the payment. */ "merchantAccount": string; /** * Your reference for the amount update 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 more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). */ "splits"?: Array<Split>; static readonly discriminator: string | undefined; static readonly mapping: { [index: string]: string; } | undefined; static readonly attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; format: string; }[]; constructor(); } export declare namespace PaymentAmountUpdateRequest { enum IndustryUsageEnum { DelayedCharge = "delayedCharge", Installment = "installment", NoShow = "noShow" } }