Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2012A.golf;

Defines information specific to one tax amount that is applicable to the cost of an item. Schema fragment(s) for this class:
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GolfTaxAmountGroup">
   <xs:attribute type="xs:float" use="required" name="Total"/>
   <xs:attribute type="xs:string" use="required" name="CurrencyCode"/>
   <xs:attribute type="xs:string" use="optional" name="TaxCode"/>
   <xs:attribute type="xs:float" use="optional" name="Percentage"/>
   <xs:attribute type="xs:string" use="optional" name="Description"/>
 </xs:attributeGroup>
 
 
 public class GolfTaxAmountGroup
 {
     private Float total;
     private String currencyCode;
     private String taxCode;
     private Float percentage;
     private String description;

    
Get the 'Total' attribute value. The total amount of the tax.

Returns:
value
 
     public Float getTotal() {
         return ;
     }

    
Set the 'Total' attribute value. The total amount of the tax.

Parameters:
total
 
     public void setTotal(Float total) {
         this. = total;
     }

    
Get the 'CurrencyCode' attribute value. The currency code that the total amount is represented in.

Returns:
value
 
     public String getCurrencyCode() {
         return ;
     }

    
Set the 'CurrencyCode' attribute value. The currency code that the total amount is represented in.

Parameters:
currencyCode
 
     public void setCurrencyCode(String currencyCode) {
         this. = currencyCode;
     }

    
Get the 'TaxCode' attribute value. A code for the tax that is agreed upon between trading partners.

Returns:
value
 
     public String getTaxCode() {
         return ;
     }

    
Set the 'TaxCode' attribute value. A code for the tax that is agreed upon between trading partners.

Parameters:
taxCode
 
     public void setTaxCode(String taxCode) {
         this. = taxCode;
     }

    
Get the 'Percentage' attribute value. A percentage of the defined charge amount that this tax represents.

Returns:
value
 
     public Float getPercentage() {
         return ;
     }

    
Set the 'Percentage' attribute value. A percentage of the defined charge amount that this tax represents.

Parameters:
percentage
 
     public void setPercentage(Float percentage) {
         this. = percentage;
     }

    
Get the 'Description' attribute value. A description of the tax.

Returns:
value
    public String getDescription() {
        return ;
    }

    
Set the 'Description' attribute value. A description of the tax.

Parameters:
description
    public void setDescription(String description) {
        this. = description;
    }
New to GrepCode? Check out our FAQ X