Class LockboxBatch
Original entity name from the Odata EDM: LockboxBatchType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LockboxBatch instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LockboxBatchSelectableSelector for all available fields of LockboxBatch.static final LockboxBatchField<BigDecimal>Use with available fluent helpers to apply the AmountInTransactionCurrency field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the BatchIsLatest field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the Currency field to query operations.static final LockboxBatchField<ZonedDateTime>Use with available fluent helpers to apply the DepositDateTime field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the IncomingPaymentFile field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the JournalEntryIsNotToBePosted field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the Lockbox field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the LockboxBatch field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the LockboxBatchDestination field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the LockboxBatchInternalKey field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the LockboxBatchOrigin field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the LockboxBatchStatus field to query operations.static final LockboxBatchField<String>Use with available fluent helpers to apply the LockboxBatchStatusName field to query operations.static final LockboxBatchField<Short>Use with available fluent helpers to apply the NumberOfIncompleteCheques field to query operations.static final LockboxBatchField<Short>Use with available fluent helpers to apply the NumberOfItems field to query operations.static final LockboxBatchLink<LockboxBatchItem>Use with available fluent helpers to apply the to_Item navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionLockboxBatch(String lockboxBatchInternalKey, String lockboxBatch, String lockbox, String companyCode, String lockboxBatchDestination, String lockboxBatchOrigin, ZonedDateTime depositDateTime, String incomingPaymentFile, String lockboxBatchStatus, String lockboxBatchStatusName, Short numberOfItems, String currency, BigDecimal amountInTransactionCurrency, Short numberOfIncompleteCheques, String batchIsLatest, String journalEntryIsNotToBePosted, List<LockboxBatchItem> toItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(LockboxBatchItem... entity) Adds elements to the list of associated LockboxBatchItem entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the LockboxBatchItem entities (one to many) associated with this entity.static <T,DomainT>
LockboxBatchField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> LockboxBatchField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 5protected StringConstraints: Not nullable, Precision: 0protected StringConstraints: Not nullable, Maximum length: 14io.vavr.control.Option<List<LockboxBatchItem>>Retrieval of associated LockboxBatchItem entities (one to many).Retrieval of associated LockboxBatchItem entities (one to many).Constraints: Not nullable, Maximum length: 1getKey()Constraints: Not nullable, Maximum length: 7(Key Field) Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 60Constraints: noneConstraints: nonegetType()inthashCode()voidsetAmountInTransactionCurrency(BigDecimal amountInTransactionCurrency) Constraints: Not nullable, Precision: 13, Scale: 3voidsetBatchIsLatest(String batchIsLatest) Constraints: Not nullable, Maximum length: 1voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetDepositDateTime(ZonedDateTime depositDateTime) Constraints: Not nullable, Precision: 0voidsetIncomingPaymentFile(String incomingPaymentFile) Constraints: Not nullable, Maximum length: 14voidsetItem(List<LockboxBatchItem> value) Overwrites the list of associated LockboxBatchItem entities for the loaded navigation property to_Item.voidsetJournalEntryIsNotToBePosted(String journalEntryIsNotToBePosted) Constraints: Not nullable, Maximum length: 1voidsetLockbox(String lockbox) Constraints: Not nullable, Maximum length: 7voidsetLockboxBatch(String lockboxBatch) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetLockboxBatchDestination(String lockboxBatchDestination) Constraints: Not nullable, Maximum length: 10voidsetLockboxBatchInternalKey(String lockboxBatchInternalKey) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetLockboxBatchOrigin(String lockboxBatchOrigin) Constraints: Not nullable, Maximum length: 10voidsetLockboxBatchStatus(String lockboxBatchStatus) Constraints: Not nullable, Maximum length: 1voidsetLockboxBatchStatusName(String lockboxBatchStatusName) Constraints: Not nullable, Maximum length: 60voidsetNumberOfIncompleteCheques(Short numberOfIncompleteCheques) Constraints: nonevoidsetNumberOfItems(Short numberOfItems) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of LockboxBatch. -
LOCKBOX_BATCH_INTERNAL_KEY
Use with available fluent helpers to apply the LockboxBatchInternalKey field to query operations. -
LOCKBOX_BATCH
Use with available fluent helpers to apply the LockboxBatch field to query operations. -
LOCKBOX
Use with available fluent helpers to apply the Lockbox field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
LOCKBOX_BATCH_DESTINATION
Use with available fluent helpers to apply the LockboxBatchDestination field to query operations. -
LOCKBOX_BATCH_ORIGIN
Use with available fluent helpers to apply the LockboxBatchOrigin field to query operations. -
DEPOSIT_DATE_TIME
Use with available fluent helpers to apply the DepositDateTime field to query operations. -
INCOMING_PAYMENT_FILE
Use with available fluent helpers to apply the IncomingPaymentFile field to query operations. -
LOCKBOX_BATCH_STATUS
Use with available fluent helpers to apply the LockboxBatchStatus field to query operations. -
LOCKBOX_BATCH_STATUS_NAME
Use with available fluent helpers to apply the LockboxBatchStatusName field to query operations. -
NUMBER_OF_ITEMS
Use with available fluent helpers to apply the NumberOfItems field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations. -
AMOUNT_IN_TRANSACTION_CURRENCY
Use with available fluent helpers to apply the AmountInTransactionCurrency field to query operations. -
NUMBER_OF_INCOMPLETE_CHEQUES
Use with available fluent helpers to apply the NumberOfIncompleteCheques field to query operations. -
BATCH_IS_LATEST
Use with available fluent helpers to apply the BatchIsLatest field to query operations. -
JOURNAL_ENTRY_IS_NOT_TO_BE_POSTED
Use with available fluent helpers to apply the JournalEntryIsNotToBePosted field to query operations. -
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
-
-
Constructor Details
-
LockboxBatch
public LockboxBatch() -
LockboxBatch
public LockboxBatch(@Nullable String lockboxBatchInternalKey, @Nullable String lockboxBatch, @Nullable String lockbox, @Nullable String companyCode, @Nullable String lockboxBatchDestination, @Nullable String lockboxBatchOrigin, @Nullable ZonedDateTime depositDateTime, @Nullable String incomingPaymentFile, @Nullable String lockboxBatchStatus, @Nullable String lockboxBatchStatusName, @Nullable Short numberOfItems, @Nullable String currency, @Nullable BigDecimal amountInTransactionCurrency, @Nullable Short numberOfIncompleteCheques, @Nullable String batchIsLatest, @Nullable String journalEntryIsNotToBePosted, List<LockboxBatchItem> toItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LockboxBatch>
-
setLockboxBatchInternalKey
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: LockboxBatchInternalKey
- Parameters:
lockboxBatchInternalKey- Short Key for Bank Statement (Surrogate Key)
-
setLockboxBatch
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LockboxBatch
- Parameters:
lockboxBatch- Batch number (bundle number)
-
setLockbox
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: Lockbox
- Parameters:
lockbox- Lockbox Number
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setLockboxBatchDestination
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LockboxBatchDestination
- Parameters:
lockboxBatchDestination- The lockboxBatchDestination to set.
-
setLockboxBatchOrigin
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LockboxBatchOrigin
- Parameters:
lockboxBatchOrigin- The lockboxBatchOrigin to set.
-
setDepositDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: DepositDateTime
- Parameters:
depositDateTime- Deposit Date and Time
-
setIncomingPaymentFile
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: IncomingPaymentFile
- Parameters:
incomingPaymentFile- Incoming Payment File ID
-
setLockboxBatchStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: LockboxBatchStatus
- Parameters:
lockboxBatchStatus- Lockbox Batch Status Code
-
setLockboxBatchStatusName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LockboxBatchStatusName
- Parameters:
lockboxBatchStatusName- Lockbox Batch Status Description
-
setNumberOfItems
Constraints: noneOriginal property name from the Odata EDM: NumberOfItems
- Parameters:
numberOfItems- Number of Checks in Lockbox Batch
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- The currency to set.
-
setAmountInTransactionCurrency
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: AmountInTransactionCurrency
- Parameters:
amountInTransactionCurrency- Payment Amount
-
setNumberOfIncompleteCheques
Constraints: noneOriginal property name from the Odata EDM: NumberOfIncompleteCheques
- Parameters:
numberOfIncompleteCheques- Number of Incomplete Cheques in Lockbox Batch
-
setBatchIsLatest
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BatchIsLatest
- Parameters:
batchIsLatest- Latest Lockbox Batch
-
setJournalEntryIsNotToBePosted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: JournalEntryIsNotToBePosted
- Parameters:
journalEntryIsNotToBePosted- The journalEntryIsNotToBePosted to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LockboxBatch>
-
getKey
- Overrides:
getKeyin classVdmObject<LockboxBatch>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LockboxBatch>
-
fromMap
- Overrides:
fromMapin classVdmObject<LockboxBatch>
-
field
@Nonnull public static <T> LockboxBatchField<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> LockboxBatchField<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<LockboxBatch>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<LockboxBatch>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<LockboxBatch>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LockboxBatch>
-
fetchItem
Fetches the LockboxBatchItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Item.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated LockboxBatchItem entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getItemOrFetch
Retrieval of associated LockboxBatchItem entities (one to many). This corresponds to the OData navigation property to_Item.If the navigation property to_Item of a queried LockboxBatch is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated LockboxBatchItem entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getItemIfPresent
Retrieval of associated LockboxBatchItem entities (one to many). This corresponds to the OData navigation property to_Item.If the navigation property for an entity LockboxBatch has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Item is already loaded, the result will contain the
LockboxBatchItem entities. If not, an
Optionwith result stateemptyis returned.
-
setItem
Overwrites the list of associated LockboxBatchItem entities for the loaded navigation property to_Item.If the navigation property to_Item of a queried LockboxBatch is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of LockboxBatchItem entities.
-
addItem
Adds elements to the list of associated LockboxBatchItem entities. This corresponds to the OData navigation property to_Item.If the navigation property to_Item of a queried LockboxBatch is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of LockboxBatchItem entities.
-
builder
-
getLockboxBatchInternalKey
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: LockboxBatchInternalKey
- Returns:
- Short Key for Bank Statement (Surrogate Key)
-
getLockboxBatch
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LockboxBatch
- Returns:
- Batch number (bundle number)
-
getLockbox
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: Lockbox
- Returns:
- Lockbox Number
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getLockboxBatchDestination
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LockboxBatchDestination
- Returns:
- The lockboxBatchDestination contained in this entity.
-
getLockboxBatchOrigin
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LockboxBatchOrigin
- Returns:
- The lockboxBatchOrigin contained in this entity.
-
getDepositDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: DepositDateTime
- Returns:
- Deposit Date and Time
-
getIncomingPaymentFile
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: IncomingPaymentFile
- Returns:
- Incoming Payment File ID
-
getLockboxBatchStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: LockboxBatchStatus
- Returns:
- Lockbox Batch Status Code
-
getLockboxBatchStatusName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LockboxBatchStatusName
- Returns:
- Lockbox Batch Status Description
-
getNumberOfItems
Constraints: noneOriginal property name from the Odata EDM: NumberOfItems
- Returns:
- Number of Checks in Lockbox Batch
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- The currency contained in this entity.
-
getAmountInTransactionCurrency
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: AmountInTransactionCurrency
- Returns:
- Payment Amount
-
getNumberOfIncompleteCheques
Constraints: noneOriginal property name from the Odata EDM: NumberOfIncompleteCheques
- Returns:
- Number of Incomplete Cheques in Lockbox Batch
-
getBatchIsLatest
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BatchIsLatest
- Returns:
- Latest Lockbox Batch
-
getJournalEntryIsNotToBePosted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: JournalEntryIsNotToBePosted
- Returns:
- The journalEntryIsNotToBePosted contained in this entity.
-
toString
- Overrides:
toStringin classVdmObject<LockboxBatch>
-
equals
- Overrides:
equalsin classVdmEntity<LockboxBatch>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LockboxBatch>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LockboxBatch>
-