/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional, Schema } from '../schema.js'; import { RefundStatus, refundStatusSchema } from './refundStatus.js'; import { RefundStatusDetails, refundStatusDetailsSchema, } from './refundStatusDetails.js'; /** The refund status with details. */ export interface RefundStatusWithDetails { /** The status of the refund. */ status?: RefundStatus; /** The details of the refund status. */ statusDetails?: RefundStatusDetails; } export const refundStatusWithDetailsSchema: Schema = lazy( () => object({ status: ['status', optional(refundStatusSchema)], statusDetails: ['status_details', optional(refundStatusDetailsSchema)], }) );