Skip to content

Commit

Permalink
Add withholdingTax property and accessors to BasketItem, PaymentItem,… (
Browse files Browse the repository at this point in the history
#155)

* Add withholdingTax property and accessors to BasketItem, PaymentItem, and SubMerchantPaymentItemUpdateRequest

* ToPKIRequestString withholdingTax field remove
  • Loading branch information
tarikkamat authored Dec 26, 2024
1 parent df6377b commit c6d635a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Iyzipay/Model/BasketItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public class BasketItem : RequestStringConvertible
public String SubMerchantKey { get; set; }
public String SubMerchantPrice { get; set; }
public bool ChargedFromMerchant { get; set; }
public String WithholdingTax { get; set; }

public String ToPKIRequestString()
{
Expand Down
1 change: 1 addition & 0 deletions Iyzipay/Model/PaymentItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class PaymentItem : IyzipayResourceV2
public string SubMerchantPayoutAmount { get; set; }
public string MerchantPayoutAmount { get; set; }
public ConvertedPayout ConvertedPayout { get; set; }
public string WithholdingTax { get; set; }

public static Task<PaymentItem> Update(UpdatePaymentItemRequest request, Options options)
{
Expand Down
1 change: 1 addition & 0 deletions Iyzipay/Request/UpdatePaymentItemRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public class UpdatePaymentItemRequest : BaseRequestV2
public string SubMerchantKey { get; set; }
public string PaymentTransactionId { get; set; }
public string SubMerchantPrice { get; set; }
public string WithholdingTax { get; set; }


public override string ToPKIRequestString()
Expand Down

0 comments on commit c6d635a

Please sign in to comment.