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