Ejemplo n.º 1
0
 public System.Threading.Tasks.Task <ZarinpalServiceReference.PaymentRequestResponse> PaymentRequestAsync(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL)
 {
     ZarinpalServiceReference.PaymentRequestRequest inValue = new ZarinpalServiceReference.PaymentRequestRequest();
     inValue.Body             = new ZarinpalServiceReference.PaymentRequestRequestBody();
     inValue.Body.MerchantID  = MerchantID;
     inValue.Body.Amount      = Amount;
     inValue.Body.Description = Description;
     inValue.Body.Email       = Email;
     inValue.Body.Mobile      = Mobile;
     inValue.Body.CallbackURL = CallbackURL;
     return(((ZarinpalServiceReference.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestAsync(inValue));
 }
Ejemplo n.º 2
0
 System.Threading.Tasks.Task <ZarinpalServiceReference.PaymentRequestResponse> ZarinpalServiceReference.PaymentGatewayImplementationServicePortType.PaymentRequestAsync(ZarinpalServiceReference.PaymentRequestRequest request)
 {
     return(base.Channel.PaymentRequestAsync(request));
 }