Class CashRange


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

    • CashRange

      public CashRange()
  • Method Details

    • upperBound

      public CashRange upperBound​(Long upperBound)
    • getUpperBound

      @NotNull @Min(1L) public @NotNull @Min(1L) Long getUpperBound()
      Верхняя (включительная) граница стоимости товаров или услуг. minimum: 1
      Returns:
      upperBound
    • setUpperBound

      public void setUpperBound​(Long upperBound)
    • lowerBound

      public CashRange lowerBound​(Long lowerBound)
    • getLowerBound

      @NotNull @Min(1L) public @NotNull @Min(1L) Long getLowerBound()
      Нижняя (включительная) граница стоимости товаров или услуг. minimum: 1
      Returns:
      lowerBound
    • setLowerBound

      public void setLowerBound​(Long lowerBound)
    • currency

      public CashRange 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 InvoiceTemplateProductPrice
    • hashCode

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

      public String toString()
      Overrides:
      toString in class InvoiceTemplateProductPrice