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

public class SettlementDocumentPartner extends VdmEntity<SettlementDocumentPartner> implements VdmEntitySet
Header Partner

Original entity name from the Odata EDM: SettlementDocumentPartner_Type

  • Field Details

  • Constructor Details

    • SettlementDocumentPartner

      public SettlementDocumentPartner()
    • SettlementDocumentPartner

      public SettlementDocumentPartner(@Nullable String settlmtDoc, @Nullable String partnerFunction, @Nullable String partnerCounter, @Nullable String supplier, @Nullable String customer, @Nullable String contactPerson, @Nullable String personnel, @Nullable String addressID, @Nullable String addressPersonID, @Nullable String referenceBusinessPartner, @Nullable String settlmtDocPartAddrRefType, @Nullable String addressObjectType, @Nullable String bPAddrDeterminationTransaction, @Nullable String bPRefAddressIDForDocSpcfcAddr, @Nullable String vATRegistration, @Nullable Boolean partnerIsOneTimeAccount, @Nullable SetlDoc to_SettlmtDoc)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: SettlmtDoc

      Parameters:
      settlmtDoc - Settlement Document Number
    • 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
    • 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
    • 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
    • setCustomer

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

      Original property name from the Odata EDM: Customer

      Parameters:
      customer - Customer 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
    • setPersonnel

      public void setPersonnel(@Nullable String personnel)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: Personnel

      Parameters:
      personnel - Personnel Number
    • setAddressID

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

      Original property name from the Odata EDM: AddressID

      Parameters:
      addressID - Address Number
    • setAddressPersonID

      public void setAddressPersonID(@Nullable String addressPersonID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressPersonID

      Parameters:
      addressPersonID - Person Number
    • setReferenceBusinessPartner

      public void setReferenceBusinessPartner(@Nullable String referenceBusinessPartner)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceBusinessPartner

      Parameters:
      referenceBusinessPartner - Business Partner Number
    • setSettlmtDocPartAddrRefType

      public void setSettlmtDocPartAddrRefType(@Nullable String settlmtDocPartAddrRefType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SettlmtDocPartAddrRefType

      Parameters:
      settlmtDocPartAddrRefType - Address indicator
    • setAddressObjectType

      public void setAddressObjectType(@Nullable String addressObjectType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: AddressObjectType

      Parameters:
      addressObjectType - Address type (1=Organization, 2=Person, 3=Contact person)
    • setBPAddrDeterminationTransaction

      public void setBPAddrDeterminationTransaction(@Nullable String bPAddrDeterminationTransaction)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: BPAddrDeterminationTransaction

      Parameters:
      bPAddrDeterminationTransaction - Address Determination in Document
    • setBPRefAddressIDForDocSpcfcAddr

      public void setBPRefAddressIDForDocSpcfcAddr(@Nullable String bPRefAddressIDForDocSpcfcAddr)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BPRefAddressIDForDocSpcfcAddr

      Parameters:
      bPRefAddressIDForDocSpcfcAddr - BP Reference Address Number
    • setVATRegistration

      public void setVATRegistration(@Nullable String vATRegistration)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: VATRegistration

      Parameters:
      vATRegistration - VAT Registration Number
    • setPartnerIsOneTimeAccount

      public void setPartnerIsOneTimeAccount(@Nullable Boolean partnerIsOneTimeAccount)
      Constraints: Not nullable

      Original property name from the Odata EDM: PartnerIsOneTimeAccount

      Parameters:
      partnerIsOneTimeAccount - Indicator: Is the Account a One-Time Account?
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SettlementDocumentPartner 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 _SettlmtDoc is already loaded, the result will contain the SetlDoc entity. If not, an Option with result state empty is returned.
    • setSettlmtDoc

      public void setSettlmtDoc(SetlDoc value)
      Overwrites the associated SetlDoc entity for the loaded navigation property _SettlmtDoc.
      Parameters:
      value - New SetlDoc entity.
    • builder

    • getSettlmtDoc

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

      Original property name from the Odata EDM: SettlmtDoc

      Returns:
      Settlement Document Number
    • getPartnerFunction

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

      Original property name from the Odata EDM: PartnerFunction

      Returns:
      Partner Function
    • getPartnerCounter

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

      Original property name from the Odata EDM: PartnerCounter

      Returns:
      Partner counter
    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Account Number of Supplier
    • getCustomer

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

      Original property name from the Odata EDM: Customer

      Returns:
      Customer 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
    • getPersonnel

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

      Original property name from the Odata EDM: Personnel

      Returns:
      Personnel Number
    • getAddressID

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

      Original property name from the Odata EDM: AddressID

      Returns:
      Address Number
    • getAddressPersonID

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

      Original property name from the Odata EDM: AddressPersonID

      Returns:
      Person Number
    • getReferenceBusinessPartner

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

      Original property name from the Odata EDM: ReferenceBusinessPartner

      Returns:
      Business Partner Number
    • getSettlmtDocPartAddrRefType

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

      Original property name from the Odata EDM: SettlmtDocPartAddrRefType

      Returns:
      Address indicator
    • getAddressObjectType

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

      Original property name from the Odata EDM: AddressObjectType

      Returns:
      Address type (1=Organization, 2=Person, 3=Contact person)
    • getBPAddrDeterminationTransaction

      @Nullable public String getBPAddrDeterminationTransaction()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: BPAddrDeterminationTransaction

      Returns:
      Address Determination in Document
    • getBPRefAddressIDForDocSpcfcAddr

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

      Original property name from the Odata EDM: BPRefAddressIDForDocSpcfcAddr

      Returns:
      BP Reference Address Number
    • getVATRegistration

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

      Original property name from the Odata EDM: VATRegistration

      Returns:
      VAT Registration Number
    • getPartnerIsOneTimeAccount

      @Nullable public Boolean getPartnerIsOneTimeAccount()
      Constraints: Not nullable

      Original property name from the Odata EDM: PartnerIsOneTimeAccount

      Returns:
      Indicator: Is the Account a One-Time Account?
    • toString

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

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

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

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

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