Class LockboxClearing
Original entity name from the Odata EDM: LockboxClearing_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LockboxClearing instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LockboxClearingSelectableSelector for all available fields of LockboxClearing.static final LockboxClearingField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the Currency field to query operations.static final LockboxClearingField<BigDecimal>Use with available fluent helpers to apply the DeductionAmountInPaytCurrency field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the LockboxBatch field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the LockboxBatchInternalKey field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the LockboxBatchItem field to query operations.static final LockboxClearingField<BigDecimal>Use with available fluent helpers to apply the NetPaymentAmountInPaytCurrency field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the PaymentAdvice field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the PaymentAdviceAccount field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the PaymentAdviceAccountType field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the PaymentAdviceItem field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the PaymentDifferenceReason field to query operations.static final LockboxClearingField<String>Use with available fluent helpers to apply the PaymentReference field to query operations.static final LockboxClearingOneToOneLink<LockboxBatchItem>Use with available fluent helpers to apply the to_BatchItem navigation property to query operations.static final LockboxClearingOneToOneLink<LockboxBatch>Use with available fluent helpers to apply the to_Root navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionLockboxClearing(String paymentAdvice, String paymentAdviceItem, String paymentAdviceAccount, String paymentAdviceAccountType, String companyCode, String lockboxBatchInternalKey, String lockboxBatchItem, String lockboxBatch, String paymentReference, BigDecimal netPaymentAmountInPaytCurrency, BigDecimal deductionAmountInPaytCurrency, String paymentDifferenceReason, String currency, LockboxBatchItem toBatchItem, LockboxBatch toRoot) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the LockboxBatchItem entity (one to one) associated with this entity.Fetches the LockboxBatch entity (one to one) associated with this entity.static <T,DomainT>
LockboxClearingField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> LockboxClearingField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidio.vavr.control.Option<LockboxBatchItem>Retrieval of associated LockboxBatchItem entity (one to one).Retrieval of associated LockboxBatchItem entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Precision: 13, Scale: 3protected Stringprotected StringgetKey()Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Precision: 13, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 16(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<LockboxBatch>Retrieval of associated LockboxBatch entity (one to one).Retrieval of associated LockboxBatch entity (one to one).getType()inthashCode()voidsetBatchItem(LockboxBatchItem value) Overwrites the associated LockboxBatchItem entity for the loaded navigation property to_BatchItem.voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetDeductionAmountInPaytCurrency(BigDecimal deductionAmountInPaytCurrency) Constraints: Not nullable, Precision: 13, Scale: 3voidsetLockboxBatch(String lockboxBatch) Constraints: Not nullable, Maximum length: 3voidsetLockboxBatchInternalKey(String lockboxBatchInternalKey) Constraints: Not nullable, Maximum length: 8voidsetLockboxBatchItem(String lockboxBatchItem) Constraints: Not nullable, Maximum length: 5voidsetNetPaymentAmountInPaytCurrency(BigDecimal netPaymentAmountInPaytCurrency) Constraints: Not nullable, Precision: 13, Scale: 3voidsetPaymentAdvice(String paymentAdvice) (Key Field) Constraints: Not nullable, Maximum length: 16voidsetPaymentAdviceAccount(String paymentAdviceAccount) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetPaymentAdviceAccountType(String paymentAdviceAccountType) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetPaymentAdviceItem(String paymentAdviceItem) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetPaymentDifferenceReason(String paymentDifferenceReason) Constraints: Not nullable, Maximum length: 3voidsetPaymentReference(String paymentReference) Constraints: Not nullable, Maximum length: 30voidsetRoot(LockboxBatch value) Overwrites the associated LockboxBatch entity for the loaded navigation property to_Root.protected 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 LockboxClearing. -
PAYMENT_ADVICE
Use with available fluent helpers to apply the PaymentAdvice field to query operations. -
PAYMENT_ADVICE_ITEM
Use with available fluent helpers to apply the PaymentAdviceItem field to query operations. -
PAYMENT_ADVICE_ACCOUNT
Use with available fluent helpers to apply the PaymentAdviceAccount field to query operations. -
PAYMENT_ADVICE_ACCOUNT_TYPE
Use with available fluent helpers to apply the PaymentAdviceAccountType field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
LOCKBOX_BATCH_INTERNAL_KEY
Use with available fluent helpers to apply the LockboxBatchInternalKey field to query operations. -
LOCKBOX_BATCH_ITEM
Use with available fluent helpers to apply the LockboxBatchItem field to query operations. -
LOCKBOX_BATCH
Use with available fluent helpers to apply the LockboxBatch field to query operations. -
PAYMENT_REFERENCE
Use with available fluent helpers to apply the PaymentReference field to query operations. -
NET_PAYMENT_AMOUNT_IN_PAYT_CURRENCY
Use with available fluent helpers to apply the NetPaymentAmountInPaytCurrency field to query operations. -
DEDUCTION_AMOUNT_IN_PAYT_CURRENCY
Use with available fluent helpers to apply the DeductionAmountInPaytCurrency field to query operations. -
PAYMENT_DIFFERENCE_REASON
Use with available fluent helpers to apply the PaymentDifferenceReason field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations. -
TO_BATCH_ITEM
Use with available fluent helpers to apply the to_BatchItem navigation property to query operations. -
TO_ROOT
Use with available fluent helpers to apply the to_Root navigation property to query operations.
-
-
Constructor Details
-
LockboxClearing
public LockboxClearing() -
LockboxClearing
public LockboxClearing(@Nullable String paymentAdvice, @Nullable String paymentAdviceItem, @Nullable String paymentAdviceAccount, @Nullable String paymentAdviceAccountType, @Nullable String companyCode, @Nullable String lockboxBatchInternalKey, @Nullable String lockboxBatchItem, @Nullable String lockboxBatch, @Nullable String paymentReference, @Nullable BigDecimal netPaymentAmountInPaytCurrency, @Nullable BigDecimal deductionAmountInPaytCurrency, @Nullable String paymentDifferenceReason, @Nullable String currency, @Nullable LockboxBatchItem toBatchItem, @Nullable LockboxBatch toRoot)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LockboxClearing>
-
setPaymentAdvice
(Key Field) Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: PaymentAdvice
- Parameters:
paymentAdvice- Payment Advice Number
-
setPaymentAdviceItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PaymentAdviceItem
- Parameters:
paymentAdviceItem- Payment Advice Line Item
-
setPaymentAdviceAccount
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PaymentAdviceAccount
- Parameters:
paymentAdviceAccount- Account Number
-
setPaymentAdviceAccountType
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PaymentAdviceAccountType
- Parameters:
paymentAdviceAccountType- Payment Advice Account Type
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setLockboxBatchInternalKey
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: LockboxBatchInternalKey
- Parameters:
lockboxBatchInternalKey- Short Key for Bank Statement (Surrogate Key)
-
setLockboxBatchItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: LockboxBatchItem
- Parameters:
lockboxBatchItem- Memo Record Number (Line Item Number in Bank Statement)
-
setLockboxBatch
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LockboxBatch
- Parameters:
lockboxBatch- Batch number (bundle number)
-
setPaymentReference
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PaymentReference
- Parameters:
paymentReference- Payment Reference
-
setNetPaymentAmountInPaytCurrency
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: NetPaymentAmountInPaytCurrency
- Parameters:
netPaymentAmountInPaytCurrency- Net Payment Amount with +/- Sign
-
setDeductionAmountInPaytCurrency
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: DeductionAmountInPaytCurrency
- Parameters:
deductionAmountInPaytCurrency- Deduction Amount
-
setPaymentDifferenceReason
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PaymentDifferenceReason
- Parameters:
paymentDifferenceReason- Reason Code for Payments
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency Key
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LockboxClearing>
-
getKey
- Overrides:
getKeyin classVdmObject<LockboxClearing>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LockboxClearing>
-
fromMap
- Overrides:
fromMapin classVdmObject<LockboxClearing>
-
field
@Nonnull public static <T> LockboxClearingField<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> LockboxClearingField<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<LockboxClearing>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<LockboxClearing>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<LockboxClearing>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LockboxClearing>
-
fetchBatchItem
Fetches the LockboxBatchItem entity (one to one) associated with this entity. This corresponds to the OData navigation property to_BatchItem.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated LockboxBatchItem entity, or
nullif an entity is not associated. - 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.
-
getBatchItemOrFetch
Retrieval of associated LockboxBatchItem entity (one to one). This corresponds to the OData navigation property to_BatchItem.If the navigation property to_BatchItem of a queried LockboxClearing 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 entity.
- 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.
-
getBatchItemIfPresent
Retrieval of associated LockboxBatchItem entity (one to one). This corresponds to the OData navigation property to_BatchItem.If the navigation property for an entity LockboxClearing 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_BatchItem is already loaded, the result will contain
the LockboxBatchItem entity. If not, an
Optionwith result stateemptyis returned.
-
setBatchItem
Overwrites the associated LockboxBatchItem entity for the loaded navigation property to_BatchItem.- Parameters:
value- New LockboxBatchItem entity.
-
fetchRoot
Fetches the LockboxBatch entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Root.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated LockboxBatch entity, or
nullif an entity is not associated. - 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.
-
getRootOrFetch
Retrieval of associated LockboxBatch entity (one to one). This corresponds to the OData navigation property to_Root.If the navigation property to_Root of a queried LockboxClearing 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 LockboxBatch entity.
- 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.
-
getRootIfPresent
Retrieval of associated LockboxBatch entity (one to one). This corresponds to the OData navigation property to_Root.If the navigation property for an entity LockboxClearing 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_Root is already loaded, the result will contain the
LockboxBatch entity. If not, an
Optionwith result stateemptyis returned.
-
setRoot
Overwrites the associated LockboxBatch entity for the loaded navigation property to_Root.- Parameters:
value- New LockboxBatch entity.
-
builder
-
getPaymentAdvice
(Key Field) Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: PaymentAdvice
- Returns:
- Payment Advice Number
-
getPaymentAdviceItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PaymentAdviceItem
- Returns:
- Payment Advice Line Item
-
getPaymentAdviceAccount
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PaymentAdviceAccount
- Returns:
- Account Number
-
getPaymentAdviceAccountType
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PaymentAdviceAccountType
- Returns:
- Payment Advice Account Type
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getLockboxBatchInternalKey
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: LockboxBatchInternalKey
- Returns:
- Short Key for Bank Statement (Surrogate Key)
-
getLockboxBatchItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: LockboxBatchItem
- Returns:
- Memo Record Number (Line Item Number in Bank Statement)
-
getLockboxBatch
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LockboxBatch
- Returns:
- Batch number (bundle number)
-
getPaymentReference
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PaymentReference
- Returns:
- Payment Reference
-
getNetPaymentAmountInPaytCurrency
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: NetPaymentAmountInPaytCurrency
- Returns:
- Net Payment Amount with +/- Sign
-
getDeductionAmountInPaytCurrency
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: DeductionAmountInPaytCurrency
- Returns:
- Deduction Amount
-
getPaymentDifferenceReason
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PaymentDifferenceReason
- Returns:
- Reason Code for Payments
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- Currency Key
-
toString
- Overrides:
toStringin classVdmObject<LockboxClearing>
-
equals
- Overrides:
equalsin classVdmEntity<LockboxClearing>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LockboxClearing>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LockboxClearing>
-