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

public class PaymentMethodValidation extends VdmEntity<PaymentMethodValidation>

Original entity name from the Odata EDM: PaymentMethodValidation

  • Field Details

    • ALL_FIELDS

      public static final PaymentMethodValidationSelectable ALL_FIELDS
      Selector for all available fields of PaymentMethodValidation.
    • ISO_COUNTRY_CODE_FOR_BANK

      public static final PaymentMethodValidationField<String> ISO_COUNTRY_CODE_FOR_BANK
      Use with available fluent helpers to apply the ISOCountryCodeForBank field to query operations.
    • PAYMENT_METHOD_IN_EC

      public static final PaymentMethodValidationField<String> PAYMENT_METHOD_IN_EC
      Use with available fluent helpers to apply the PaymentMethodInEC field to query operations.
    • COMPANY_CODE

      public static final PaymentMethodValidationField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • IBAN_EXISTS

      public static final PaymentMethodValidationField<Boolean> IBAN_EXISTS
      Use with available fluent helpers to apply the IBANExists field to query operations.
    • SWIFT_EXISTS

      public static final PaymentMethodValidationField<Boolean> SWIFT_EXISTS
      Use with available fluent helpers to apply the SwiftExists field to query operations.
    • BANK_ACCOUNT_NUMBER_EXISTS

      public static final PaymentMethodValidationField<Boolean> BANK_ACCOUNT_NUMBER_EXISTS
      Use with available fluent helpers to apply the BankAccountNumberExists field to query operations.
    • ISO_EMPLOYEE_COUNTRY_CODE

      public static final PaymentMethodValidationField<String> ISO_EMPLOYEE_COUNTRY_CODE
      Use with available fluent helpers to apply the ISOEmployeeCountryCode field to query operations.
    • BANK_KEY_EXISTS

      public static final PaymentMethodValidationField<Boolean> BANK_KEY_EXISTS
      Use with available fluent helpers to apply the BankKeyExists field to query operations.
    • LANGUAGE

      public static final PaymentMethodValidationField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • PAYMENT_METHOD

      public static final PaymentMethodValidationField<String> PAYMENT_METHOD
      Use with available fluent helpers to apply the PaymentMethod field to query operations.
    • IS_VALID

      public static final PaymentMethodValidationField<Boolean> IS_VALID
      Use with available fluent helpers to apply the IsValid field to query operations.
  • Constructor Details

    • PaymentMethodValidation

      public PaymentMethodValidation()
    • PaymentMethodValidation

      public PaymentMethodValidation(@Nullable String iSOCountryCodeForBank, @Nullable String paymentMethodInEC, @Nullable String companyCode, @Nullable Boolean iBANExists, @Nullable Boolean swiftExists, @Nullable Boolean bankAccountNumberExists, @Nullable String iSOEmployeeCountryCode, @Nullable Boolean bankKeyExists, @Nullable String language, @Nullable String paymentMethod, @Nullable Boolean isValid)
  • Method Details

    • getType

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

      public void setISOCountryCodeForBank(@Nullable String iSOCountryCodeForBank)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ISOCountryCodeForBank

      Parameters:
      iSOCountryCodeForBank - ISO Code
    • setPaymentMethodInEC

      public void setPaymentMethodInEC(@Nullable String paymentMethodInEC)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PaymentMethodInEC

      Parameters:
      paymentMethodInEC - SF Payment Method
    • setCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setIBANExists

      public void setIBANExists(@Nullable Boolean iBANExists)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: IBANExists

      Parameters:
      iBANExists - Boolean Variable (X = True, - = False, Space = Unknown)
    • setSwiftExists

      public void setSwiftExists(@Nullable Boolean swiftExists)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SwiftExists

      Parameters:
      swiftExists - Boolean Variable (X = True, - = False, Space = Unknown)
    • setBankAccountNumberExists

      public void setBankAccountNumberExists(@Nullable Boolean bankAccountNumberExists)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BankAccountNumberExists

      Parameters:
      bankAccountNumberExists - Boolean Variable (X = True, - = False, Space = Unknown)
    • setISOEmployeeCountryCode

      public void setISOEmployeeCountryCode(@Nullable String iSOEmployeeCountryCode)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ISOEmployeeCountryCode

      Parameters:
      iSOEmployeeCountryCode - ISO Code
    • setBankKeyExists

      public void setBankKeyExists(@Nullable Boolean bankKeyExists)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BankKeyExists

      Parameters:
      bankKeyExists - Boolean Variable (X = True, - = False, Space = Unknown)
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Language

      Parameters:
      language - Locale
    • setPaymentMethod

      public void setPaymentMethod(@Nullable String paymentMethod)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PaymentMethod

      Parameters:
      paymentMethod - Pymt Meth.
    • setIsValid

      public void setIsValid(@Nullable Boolean isValid)
      Constraints: none

      Original property name from the Odata EDM: IsValid

      Parameters:
      isValid - Boolean Variable (X = True, - = False, Space = Unknown)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PaymentMethodValidationField<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> PaymentMethodValidationField<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<PaymentMethodValidation>
    • setServicePathForFetch

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

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

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

    • getISOCountryCodeForBank

      @Nullable public String getISOCountryCodeForBank()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ISOCountryCodeForBank

      Returns:
      ISO Code
    • getPaymentMethodInEC

      @Nullable public String getPaymentMethodInEC()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PaymentMethodInEC

      Returns:
      SF Payment Method
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getIBANExists

      @Nullable public Boolean getIBANExists()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: IBANExists

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getSwiftExists

      @Nullable public Boolean getSwiftExists()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SwiftExists

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getBankAccountNumberExists

      @Nullable public Boolean getBankAccountNumberExists()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BankAccountNumberExists

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getISOEmployeeCountryCode

      @Nullable public String getISOEmployeeCountryCode()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ISOEmployeeCountryCode

      Returns:
      ISO Code
    • getBankKeyExists

      @Nullable public Boolean getBankKeyExists()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BankKeyExists

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Language

      Returns:
      Locale
    • getPaymentMethod

      @Nullable public String getPaymentMethod()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PaymentMethod

      Returns:
      Pymt Meth.
    • getIsValid

      @Nullable public Boolean getIsValid()
      Constraints: none

      Original property name from the Odata EDM: IsValid

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • toString

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

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

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

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