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

public class Customer_VH extends VdmEntity<Customer_VH>
Customer

Original entity name from the Odata EDM: I_Customer_VHType

  • Field Details

    • ALL_FIELDS

      public static final Customer_VHSelectable ALL_FIELDS
      Selector for all available fields of Customer_VH.
    • CUSTOMER

      public static final Customer_VHField<String> CUSTOMER
      Use with available fluent helpers to apply the Customer field to query operations.
    • ORGANIZATION_BP_NAME1

      public static final Customer_VHField<String> ORGANIZATION_BP_NAME1
      Use with available fluent helpers to apply the OrganizationBPName1 field to query operations.
    • ORGANIZATION_BP_NAME2

      public static final Customer_VHField<String> ORGANIZATION_BP_NAME2
      Use with available fluent helpers to apply the OrganizationBPName2 field to query operations.
    • COUNTRY

      public static final Customer_VHField<String> COUNTRY
      Use with available fluent helpers to apply the Country field to query operations.
    • CITY_NAME

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

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

      public static final Customer_VHField<String> POSTAL_CODE
      Use with available fluent helpers to apply the PostalCode field to query operations.
    • CUSTOMER_NAME

      public static final Customer_VHField<String> CUSTOMER_NAME
      Use with available fluent helpers to apply the CustomerName field to query operations.
    • CUSTOMER_ACCOUNT_GROUP

      public static final Customer_VHField<String> CUSTOMER_ACCOUNT_GROUP
      Use with available fluent helpers to apply the CustomerAccountGroup field to query operations.
    • AUTHORIZATION_GROUP

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

      public static final Customer_VHField<String> IS_BUSINESS_PURPOSE_COMPLETED
      Use with available fluent helpers to apply the IsBusinessPurposeCompleted field to query operations.
    • IS_COMPETITOR

      public static final Customer_VHField<Boolean> IS_COMPETITOR
      Use with available fluent helpers to apply the IsCompetitor field to query operations.
    • BUSINESS_PARTNER

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

      public static final Customer_VHField<String> BUSINESS_PARTNER_TYPE
      Use with available fluent helpers to apply the BusinessPartnerType field to query operations.
  • Constructor Details

    • Customer_VH

      public Customer_VH()
    • Customer_VH

      public Customer_VH(@Nullable String customer, @Nullable String organizationBPName1, @Nullable String organizationBPName2, @Nullable String country, @Nullable String cityName, @Nullable String streetName, @Nullable String postalCode, @Nullable String customerName, @Nullable String customerAccountGroup, @Nullable String authorizationGroup, @Nullable String isBusinessPurposeCompleted, @Nullable Boolean isCompetitor, @Nullable String businessPartner, @Nullable String businessPartnerType)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Customer

      Parameters:
      customer - Customer Number
    • setOrganizationBPName1

      public void setOrganizationBPName1(@Nullable String organizationBPName1)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: OrganizationBPName1

      Parameters:
      organizationBPName1 - Name 1
    • setOrganizationBPName2

      public void setOrganizationBPName2(@Nullable String organizationBPName2)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: OrganizationBPName2

      Parameters:
      organizationBPName2 - Name 2
    • setCountry

      public void setCountry(@Nullable String country)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Parameters:
      country - Country/Region Key
    • setCityName

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

      Original property name from the Odata EDM: CityName

      Parameters:
      cityName - City
    • 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
    • setPostalCode

      public void setPostalCode(@Nullable String postalCode)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PostalCode

      Parameters:
      postalCode - Postal Code
    • setCustomerName

      public void setCustomerName(@Nullable String customerName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CustomerName

      Parameters:
      customerName - Name of Customer
    • setCustomerAccountGroup

      public void setCustomerAccountGroup(@Nullable String customerAccountGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerAccountGroup

      Parameters:
      customerAccountGroup - Customer Account Group
    • 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
    • setIsBusinessPurposeCompleted

      public void setIsBusinessPurposeCompleted(@Nullable String isBusinessPurposeCompleted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsBusinessPurposeCompleted

      Parameters:
      isBusinessPurposeCompleted - Business Purpose Completed Flag
    • setIsCompetitor

      public void setIsCompetitor(@Nullable Boolean isCompetitor)
      Constraints: none

      Original property name from the Odata EDM: IsCompetitor

      Parameters:
      isCompetitor - Indicator: Competitor
    • setBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner Number
    • setBusinessPartnerType

      public void setBusinessPartnerType(@Nullable String businessPartnerType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusinessPartnerType

      Parameters:
      businessPartnerType - Business Partner Type
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> Customer_VHField<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> Customer_VHField<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<Customer_VH>
    • setServicePathForFetch

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

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

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

      @Nonnull public static Customer_VH.Customer_VHBuilder builder()
    • getCustomer

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

      Original property name from the Odata EDM: Customer

      Returns:
      Customer Number
    • getOrganizationBPName1

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

      Original property name from the Odata EDM: OrganizationBPName1

      Returns:
      Name 1
    • getOrganizationBPName2

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

      Original property name from the Odata EDM: OrganizationBPName2

      Returns:
      Name 2
    • getCountry

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

      Original property name from the Odata EDM: Country

      Returns:
      Country/Region Key
    • getCityName

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

      Original property name from the Odata EDM: CityName

      Returns:
      City
    • getStreetName

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

      Original property name from the Odata EDM: StreetName

      Returns:
      Street and House Number
    • getPostalCode

      @Nullable public String getPostalCode()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PostalCode

      Returns:
      Postal Code
    • getCustomerName

      @Nullable public String getCustomerName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CustomerName

      Returns:
      Name of Customer
    • getCustomerAccountGroup

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

      Original property name from the Odata EDM: CustomerAccountGroup

      Returns:
      Customer Account Group
    • getAuthorizationGroup

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

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      Authorization Group
    • getIsBusinessPurposeCompleted

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

      Original property name from the Odata EDM: IsBusinessPurposeCompleted

      Returns:
      Business Purpose Completed Flag
    • getIsCompetitor

      @Nullable public Boolean getIsCompetitor()
      Constraints: none

      Original property name from the Odata EDM: IsCompetitor

      Returns:
      Indicator: Competitor
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getBusinessPartnerType

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

      Original property name from the Odata EDM: BusinessPartnerType

      Returns:
      Business Partner Type
    • toString

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

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

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

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