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