Class SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesorder.SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder
- Enclosing class:
- SalesOrderHeaderPartner
Helper class to allow for fluent creation of SalesOrderHeaderPartner instances.
-
Method Summary
Modifier and TypeMethodDescriptionaddress(SalesOrderPartnerAddress... value) Navigation property to_Address for SalesOrderHeaderPartner to multiple SalesOrderPartnerAddress.Constraints: Not nullable, Maximum length: 10build()contactPerson(String contactPerson) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10partnerFunction(String partnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 8salesOrder(SalesOrder value) Navigation property to_SalesOrder for SalesOrderHeaderPartner to single SalesOrder.salesOrder(String value) (Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10toString()vATRegistration(String vATRegistration) Constraints: Not nullable, Maximum length: 20
-
Method Details
-
address
@Nonnull public SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder address(SalesOrderPartnerAddress... value) Navigation property to_Address for SalesOrderHeaderPartner to multiple SalesOrderPartnerAddress.- Parameters:
value- The SalesOrderPartnerAddresss to build this SalesOrderHeaderPartner with.- Returns:
- This Builder to allow for a fluent interface.
-
salesOrder
Navigation property to_SalesOrder for SalesOrderHeaderPartner to single SalesOrder.- Parameters:
value- The SalesOrder to build this SalesOrderHeaderPartner with.- Returns:
- This Builder to allow for a fluent interface.
-
salesOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesOrder
- Parameters:
value- The salesOrder to build this SalesOrderHeaderPartner with.- Returns:
- This Builder to allow for a fluent interface.
-
partnerFunction
@Nonnull public SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder partnerFunction(@Nullable String partnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PartnerFunction
- Returns:
this.
-
customer
@Nonnull public SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder customer(@Nullable String customer) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Returns:
this.
-
supplier
@Nonnull public SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder supplier(@Nullable String supplier) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Returns:
this.
-
personnel
@Nonnull public SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder personnel(@Nullable String personnel) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: Personnel
- Returns:
this.
-
contactPerson
@Nonnull public SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder contactPerson(@Nullable String contactPerson) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ContactPerson
- Returns:
this.
-
addressID
@Nonnull public SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder addressID(@Nullable String addressID) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressID
- Returns:
this.
-
vATRegistration
@Nonnull public SalesOrderHeaderPartner.SalesOrderHeaderPartnerBuilder vATRegistration(@Nullable String vATRegistration) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: VATRegistration
- Returns:
this.
-
build
-
toString
-