Skip to content

Commit

Permalink
Adds cancelHostReference field to the Cancel model
Browse files Browse the repository at this point in the history
  • Loading branch information
tuncerergin committed Nov 13, 2024
1 parent f550dd1 commit d4b9c71
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/com/iyzipay/model/Cancel.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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;
}
}

0 comments on commit d4b9c71

Please sign in to comment.