Class CurrencyService
java.lang.Object
org.cardanofoundation.lob.app.organisation.service.CurrencyService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllByOrganisationId(String organisationId) findByOrganisationIdAndCode(String organisationId, String customerCode) getAllCurrencies(String orgId) getCurrency(String orgId, String customerCode) insertCurrency(String orgId, @Valid CurrencyUpdate currencyUpdate, boolean isUpsert) io.vavr.control.Either<org.zalando.problem.Problem, List<CurrencyView>> insertViaCsv(String orgId, org.springframework.web.multipart.MultipartFile file) updateCurrency(String orgId, @Valid CurrencyUpdate currencyUpdate)
-
Constructor Details
-
CurrencyService
public CurrencyService()
-
-
Method Details
-
getAllCurrencies
-
findByOrganisationIdAndCode
-
findAllByOrganisationId
-
updateCurrency
-
insertCurrency
public CurrencyView insertCurrency(String orgId, @Valid @Valid CurrencyUpdate currencyUpdate, boolean isUpsert) -
getCurrency
-
insertViaCsv
public io.vavr.control.Either<org.zalando.problem.Problem,List<CurrencyView>> insertViaCsv(String orgId, org.springframework.web.multipart.MultipartFile file)
-