import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core'
import { HelperService } from '@k-core/services/svc.helper';
import { Observable } from 'rxjs';

@Injectable()
export class PaymentServiceIconService {

    constructor(
        private http: HttpClient,
        private helper: HelperService
    ) {}


    getStatus(orderId: number | string): Observable<any> {
        return this.http.get(`${this.helper.server}feed/get/order-nav-status?key=${this.helper.apiKey}&storeId=${this.helper.storeId}&websiteId=${this.helper.websiteId}&orderId=${orderId}`)
    }
}