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

public class BranchAddress extends VdmComplex<BranchAddress>

Original complex type name from the Odata EDM: BranchAddress

  • Constructor Details

    • BranchAddress

      public BranchAddress()
    • BranchAddress

      public BranchAddress(@Nullable String addressID, @Nullable String name, @Nullable String name2, @Nullable String name3, @Nullable String name4, @Nullable String cityName, @Nullable String district, @Nullable String postalCode, @Nullable String pOBox, @Nullable String streetName, @Nullable String addressHouseNumber, @Nullable String floor, @Nullable String roomNumber, @Nullable String region, @Nullable String taxJurisdiction, @Nullable String phoneNumber1, @Nullable String phoneNumberExtension, @Nullable String addressFaxNumber)
  • Method Details

    • getType

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

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

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

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

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

      Original property from the Odata EDM: AddressID

      Parameters:
      addressID - Address Number
    • setName

      public void setName(@Nullable String name)
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: Name

      Parameters:
      name - Name
    • setName2

      public void setName2(@Nullable String name2)
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: Name2

      Parameters:
      name2 - Name 2
    • setName3

      public void setName3(@Nullable String name3)
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: Name3

      Parameters:
      name3 - Name 3
    • setName4

      public void setName4(@Nullable String name4)
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: Name4

      Parameters:
      name4 - Name 4
    • setCityName

      public void setCityName(@Nullable String cityName)
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: CityName

      Parameters:
      cityName - City
    • setDistrict

      public void setDistrict(@Nullable String district)
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: District

      Parameters:
      district - District
    • setPostalCode

      public void setPostalCode(@Nullable String postalCode)
      Constraints: Not nullable, Maximum length: 10

      Original property from the Odata EDM: PostalCode

      Parameters:
      postalCode - Postal Code
    • setPOBox

      public void setPOBox(@Nullable String pOBox)
      Constraints: Not nullable, Maximum length: 10

      Original property from the Odata EDM: POBox

      Parameters:
      pOBox - PO Box
    • setStreetName

      public void setStreetName(@Nullable String streetName)
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: StreetName

      Parameters:
      streetName - Street
    • setAddressHouseNumber

      public void setAddressHouseNumber(@Nullable String addressHouseNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property from the Odata EDM: AddressHouseNumber

      Parameters:
      addressHouseNumber - House Number
    • setFloor

      public void setFloor(@Nullable String floor)
      Constraints: Not nullable, Maximum length: 10

      Original property from the Odata EDM: Floor

      Parameters:
      floor - Floor
    • setRoomNumber

      public void setRoomNumber(@Nullable String roomNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property from the Odata EDM: RoomNumber

      Parameters:
      roomNumber - Room Number
    • setRegion

      public void setRegion(@Nullable String region)
      Constraints: Not nullable, Maximum length: 3

      Original property from the Odata EDM: Region

      Parameters:
      region - Region
    • setTaxJurisdiction

      public void setTaxJurisdiction(@Nullable String taxJurisdiction)
      Constraints: Not nullable, Maximum length: 15

      Original property from the Odata EDM: TaxJurisdiction

      Parameters:
      taxJurisdiction - Tax Jurisdiction
    • setPhoneNumber1

      public void setPhoneNumber1(@Nullable String phoneNumber1)
      Constraints: Not nullable, Maximum length: 30

      Original property from the Odata EDM: PhoneNumber1

      Parameters:
      phoneNumber1 - Telephone
    • setPhoneNumberExtension

      public void setPhoneNumberExtension(@Nullable String phoneNumberExtension)
      Constraints: Not nullable, Maximum length: 10

      Original property from the Odata EDM: PhoneNumberExtension

      Parameters:
      phoneNumberExtension - Extension
    • setAddressFaxNumber

      public void setAddressFaxNumber(@Nullable String addressFaxNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property from the Odata EDM: AddressFaxNumber

      Parameters:
      addressFaxNumber - Fax
    • builder

      @Nonnull public static BranchAddress.BranchAddressBuilder builder()
    • getAddressID

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

      Original property from the Odata EDM: AddressID

      Returns:
      Address Number
    • getName

      @Nullable public String getName()
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: Name

      Returns:
      Name
    • getName2

      @Nullable public String getName2()
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: Name2

      Returns:
      Name 2
    • getName3

      @Nullable public String getName3()
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: Name3

      Returns:
      Name 3
    • getName4

      @Nullable public String getName4()
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: Name4

      Returns:
      Name 4
    • getCityName

      @Nullable public String getCityName()
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: CityName

      Returns:
      City
    • getDistrict

      @Nullable public String getDistrict()
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: District

      Returns:
      District
    • getPostalCode

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

      Original property from the Odata EDM: PostalCode

      Returns:
      Postal Code
    • getPOBox

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

      Original property from the Odata EDM: POBox

      Returns:
      PO Box
    • getStreetName

      @Nullable public String getStreetName()
      Constraints: Not nullable, Maximum length: 40

      Original property from the Odata EDM: StreetName

      Returns:
      Street
    • getAddressHouseNumber

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

      Original property from the Odata EDM: AddressHouseNumber

      Returns:
      House Number
    • getFloor

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

      Original property from the Odata EDM: Floor

      Returns:
      Floor
    • getRoomNumber

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

      Original property from the Odata EDM: RoomNumber

      Returns:
      Room Number
    • getRegion

      @Nullable public String getRegion()
      Constraints: Not nullable, Maximum length: 3

      Original property from the Odata EDM: Region

      Returns:
      Region
    • getTaxJurisdiction

      @Nullable public String getTaxJurisdiction()
      Constraints: Not nullable, Maximum length: 15

      Original property from the Odata EDM: TaxJurisdiction

      Returns:
      Tax Jurisdiction
    • getPhoneNumber1

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

      Original property from the Odata EDM: PhoneNumber1

      Returns:
      Telephone
    • getPhoneNumberExtension

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

      Original property from the Odata EDM: PhoneNumberExtension

      Returns:
      Extension
    • getAddressFaxNumber

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

      Original property from the Odata EDM: AddressFaxNumber

      Returns:
      Fax
    • toString

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

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

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

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