Class TaxExemptionCertificate
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.TaxExemptionCertificate
A tax exemption certificate represents a tax exemption granted to a party (individual or organization) by a tax jurisdiction which may be a city, state, country,... An exemption has a certificate identifier (received from the jurisdiction that levied the tax) and a validity period. An exemption is per tax types and determines for each type of tax what portion of the tax is exempted (partial by percentage or complete) via the tax definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTaxDefinitionItem(TaxDefinition taxDefinitionItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) attachment(AttachmentRefOrValue attachment) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationships@Valid AttachmentRefOrValueGet attachmentWhen sub-classing, this defines the sub-class entity namegetId()Unique identifier of the certificate of the tax exemption@Valid List<TaxDefinition>Get taxDefinition@Valid TimePeriodGet validForinthashCode()voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidsetAttachment(AttachmentRefOrValue attachment) voidvoidvoidsetTaxDefinition(List<TaxDefinition> taxDefinition) voidsetValidFor(TimePeriod validFor) taxDefinition(List<TaxDefinition> taxDefinition) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
TaxExemptionCertificate
public TaxExemptionCertificate()
-
-
Method Details
-
id
-
getId
Unique identifier of the certificate of the tax exemption- Returns:
- id
-
setId
-
attachment
-
getAttachment
Get attachment- Returns:
- attachment
-
setAttachment
-
taxDefinition
-
addTaxDefinitionItem
-
getTaxDefinition
Get taxDefinition- Returns:
- taxDefinition
-
setTaxDefinition
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-