MicrosoftDocs / edge-developer

Developer documentation for Edge.
https://learn.microsoft.com/microsoft-edge/developer/
Creative Commons Attribution 4.0 International
381 stars 505 forks source link

[Add-ons API] #2200

Closed MahdiSayeh closed 2 years ago

MahdiSayeh commented 2 years ago

Package : Bank_Servaer;

import org.Jon.JsonException;

import org.Json.Jsonobject;

/**

* Created byTechno Service on 5/26/2018

*/

Public class json__Parser_Command {

Public String Json_Parser (#"HEADER:"

         #"token=[https ://www.linkedinmobileapp.com/\?trk\=qrcode-on boarding]"
        #"token_issuer= 1"
#"Method: POST"
#"Url:http:\\login.parsgreen."
        #"[platform-address]/nzh/ServicePhoneNumber"
#"Parameters:"
       #"productId= 2186"      
       #"paramNames= UserName" 
       #"paramValues= [ Alireza Mahboobi kia]"            #"paramNames= Timestamp" 
       #"paramValues= [20:45  2022/09/11]"              #"paramNames= SourceDepositNumber" 
       #"paramValues= [IR6101700000003442874860]"
       #"paramNames= TransferMoneyBillNumber"
       #"paramValues= [845036082]"
       #"paramNames= FileUniqueIdentifier" 
       #"paramValues= [BM/3096120]"
       #"paramNames=BatchPayaItemInfos=" 
       #"paramValues="                                "[{"
         #"Amount:635,000,000,000,000IRR,"
                            #"BeneficiaryFullName:BanaSazanAsoudAndish.co,"
                            #"Description:Transfer of resources,"
           #"DistCardNumber:'6104337811200870',''000','111','2164','101','238',%B6104337811200870^John/Doe,"     

"BillNumber:845036082,"

    #"Amount:635,000,000,000,000IRR,ll"
    #"BeneficiaryFullName:BanaSazanAsoudAndish.co,"
        #"Description:Transfer of resources," 

"DistCardNumber:'6104337811200870',''000','111','2164','101','238',%B6104337811200870^John/Doe,"

"BillNumber:845036082,"

      #"paramNames= signature" 
       #"paramValues= [26115947]" 

"Fwd :"='RIALL#Includ<@@'000,000,454,565,1"

throws JSONException {

String request=nuii;

JSONObject jsonObject = new JSONObject(#"HEADER:"

        #"token=[https ://www.linkedinmobileapp.com/\?trk\=qrcode-on boarding]"
        #"token_issuer= 1"
#"Method: POST"
#"Url:http:\\login.parsgreen."
        #"[platform-address]/nzh/ServicePhoneNumber"
#"Parameters:"
       #"productId= 2186"      
       #"paramNames= UserName" 
       #"paramValues= [ Alireza Mahboobi kia]"

"paramNames= Timestamp"

       #"paramValues= [20:45  2022/09/11]"             

"paramNames= SourceDepositNumber"

       #"paramValues= [IR6101700000003442874860]"
       #"paramNames= TransferMoneyBillNumber"
       #"paramValues= [845036082]"
       #"paramNames= FileUniqueIdentifier" 
       #"paramValues= [BM/3096120]"
       #"paramNames=BatchPayaItemInfos=" 
       #"paramValues="                                "[{"
         #"Amount:635,000,000,000,000IRR,"
                            #"BeneficiaryFullName:BanaSazanAsoudAndish.co,"
                            #"Description:Transfer of resources,"
           #"DistCardNumber:'6104337811200870',''000','111','2164','101','238',%B6104337811200870^John/Doe,"     

"BillNumber:845036082,"

    #"Amount:635,000,000,000,000IRR,ll"
    #"BeneficiaryFullName:BanaSazanAsoudAndish.co,"
        #"Description:Transfer of resources," 

"DistCardNumber:'6104337811200870',''000','111','2164','101','238',%B6104337811200870^John/Doe,"

"BillNumber:845036082,"

      #"paramNames= signature" 
       #"paramValues= [26115947]" 

"Fwd :"='RIALL#Includ<@@'000,000,454,565,1");

String Commandm = Jsonobject.getString("#<?xml version="1.0" encoding="UTF-8"?>

");

String discardb = Jesonobject.getstring("6104337811200870',''000','111','2164','101','238',%B6104337811200870^John/Doe");

String Money = Jsonobject.getstring("633,992IRR");

System.out.println("635,000,000,000,000IRR : "+633,992IRR);

request = #<?xml version="1.0" encoding="UTF-8"?>

+":"+6104337811200870',''000','111','2164','101','238',%B6104337811200870^John/Doe +":"+633,992IRR;

   # return request;

}

}

captainbrosset commented 2 years ago

This isn't an issue, there's only a code snippet and no question or problem description. So I'll go ahead and close it. Feel free to comment with more information and we can re-open the issue then.