UNPKG

connect-sdk-nodejs

Version:

SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API

30 lines (29 loc) 986 B
import { AmountOfMoney } from "../definitions"; import { APIError } from "../errors/definitions"; import { BankRefundMethodSpecificInput, RefundCustomer, RefundReferences, RefundResult } from "./definitions"; export interface ApproveRefundRequest { amount?: number | null; } export interface FindRefundsResponse { limit?: number | null; offset?: number | null; refunds?: RefundResult[] | null; totalCount?: number | null; } export interface RefundErrorResponse { errorId?: string | null; errors?: APIError[] | null; refundResult?: RefundResult | null; } export interface RefundRequest { amountOfMoney?: AmountOfMoney | null; bankRefundMethodSpecificInput?: BankRefundMethodSpecificInput | null; customer?: RefundCustomer | null; refundDate?: string | null; refundReferences?: RefundReferences | null; } export interface RefundResponse extends RefundResult { } export interface RefundsResponse { refunds?: RefundResult[] | null; }