/** * My API * API documentation for my Laravel app * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { TransactionType } from './TransactionType'; import type { PaymentMethod } from './PaymentMethod'; import type { PaymentSource } from './PaymentSource'; import type { PaymentStatus } from './PaymentStatus'; /** * * @export * @interface TransactionListResource */ export interface TransactionListResource { /** * * @type {number} * @memberof TransactionListResource */ id: number; /** * * @type {PaymentSource} * @memberof TransactionListResource */ paymentSource: PaymentSource; /** * * @type {PaymentMethod} * @memberof TransactionListResource */ paymentMethod: PaymentMethod; /** * * @type {TransactionType} * @memberof TransactionListResource */ type: TransactionType; /** * * @type {PaymentStatus} * @memberof TransactionListResource */ status: PaymentStatus; /** * * @type {number} * @memberof TransactionListResource */ totalAmount: number; /** * * @type {number} * @memberof TransactionListResource */ surcharge: number; /** * * @type {number} * @memberof TransactionListResource */ refundedAmount: number; /** * * @type {number} * @memberof TransactionListResource */ unrefundedAmount: number; /** * * @type {string} * @memberof TransactionListResource */ reference: string; /** * * @type {string} * @memberof TransactionListResource */ description?: string | null; /** * * @type {string} * @memberof TransactionListResource */ extendedData?: string | null; /** * * @type {string} * @memberof TransactionListResource */ riskScore?: string | null; /** * * @type {string} * @memberof TransactionListResource */ fraudDecision?: string | null; /** * * @type {Date} * @memberof TransactionListResource */ createdAt?: Date | null; } /** * Check if a given object implements the TransactionListResource interface. */ export declare function instanceOfTransactionListResource(value: object): value is TransactionListResource; export declare function TransactionListResourceFromJSON(json: any): TransactionListResource; export declare function TransactionListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionListResource; export declare function TransactionListResourceToJSON(json: any): TransactionListResource; export declare function TransactionListResourceToJSONTyped(value?: TransactionListResource | null, ignoreDiscriminator?: boolean): any;