
com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaRussiaTimeIndependentPropertyTax Maven / Gradle / Ivy
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.s4hana.datamodel.bapi.structures;
import javax.annotation.Nullable;
import com.sap.cloud.sdk.result.ElementName;
import lombok.Builder;
import lombok.Data;
/**
* FI-AA: Russia - Time-Independent Property Tax (BAPI)
*
* Structure: BAPI1022_GLO_RUS_PTX
*
*
*/
@Builder
@Data
public class FixedAssetFiAaRussiaTimeIndependentPropertyTax {
/**
* Field name: PROPERTY_TYPE
*
* Type element: J_3RFPROPTYPE
* Domain name: CHAR1
* Internal type: CHAR
* Description: Property Type
* Max length: 1
*
*
*/
@ElementName("PROPERTY_TYPE")
@Nullable
private String propertyType;
public void validate()
throws IllegalArgumentException
{
if ((propertyType!= null)&&(propertyType.length()> 1)) {
throw new IllegalArgumentException("Bapi method parameter \"propertyType\" contains an invalid structure. Structure attribute \"PROPERTY_TYPE\" / Function parameter \"propertyType\" must have at most 1 characters. The given value is too long.");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy