From cb203d9af1c08a4c3c012b39d7fd5211296b6234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=BCnyamin=20Ya=C5=9Far?= <33955141+byasarcse@users.noreply.github.com> Date: Mon, 4 Nov 2024 14:16:32 +0300 Subject: [PATCH] typo fix (#149) * typo fix * typo fix --- Iyzipay.Samples/CardManagementPageSample.cs | 2 +- Iyzipay.Samples/IyziLinkSample.cs | 2 +- Iyzipay.Tests/Functional/SubscriptionCustomer.cs | 2 +- Iyzipay/Model/V2/Subscription/ProductResource.cs | 2 +- Iyzipay/Request/ProductBuyerInfo.cs | 2 +- Iyzipay/Request/V2/Subscription/UpdateCustomerRequest.cs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Iyzipay.Samples/CardManagementPageSample.cs b/Iyzipay.Samples/CardManagementPageSample.cs index bf94ce2..5b7b07b 100644 --- a/Iyzipay.Samples/CardManagementPageSample.cs +++ b/Iyzipay.Samples/CardManagementPageSample.cs @@ -30,7 +30,7 @@ public async Task Should_Initialize_Card_Management_PageAsync() Locale = Locale.TR.ToString() }; - CardManagementPageInitialize cardManagementPageInitialize = await CardManagementPageInitialize.Create(request, options); + CardManagementPageInitialize cardManagementPageInitialize = CardManagementPageInitialize.Create(request, options); PrintResponse(cardManagementPageInitialize); Assert.AreEqual(Locale.TR.ToString(), cardManagementPageInitialize.Locale); diff --git a/Iyzipay.Samples/IyziLinkSample.cs b/Iyzipay.Samples/IyziLinkSample.cs index c8d375f..fa86bb9 100644 --- a/Iyzipay.Samples/IyziLinkSample.cs +++ b/Iyzipay.Samples/IyziLinkSample.cs @@ -32,7 +32,7 @@ public void Should_Create_IyziLink() productBuyerInfo.BuyerCity = "Ankara"; productBuyerInfo.BuyerCountry = "Turkey"; productBuyerInfo.BuyerGsmNumber = "+905554443322"; - productBuyerInfo.BuyerEmail = "john.doe@iyzico.com"; + productBuyerInfo.BuyerEmailAddress = "john.doe@iyzico.com"; productBuyerInfo.BuyerAddress = "Turkey"; request.ProductBuyerInfo = productBuyerInfo; diff --git a/Iyzipay.Tests/Functional/SubscriptionCustomer.cs b/Iyzipay.Tests/Functional/SubscriptionCustomer.cs index fda27fc..04c6a7a 100644 --- a/Iyzipay.Tests/Functional/SubscriptionCustomer.cs +++ b/Iyzipay.Tests/Functional/SubscriptionCustomer.cs @@ -102,7 +102,7 @@ public void Should_Update_Customer() Locale = Locale.TR.ToString(), Name = "upd-customer-name", Surname = "upd-customer-surname", - Enail = "upd-customer-email", + Email = "upd-customer-email@iyzico.com", GsmNumber = "+905555555555", BillingAddress = new Address { diff --git a/Iyzipay/Model/V2/Subscription/ProductResource.cs b/Iyzipay/Model/V2/Subscription/ProductResource.cs index 6b86613..6c8585e 100644 --- a/Iyzipay/Model/V2/Subscription/ProductResource.cs +++ b/Iyzipay/Model/V2/Subscription/ProductResource.cs @@ -8,6 +8,6 @@ public class ProductResource public long? CreatedDate { get; set; } public string Name { get; set; } public string Description { get; set; } - public List PricingPlans { get; set; } + public List PricingPlans { get; set; } } } \ No newline at end of file diff --git a/Iyzipay/Request/ProductBuyerInfo.cs b/Iyzipay/Request/ProductBuyerInfo.cs index 204021e..d237093 100644 --- a/Iyzipay/Request/ProductBuyerInfo.cs +++ b/Iyzipay/Request/ProductBuyerInfo.cs @@ -9,7 +9,7 @@ public class ProductBuyerInfo public String BuyerCity { get; set; } public String BuyerCountry { get; set; } public String BuyerGsmNumber { get; set; } - public String BuyerEmail { get; set; } + public String BuyerEmailAddress { get; set; } public String BuyerAddress { get; set; } } } diff --git a/Iyzipay/Request/V2/Subscription/UpdateCustomerRequest.cs b/Iyzipay/Request/V2/Subscription/UpdateCustomerRequest.cs index 666260b..d2277e4 100644 --- a/Iyzipay/Request/V2/Subscription/UpdateCustomerRequest.cs +++ b/Iyzipay/Request/V2/Subscription/UpdateCustomerRequest.cs @@ -7,7 +7,7 @@ public class UpdateCustomerRequest : BaseRequestV2 public string CustomerReferenceCode { get; set; } public string Name { get; set; } public string Surname { get; set; } - public string Enail { get; set; } + public string Email { get; set; } public string GsmNumber { get; set; } public string IdentityNumber { get; set; } public Address BillingAddress { get; set; }