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

public class BankDetail extends VdmEntity<BankDetail>
Bank Details

Original entity name from the Odata EDM: A_BankDetailType

  • Field Details

    • ALL_FIELDS

      public static final BankDetailSelectable ALL_FIELDS
      Selector for all available fields of BankDetail.
    • BANK_COUNTRY

      public static final BankDetailField<String> BANK_COUNTRY
      Use with available fluent helpers to apply the BankCountry field to query operations.
    • BANK_INTERNAL_ID

      public static final BankDetailField<String> BANK_INTERNAL_ID
      Use with available fluent helpers to apply the BankInternalID field to query operations.
    • BANK_NAME

      public static final BankDetailField<String> BANK_NAME
      Use with available fluent helpers to apply the BankName field to query operations.
    • SWIFT_CODE

      public static final BankDetailField<String> SWIFT_CODE
      Use with available fluent helpers to apply the SWIFTCode field to query operations.
    • BANK_GROUP

      public static final BankDetailField<String> BANK_GROUP
      Use with available fluent helpers to apply the BankGroup field to query operations.
    • BANK_NUMBER

      public static final BankDetailField<String> BANK_NUMBER
      Use with available fluent helpers to apply the BankNumber field to query operations.
    • REGION

      public static final BankDetailField<String> REGION
      Use with available fluent helpers to apply the Region field to query operations.
    • STREET_NAME

      public static final BankDetailField<String> STREET_NAME
      Use with available fluent helpers to apply the StreetName field to query operations.
    • CITY_NAME

      public static final BankDetailField<String> CITY_NAME
      Use with available fluent helpers to apply the CityName field to query operations.
    • BRANCH

      public static final BankDetailField<String> BRANCH
      Use with available fluent helpers to apply the Branch field to query operations.
  • Constructor Details

    • BankDetail

      public BankDetail()
    • 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)
  • Method Details

    • getType

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

      public void setBankCountry(@Nullable String bankCountry)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BankCountry

      Parameters:
      bankCountry - Country/Region Key of Bank
    • setBankInternalID

      public void setBankInternalID(@Nullable String bankInternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: BankInternalID

      Parameters:
      bankInternalID - Bank Keys
    • setBankName

      public void setBankName(@Nullable String bankName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: BankName

      Parameters:
      bankName - Name of Financial Institution
    • setSWIFTCode

      public void setSWIFTCode(@Nullable String sWIFTCode)
      Constraints: Not nullable, Maximum length: 11

      Original property name from the Odata EDM: SWIFTCode

      Parameters:
      sWIFTCode - SWIFT/BIC for International Payments
    • setBankGroup

      public void setBankGroup(@Nullable String bankGroup)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BankGroup

      Parameters:
      bankGroup - Bank group (bank network)
    • setBankNumber

      public void setBankNumber(@Nullable String bankNumber)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: BankNumber

      Parameters:
      bankNumber - Bank Number
    • setRegion

      public void setRegion(@Nullable String region)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Region

      Parameters:
      region - Region (State, Province, County)
    • setStreetName

      public void setStreetName(@Nullable String streetName)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: StreetName

      Parameters:
      streetName - Street and House Number
    • setCityName

      public void setCityName(@Nullable String cityName)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: CityName

      Parameters:
      cityName - City
    • setBranch

      public void setBranch(@Nullable String branch)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Branch

      Parameters:
      branch - Bank Branch
    • getEntityCollection

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

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

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

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

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

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

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

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

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

      @Nonnull public static BankDetail.BankDetailBuilder builder()
    • getBankCountry

      @Nullable public String getBankCountry()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BankCountry

      Returns:
      Country/Region Key of Bank
    • getBankInternalID

      @Nullable public String getBankInternalID()
      (Key Field) Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: BankInternalID

      Returns:
      Bank Keys
    • getBankName

      @Nullable public String getBankName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: BankName

      Returns:
      Name of Financial Institution
    • getSWIFTCode

      @Nullable public String getSWIFTCode()
      Constraints: Not nullable, Maximum length: 11

      Original property name from the Odata EDM: SWIFTCode

      Returns:
      SWIFT/BIC for International Payments
    • getBankGroup

      @Nullable public String getBankGroup()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BankGroup

      Returns:
      Bank group (bank network)
    • getBankNumber

      @Nullable public String getBankNumber()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: BankNumber

      Returns:
      Bank Number
    • getRegion

      @Nullable public String getRegion()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Region

      Returns:
      Region (State, Province, County)
    • getStreetName

      @Nullable public String getStreetName()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: StreetName

      Returns:
      Street and House Number
    • getCityName

      @Nullable public String getCityName()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: CityName

      Returns:
      City
    • getBranch

      @Nullable public String getBranch()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Branch

      Returns:
      Bank Branch
    • toString

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

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

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

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