com.getsensibill.transactionmatcher / TransactionBuilder
TransactionBuilder
open class TransactionBuilder
Builder class used to construct ``ExternalAccountTransaction
s, enforcing that all mandatory fields have been provided.
See Also ExternalAccountTransaction
Constructors
Name | Summary |
---|---|
<init> | TransactionBuilder() Builder class used to construct `` ExternalAccountTransaction s, enforcing that all mandatory fields have been provided. |
Functions
Name | Summary |
---|---|
build | open fun build(): ExternalAccountTransaction ! Build and return the `` ExternalAccountTransaction , ensuring that the provided data is valid before continuing |
id | open fun id(id: String ): TransactionBuilder ! Sets the minimum required fields to match receipts using the external transaction id. |
maskedAccountNumber | open fun maskedAccountNumber(maskedAccountNumber: String !): TransactionBuilder ! Sets the optional maskedAccountNumber field. |
merchantName | open fun merchantName(merchantName: String !): TransactionBuilder ! Sets the optional merchantName field. |
metaDataWithDate | open fun metaDataWithDate(date: String , amount: Double , currencyCode: String ): TransactionBuilder ! Sets the minimum required fields to match receipts using metadata with a transaction date. |
metaDataWithPostDate | open fun metaDataWithPostDate(postDate: String , amount: Double , currencyCode: String ): TransactionBuilder ! Sets the minimum and required fields to match receipts with metadata with a transaction posted date. |
postedDate | open fun postedDate(postedDate: String !): TransactionBuilder ! Sets the optional postedDate field. |
summary | open fun summary(summary: String !): TransactionBuilder ! Sets the optional summary field. |