java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<ObjectT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmComplex<BranchDetail>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.brazilbusinessplace.BranchDetail

public class BranchDetail extends VdmComplex<BranchDetail>

Original complex type name from the Odata EDM: BranchDetail

  • Constructor Details

    • BranchDetail

      public BranchDetail()
    • BranchDetail

      public BranchDetail(@Nullable String companyCode, @Nullable String branch, @Nullable String businessPlaceName, @Nullable String bR_BusinessPlacePartOfCNPJ, @Nullable String bR_SUFRAMACode, @Nullable String businessPlaceActivity)
  • Method Details

    • getType

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

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

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

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

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setBranch

      public void setBranch(@Nullable String branch)
      Constraints: Not nullable, Maximum length: 4

      Original property from the Odata EDM: Branch

      Parameters:
      branch - Business Place
    • setBusinessPlaceName

      public void setBusinessPlaceName(@Nullable String businessPlaceName)
      Constraints: Not nullable, Maximum length: 30

      Original property from the Odata EDM: BusinessPlaceName

      Parameters:
      businessPlaceName - Name 1
    • setBR_BusinessPlacePartOfCNPJ

      public void setBR_BusinessPlacePartOfCNPJ(@Nullable String bR_BusinessPlacePartOfCNPJ)
      Constraints: Not nullable, Maximum length: 18

      Original property from the Odata EDM: BR_BusinessPlacePartOfCNPJ

      Parameters:
      bR_BusinessPlacePartOfCNPJ - CNPJ Number
    • setBR_SUFRAMACode

      public void setBR_SUFRAMACode(@Nullable String bR_SUFRAMACode)
      Constraints: Not nullable, Maximum length: 9

      Original property from the Odata EDM: BR_SUFRAMACode

      Parameters:
      bR_SUFRAMACode - Suframa Code
    • setBusinessPlaceActivity

      public void setBusinessPlaceActivity(@Nullable String businessPlaceActivity)
      Constraints: Not nullable, Maximum length: 1

      Original property from the Odata EDM: BusinessPlaceActivity

      Parameters:
      businessPlaceActivity - SPED Activity Ind.
    • builder

      @Nonnull public static BranchDetail.BranchDetailBuilder builder()
    • getCompanyCode

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

      Original property from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getBranch

      @Nullable public String getBranch()
      Constraints: Not nullable, Maximum length: 4

      Original property from the Odata EDM: Branch

      Returns:
      Business Place
    • getBusinessPlaceName

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

      Original property from the Odata EDM: BusinessPlaceName

      Returns:
      Name 1
    • getBR_BusinessPlacePartOfCNPJ

      @Nullable public String getBR_BusinessPlacePartOfCNPJ()
      Constraints: Not nullable, Maximum length: 18

      Original property from the Odata EDM: BR_BusinessPlacePartOfCNPJ

      Returns:
      CNPJ Number
    • getBR_SUFRAMACode

      @Nullable public String getBR_SUFRAMACode()
      Constraints: Not nullable, Maximum length: 9

      Original property from the Odata EDM: BR_SUFRAMACode

      Returns:
      Suframa Code
    • getBusinessPlaceActivity

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

      Original property from the Odata EDM: BusinessPlaceActivity

      Returns:
      SPED Activity Ind.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmComplex<BranchDetail>