Ejemplo n.º 1
0
 public System.Threading.Tasks.Task <ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraResponse> PaymentRequestWithExtraAsync(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL)
 {
     ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraRequest inValue = new ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraRequest();
     inValue.Body                = new ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraRequestBody();
     inValue.Body.MerchantID     = MerchantID;
     inValue.Body.Amount         = Amount;
     inValue.Body.Description    = Description;
     inValue.Body.AdditionalData = AdditionalData;
     inValue.Body.Email          = Email;
     inValue.Body.Mobile         = Mobile;
     inValue.Body.CallbackURL    = CallbackURL;
     return(((ZARINPAL_PARDAKHT.ServiceReference.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtraAsync(inValue));
 }
Ejemplo n.º 2
0
 public int PaymentRequestWithExtra(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL, out string Authority)
 {
     ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraRequest inValue = new ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraRequest();
     inValue.Body                = new ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraRequestBody();
     inValue.Body.MerchantID     = MerchantID;
     inValue.Body.Amount         = Amount;
     inValue.Body.Description    = Description;
     inValue.Body.AdditionalData = AdditionalData;
     inValue.Body.Email          = Email;
     inValue.Body.Mobile         = Mobile;
     inValue.Body.CallbackURL    = CallbackURL;
     ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraResponse retVal = ((ZARINPAL_PARDAKHT.ServiceReference.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtra(inValue);
     Authority = retVal.Body.Authority;
     return(retVal.Body.Status);
 }
Ejemplo n.º 3
0
 System.Threading.Tasks.Task <ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraResponse> ZARINPAL_PARDAKHT.ServiceReference.PaymentGatewayImplementationServicePortType.PaymentRequestWithExtraAsync(ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraRequest request)
 {
     return(base.Channel.PaymentRequestWithExtraAsync(request));
 }
Ejemplo n.º 4
0
 ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraResponse ZARINPAL_PARDAKHT.ServiceReference.PaymentGatewayImplementationServicePortType.PaymentRequestWithExtra(ZARINPAL_PARDAKHT.ServiceReference.PaymentRequestWithExtraRequest request)
 {
     return(base.Channel.PaymentRequestWithExtra(request));
 }