-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV-30004 adds refund v2 and threeds auth v2 response signature
- Loading branch information
Abdurrahman Basgoynuk
committed
Dec 13, 2024
1 parent
8f8bb70
commit a89e4bb
Showing
5 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
src/main/java/com/iyzipay/request/CreateRefundV2Request.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package com.iyzipay.request; | ||
|
||
import com.iyzipay.Request; | ||
import com.iyzipay.ToStringRequestBuilder; | ||
|
||
import java.math.BigDecimal; | ||
|
||
public class CreateRefundV2Request extends Request { | ||
|
||
private String paymentId; | ||
private BigDecimal price; | ||
private String ip; | ||
|
||
|
||
public String getPaymentId() { | ||
return paymentId; | ||
} | ||
|
||
public void setPaymentId(String paymentId) { | ||
this.paymentId = paymentId; | ||
} | ||
|
||
public BigDecimal getPrice() { | ||
return price; | ||
} | ||
|
||
public void setPrice(BigDecimal price) { | ||
this.price = price; | ||
} | ||
|
||
public String getIp() { | ||
return ip; | ||
} | ||
|
||
public void setIp(String ip) { | ||
this.ip = ip; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return new ToStringRequestBuilder(this) | ||
.appendSuper(super.toString()) | ||
.append("paymentId", paymentId) | ||
.append("price", price) | ||
.append("ip", ip) | ||
.toString(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters