/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
import { object, optional } from '../schema';
import { avsCodeSchema } from './avsCode';
import { cvvCodeSchema } from './cvvCode';
import { paymentsPaymentAdviceCodeSchema, } from './paymentsPaymentAdviceCode';
import { processorResponseCodeSchema, } from './processorResponseCode';
export const paymentsProcessorResponseSchema = object({
    avsCode: ['avs_code', optional(avsCodeSchema)],
    cvvCode: ['cvv_code', optional(cvvCodeSchema)],
    responseCode: ['response_code', optional(processorResponseCodeSchema)],
    paymentAdviceCode: [
        'payment_advice_code',
        optional(paymentsPaymentAdviceCodeSchema),
    ],
});
//# sourceMappingURL=paymentsProcessorResponse.js.map