java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<Doex>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.pradivisionofinterest.Doex
All Implemented Interfaces:
VdmEntitySet

public class Doex extends VdmEntity<Doex> implements VdmEntitySet
Tax State Exemptions

Original entity name from the Odata EDM: Doex_Type

  • Field Details

  • Constructor Details

    • Doex

      public Doex()
    • Doex

      public Doex(@Nullable String companyCode, @Nullable String pRAJointVenture, @Nullable String divisionOfInterest, @Nullable String pRACustomerSupplierCode, @Nullable String pRAOwner, @Nullable String ownerInterestType, @Nullable String ownerInterestSequence, @Nullable LocalDate dOIOwnerEffectiveFromDate, @Nullable String pRADivisionOfInterestNmbr, @Nullable String majorProduct, @Nullable Boolean dOIOwnerIsExempt, @Nullable DOI to_PRAMaintDOIHierNode, @Nullable DOIOwner to_PRAMaintDOIOwnerHierNode)
  • Method Details

    • getType

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

      public void setPRAJointVenture(@Nullable String pRAJointVenture)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAJointVenture

      Parameters:
      pRAJointVenture - Joint Venture
    • setDivisionOfInterest

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

      Original property name from the Odata EDM: DivisionOfInterest

      Parameters:
      divisionOfInterest - Division of Interest (DOI)
    • setPRACustomerSupplierCode

      public void setPRACustomerSupplierCode(@Nullable String pRACustomerSupplierCode)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PRACustomerSupplierCode

      Parameters:
      pRACustomerSupplierCode - Customer/Vendor Indicator
    • setPRAOwner

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

      Original property name from the Odata EDM: PRAOwner

      Parameters:
      pRAOwner - PRA owner
    • setOwnerInterestType

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

      Original property name from the Odata EDM: OwnerInterestType

      Parameters:
      ownerInterestType - Participant Interest Type
    • setOwnerInterestSequence

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

      Original property name from the Odata EDM: OwnerInterestSequence

      Parameters:
      ownerInterestSequence - Owner Interest Sequence Number
    • setDOIOwnerEffectiveFromDate

      public void setDOIOwnerEffectiveFromDate(@Nullable LocalDate dOIOwnerEffectiveFromDate)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerEffectiveFromDate

      Parameters:
      dOIOwnerEffectiveFromDate - Effective from date
    • setPRADivisionOfInterestNmbr

      public void setPRADivisionOfInterestNmbr(@Nullable String pRADivisionOfInterestNmbr)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PRADivisionOfInterestNmbr

      Parameters:
      pRADivisionOfInterestNmbr - Division of Interest Number
    • setMajorProduct

      public void setMajorProduct(@Nullable String majorProduct)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MajorProduct

      Parameters:
      majorProduct - Major product code
    • setDOIOwnerIsExempt

      public void setDOIOwnerIsExempt(@Nullable Boolean dOIOwnerIsExempt)
      Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerIsExempt

      Parameters:
      dOIOwnerIsExempt - Stripper Exempt State Withholding Flag
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<Doex>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<Doex>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<Doex>
    • getPRAMaintDOIHierNodeIfPresent

      @Nonnull public io.vavr.control.Option<DOI> getPRAMaintDOIHierNodeIfPresent()
      Retrieval of associated DOI entity (one to one). This corresponds to the OData navigation property _PRAMaintDOIHierNode.

      If the navigation property for an entity Doex has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _PRAMaintDOIHierNode is already loaded, the result will contain the DOI entity. If not, an Option with result state empty is returned.
    • setPRAMaintDOIHierNode

      public void setPRAMaintDOIHierNode(DOI value)
      Overwrites the associated DOI entity for the loaded navigation property _PRAMaintDOIHierNode.
      Parameters:
      value - New DOI entity.
    • getPRAMaintDOIOwnerHierNodeIfPresent

      @Nonnull public io.vavr.control.Option<DOIOwner> getPRAMaintDOIOwnerHierNodeIfPresent()
      Retrieval of associated DOIOwner entity (one to one). This corresponds to the OData navigation property _PRAMaintDOIOwnerHierNode.

      If the navigation property for an entity Doex has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _PRAMaintDOIOwnerHierNode is already loaded, the result will contain the DOIOwner entity. If not, an Option with result state empty is returned.
    • setPRAMaintDOIOwnerHierNode

      public void setPRAMaintDOIOwnerHierNode(DOIOwner value)
      Overwrites the associated DOIOwner entity for the loaded navigation property _PRAMaintDOIOwnerHierNode.
      Parameters:
      value - New DOIOwner entity.
    • builder

      @Nonnull public static Doex.DoexBuilder builder()
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getPRAJointVenture

      @Nullable public String getPRAJointVenture()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAJointVenture

      Returns:
      Joint Venture
    • getDivisionOfInterest

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

      Original property name from the Odata EDM: DivisionOfInterest

      Returns:
      Division of Interest (DOI)
    • getPRACustomerSupplierCode

      @Nullable public String getPRACustomerSupplierCode()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PRACustomerSupplierCode

      Returns:
      Customer/Vendor Indicator
    • getPRAOwner

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

      Original property name from the Odata EDM: PRAOwner

      Returns:
      PRA owner
    • getOwnerInterestType

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

      Original property name from the Odata EDM: OwnerInterestType

      Returns:
      Participant Interest Type
    • getOwnerInterestSequence

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

      Original property name from the Odata EDM: OwnerInterestSequence

      Returns:
      Owner Interest Sequence Number
    • getDOIOwnerEffectiveFromDate

      @Nullable public LocalDate getDOIOwnerEffectiveFromDate()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerEffectiveFromDate

      Returns:
      Effective from date
    • getPRADivisionOfInterestNmbr

      @Nullable public String getPRADivisionOfInterestNmbr()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PRADivisionOfInterestNmbr

      Returns:
      Division of Interest Number
    • getMajorProduct

      @Nullable public String getMajorProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MajorProduct

      Returns:
      Major product code
    • getDOIOwnerIsExempt

      @Nullable public Boolean getDOIOwnerIsExempt()
      Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerIsExempt

      Returns:
      Stripper Exempt State Withholding Flag
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<Doex>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<Doex>