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

public class CustSalesPartnerFunc extends VdmEntity<CustSalesPartnerFunc>
Sales Partner Functions

Original entity name from the Odata EDM: A_CustSalesPartnerFuncType

  • Field Details

    • ALL_FIELDS

      public static final CustSalesPartnerFuncSelectable ALL_FIELDS
      Selector for all available fields of CustSalesPartnerFunc.
    • CUSTOMER

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

      public static final CustSalesPartnerFuncField<String> SALES_ORGANIZATION
      Use with available fluent helpers to apply the SalesOrganization field to query operations.
    • DISTRIBUTION_CHANNEL

      public static final CustSalesPartnerFuncField<String> DISTRIBUTION_CHANNEL
      Use with available fluent helpers to apply the DistributionChannel field to query operations.
    • DIVISION

      public static final CustSalesPartnerFuncField<String> DIVISION
      Use with available fluent helpers to apply the Division field to query operations.
    • PARTNER_COUNTER

      public static final CustSalesPartnerFuncField<String> PARTNER_COUNTER
      Use with available fluent helpers to apply the PartnerCounter field to query operations.
    • PARTNER_FUNCTION

      public static final CustSalesPartnerFuncField<String> PARTNER_FUNCTION
      Use with available fluent helpers to apply the PartnerFunction field to query operations.
    • BP_CUSTOMER_NUMBER

      public static final CustSalesPartnerFuncField<String> BP_CUSTOMER_NUMBER
      Use with available fluent helpers to apply the BPCustomerNumber field to query operations.
    • CUSTOMER_PARTNER_DESCRIPTION

      public static final CustSalesPartnerFuncField<String> CUSTOMER_PARTNER_DESCRIPTION
      Use with available fluent helpers to apply the CustomerPartnerDescription field to query operations.
    • DEFAULT_PARTNER

      public static final CustSalesPartnerFuncField<Boolean> DEFAULT_PARTNER
      Use with available fluent helpers to apply the DefaultPartner field to query operations.
    • SUPPLIER

      public static final CustSalesPartnerFuncField<String> SUPPLIER
      Use with available fluent helpers to apply the Supplier field to query operations.
    • PERSONNEL_NUMBER

      public static final CustSalesPartnerFuncField<String> PERSONNEL_NUMBER
      Use with available fluent helpers to apply the PersonnelNumber field to query operations.
    • CONTACT_PERSON

      public static final CustSalesPartnerFuncField<String> CONTACT_PERSON
      Use with available fluent helpers to apply the ContactPerson field to query operations.
    • ADDRESS_ID

      public static final CustSalesPartnerFuncField<String> ADDRESS_ID
      Use with available fluent helpers to apply the AddressID field to query operations.
    • AUTHORIZATION_GROUP

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

    • CustSalesPartnerFunc

      public CustSalesPartnerFunc()
    • CustSalesPartnerFunc

      public CustSalesPartnerFunc(@Nullable String customer, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String partnerCounter, @Nullable String partnerFunction, @Nullable String bPCustomerNumber, @Nullable String customerPartnerDescription, @Nullable Boolean defaultPartner, @Nullable String supplier, @Nullable String personnelNumber, @Nullable String contactPerson, @Nullable String addressID, @Nullable String authorizationGroup)
  • Method Details

    • getType

      @Nonnull public Class<CustSalesPartnerFunc> getType()
      Specified by:
      getType in class VdmObject<CustSalesPartnerFunc>
    • 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
    • setSalesOrganization

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

      Original property name from the Odata EDM: SalesOrganization

      Parameters:
      salesOrganization - Sales Organization
    • setDistributionChannel

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

      Original property name from the Odata EDM: DistributionChannel

      Parameters:
      distributionChannel - Distribution Channel
    • setDivision

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

      Original property name from the Odata EDM: Division

      Parameters:
      division - Division
    • setPartnerCounter

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

      Original property name from the Odata EDM: PartnerCounter

      Parameters:
      partnerCounter - Partner counter
    • setPartnerFunction

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

      Original property name from the Odata EDM: PartnerFunction

      Parameters:
      partnerFunction - Partner Function
    • setBPCustomerNumber

      public void setBPCustomerNumber(@Nullable String bPCustomerNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BPCustomerNumber

      Parameters:
      bPCustomerNumber - Account Number of Supplier
    • setCustomerPartnerDescription

      public void setCustomerPartnerDescription(@Nullable String customerPartnerDescription)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: CustomerPartnerDescription

      Parameters:
      customerPartnerDescription - Cust.-Specif. Descr. of Business Partner (Plant, Stor. Loc.)
    • setDefaultPartner

      public void setDefaultPartner(@Nullable Boolean defaultPartner)
      Constraints: none

      Original property name from the Odata EDM: DefaultPartner

      Parameters:
      defaultPartner - Default Partner
    • setSupplier

      public void setSupplier(@Nullable String supplier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Account Number of Supplier
    • setPersonnelNumber

      public void setPersonnelNumber(@Nullable String personnelNumber)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PersonnelNumber

      Parameters:
      personnelNumber - Personnel Number
    • setContactPerson

      public void setContactPerson(@Nullable String contactPerson)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ContactPerson

      Parameters:
      contactPerson - Number of Contact Person
    • setAddressID

      public void setAddressID(@Nullable String addressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressID

      Parameters:
      addressID - Business Partner Address Number (from BUT020)
    • 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<CustSalesPartnerFunc>
    • getKey

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

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

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

      @Nonnull public static <T> CustSalesPartnerFuncField<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> CustSalesPartnerFuncField<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<CustSalesPartnerFunc>
    • setServicePathForFetch

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

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

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

      @Nonnull public static CustSalesPartnerFunc.CustSalesPartnerFuncBuilder 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
    • getSalesOrganization

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

      Original property name from the Odata EDM: SalesOrganization

      Returns:
      Sales Organization
    • getDistributionChannel

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

      Original property name from the Odata EDM: DistributionChannel

      Returns:
      Distribution Channel
    • getDivision

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

      Original property name from the Odata EDM: Division

      Returns:
      Division
    • getPartnerCounter

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

      Original property name from the Odata EDM: PartnerCounter

      Returns:
      Partner counter
    • getPartnerFunction

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

      Original property name from the Odata EDM: PartnerFunction

      Returns:
      Partner Function
    • getBPCustomerNumber

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

      Original property name from the Odata EDM: BPCustomerNumber

      Returns:
      Account Number of Supplier
    • getCustomerPartnerDescription

      @Nullable public String getCustomerPartnerDescription()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: CustomerPartnerDescription

      Returns:
      Cust.-Specif. Descr. of Business Partner (Plant, Stor. Loc.)
    • getDefaultPartner

      @Nullable public Boolean getDefaultPartner()
      Constraints: none

      Original property name from the Odata EDM: DefaultPartner

      Returns:
      Default Partner
    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Account Number of Supplier
    • getPersonnelNumber

      @Nullable public String getPersonnelNumber()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PersonnelNumber

      Returns:
      Personnel Number
    • getContactPerson

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

      Original property name from the Odata EDM: ContactPerson

      Returns:
      Number of Contact Person
    • getAddressID

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

      Original property name from the Odata EDM: AddressID

      Returns:
      Business Partner Address Number (from BUT020)
    • 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<CustSalesPartnerFunc>
    • equals

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

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

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