From d4b9c71d3c5152ff2186d9373be03a307f3b7f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuncer=20ERG=C4=B0N?= Date: Wed, 13 Nov 2024 14:59:14 +0300 Subject: [PATCH] Adds `cancelHostReference` field to the Cancel model --- src/main/java/com/iyzipay/model/Cancel.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/com/iyzipay/model/Cancel.java b/src/main/java/com/iyzipay/model/Cancel.java index 238a9a7..a2b1953 100644 --- a/src/main/java/com/iyzipay/model/Cancel.java +++ b/src/main/java/com/iyzipay/model/Cancel.java @@ -15,6 +15,7 @@ public class Cancel extends IyzipayResource { private String connectorName; private String authCode; private String hostReference; + private String cancelHostReference; public static Cancel create(CreateCancelRequest request, Options options) { String path = "/payment/cancel"; @@ -72,4 +73,12 @@ public String getHostReference() { public void setHostReference(String hostReference) { this.hostReference = hostReference; } + + public String getCancelHostReference() { + return cancelHostReference; + } + + public void setCancelHostReference(String cancelHostReference) { + this.cancelHostReference = cancelHostReference; + } }