committed by
Abhay Chawla
parent
8fc6dba1a9
commit
15ff035d13
@@ -90,6 +90,14 @@ export class OrganizationService {
|
||||
return this.http.get('/paymenttypes');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {any} paymentType Payment type to be created.
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
createPaymentType(paymentType: any): Observable<any> {
|
||||
return this.http.post('/paymenttypes', paymentType);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} paymentTypeId Payment type ID of payment type to be deleted.
|
||||
* @returns {Observable<any>}
|
||||
|
||||
Reference in New Issue
Block a user