Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
deryacakmak committed Nov 15, 2024
1 parent dffde79 commit 5be3f84
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Craftgate/Request/CreatePaymentRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class CreatePaymentRequest
public string BankOrderId { get; set; }
public string ClientIp { get; set; }
public Card Card { get; set; }
public FraudParams FraudParams { get; set; }
public FraudCheckParameters FraudParams { get; set; }
public IList<PaymentItem> Items { get; set; }
public Dictionary<string, object> AdditionalParams { get; set; }
public bool Retry { get; set; } = true;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Craftgate.Request.Dto
{
public class FraudParams
public class FraudCheckParameters
{
public string BuyerExternalId { get; set; }
public string BuyerPhoneNumber { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion Craftgate/Request/InitCheckoutPaymentRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class InitCheckoutPaymentRequest
public long? Ttl { get; set; }
public IList<CustomInstallment> CustomInstallments { get; set; }
public IList<PaymentItem> Items { get; set; }
public FraudParams FraudParams { get; set; }
public FraudCheckParameters FraudParams { get; set; }
public Dictionary<string, object> AdditionalParams { get; set; }
}
}
2 changes: 1 addition & 1 deletion Craftgate/Request/InitPosApmPaymentRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class InitPosApmPaymentRequest
public Dictionary<string, object> AdditionalParams { get; set; }
public List<PosApmInstallment> Installments { get; set; }
public PosApmPaymentProvider? PaymentProvider { get; set; }
public FraudParams FraudParams { get; set; }
public FraudCheckParameters FraudParams { get; set; }
public string CheckoutFormToken { get; set; }
}
}
2 changes: 1 addition & 1 deletion Samples/PaymentSample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void Create_Payment()
Price = new decimal(20.0)
}
},
FraudParams = new FraudParams()
FraudParams = new FraudCheckParameters()
{
BuyerEmail = "[email protected]",
BuyerPhoneNumber = "5555555555",
Expand Down

0 comments on commit 5be3f84

Please sign in to comment.