-
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-22397 adds threeds auth v2 integration and sample
- Loading branch information
1 parent
428c6a1
commit 6213610
Showing
3 changed files
with
80 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
46 changes: 46 additions & 0 deletions
46
src/main/java/com/iyzipay/request/CreateThreedsPaymentRequestV2.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,46 @@ | ||
package com.iyzipay.request; | ||
|
||
import com.iyzipay.ToStringRequestBuilder; | ||
|
||
import java.math.BigDecimal; | ||
|
||
public class CreateThreedsPaymentRequestV2 extends CreateThreedsPaymentRequest { | ||
|
||
private String basketId; | ||
private BigDecimal paidPrice; | ||
private String currency; | ||
|
||
public String getBasketId() { | ||
return basketId; | ||
} | ||
|
||
public void setBasketId(String basketId) { | ||
this.basketId = basketId; | ||
} | ||
|
||
public BigDecimal getPaidPrice() { | ||
return paidPrice; | ||
} | ||
|
||
public void setPaidPrice(BigDecimal paidPrice) { | ||
this.paidPrice = paidPrice; | ||
} | ||
|
||
public String getCurrency() { | ||
return currency; | ||
} | ||
|
||
public void setCurrency(String currency) { | ||
this.currency = currency; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return new ToStringRequestBuilder(this) | ||
.appendSuper(super.toString()) | ||
.append("basketId", basketId) | ||
.append("paidPrice", paidPrice) | ||
.append("currency", currency) | ||
.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