Class AmountResult

java.lang.Object
dev.vality.anapi.v2.model.AmountResult

@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
           date="2023-07-07T08:12:11.951968249Z[Etc/UTC]")
public class AmountResult
extends Object
AmountResult
  • Constructor Details

    • AmountResult

      public AmountResult()
  • Method Details

    • amount

      public AmountResult amount​(Long amount)
    • getAmount

      @NotNull public @NotNull Long getAmount()
      Стоимость предлагаемых товаров или услуг, в минорных денежных единицах, например в копейках в случае указания российских рублей в качестве валюты.
      Returns:
      amount
    • setAmount

      public void setAmount​(Long amount)
    • currency

      public AmountResult currency​(String currency)
    • getCurrency

      @NotNull @Pattern(regexp="^[A-Z]{3}$") public @NotNull @Pattern(regexp="^[A-Z]{3}$") String getCurrency()
      Валюта, символьный код согласно [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).
      Returns:
      currency
    • setCurrency

      public void setCurrency​(String currency)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object