Esempio n. 1
0
 public System.Threading.Tasks.Task <DataLayer.ZarinPal.PaymentRequestWithExtraResponse> PaymentRequestWithExtraAsync(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL)
 {
     DataLayer.ZarinPal.PaymentRequestWithExtraRequest inValue = new DataLayer.ZarinPal.PaymentRequestWithExtraRequest();
     inValue.Body                = new DataLayer.ZarinPal.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(((DataLayer.ZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtraAsync(inValue));
 }
Esempio n. 2
0
 public int PaymentRequestWithExtra(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL, out string Authority)
 {
     DataLayer.ZarinPal.PaymentRequestWithExtraRequest inValue = new DataLayer.ZarinPal.PaymentRequestWithExtraRequest();
     inValue.Body                = new DataLayer.ZarinPal.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;
     DataLayer.ZarinPal.PaymentRequestWithExtraResponse retVal = ((DataLayer.ZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtra(inValue);
     Authority = retVal.Body.Authority;
     return(retVal.Body.Status);
 }
Esempio n. 3
0
 System.Threading.Tasks.Task <DataLayer.ZarinPal.PaymentRequestWithExtraResponse> DataLayer.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequestWithExtraAsync(DataLayer.ZarinPal.PaymentRequestWithExtraRequest request)
 {
     return(base.Channel.PaymentRequestWithExtraAsync(request));
 }
Esempio n. 4
0
 DataLayer.ZarinPal.PaymentRequestWithExtraResponse DataLayer.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequestWithExtra(DataLayer.ZarinPal.PaymentRequestWithExtraRequest request)
 {
     return(base.Channel.PaymentRequestWithExtra(request));
 }