Class GTICustomer
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<GTICustomer>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.goldentaxinterfacecustomertype.GTICustomer
Customer Types
Original entity name from the Odata EDM: GTICustomerType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GTICustomerSelectableSelector for all available fields of GTICustomer.static final GTICustomerField<String>Use with available fluent helpers to apply the Customer field to query operations.static final GTICustomerField<String>Use with available fluent helpers to apply the CustomerType field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
GTICustomerField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> GTICustomerField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1protected Stringprotected StringgetKey()getType()inthashCode()voidsetCustomer(String customer) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCustomerType(String customerType) Constraints: Not nullable, Maximum length: 1protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of GTICustomer. -
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations. -
CUSTOMER_TYPE
Use with available fluent helpers to apply the CustomerType field to query operations.
-
-
Constructor Details
-
GTICustomer
public GTICustomer() -
GTICustomer
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<GTICustomer>
-
setCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Parameters:
customer- Customer
-
setCustomerType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CustomerType
- Parameters:
customerType- Customer Type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<GTICustomer>
-
getKey
- Overrides:
getKeyin classVdmObject<GTICustomer>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<GTICustomer>
-
fromMap
- Overrides:
fromMapin classVdmObject<GTICustomer>
-
field
@Nonnull public static <T> GTICustomerField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> GTICustomerField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<GTICustomer>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<GTICustomer>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<GTICustomer>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<GTICustomer>
-
builder
-
getCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Returns:
- Customer
-
getCustomerType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CustomerType
- Returns:
- Customer Type
-
toString
- Overrides:
toStringin classVdmObject<GTICustomer>
-
equals
- Overrides:
equalsin classVdmEntity<GTICustomer>
-
canEqual
- Overrides:
canEqualin classVdmEntity<GTICustomer>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<GTICustomer>
-