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

public class Mkex extends VdmEntity<Mkex> implements VdmEntitySet
Marketing Exemptions

Original entity name from the Odata EDM: Mkex_Type

  • Field Details

  • Constructor Details

    • Mkex

      public Mkex()
    • Mkex

      public Mkex(@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 String marketingType, @Nullable String pRAMaterial, @Nullable Boolean dOIOwnerIsExtReimbmtExmpt, @Nullable Boolean dOIOwnerIsIntDeductionExmpt, @Nullable Boolean dOIOwnerIsExtDeductionExmpt, @Nullable DOI to_PRAMaintDOIHierNode, @Nullable DOIOwner to_PRAMaintDOIOwnerHierNode)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: MarketingType

      Parameters:
      marketingType - Marketing type code
    • setPRAMaterial

      public void setPRAMaterial(@Nullable String pRAMaterial)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: PRAMaterial

      Parameters:
      pRAMaterial - Material Number
    • setDOIOwnerIsExtReimbmtExmpt

      public void setDOIOwnerIsExtReimbmtExmpt(@Nullable Boolean dOIOwnerIsExtReimbmtExmpt)
      Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerIsExtReimbmtExmpt

      Parameters:
      dOIOwnerIsExtReimbmtExmpt - External reimbursement flag
    • setDOIOwnerIsIntDeductionExmpt

      public void setDOIOwnerIsIntDeductionExmpt(@Nullable Boolean dOIOwnerIsIntDeductionExmpt)
      Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerIsIntDeductionExmpt

      Parameters:
      dOIOwnerIsIntDeductionExmpt - Internal deduction flag
    • setDOIOwnerIsExtDeductionExmpt

      public void setDOIOwnerIsExtDeductionExmpt(@Nullable Boolean dOIOwnerIsExtDeductionExmpt)
      Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerIsExtDeductionExmpt

      Parameters:
      dOIOwnerIsExtDeductionExmpt - External deduction flag
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<Mkex>
    • 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 Mkex 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 Mkex 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 Mkex.MkexBuilder 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
    • getMarketingType

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

      Original property name from the Odata EDM: MarketingType

      Returns:
      Marketing type code
    • getPRAMaterial

      @Nullable public String getPRAMaterial()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: PRAMaterial

      Returns:
      Material Number
    • getDOIOwnerIsExtReimbmtExmpt

      @Nullable public Boolean getDOIOwnerIsExtReimbmtExmpt()
      Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerIsExtReimbmtExmpt

      Returns:
      External reimbursement flag
    • getDOIOwnerIsIntDeductionExmpt

      @Nullable public Boolean getDOIOwnerIsIntDeductionExmpt()
      Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerIsIntDeductionExmpt

      Returns:
      Internal deduction flag
    • getDOIOwnerIsExtDeductionExmpt

      @Nullable public Boolean getDOIOwnerIsExtDeductionExmpt()
      Constraints: Not nullable

      Original property name from the Odata EDM: DOIOwnerIsExtDeductionExmpt

      Returns:
      External deduction flag
    • toString

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

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

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

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

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