From b0cbc2e765590d64571509d4c6bc2c53eb2c6248 Mon Sep 17 00:00:00 2001 From: Daniil Solovyov Date: Fri, 18 Oct 2024 13:58:28 +0200 Subject: [PATCH] Add com.untill.driver.interfaces.eft.EftGiftCardValidateRequest#amount (#116) https://dev.untill.com/projects/#!713231 Co-authored-by: sda --- .../interfaces/eft/EftGiftCardValidateRequest.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/com/untill/driver/interfaces/eft/EftGiftCardValidateRequest.java b/src/main/java/com/untill/driver/interfaces/eft/EftGiftCardValidateRequest.java index d785c6f..fe73005 100644 --- a/src/main/java/com/untill/driver/interfaces/eft/EftGiftCardValidateRequest.java +++ b/src/main/java/com/untill/driver/interfaces/eft/EftGiftCardValidateRequest.java @@ -12,6 +12,10 @@ public class EftGiftCardValidateRequest extends EftRequest { public static final String REASON_RELOAD = "reload"; private String cardId; private String reason; + /** + * Specifies the amount the card is issued or reloaded with + */ + private Boolean amount; public String getCardId() { return cardId; @@ -29,11 +33,20 @@ public void setReason(String reason) { this.reason = reason; } + public Boolean getAmount() { + return amount; + } + + public void setAmount(Boolean amount) { + this.amount = amount; + } + @Override public String toString() { return "EftGiftCardValidateRequest{" + "cardId='" + cardId + '\'' + ", reason='" + reason + '\'' + + ", amount=" + amount + "} " + super.toString(); } }