

const PayOil = () => import('./oil/pay_oil.vue');
const AuthorizePreauthCharge = () => import('./oil/authorize_preauthcharge.vue');
const CaptureAuthorize = () => import('./oil/capture_authorize.vue');
const PayService = () => import('./service/pay_service.vue');
const AuthorizeServicePreauthCharge = () => import('./service/authorize_preauthcharge.vue');
const ChargeServiceAuthorize = () => import('./service/capture_authorize.vue');
const AuthorizePrechargeAutho = () => import('./auto/authorize_precharge_autho.vue');
const CaptureAuthorizeAutho = () => import('./auto/capture_authorize_autho.vue');

const payRoutes = [
    // This is for oil delivery 
    {
        path: '/pay/oil/:id',
        name: 'payOil',
        component: PayOil,
    },
    {
        path: '/pay/oil/authorize/:id',
        name: 'authorizePreauthCharge',
        component: AuthorizePreauthCharge,
    },
    {
        path: '/pay/capture/authorize/:id',
        name: 'captureAuthorize',
        component: CaptureAuthorize,
    },



        // this is for service
    {
        path: '/pay/service/:id',
        name: 'payService',
        component: PayService,
    },
    {
        path: '/pay/service/authorize/:id',
        name: 'authorizeServicePreauthCharge',
        component: AuthorizeServicePreauthCharge,
    },

    {
        path: '/pay/service/capture/authorize/:id',
        name: 'chargeServiceAuthorize',
        component: ChargeServiceAuthorize,
    },

        // this is for auto
    {
        path: '/pay/auto/authorize/:id',
        name: 'payAutoAuthorize',
        component: AuthorizePrechargeAutho,
    },
    {
        path: '/pay/auto/capture/:id',
        name: 'payAutoCapture',
        component: CaptureAuthorizeAutho,
    },

]

export default payRoutes
//sourceMappingURL=index.ts.map
