Class InteropQuoteRequestData

java.lang.Object
org.apache.fineract.interoperation.data.InteropRequestData
org.apache.fineract.interoperation.data.InteropQuoteRequestData

public class InteropQuoteRequestData extends InteropRequestData
  • Constructor Details

    • InteropQuoteRequestData

      public InteropQuoteRequestData(@NotNull @NotNull String transactionCode, String requestCode, @NotNull @NotNull String accountId, @NotNull @NotNull MoneyData amount, @NotNull @NotNull org.apache.fineract.interoperation.domain.InteropTransactionRole transactionRole, @NotNull @NotNull InteropTransactionTypeData transactionType, String note, GeoCodeData geoCode, LocalDateTime expiration, List<ExtensionData> extensionList, @NotNull @NotNull String quoteCode, @NotNull @NotNull org.apache.fineract.interoperation.domain.InteropAmountType amountType, MoneyData fees)
    • InteropQuoteRequestData

      public InteropQuoteRequestData(@NotNull @NotNull String transactionCode, @NotNull @NotNull String accountId, @NotNull @NotNull org.apache.fineract.interoperation.domain.InteropAmountType amountType, @NotNull @NotNull MoneyData amount, @NotNull @NotNull org.apache.fineract.interoperation.domain.InteropTransactionRole transactionRole, @NotNull @NotNull InteropTransactionTypeData transactionType, @NotNull @NotNull String quoteCode)
  • Method Details

    • getQuoteCode

      public String getQuoteCode()
    • getAmountType

      public org.apache.fineract.interoperation.domain.InteropAmountType getAmountType()
    • getFees

      public MoneyData getFees()
    • normalizeAmounts

      public void normalizeAmounts(@NotNull @NotNull org.apache.fineract.organisation.monetary.domain.MonetaryCurrency currency)
      Overrides:
      normalizeAmounts in class InteropRequestData
    • validateAndParse

      public static InteropQuoteRequestData validateAndParse(org.apache.fineract.infrastructure.core.data.DataValidatorBuilder dataValidator, com.google.gson.JsonObject element, org.apache.fineract.infrastructure.core.serialization.FromJsonHelper jsonHelper)