public class BankDetail extends VdmEntity<BankDetail>
Original entity name from the Odata EDM: A_BankDetailType
Modifier and Type | Class and Description |
---|---|
static class |
BankDetail.BankDetailBuilder |
Modifier and Type | Field and Description |
---|---|
static BankDetailSelectable |
ALL_FIELDS
Selector for all available fields of BankDetail.
|
static BankDetailField<String> |
BANK_COUNTRY
Use with available fluent helpers to apply the BankCountry field to query operations.
|
static BankDetailField<String> |
BANK_GROUP
Use with available fluent helpers to apply the BankGroup field to query operations.
|
static BankDetailField<String> |
BANK_INTERNAL_ID
Use with available fluent helpers to apply the BankInternalID field to query operations.
|
static BankDetailField<String> |
BANK_NAME
Use with available fluent helpers to apply the BankName field to query operations.
|
static BankDetailField<String> |
BANK_NUMBER
Use with available fluent helpers to apply the BankNumber field to query operations.
|
static BankDetailField<String> |
BRANCH
Use with available fluent helpers to apply the Branch field to query operations.
|
static BankDetailField<String> |
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations.
|
static BankDetailField<String> |
REGION
Use with available fluent helpers to apply the Region field to query operations.
|
static BankDetailField<String> |
STREET_NAME
Use with available fluent helpers to apply the StreetName field to query operations.
|
static BankDetailField<String> |
SWIFT_CODE
Use with available fluent helpers to apply the SWIFTCode field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BankDetail() |
BankDetail(String bankCountry,
String bankInternalID,
String bankName,
String sWIFTCode,
String bankGroup,
String bankNumber,
String region,
String streetName,
String cityName,
String branch) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static BankDetail.BankDetailBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> BankDetailField<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 |
getBankCountry()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getBankGroup()
Constraints: Not nullable, Maximum length: 2
|
String |
getBankInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 15
|
String |
getBankName()
Constraints: Not nullable, Maximum length: 60
|
String |
getBankNumber()
Constraints: Not nullable, Maximum length: 15
|
String |
getBranch()
Constraints: Not nullable, Maximum length: 40
|
String |
getCityName()
Constraints: Not nullable, Maximum length: 35
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
String |
getRegion()
Constraints: Not nullable, Maximum length: 3
|
String |
getStreetName()
Constraints: Not nullable, Maximum length: 35
|
String |
getSWIFTCode()
Constraints: Not nullable, Maximum length: 11
|
Class<BankDetail> |
getType() |
int |
hashCode() |
void |
setBankCountry(String bankCountry)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setBankGroup(String bankGroup)
Constraints: Not nullable, Maximum length: 2
|
void |
setBankInternalID(String bankInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 15
|
void |
setBankName(String bankName)
Constraints: Not nullable, Maximum length: 60
|
void |
setBankNumber(String bankNumber)
Constraints: Not nullable, Maximum length: 15
|
void |
setBranch(String branch)
Constraints: Not nullable, Maximum length: 40
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 35
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setRegion(String region)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStreetName(String streetName)
Constraints: Not nullable, Maximum length: 35
|
void |
setSWIFTCode(String sWIFTCode)
Constraints: Not nullable, Maximum length: 11
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final BankDetailSelectable ALL_FIELDS
public static final BankDetailField<String> BANK_COUNTRY
public static final BankDetailField<String> BANK_INTERNAL_ID
public static final BankDetailField<String> BANK_NAME
public static final BankDetailField<String> SWIFT_CODE
public static final BankDetailField<String> BANK_GROUP
public static final BankDetailField<String> BANK_NUMBER
public static final BankDetailField<String> REGION
public static final BankDetailField<String> STREET_NAME
public static final BankDetailField<String> CITY_NAME
public static final BankDetailField<String> BRANCH
public BankDetail()
public BankDetail(@Nullable String bankCountry, @Nullable String bankInternalID, @Nullable String bankName, @Nullable String sWIFTCode, @Nullable String bankGroup, @Nullable String bankNumber, @Nullable String region, @Nullable String streetName, @Nullable String cityName, @Nullable String branch)
@Nonnull public Class<BankDetail> getType()
getType
in class VdmObject<BankDetail>
public void setBankCountry(@Nullable String bankCountry)
Original property name from the Odata EDM: BankCountry
The country key defines the rules according to which bank data, such as the bank and account numbers, is to be validated.
bankCountry
- Identifies the country in which the bank is located.public void setBankInternalID(@Nullable String bankInternalID)
Original property name from the Odata EDM: BankInternalID
When you define the country key, you also specify the country-specific definition of the bank key.Normally, you manage banks using their bank number. The bank number in the control data for the bank is then displayed twice, that is, as the bank key too.In certain countries, the bank account number takes on this function; then there are no bank numbers and the bank data is managed using the account number.For data medium exchange, you may find it useful to be able to enter foreign business partners without a bank number, even if there are bank numbers in the country in question. In this case, the bank key can be assigned internally.To manage bank data using another key, for example, the SWIFT code, external number assignment can also be used.
bankInternalID
- In this field, you specify the bank key under which bank data from the respective country is stored.public void setBankName(@Nullable String bankName)
Original property name from the Odata EDM: BankName
bankName
- The name under which the bank operates.public void setSWIFTCode(@Nullable String sWIFTCode)
Original property name from the Odata EDM: SWIFTCode
SWIFT stands for Society for Worldwide Interbank Financial Telecommunication.BIC stands for Bank Identifier Code.This globally unique code can be used in international payment transactions to identify the bank without the need to specify an address or bank number. Specification of the SWIFT code/BIC is mainly relevant for automatic payment transactions.
sWIFTCode
- Uniquely identifies a bank throughout the world.public void setBankGroup(@Nullable String bankGroup)
Original property name from the Odata EDM: BankGroup
For automatic payment transactions, if possible, a combination of the business partner's bank details and your own bank details is selected in which both banks involved belong to the same group.
bankGroup
- Serves to classify banks in such a way that payment transactions within a group are processed as
quickly as possible (bank chain optimization).public void setBankNumber(@Nullable String bankNumber)
Original property name from the Odata EDM: BankNumber
bankNumber
- This field contains the bank number or the bank code.public void setRegion(@Nullable String region)
Original property name from the Odata EDM: Region
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
region
- In some countries, the region forms part of the address. The meaning depends on the country.public void setStreetName(@Nullable String streetName)
Original property name from the Odata EDM: StreetName
streetName
- Street and house number as part of the address.public void setCityName(@Nullable String cityName)
Original property name from the Odata EDM: CityName
cityName
- Name of the city as a part of the address.public void setBranch(@Nullable String branch)
Original property name from the Odata EDM: Branch
branch
- This field contains the branch name of the financial institution.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<BankDetail>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BankDetail>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BankDetail>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BankDetail>
@Nonnull public static <T> BankDetailField<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> BankDetailField<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 ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<BankDetail>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<BankDetail>
erpConfigContext
- New ERP configuration context to apply to this entityprotected 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<BankDetail>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
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<BankDetail>
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.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<BankDetail>
public static BankDetail.BankDetailBuilder builder()
@Nullable public String getBankCountry()
Original property name from the Odata EDM: BankCountry
The country key defines the rules according to which bank data, such as the bank and account numbers, is to be validated.
@Nullable public String getBankInternalID()
Original property name from the Odata EDM: BankInternalID
When you define the country key, you also specify the country-specific definition of the bank key.Normally, you manage banks using their bank number. The bank number in the control data for the bank is then displayed twice, that is, as the bank key too.In certain countries, the bank account number takes on this function; then there are no bank numbers and the bank data is managed using the account number.For data medium exchange, you may find it useful to be able to enter foreign business partners without a bank number, even if there are bank numbers in the country in question. In this case, the bank key can be assigned internally.To manage bank data using another key, for example, the SWIFT code, external number assignment can also be used.
@Nullable public String getBankName()
Original property name from the Odata EDM: BankName
@Nullable public String getSWIFTCode()
Original property name from the Odata EDM: SWIFTCode
SWIFT stands for Society for Worldwide Interbank Financial Telecommunication.BIC stands for Bank Identifier Code.This globally unique code can be used in international payment transactions to identify the bank without the need to specify an address or bank number. Specification of the SWIFT code/BIC is mainly relevant for automatic payment transactions.
@Nullable public String getBankGroup()
Original property name from the Odata EDM: BankGroup
For automatic payment transactions, if possible, a combination of the business partner's bank details and your own bank details is selected in which both banks involved belong to the same group.
@Nullable public String getBankNumber()
Original property name from the Odata EDM: BankNumber
@Nullable public String getRegion()
Original property name from the Odata EDM: Region
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
@Nullable public String getStreetName()
Original property name from the Odata EDM: StreetName
@Nullable public String getCityName()
Original property name from the Odata EDM: CityName
@Nullable public String getBranch()
Original property name from the Odata EDM: Branch
public String toString()
toString
in class VdmObject<BankDetail>
public boolean equals(Object o)
equals
in class VdmObject<BankDetail>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<BankDetail>
public int hashCode()
hashCode
in class VdmObject<BankDetail>
Copyright © 2019 SAP SE. All rights reserved.