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

public class BusinessPartnerBank extends VdmEntity<BusinessPartnerBank>
Bank

Original entity name from the Odata EDM: A_BusinessPartnerBankType

  • Field Details

    • ALL_FIELDS

      public static final BusinessPartnerBankSelectable ALL_FIELDS
      Selector for all available fields of BusinessPartnerBank.
    • BUSINESS_PARTNER

      public static final BusinessPartnerBankField<String> BUSINESS_PARTNER
      Use with available fluent helpers to apply the BusinessPartner field to query operations.
    • BANK_IDENTIFICATION

      public static final BusinessPartnerBankField<String> BANK_IDENTIFICATION
      Use with available fluent helpers to apply the BankIdentification field to query operations.
    • BANK_COUNTRY_KEY

      public static final BusinessPartnerBankField<String> BANK_COUNTRY_KEY
      Use with available fluent helpers to apply the BankCountryKey field to query operations.
    • BANK_NAME

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

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

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

      public static final BusinessPartnerBankField<String> BANK_CONTROL_KEY
      Use with available fluent helpers to apply the BankControlKey field to query operations.
    • BANK_ACCOUNT_HOLDER_NAME

      public static final BusinessPartnerBankField<String> BANK_ACCOUNT_HOLDER_NAME
      Use with available fluent helpers to apply the BankAccountHolderName field to query operations.
    • BANK_ACCOUNT_NAME

      public static final BusinessPartnerBankField<String> BANK_ACCOUNT_NAME
      Use with available fluent helpers to apply the BankAccountName field to query operations.
    • VALIDITY_START_DATE

      public static final BusinessPartnerBankField<ZonedDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • VALIDITY_END_DATE

      public static final BusinessPartnerBankField<ZonedDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • IBAN

      public static final BusinessPartnerBankField<String> IBAN
      Use with available fluent helpers to apply the IBAN field to query operations.
    • IBAN_VALIDITY_START_DATE

      public static final BusinessPartnerBankField<LocalDateTime> IBAN_VALIDITY_START_DATE
      Use with available fluent helpers to apply the IBANValidityStartDate field to query operations.
    • BANK_ACCOUNT

      public static final BusinessPartnerBankField<String> BANK_ACCOUNT
      Use with available fluent helpers to apply the BankAccount field to query operations.
    • BANK_ACCOUNT_REFERENCE_TEXT

      public static final BusinessPartnerBankField<String> BANK_ACCOUNT_REFERENCE_TEXT
      Use with available fluent helpers to apply the BankAccountReferenceText field to query operations.
    • COLLECTION_AUTH_IND

      public static final BusinessPartnerBankField<Boolean> COLLECTION_AUTH_IND
      Use with available fluent helpers to apply the CollectionAuthInd field to query operations.
    • CITY_NAME

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

      public static final BusinessPartnerBankField<String> AUTHORIZATION_GROUP
      Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
  • Constructor Details

    • BusinessPartnerBank

      public BusinessPartnerBank()
    • BusinessPartnerBank

      public BusinessPartnerBank(@Nullable String businessPartner, @Nullable String bankIdentification, @Nullable String bankCountryKey, @Nullable String bankName, @Nullable String bankNumber, @Nullable String sWIFTCode, @Nullable String bankControlKey, @Nullable String bankAccountHolderName, @Nullable String bankAccountName, @Nullable ZonedDateTime validityStartDate, @Nullable ZonedDateTime validityEndDate, @Nullable String iBAN, @Nullable LocalDateTime iBANValidityStartDate, @Nullable String bankAccount, @Nullable String bankAccountReferenceText, @Nullable Boolean collectionAuthInd, @Nullable String cityName, @Nullable String authorizationGroup)
  • Method Details

    • getType

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

      public void setBusinessPartner(@Nullable String businessPartner)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner Number
    • setBankIdentification

      public void setBankIdentification(@Nullable String bankIdentification)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BankIdentification

      Parameters:
      bankIdentification - Bank Details ID
    • setBankCountryKey

      public void setBankCountryKey(@Nullable String bankCountryKey)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BankCountryKey

      Parameters:
      bankCountryKey - Country/Region Key of Bank
    • 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
    • setBankNumber

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

      Original property name from the Odata EDM: BankNumber

      Parameters:
      bankNumber - Bank Key
    • 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
    • setBankControlKey

      public void setBankControlKey(@Nullable String bankControlKey)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BankControlKey

      Parameters:
      bankControlKey - Bank Control Key
    • setBankAccountHolderName

      public void setBankAccountHolderName(@Nullable String bankAccountHolderName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: BankAccountHolderName

      Parameters:
      bankAccountHolderName - Account Holder Name
    • setBankAccountName

      public void setBankAccountName(@Nullable String bankAccountName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BankAccountName

      Parameters:
      bankAccountName - Name of Bank Account
    • setValidityStartDate

      public void setValidityStartDate(@Nullable ZonedDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Validity Start of Business Partner Bank Details
    • setValidityEndDate

      public void setValidityEndDate(@Nullable ZonedDateTime validityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity End of Business Partner Bank Details
    • setIBAN

      public void setIBAN(@Nullable String iBAN)
      Constraints: Not nullable, Maximum length: 34

      Original property name from the Odata EDM: IBAN

      Parameters:
      iBAN - IBAN (International Bank Account Number)
    • setIBANValidityStartDate

      public void setIBANValidityStartDate(@Nullable LocalDateTime iBANValidityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: IBANValidityStartDate

      Parameters:
      iBANValidityStartDate - Validity Start of IBAN
    • setBankAccount

      public void setBankAccount(@Nullable String bankAccount)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: BankAccount

      Parameters:
      bankAccount - Bank Account Number
    • setBankAccountReferenceText

      public void setBankAccountReferenceText(@Nullable String bankAccountReferenceText)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: BankAccountReferenceText

      Parameters:
      bankAccountReferenceText - Reference Details for Bank Details
    • setCollectionAuthInd

      public void setCollectionAuthInd(@Nullable Boolean collectionAuthInd)
      Constraints: none

      Original property name from the Odata EDM: CollectionAuthInd

      Parameters:
      collectionAuthInd - Indicator: Collection Authorization
    • setCityName

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

      Original property name from the Odata EDM: CityName

      Parameters:
      cityName - City
    • setAuthorizationGroup

      public void setAuthorizationGroup(@Nullable String authorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Parameters:
      authorizationGroup - Authorization Group
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BusinessPartnerBankField<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> BusinessPartnerBankField<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<BusinessPartnerBank>
    • setServicePathForFetch

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

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

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

      @Nonnull public static BusinessPartnerBank.BusinessPartnerBankBuilder builder()
    • getBusinessPartner

      @Nullable public String getBusinessPartner()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getBankIdentification

      @Nullable public String getBankIdentification()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BankIdentification

      Returns:
      Bank Details ID
    • getBankCountryKey

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

      Original property name from the Odata EDM: BankCountryKey

      Returns:
      Country/Region Key of Bank
    • getBankName

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

      Original property name from the Odata EDM: BankName

      Returns:
      Name of Financial Institution
    • getBankNumber

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

      Original property name from the Odata EDM: BankNumber

      Returns:
      Bank Key
    • 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
    • getBankControlKey

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

      Original property name from the Odata EDM: BankControlKey

      Returns:
      Bank Control Key
    • getBankAccountHolderName

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

      Original property name from the Odata EDM: BankAccountHolderName

      Returns:
      Account Holder Name
    • getBankAccountName

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

      Original property name from the Odata EDM: BankAccountName

      Returns:
      Name of Bank Account
    • getValidityStartDate

      @Nullable public ZonedDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Validity Start of Business Partner Bank Details
    • getValidityEndDate

      @Nullable public ZonedDateTime getValidityEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End of Business Partner Bank Details
    • getIBAN

      @Nullable public String getIBAN()
      Constraints: Not nullable, Maximum length: 34

      Original property name from the Odata EDM: IBAN

      Returns:
      IBAN (International Bank Account Number)
    • getIBANValidityStartDate

      @Nullable public LocalDateTime getIBANValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: IBANValidityStartDate

      Returns:
      Validity Start of IBAN
    • getBankAccount

      @Nullable public String getBankAccount()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: BankAccount

      Returns:
      Bank Account Number
    • getBankAccountReferenceText

      @Nullable public String getBankAccountReferenceText()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: BankAccountReferenceText

      Returns:
      Reference Details for Bank Details
    • getCollectionAuthInd

      @Nullable public Boolean getCollectionAuthInd()
      Constraints: none

      Original property name from the Odata EDM: CollectionAuthInd

      Returns:
      Indicator: Collection Authorization
    • getCityName

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

      Original property name from the Odata EDM: CityName

      Returns:
      City
    • getAuthorizationGroup

      @Nullable public String getAuthorizationGroup()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      Authorization Group
    • toString

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

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

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

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