-
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-30106 adds blockageAmount param to sub merchant create/update enp…
…oints, adds retrieve blockage endpoint (#167) * DEV-30106 adds blockageAmount param to sub merchant create/update enpoints, adds retrieve blockage endpoint * DEV-30106 adds blockageAmount param to sub merchant create/update enpoints, adds retrieve blockage endpoint * DEV-30106 adds blockageAmount param to sub merchant create/update enpoints, adds retrieve blockage endpoint --------- Co-authored-by: Yigit TEKELER <yigit.tekeler@iyzico.com>
- Loading branch information
1 parent
1313e6f
commit 161efc6
Showing
9 changed files
with
194 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package com.iyzipay.model; | ||
|
||
import com.iyzipay.IyzipayResource; | ||
|
||
import java.math.BigDecimal; | ||
|
||
public class BlockageInfo extends IyzipayResource { | ||
|
||
private BigDecimal usableBlockage; | ||
private BigDecimal totalBlockage; | ||
private BigDecimal totalBalance; | ||
|
||
public BigDecimal getUsableBlockage() { | ||
return usableBlockage; | ||
} | ||
|
||
public void setUsableBlockage(BigDecimal usableBlockage) { | ||
this.usableBlockage = usableBlockage; | ||
} | ||
|
||
public BigDecimal getTotalBlockage() { | ||
return totalBlockage; | ||
} | ||
|
||
public void setTotalBlockage(BigDecimal totalBlockage) { | ||
this.totalBlockage = totalBlockage; | ||
} | ||
|
||
public BigDecimal getTotalBalance() { | ||
return totalBalance; | ||
} | ||
|
||
public void setTotalBalance(BigDecimal totalBalance) { | ||
this.totalBalance = totalBalance; | ||
} | ||
} |
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
26 changes: 26 additions & 0 deletions
26
src/main/java/com/iyzipay/request/BlockageInfoRequest.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,26 @@ | ||
package com.iyzipay.request; | ||
|
||
|
||
import com.iyzipay.Request; | ||
import com.iyzipay.ToStringRequestBuilder; | ||
|
||
public class BlockageInfoRequest extends Request { | ||
|
||
private String subMerchantKey; | ||
|
||
public String getSubMerchantKey() { | ||
return subMerchantKey; | ||
} | ||
|
||
public void setSubMerchantKey(String subMerchantKey) { | ||
this.subMerchantKey = subMerchantKey; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return new ToStringRequestBuilder(this) | ||
.appendSuper(super.toString()) | ||
.append("subMerchantKey", subMerchantKey) | ||
.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
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