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