コード例 #1
0
 public string confirmTransaction(npay.MpesaService.CheckOutHeader CheckOutHeader, ref string TRX_ID, ref string MERCHANT_TRANSACTION_ID, out string DESCRIPTION)
 {
     npay.MpesaService.confirmTransactionRequest inValue = new npay.MpesaService.confirmTransactionRequest();
     inValue.CheckOutHeader          = CheckOutHeader;
     inValue.TRX_ID                  = TRX_ID;
     inValue.MERCHANT_TRANSACTION_ID = MERCHANT_TRANSACTION_ID;
     npay.MpesaService.confirmTransactionResponse retVal = ((npay.MpesaService.LNMO_portType)(this)).confirmTransaction(inValue);
     DESCRIPTION             = retVal.DESCRIPTION;
     MERCHANT_TRANSACTION_ID = retVal.MERCHANT_TRANSACTION_ID;
     TRX_ID = retVal.TRX_ID;
     return(retVal.RETURN_CODE);
 }
コード例 #2
0
 public System.Threading.Tasks.Task <npay.MpesaService.confirmTransactionResponse> confirmTransactionAsync(npay.MpesaService.confirmTransactionRequest request)
 {
     return(base.Channel.confirmTransactionAsync(request));
 }
コード例 #3
0
 npay.MpesaService.confirmTransactionResponse npay.MpesaService.LNMO_portType.confirmTransaction(npay.MpesaService.confirmTransactionRequest request)
 {
     return(base.Channel.confirmTransaction(request));
 }