change
This commit is contained in:
@@ -62,6 +62,16 @@ var Bizgaze;
|
||||
});
|
||||
});
|
||||
}
|
||||
CheckConversionRateByOrganization(OrganizationId) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const url = 'apis/v4/bizgaze/transact/payments/checkconversionratebyorganization/organizationid/' + OrganizationId;
|
||||
return yield this.dataHelper().getAsync(url).then(function (response) {
|
||||
if (response.result != "" && response.result !== null)
|
||||
response.result = JSON.parse(response.result);
|
||||
return response;
|
||||
});
|
||||
});
|
||||
}
|
||||
getAdvancePaymentsByOrgId(ContactId) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const url = 'apis/v4/bizgaze/transact/payments/getadvancepaymentsbyorgid/contactid/' + ContactId;
|
||||
@@ -182,6 +192,18 @@ var Bizgaze;
|
||||
});
|
||||
});
|
||||
}
|
||||
getCurrenyId(ContactId) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
debugger;
|
||||
const url = 'apis/v4/bizgaze/crm/organization/getconversionratebyorganizationasync/organizationid/' + ContactId;
|
||||
return yield this.dataHelper().getAsync(url).then(function (response) {
|
||||
debugger;
|
||||
if (response.result != "" && response.result !== null)
|
||||
response.result = JSON.parse(response.result);
|
||||
return response;
|
||||
});
|
||||
});
|
||||
}
|
||||
static Instance() {
|
||||
if (this.instance === undefined) {
|
||||
this.instance = new PaymentManager();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user