This commit is contained in:
2023-03-20 16:20:33 +00:00
parent 514c3ac3f6
commit 8c7d6421f5
2288 changed files with 712 additions and 73769 deletions
@@ -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