/**
 * AdvancedBilling
 *
 * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

import { expandoObject, lazy, Schema } from '../schema';
import {
  InvoicePayerChange,
  invoicePayerChangeSchema,
} from './invoicePayerChange';

export interface CustomerPayerChange {
  before: InvoicePayerChange;
  after: InvoicePayerChange;
  [key: string]: unknown;
}

export const customerPayerChangeSchema: Schema<CustomerPayerChange> = expandoObject(
  {
    before: ['before', lazy(() => invoicePayerChangeSchema)],
    after: ['after', lazy(() => invoicePayerChangeSchema)],
  }
);
