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

public class BusPartAddrDepdntTaxNmbr extends VdmEntity<BusPartAddrDepdntTaxNmbr>
Business Partner Address Dependent Tax Numbers

Original entity name from the Odata EDM: A_BusPartAddrDepdntTaxNmbrType

  • Field Details

  • Constructor Details

    • BusPartAddrDepdntTaxNmbr

      public BusPartAddrDepdntTaxNmbr()
    • BusPartAddrDepdntTaxNmbr

      public BusPartAddrDepdntTaxNmbr(@Nullable String businessPartner, @Nullable String addressID, @Nullable String bPTaxType, @Nullable String bPTaxNumber, @Nullable String bPTaxLongNumber, @Nullable String authorizationGroup)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: AddressID

      Parameters:
      addressID - Address Number
    • setBPTaxType

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

      Original property name from the Odata EDM: BPTaxType

      Parameters:
      bPTaxType - Tax Number Category
    • setBPTaxNumber

      public void setBPTaxNumber(@Nullable String bPTaxNumber)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: BPTaxNumber

      Parameters:
      bPTaxNumber - Business Partner Tax Number
    • setBPTaxLongNumber

      public void setBPTaxLongNumber(@Nullable String bPTaxLongNumber)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: BPTaxLongNumber

      Parameters:
      bPTaxLongNumber - Business Partner Tax Number
    • 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<BusPartAddrDepdntTaxNmbr>
    • getKey

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

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

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

      @Nonnull public static <T> BusPartAddrDepdntTaxNmbrField<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> BusPartAddrDepdntTaxNmbrField<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<BusPartAddrDepdntTaxNmbr>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<BusPartAddrDepdntTaxNmbr>
    • 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
    • getAddressID

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

      Original property name from the Odata EDM: AddressID

      Returns:
      Address Number
    • getBPTaxType

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

      Original property name from the Odata EDM: BPTaxType

      Returns:
      Tax Number Category
    • getBPTaxNumber

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

      Original property name from the Odata EDM: BPTaxNumber

      Returns:
      Business Partner Tax Number
    • getBPTaxLongNumber

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

      Original property name from the Odata EDM: BPTaxLongNumber

      Returns:
      Business Partner Tax Number
    • 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<BusPartAddrDepdntTaxNmbr>
    • equals

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

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

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