public class PaymentAdvice extends VdmEntity<PaymentAdvice>
Original entity name from the Odata EDM: A_PaymentAdviceType
Modifier and Type | Class and Description |
---|---|
static class |
PaymentAdvice.PaymentAdviceBuilder
Helper class to allow for fluent creation of PaymentAdvice instances.
|
Modifier and Type | Field and Description |
---|---|
static PaymentAdviceField<String> |
ACCOUNT_BY_SHIPPER
Use with available fluent helpers to apply the AccountByShipper field to query operations.
|
static PaymentAdviceSelectable |
ALL_FIELDS
Selector for all available fields of PaymentAdvice.
|
static PaymentAdviceField<String> |
BANK_REFERENCE
Use with available fluent helpers to apply the BankReference field to query operations.
|
static PaymentAdviceField<LocalDateTime> |
BILL_OF_EXCHANGE_FAILURE_DATE
Use with available fluent helpers to apply the BillOfExchangeFailureDate field to query operations.
|
static PaymentAdviceField<String> |
BUSINESS_PARTNER_NAME
Use with available fluent helpers to apply the BusinessPartnerName field to query operations.
|
static PaymentAdviceField<BigDecimal> |
CASH_DISCOUNT_AMOUNT_IN_PAYT_CRCY
Use with available fluent helpers to apply the CashDiscountAmountInPaytCrcy field to query operations.
|
static PaymentAdviceField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static PaymentAdviceField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static PaymentAdviceField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static PaymentAdviceField<LocalTime> |
CREATION_TIME
Use with available fluent helpers to apply the CreationTime field to query operations.
|
static PaymentAdviceField<String> |
EXCHANGE_RATE
Use with available fluent helpers to apply the ExchangeRate field to query operations.
|
static PaymentAdviceField<BigDecimal> |
FEE_AMOUNT_IN_TRANSACTION_CRCY
Use with available fluent helpers to apply the FeeAmountInTransactionCrcy field to query operations.
|
static PaymentAdviceField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static PaymentAdviceField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static PaymentAdviceField<String> |
ORIGINAL_REFERENCE_DOCUMENT
Use with available fluent helpers to apply the OriginalReferenceDocument field to query operations.
|
static PaymentAdviceField<BigDecimal> |
PAID_AMOUNT_IN_PAYT_CURRENCY
Use with available fluent helpers to apply the PaidAmountInPaytCurrency field to query operations.
|
static PaymentAdviceField<String> |
PARTNER_BANK_COUNTRY
Use with available fluent helpers to apply the PartnerBankCountry field to query operations.
|
static PaymentAdviceField<String> |
PARTNER_BANK_SWIFT_CODE
Use with available fluent helpers to apply the PartnerBankSWIFTCode field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_ADVICE
Use with available fluent helpers to apply the PaymentAdvice field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_ADVICE_ACCOUNT
Use with available fluent helpers to apply the PaymentAdviceAccount field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_ADVICE_ACCOUNT_TYPE
Use with available fluent helpers to apply the PaymentAdviceAccountType field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_ADVICE_HEADER_TEXT
Use with available fluent helpers to apply the PaymentAdviceHeaderText field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_ADVICE_SELECTION_RULE
Use with available fluent helpers to apply the PaymentAdviceSelectionRule field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_ADVICE_STATUS
Use with available fluent helpers to apply the PaymentAdviceStatus field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_ADVICE_TYPE
Use with available fluent helpers to apply the PaymentAdviceType field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_CURRENCY
Use with available fluent helpers to apply the PaymentCurrency field to query operations.
|
static PaymentAdviceField<LocalDateTime> |
PAYMENT_DATE
Use with available fluent helpers to apply the PaymentDate field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_DOCUMENT
Use with available fluent helpers to apply the PaymentDocument field to query operations.
|
static PaymentAdviceField<String> |
PAYMENT_TRANSACTION
Use with available fluent helpers to apply the PaymentTransaction field to query operations.
|
static PaymentAdviceField<String> |
PAYT_ADVC_DIFF_DETERMINATION_RULE
Use with available fluent helpers to apply the PaytAdvcDiffDeterminationRule field to query operations.
|
static PaymentAdviceField<String> |
REFERENCE_DOCUMENT_TYPE
Use with available fluent helpers to apply the ReferenceDocumentType field to query operations.
|
static PaymentAdviceLink<PaymentAdviceItem> |
TO_PAYMENT_ADVICE_ITEM
Use with available fluent helpers to apply the to_PaymentAdviceItem navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
PaymentAdvice() |
PaymentAdvice(String companyCode,
String paymentAdviceAccountType,
String paymentAdviceAccount,
String paymentAdvice,
String paymentDocument,
String accountByShipper,
String paymentCurrency,
LocalDateTime paymentDate,
BigDecimal paidAmountInPaytCurrency,
BigDecimal cashDiscountAmountInPaytCrcy,
String partnerBankCountry,
String partnerBankSWIFTCode,
String createdByUser,
LocalDateTime creationDate,
LocalTime creationTime,
LocalDateTime lastChangeDate,
String lastChangedByUser,
String paymentAdviceHeaderText,
String paymentAdviceType,
String paymentAdviceStatus,
String paytAdvcDiffDeterminationRule,
String paymentAdviceSelectionRule,
String originalReferenceDocument,
String referenceDocumentType,
BigDecimal feeAmountInTransactionCrcy,
String paymentTransaction,
String exchangeRate,
LocalDateTime billOfExchangeFailureDate,
String bankReference,
String businessPartnerName,
List<PaymentAdviceItem> toPaymentAdviceItem) |
Modifier and Type | Method and Description |
---|---|
void |
addPaymentAdviceItem(PaymentAdviceItem... entity)
Adds elements to the list of associated PaymentAdviceItem entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static PaymentAdvice.PaymentAdviceBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<PaymentAdviceItem> |
fetchPaymentAdviceItem()
Fetches the PaymentAdviceItem entities (one to many) associated with this entity.
|
static <T> PaymentAdviceField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAccountByShipper()
Constraints: Not nullable, Maximum length: 12
|
String |
getBankReference()
Constraints: Not nullable, Maximum length: 35
|
LocalDateTime |
getBillOfExchangeFailureDate()
Constraints: Not nullable, Precision: 0
|
String |
getBusinessPartnerName()
Constraints: Not nullable, Maximum length: 55
|
BigDecimal |
getCashDiscountAmountInPaytCrcy()
Constraints: Not nullable, Precision: 24, Scale: 3
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
LocalTime |
getCreationTime()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getExchangeRate()
Constraints: Not nullable, Maximum length: 12
|
BigDecimal |
getFeeAmountInTransactionCrcy()
Constraints: Not nullable, Precision: 24, Scale: 3
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getOriginalReferenceDocument()
Constraints: Not nullable, Maximum length: 20
|
BigDecimal |
getPaidAmountInPaytCurrency()
Constraints: Not nullable, Precision: 24, Scale: 3
|
String |
getPartnerBankCountry()
Constraints: Not nullable, Maximum length: 3
|
String |
getPartnerBankSWIFTCode()
Constraints: Not nullable, Maximum length: 11
|
String |
getPaymentAdvice()
(Key Field) Constraints: Not nullable, Maximum length: 16
|
String |
getPaymentAdviceAccount()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getPaymentAdviceAccountType()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
String |
getPaymentAdviceHeaderText()
Constraints: Not nullable, Maximum length: 25
|
io.vavr.control.Option<List<PaymentAdviceItem>> |
getPaymentAdviceItemIfPresent()
Retrieval of associated PaymentAdviceItem entities (one to many).
|
List<PaymentAdviceItem> |
getPaymentAdviceItemOrFetch()
Retrieval of associated PaymentAdviceItem entities (one to many).
|
String |
getPaymentAdviceSelectionRule()
Constraints: Not nullable, Maximum length: 3
|
String |
getPaymentAdviceStatus()
Constraints: Not nullable, Maximum length: 1
|
String |
getPaymentAdviceType()
Constraints: Not nullable, Maximum length: 2
|
String |
getPaymentCurrency()
Constraints: Not nullable, Maximum length: 5
|
LocalDateTime |
getPaymentDate()
Constraints: Not nullable, Precision: 0
|
String |
getPaymentDocument()
Constraints: Not nullable, Maximum length: 10
|
String |
getPaymentTransaction()
Constraints: Not nullable, Maximum length: 3
|
String |
getPaytAdvcDiffDeterminationRule()
Constraints: Not nullable, Maximum length: 3
|
String |
getReferenceDocumentType()
Constraints: Not nullable, Maximum length: 5
|
Class<PaymentAdvice> |
getType() |
int |
hashCode() |
void |
setAccountByShipper(String accountByShipper)
Constraints: Not nullable, Maximum length: 12
|
void |
setBankReference(String bankReference)
Constraints: Not nullable, Maximum length: 35
|
void |
setBillOfExchangeFailureDate(LocalDateTime billOfExchangeFailureDate)
Constraints: Not nullable, Precision: 0
|
void |
setBusinessPartnerName(String businessPartnerName)
Constraints: Not nullable, Maximum length: 55
|
void |
setCashDiscountAmountInPaytCrcy(BigDecimal cashDiscountAmountInPaytCrcy)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setCreationTime(LocalTime creationTime)
Constraints: Not nullable, Precision: 0
|
void |
setExchangeRate(String exchangeRate)
Constraints: Not nullable, Maximum length: 12
|
void |
setFeeAmountInTransactionCrcy(BigDecimal feeAmountInTransactionCrcy)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setLastChangeDate(LocalDateTime lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setOriginalReferenceDocument(String originalReferenceDocument)
Constraints: Not nullable, Maximum length: 20
|
void |
setPaidAmountInPaytCurrency(BigDecimal paidAmountInPaytCurrency)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setPartnerBankCountry(String partnerBankCountry)
Constraints: Not nullable, Maximum length: 3
|
void |
setPartnerBankSWIFTCode(String partnerBankSWIFTCode)
Constraints: Not nullable, Maximum length: 11
|
void |
setPaymentAdvice(String paymentAdvice)
(Key Field) Constraints: Not nullable, Maximum length: 16
|
void |
setPaymentAdviceAccount(String paymentAdviceAccount)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPaymentAdviceAccountType(String paymentAdviceAccountType)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setPaymentAdviceHeaderText(String paymentAdviceHeaderText)
Constraints: Not nullable, Maximum length: 25
|
void |
setPaymentAdviceItem(List<PaymentAdviceItem> value)
Overwrites the list of associated PaymentAdviceItem entities for the loaded navigation property
to_PaymentAdviceItem.
|
void |
setPaymentAdviceSelectionRule(String paymentAdviceSelectionRule)
Constraints: Not nullable, Maximum length: 3
|
void |
setPaymentAdviceStatus(String paymentAdviceStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setPaymentAdviceType(String paymentAdviceType)
Constraints: Not nullable, Maximum length: 2
|
void |
setPaymentCurrency(String paymentCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setPaymentDate(LocalDateTime paymentDate)
Constraints: Not nullable, Precision: 0
|
void |
setPaymentDocument(String paymentDocument)
Constraints: Not nullable, Maximum length: 10
|
void |
setPaymentTransaction(String paymentTransaction)
Constraints: Not nullable, Maximum length: 3
|
void |
setPaytAdvcDiffDeterminationRule(String paytAdvcDiffDeterminationRule)
Constraints: Not nullable, Maximum length: 3
|
void |
setReferenceDocumentType(String referenceDocumentType)
Constraints: Not nullable, Maximum length: 5
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final PaymentAdviceSelectable ALL_FIELDS
public static final PaymentAdviceField<String> COMPANY_CODE
public static final PaymentAdviceField<String> PAYMENT_ADVICE_ACCOUNT_TYPE
public static final PaymentAdviceField<String> PAYMENT_ADVICE_ACCOUNT
public static final PaymentAdviceField<String> PAYMENT_ADVICE
public static final PaymentAdviceField<String> PAYMENT_DOCUMENT
public static final PaymentAdviceField<String> ACCOUNT_BY_SHIPPER
public static final PaymentAdviceField<String> PAYMENT_CURRENCY
public static final PaymentAdviceField<LocalDateTime> PAYMENT_DATE
public static final PaymentAdviceField<BigDecimal> PAID_AMOUNT_IN_PAYT_CURRENCY
public static final PaymentAdviceField<BigDecimal> CASH_DISCOUNT_AMOUNT_IN_PAYT_CRCY
public static final PaymentAdviceField<String> PARTNER_BANK_COUNTRY
public static final PaymentAdviceField<String> PARTNER_BANK_SWIFT_CODE
public static final PaymentAdviceField<String> CREATED_BY_USER
public static final PaymentAdviceField<LocalDateTime> CREATION_DATE
public static final PaymentAdviceField<LocalTime> CREATION_TIME
public static final PaymentAdviceField<LocalDateTime> LAST_CHANGE_DATE
public static final PaymentAdviceField<String> LAST_CHANGED_BY_USER
public static final PaymentAdviceField<String> PAYMENT_ADVICE_HEADER_TEXT
public static final PaymentAdviceField<String> PAYMENT_ADVICE_TYPE
public static final PaymentAdviceField<String> PAYMENT_ADVICE_STATUS
public static final PaymentAdviceField<String> PAYT_ADVC_DIFF_DETERMINATION_RULE
public static final PaymentAdviceField<String> PAYMENT_ADVICE_SELECTION_RULE
public static final PaymentAdviceField<String> ORIGINAL_REFERENCE_DOCUMENT
public static final PaymentAdviceField<String> REFERENCE_DOCUMENT_TYPE
public static final PaymentAdviceField<BigDecimal> FEE_AMOUNT_IN_TRANSACTION_CRCY
public static final PaymentAdviceField<String> PAYMENT_TRANSACTION
public static final PaymentAdviceField<String> EXCHANGE_RATE
public static final PaymentAdviceField<LocalDateTime> BILL_OF_EXCHANGE_FAILURE_DATE
public static final PaymentAdviceField<String> BANK_REFERENCE
public static final PaymentAdviceField<String> BUSINESS_PARTNER_NAME
public static final PaymentAdviceLink<PaymentAdviceItem> TO_PAYMENT_ADVICE_ITEM
public PaymentAdvice()
public PaymentAdvice(@Nullable String companyCode, @Nullable String paymentAdviceAccountType, @Nullable String paymentAdviceAccount, @Nullable String paymentAdvice, @Nullable String paymentDocument, @Nullable String accountByShipper, @Nullable String paymentCurrency, @Nullable LocalDateTime paymentDate, @Nullable BigDecimal paidAmountInPaytCurrency, @Nullable BigDecimal cashDiscountAmountInPaytCrcy, @Nullable String partnerBankCountry, @Nullable String partnerBankSWIFTCode, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable LocalTime creationTime, @Nullable LocalDateTime lastChangeDate, @Nullable String lastChangedByUser, @Nullable String paymentAdviceHeaderText, @Nullable String paymentAdviceType, @Nullable String paymentAdviceStatus, @Nullable String paytAdvcDiffDeterminationRule, @Nullable String paymentAdviceSelectionRule, @Nullable String originalReferenceDocument, @Nullable String referenceDocumentType, @Nullable BigDecimal feeAmountInTransactionCrcy, @Nullable String paymentTransaction, @Nullable String exchangeRate, @Nullable LocalDateTime billOfExchangeFailureDate, @Nullable String bankReference, @Nullable String businessPartnerName, List<PaymentAdviceItem> toPaymentAdviceItem)
@Nonnull public Class<PaymentAdvice> getType()
getType
in class VdmObject<PaymentAdvice>
public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- The company code is an organizational unit within financial accounting.public void setPaymentAdviceAccountType(@Nullable String paymentAdviceAccountType)
Original property name from the Odata EDM: PaymentAdviceAccountType
The payment advice is thus assigned to an account type. You can, however, specify an alternative account type in the individual payment advice items if the payment advice contains items which are to lead to the selection of open items of a different account type.Payment advice notes with the customer account type are produced within incoming payment processing.Payment advice notes with the vendor account type are produced within processing using the payment program.Payment advice notes with the G/L account account type are produced within manual clearing processing for a G/L account if the current processing status is noted as the payment advice. The processing can then be continued later with reference to the payment advice number.
paymentAdviceAccountType
- The account type identifies a payment advice together with the company code, the account number, and
the payment advice number.public void setPaymentAdviceAccount(@Nullable String paymentAdviceAccount)
Original property name from the Odata EDM: PaymentAdviceAccount
The payment advice is thus assigned to an account. You can, however, specify an alternative account in the individual payment advice items if the payment advice contains items which are to lead to the selection of open items for a different account.
paymentAdviceAccount
- The account number identifies a payment advice together with the company code, the account type and
the payment advice number.public void setPaymentAdvice(@Nullable String paymentAdvice)
Original property name from the Odata EDM: PaymentAdvice
paymentAdvice
- Payment Advice Numberpublic void setPaymentDocument(@Nullable String paymentDocument)
Original property name from the Odata EDM: PaymentDocument
paymentDocument
- Payment Document Numberpublic void setAccountByShipper(@Nullable String accountByShipper)
Original property name from the Odata EDM: AccountByShipper
accountByShipper
- Payee's Account at the Customerpublic void setPaymentCurrency(@Nullable String paymentCurrency)
Original property name from the Odata EDM: PaymentCurrency
paymentCurrency
- Payment Currency Keypublic void setPaymentDate(@Nullable LocalDateTime paymentDate)
Original property name from the Odata EDM: PaymentDate
paymentDate
- Payment Datepublic void setPaidAmountInPaytCurrency(@Nullable BigDecimal paidAmountInPaytCurrency)
Original property name from the Odata EDM: PaidAmountInPaytCurrency
paidAmountInPaytCurrency
- Payment Amount from the Payment Advice Headerpublic void setCashDiscountAmountInPaytCrcy(@Nullable BigDecimal cashDiscountAmountInPaytCrcy)
Original property name from the Odata EDM: CashDiscountAmountInPaytCrcy
cashDiscountAmountInPaytCrcy
- Cash Discount Amountpublic void setPartnerBankCountry(@Nullable String partnerBankCountry)
Original property name from the Odata EDM: PartnerBankCountry
partnerBankCountry
- Country Key of Partner Bankpublic void setPartnerBankSWIFTCode(@Nullable String partnerBankSWIFTCode)
Original property name from the Odata EDM: PartnerBankSWIFTCode
partnerBankSWIFTCode
- SWIFT Code of Partner Bankpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on Which Record Was Createdpublic void setCreationTime(@Nullable LocalTime creationTime)
Original property name from the Odata EDM: CreationTime
creationTime
- Time of Entrypublic void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Date of Last Changepublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Name of Person who Changed Objectpublic void setPaymentAdviceHeaderText(@Nullable String paymentAdviceHeaderText)
Original property name from the Odata EDM: PaymentAdviceHeaderText
paymentAdviceHeaderText
- Payment Advice Header Textpublic void setPaymentAdviceType(@Nullable String paymentAdviceType)
Original property name from the Odata EDM: PaymentAdviceType
The system assigns the payment advice type "04" for a payment advice note entered manually and the payment advice type "03" for a payment advice note resulting from open item processing.
paymentAdviceType
- System-assigned differentiation between different payment advice notes which describes the origin and
the way the payment advice note originated.public void setPaymentAdviceStatus(@Nullable String paymentAdviceStatus)
Original property name from the Odata EDM: PaymentAdviceStatus
paymentAdviceStatus
- Field is not currently used.public void setPaytAdvcDiffDeterminationRule(@Nullable String paytAdvcDiffDeterminationRule)
Original property name from the Odata EDM: PaytAdvcDiffDeterminationRule
paytAdvcDiffDeterminationRule
- Reason Code Conversion Versionpublic void setPaymentAdviceSelectionRule(@Nullable String paymentAdviceSelectionRule)
Original property name from the Odata EDM: PaymentAdviceSelectionRule
The various options for determining a selection field from the item fields are called selection rules, proposed from the master record and entered in the payment advice header.You define the selection rules and carry out the assignment of the fields in the configuration menu.Example:The selection rule '001' is defined as follows:Priority Ext. selection field Int. selection field1 Billing doc.number Reference document number2 Sales order number Reference document number3 Document number Document numberIf the payment advice item now contains the billing document number '12345', the system searches for an open item with reference document number '12345'.If the billing document number is not filled and the sales order number '78912' is filled, the system searches for an open item with reference document number '78912'.The first external selection field filled therefore determines the internal selection field.If you do not specify a selection rule, the following default is valid:Priority Ext. selection field Int. selection field1 Document number Document number2 Billing doc.number Billing document number3 Reference doc.number Reference document number4 Reference key 1 Reference key 15 Reference key 2 Reference key 26 Assignment number Assignment number7 Amount Amount
paymentAdviceSelectionRule
- A selection field which is to lead to the clear identification of the open item is determined from the
various fields of the payment advice item (document number, billing document number, reference
document number, ... ) according to the selection rule in each individual payment advice item.public void setOriginalReferenceDocument(@Nullable String originalReferenceDocument)
Original property name from the Odata EDM: OriginalReferenceDocument
Example: 1000007899 00011996Reference Reference organizational unitdocument no. client and fiscal yearThe object type contains a note on storing the original document.
originalReferenceDocument
- If an accounting document is posted via the interface in Accounting, the sending application transfers
a unique reference. It consists of object key and object type. The object key consists of a reference
document number and a reference organizational unit.public void setReferenceDocumentType(@Nullable String referenceDocumentType)
Original property name from the Odata EDM: ReferenceDocumentType
Example: 1000007899 00011996Reference Reference organizational unitdocument no. client and fiscal yearThe object type contains a note on storing the original document.
referenceDocumentType
- If an accounting document is posted via the interface in Accounting, the sending application transfers
a unique reference. It consists of object key and object type. The object key consists of a reference
document number and a reference organizational unit.public void setFeeAmountInTransactionCrcy(@Nullable BigDecimal feeAmountInTransactionCrcy)
Original property name from the Odata EDM: FeeAmountInTransactionCrcy
feeAmountInTransactionCrcy
- Fees in Account Currencypublic void setPaymentTransaction(@Nullable String paymentTransaction)
Original property name from the Odata EDM: PaymentTransaction
paymentTransaction
- Business Transaction Codepublic void setExchangeRate(@Nullable String exchangeRate)
Original property name from the Odata EDM: ExchangeRate
exchangeRate
- Accounting Exchange Ratepublic void setBillOfExchangeFailureDate(@Nullable LocalDateTime billOfExchangeFailureDate)
Original property name from the Odata EDM: BillOfExchangeFailureDate
billOfExchangeFailureDate
- Date of Failed Bills of Exchange in Japanpublic void setBankReference(@Nullable String bankReference)
Original property name from the Odata EDM: BankReference
bankReference
- Bank Reference Numberpublic void setBusinessPartnerName(@Nullable String businessPartnerName)
Original property name from the Odata EDM: BusinessPartnerName
businessPartnerName
- Business Partnerprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<PaymentAdvice>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PaymentAdvice>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PaymentAdvice>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PaymentAdvice>
@Nonnull public static <T> PaymentAdviceField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> PaymentAdviceField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<PaymentAdvice>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<PaymentAdvice>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<PaymentAdvice>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<PaymentAdvice>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<PaymentAdvice>
@Nonnull public List<PaymentAdviceItem> fetchPaymentAdviceItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<PaymentAdviceItem> getPaymentAdviceItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PaymentAdviceItem of a queried PaymentAdvice 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<PaymentAdviceItem>> getPaymentAdviceItemIfPresent()
If the navigation property for an entity PaymentAdvice has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setPaymentAdviceItem(@Nonnull List<PaymentAdviceItem> value)
If the navigation property to_PaymentAdviceItem of a queried PaymentAdvice 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.
value
- List of PaymentAdviceItem entities.public void addPaymentAdviceItem(PaymentAdviceItem... entity)
If the navigation property to_PaymentAdviceItem of a queried PaymentAdvice 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.
entity
- Array of PaymentAdviceItem entities.public static PaymentAdvice.PaymentAdviceBuilder builder()
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getPaymentAdviceAccountType()
Original property name from the Odata EDM: PaymentAdviceAccountType
The payment advice is thus assigned to an account type. You can, however, specify an alternative account type in the individual payment advice items if the payment advice contains items which are to lead to the selection of open items of a different account type.Payment advice notes with the customer account type are produced within incoming payment processing.Payment advice notes with the vendor account type are produced within processing using the payment program.Payment advice notes with the G/L account account type are produced within manual clearing processing for a G/L account if the current processing status is noted as the payment advice. The processing can then be continued later with reference to the payment advice number.
@Nullable public String getPaymentAdviceAccount()
Original property name from the Odata EDM: PaymentAdviceAccount
The payment advice is thus assigned to an account. You can, however, specify an alternative account in the individual payment advice items if the payment advice contains items which are to lead to the selection of open items for a different account.
@Nullable public String getPaymentAdvice()
Original property name from the Odata EDM: PaymentAdvice
@Nullable public String getPaymentDocument()
Original property name from the Odata EDM: PaymentDocument
@Nullable public String getAccountByShipper()
Original property name from the Odata EDM: AccountByShipper
@Nullable public String getPaymentCurrency()
Original property name from the Odata EDM: PaymentCurrency
@Nullable public LocalDateTime getPaymentDate()
Original property name from the Odata EDM: PaymentDate
@Nullable public BigDecimal getPaidAmountInPaytCurrency()
Original property name from the Odata EDM: PaidAmountInPaytCurrency
@Nullable public BigDecimal getCashDiscountAmountInPaytCrcy()
Original property name from the Odata EDM: CashDiscountAmountInPaytCrcy
@Nullable public String getPartnerBankCountry()
Original property name from the Odata EDM: PartnerBankCountry
@Nullable public String getPartnerBankSWIFTCode()
Original property name from the Odata EDM: PartnerBankSWIFTCode
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public LocalTime getCreationTime()
Original property name from the Odata EDM: CreationTime
@Nullable public LocalDateTime getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public String getPaymentAdviceHeaderText()
Original property name from the Odata EDM: PaymentAdviceHeaderText
@Nullable public String getPaymentAdviceType()
Original property name from the Odata EDM: PaymentAdviceType
The system assigns the payment advice type "04" for a payment advice note entered manually and the payment advice type "03" for a payment advice note resulting from open item processing.
@Nullable public String getPaymentAdviceStatus()
Original property name from the Odata EDM: PaymentAdviceStatus
@Nullable public String getPaytAdvcDiffDeterminationRule()
Original property name from the Odata EDM: PaytAdvcDiffDeterminationRule
@Nullable public String getPaymentAdviceSelectionRule()
Original property name from the Odata EDM: PaymentAdviceSelectionRule
The various options for determining a selection field from the item fields are called selection rules, proposed from the master record and entered in the payment advice header.You define the selection rules and carry out the assignment of the fields in the configuration menu.Example:The selection rule '001' is defined as follows:Priority Ext. selection field Int. selection field1 Billing doc.number Reference document number2 Sales order number Reference document number3 Document number Document numberIf the payment advice item now contains the billing document number '12345', the system searches for an open item with reference document number '12345'.If the billing document number is not filled and the sales order number '78912' is filled, the system searches for an open item with reference document number '78912'.The first external selection field filled therefore determines the internal selection field.If you do not specify a selection rule, the following default is valid:Priority Ext. selection field Int. selection field1 Document number Document number2 Billing doc.number Billing document number3 Reference doc.number Reference document number4 Reference key 1 Reference key 15 Reference key 2 Reference key 26 Assignment number Assignment number7 Amount Amount
@Nullable public String getOriginalReferenceDocument()
Original property name from the Odata EDM: OriginalReferenceDocument
Example: 1000007899 00011996Reference Reference organizational unitdocument no. client and fiscal yearThe object type contains a note on storing the original document.
@Nullable public String getReferenceDocumentType()
Original property name from the Odata EDM: ReferenceDocumentType
Example: 1000007899 00011996Reference Reference organizational unitdocument no. client and fiscal yearThe object type contains a note on storing the original document.
@Nullable public BigDecimal getFeeAmountInTransactionCrcy()
Original property name from the Odata EDM: FeeAmountInTransactionCrcy
@Nullable public String getPaymentTransaction()
Original property name from the Odata EDM: PaymentTransaction
@Nullable public String getExchangeRate()
Original property name from the Odata EDM: ExchangeRate
@Nullable public LocalDateTime getBillOfExchangeFailureDate()
Original property name from the Odata EDM: BillOfExchangeFailureDate
@Nullable public String getBankReference()
Original property name from the Odata EDM: BankReference
@Nullable public String getBusinessPartnerName()
Original property name from the Odata EDM: BusinessPartnerName
public String toString()
toString
in class VdmObject<PaymentAdvice>
public boolean equals(Object o)
equals
in class VdmObject<PaymentAdvice>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PaymentAdvice>
public int hashCode()
hashCode
in class VdmObject<PaymentAdvice>
Copyright © 2020 SAP SE. All rights reserved.