Class AmountData

java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.AmountData

public class AmountData extends Object
  • Constructor Details

    • AmountData

      public AmountData()
  • Method Details

    • getAmount

      public Long getAmount()
      Amount of transaction formatted according to card scheme specifications. E.g. 100 for 1.00 EUR.
    • setAmount

      public void setAmount(Long value)
      Amount of transaction formatted according to card scheme specifications. E.g. 100 for 1.00 EUR.
    • withAmount

      public AmountData withAmount(Long value)
      Amount of transaction formatted according to card scheme specifications. E.g. 100 for 1.00 EUR.
    • getCurrencyCode

      public String getCurrencyCode()
      Alpha-numeric ISO 4217 currency code for transaction, e.g. EUR
    • setCurrencyCode

      public void setCurrencyCode(String value)
      Alpha-numeric ISO 4217 currency code for transaction, e.g. EUR
    • withCurrencyCode

      public AmountData withCurrencyCode(String value)
      Alpha-numeric ISO 4217 currency code for transaction, e.g. EUR
    • getNumberOfDecimals

      public Integer getNumberOfDecimals()
      Number of decimals in the amount
    • setNumberOfDecimals

      public void setNumberOfDecimals(Integer value)
      Number of decimals in the amount
    • withNumberOfDecimals

      public AmountData withNumberOfDecimals(Integer value)
      Number of decimals in the amount