java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<JournalEntryItem>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.bankreconciliationstatement.JournalEntryItem

public class JournalEntryItem extends VdmEntity<JournalEntryItem>
Journal Entry Items

Original entity name from the Odata EDM: JournalEntryItemType

  • Field Details

    • ALL_FIELDS

      public static final JournalEntryItemSelectable ALL_FIELDS
      Selector for all available fields of JournalEntryItem.
    • COMPANY_CODE

      public static final JournalEntryItemField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • HOUSE_BANK

      public static final JournalEntryItemField<String> HOUSE_BANK
      Use with available fluent helpers to apply the HouseBank field to query operations.
    • HOUSE_BANK_ACCOUNT

      public static final JournalEntryItemField<String> HOUSE_BANK_ACCOUNT
      Use with available fluent helpers to apply the HouseBankAccount field to query operations.
    • BANK_RECONCILIATION_DATE

      public static final JournalEntryItemField<LocalDateTime> BANK_RECONCILIATION_DATE
      Use with available fluent helpers to apply the BankReconciliationDate field to query operations.
    • FISCAL_YEAR

      public static final JournalEntryItemField<String> FISCAL_YEAR
      Use with available fluent helpers to apply the FiscalYear field to query operations.
    • ACCOUNTING_DOCUMENT

      public static final JournalEntryItemField<String> ACCOUNTING_DOCUMENT
      Use with available fluent helpers to apply the AccountingDocument field to query operations.
    • ACCOUNTING_DOCUMENT_ITEM

      public static final JournalEntryItemField<String> ACCOUNTING_DOCUMENT_ITEM
      Use with available fluent helpers to apply the AccountingDocumentItem field to query operations.
    • BANK_RECONCILIATION_MATCH_TYPE

      public static final JournalEntryItemField<String> BANK_RECONCILIATION_MATCH_TYPE
      Use with available fluent helpers to apply the BankReconciliationMatchType field to query operations.
    • NOTE

      public static final JournalEntryItemField<String> NOTE
      Use with available fluent helpers to apply the Note field to query operations.
    • HOUSE_BANK_CURRENCY

      public static final JournalEntryItemField<String> HOUSE_BANK_CURRENCY
      Use with available fluent helpers to apply the HouseBankCurrency field to query operations.
    • DEBIT_AMOUNT_IN_TRANS_CRCY

      public static final JournalEntryItemField<BigDecimal> DEBIT_AMOUNT_IN_TRANS_CRCY
      Use with available fluent helpers to apply the DebitAmountInTransCrcy field to query operations.
    • CREDIT_AMOUNT_IN_TRANS_CRCY

      public static final JournalEntryItemField<BigDecimal> CREDIT_AMOUNT_IN_TRANS_CRCY
      Use with available fluent helpers to apply the CreditAmountInTransCrcy field to query operations.
    • TRANSACTION_CURRENCY

      public static final JournalEntryItemField<String> TRANSACTION_CURRENCY
      Use with available fluent helpers to apply the TransactionCurrency field to query operations.
    • AMOUNT_IN_TRANSACTION_CURRENCY

      public static final JournalEntryItemField<BigDecimal> AMOUNT_IN_TRANSACTION_CURRENCY
      Use with available fluent helpers to apply the AmountInTransactionCurrency field to query operations.
    • COMPANY_CODE_CURRENCY

      public static final JournalEntryItemField<String> COMPANY_CODE_CURRENCY
      Use with available fluent helpers to apply the CompanyCodeCurrency field to query operations.
    • AMOUNT_IN_COMPANY_CODE_CURRENCY

      public static final JournalEntryItemField<BigDecimal> AMOUNT_IN_COMPANY_CODE_CURRENCY
      Use with available fluent helpers to apply the AmountInCompanyCodeCurrency field to query operations.
    • POSTING_DATE

      public static final JournalEntryItemField<LocalDateTime> POSTING_DATE
      Use with available fluent helpers to apply the PostingDate field to query operations.
    • DOCUMENT_ITEM_TEXT

      public static final JournalEntryItemField<String> DOCUMENT_ITEM_TEXT
      Use with available fluent helpers to apply the DocumentItemText field to query operations.
    • VALUE_DATE

      public static final JournalEntryItemField<LocalDateTime> VALUE_DATE
      Use with available fluent helpers to apply the ValueDate field to query operations.
    • ASSIGNMENT_REFERENCE

      public static final JournalEntryItemField<String> ASSIGNMENT_REFERENCE
      Use with available fluent helpers to apply the AssignmentReference field to query operations.
  • Constructor Details

    • JournalEntryItem

      public JournalEntryItem()
    • JournalEntryItem

      public JournalEntryItem(@Nullable String companyCode, @Nullable String houseBank, @Nullable String houseBankAccount, @Nullable LocalDateTime bankReconciliationDate, @Nullable String fiscalYear, @Nullable String accountingDocument, @Nullable String accountingDocumentItem, @Nullable String bankReconciliationMatchType, @Nullable String note, @Nullable String houseBankCurrency, @Nullable BigDecimal debitAmountInTransCrcy, @Nullable BigDecimal creditAmountInTransCrcy, @Nullable String transactionCurrency, @Nullable BigDecimal amountInTransactionCurrency, @Nullable String companyCodeCurrency, @Nullable BigDecimal amountInCompanyCodeCurrency, @Nullable LocalDateTime postingDate, @Nullable String documentItemText, @Nullable LocalDateTime valueDate, @Nullable String assignmentReference)
  • Method Details

    • getType

      @Nonnull public Class<JournalEntryItem> getType()
      Specified by:
      getType in class VdmObject<JournalEntryItem>
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setHouseBank

      public void setHouseBank(@Nullable String houseBank)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBank

      Parameters:
      houseBank - House Bank
    • setHouseBankAccount

      public void setHouseBankAccount(@Nullable String houseBankAccount)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBankAccount

      Parameters:
      houseBankAccount - Account ID
    • setBankReconciliationDate

      public void setBankReconciliationDate(@Nullable LocalDateTime bankReconciliationDate)
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BankReconciliationDate

      Parameters:
      bankReconciliationDate - Reconciliation Date
    • setFiscalYear

      public void setFiscalYear(@Nullable String fiscalYear)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYear

      Parameters:
      fiscalYear - Fiscal Year
    • setAccountingDocument

      public void setAccountingDocument(@Nullable String accountingDocument)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AccountingDocument

      Parameters:
      accountingDocument - Document Number
    • setAccountingDocumentItem

      public void setAccountingDocumentItem(@Nullable String accountingDocumentItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: AccountingDocumentItem

      Parameters:
      accountingDocumentItem - Item
    • setBankReconciliationMatchType

      public void setBankReconciliationMatchType(@Nullable String bankReconciliationMatchType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BankReconciliationMatchType

      Parameters:
      bankReconciliationMatchType - Matched indicator
    • setNote

      public void setNote(@Nullable String note)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: Note

      Parameters:
      note - Remark
    • setHouseBankCurrency

      public void setHouseBankCurrency(@Nullable String houseBankCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBankCurrency

      Parameters:
      houseBankCurrency - Currency
    • setDebitAmountInTransCrcy

      public void setDebitAmountInTransCrcy(@Nullable BigDecimal debitAmountInTransCrcy)
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: DebitAmountInTransCrcy

      Parameters:
      debitAmountInTransCrcy - The debitAmountInTransCrcy to set.
    • setCreditAmountInTransCrcy

      public void setCreditAmountInTransCrcy(@Nullable BigDecimal creditAmountInTransCrcy)
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: CreditAmountInTransCrcy

      Parameters:
      creditAmountInTransCrcy - The creditAmountInTransCrcy to set.
    • setTransactionCurrency

      public void setTransactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - Transaction Currency
    • setAmountInTransactionCurrency

      public void setAmountInTransactionCurrency(@Nullable BigDecimal amountInTransactionCurrency)
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: AmountInTransactionCurrency

      Parameters:
      amountInTransactionCurrency - Amount in Transaction Currency
    • setCompanyCodeCurrency

      public void setCompanyCodeCurrency(@Nullable String companyCodeCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CompanyCodeCurrency

      Parameters:
      companyCodeCurrency - Company Code Currency
    • setAmountInCompanyCodeCurrency

      public void setAmountInCompanyCodeCurrency(@Nullable BigDecimal amountInCompanyCodeCurrency)
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: AmountInCompanyCodeCurrency

      Parameters:
      amountInCompanyCodeCurrency - Amount in Company Code Currency
    • setPostingDate

      public void setPostingDate(@Nullable LocalDateTime postingDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PostingDate

      Parameters:
      postingDate - Posting Date
    • setDocumentItemText

      public void setDocumentItemText(@Nullable String documentItemText)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: DocumentItemText

      Parameters:
      documentItemText - Item Text
    • setValueDate

      public void setValueDate(@Nullable LocalDateTime valueDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValueDate

      Parameters:
      valueDate - Value Date
    • setAssignmentReference

      public void setAssignmentReference(@Nullable String assignmentReference)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: AssignmentReference

      Parameters:
      assignmentReference - Assignment Reference
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<JournalEntryItem>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<JournalEntryItem>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<JournalEntryItem>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<JournalEntryItem>
    • field

      @Nonnull public static <T> JournalEntryItemField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> JournalEntryItemField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<JournalEntryItem>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<JournalEntryItem>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<JournalEntryItem>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<JournalEntryItem>
    • builder

      @Nonnull public static JournalEntryItem.JournalEntryItemBuilder builder()
    • getCompanyCode

      @Nullable public String getCompanyCode()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getHouseBank

      @Nullable public String getHouseBank()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBank

      Returns:
      House Bank
    • getHouseBankAccount

      @Nullable public String getHouseBankAccount()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBankAccount

      Returns:
      Account ID
    • getBankReconciliationDate

      @Nullable public LocalDateTime getBankReconciliationDate()
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BankReconciliationDate

      Returns:
      Reconciliation Date
    • getFiscalYear

      @Nullable public String getFiscalYear()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYear

      Returns:
      Fiscal Year
    • getAccountingDocument

      @Nullable public String getAccountingDocument()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AccountingDocument

      Returns:
      Document Number
    • getAccountingDocumentItem

      @Nullable public String getAccountingDocumentItem()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: AccountingDocumentItem

      Returns:
      Item
    • getBankReconciliationMatchType

      @Nullable public String getBankReconciliationMatchType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BankReconciliationMatchType

      Returns:
      Matched indicator
    • getNote

      @Nullable public String getNote()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: Note

      Returns:
      Remark
    • getHouseBankCurrency

      @Nullable public String getHouseBankCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBankCurrency

      Returns:
      Currency
    • getDebitAmountInTransCrcy

      @Nullable public BigDecimal getDebitAmountInTransCrcy()
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: DebitAmountInTransCrcy

      Returns:
      The debitAmountInTransCrcy contained in this entity.
    • getCreditAmountInTransCrcy

      @Nullable public BigDecimal getCreditAmountInTransCrcy()
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: CreditAmountInTransCrcy

      Returns:
      The creditAmountInTransCrcy contained in this entity.
    • getTransactionCurrency

      @Nullable public String getTransactionCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      Transaction Currency
    • getAmountInTransactionCurrency

      @Nullable public BigDecimal getAmountInTransactionCurrency()
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: AmountInTransactionCurrency

      Returns:
      Amount in Transaction Currency
    • getCompanyCodeCurrency

      @Nullable public String getCompanyCodeCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CompanyCodeCurrency

      Returns:
      Company Code Currency
    • getAmountInCompanyCodeCurrency

      @Nullable public BigDecimal getAmountInCompanyCodeCurrency()
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: AmountInCompanyCodeCurrency

      Returns:
      Amount in Company Code Currency
    • getPostingDate

      @Nullable public LocalDateTime getPostingDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PostingDate

      Returns:
      Posting Date
    • getDocumentItemText

      @Nullable public String getDocumentItemText()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: DocumentItemText

      Returns:
      Item Text
    • getValueDate

      @Nullable public LocalDateTime getValueDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValueDate

      Returns:
      Value Date
    • getAssignmentReference

      @Nullable public String getAssignmentReference()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: AssignmentReference

      Returns:
      Assignment Reference
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<JournalEntryItem>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<JournalEntryItem>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<JournalEntryItem>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<JournalEntryItem>