/// <summary> /// Init transaction /// </summary> /// <param name="businessId">Contract id ?</param> public void InitTransaction(string businessId) { //#1- Init transaction createTransaction createTrans = new createTransaction() { type = _Scenario.Type, tenant = _Tenant.TenantName, application = _Scenario.Application, company = _Scenario.Company, service = _Scenario.Service, businessType = BUSINESS_TYPE, businessId = businessId, }; //Call create transaction createTransactionResponse objCreateTransactionResponse = _TransactionPortCli.createTransaction(createTrans); TransactionId = objCreateTransactionResponse.transactionId; }
/// <summary> /// Init transaction /// </summary> /// <param name="businessId">Contract id ?</param> public void InitTransaction(string businessId) { //#1- Init transaction createTransaction createTrans = new createTransaction() { tenant = _Tenant.TenantName, policy = _Tenant.Policy, businessId = businessId, company = _Scenario.Company, //"default" metadata = null, }; //Call create transaction createTransactionResponse objCreateTransactionResponse = _TransactionPortClient.createTransaction(createTrans); TransactionId = objCreateTransactionResponse.transactionId; }