import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { BaseService } from '../../base/base-service';

@Injectable({
    providedIn: 'root'
})
export class EnrollmentCounterPaymentsService extends BaseService {

    constructor(
        public http: HttpClient
    ) {
        super('/v1/register/enrollment_counter_payments', http)
    }

    postRecieve(userRegisterUid, counterNo, counterPin, counterPeriod){
        return this.http.post(`${this.fullUrl}/${userRegisterUid}/${counterNo}/${counterPin}/${counterPeriod}`,null);
    }
}
