Skip to content

Commit

Permalink
Add com.untill.driver.interfaces.eft.EftGiftCardValidateRequest#amount
Browse files Browse the repository at this point in the history
  • Loading branch information
sda authored and DaniilSolovyov committed Oct 18, 2024
1 parent b0cbc2e commit 36b2d51
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.untill.driver.interfaces.eft;

import java.math.BigDecimal;

/**
* Gift Card Validate Request - called before issue or reload operations.
* Driver responds with {@link EftResult} or throws {@link java.lang.RuntimeException} when gift card with provided
Expand All @@ -15,7 +17,7 @@ public class EftGiftCardValidateRequest extends EftRequest {
/**
* Specifies the amount the card is issued or reloaded with
*/
private Boolean amount;
private BigDecimal amount;

public String getCardId() {
return cardId;
Expand All @@ -33,11 +35,11 @@ public void setReason(String reason) {
this.reason = reason;
}

public Boolean getAmount() {
public BigDecimal getAmount() {
return amount;
}

public void setAmount(Boolean amount) {
public void setAmount(BigDecimal amount) {
this.amount = amount;
}

Expand Down

0 comments on commit 36b2d51

Please sign in to comment.