Class AdyenAmount

java.lang.Object
com.broadleafcommerce.adyen.domain.AdyenAmount
All Implemented Interfaces:
Serializable

public class AdyenAmount extends Object implements Serializable
The amount information for the transaction (in minor units).
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • AdyenAmount

      public AdyenAmount()
    • AdyenAmount

      public AdyenAmount(Long value, String currency)
  • Method Details

    • getValue

      public Long getValue()
      The amount of the transaction, in minor units (e.g. $10.00 USD would have a 1000 value).
    • getCurrency

      public String getCurrency()
      The three-character ISO currency code.
    • setValue

      public void setValue(Long value)
      The amount of the transaction, in minor units (e.g. $10.00 USD would have a 1000 value).
    • setCurrency

      public void setCurrency(String currency)
      The three-character ISO currency code.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object