public class

Discount

extends Object
java.lang.Object
   ↳ vertexinc.o_series.tps._6._0.Discount

Class Overview

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="DiscountPercent" type="{urn:vertexinc:o-series:tps:6:0}PercentType"/>
         <element name="DiscountAmount" type="{urn:vertexinc:o-series:tps:6:0}AmountType"/>
       </choice>
       <attribute name="userDefinedDiscountCode" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected AmountType discountAmount
protected BigDecimal discountPercent
protected String userDefinedDiscountCode
Public Constructors
Discount()
Public Methods
AmountType getDiscountAmount()
Gets the value of the discountAmount property.
BigDecimal getDiscountPercent()
Gets the value of the discountPercent property.
String getUserDefinedDiscountCode()
Gets the value of the userDefinedDiscountCode property.
void setDiscountAmount(AmountType value)
Sets the value of the discountAmount property.
void setDiscountPercent(BigDecimal value)
Sets the value of the discountPercent property.
void setUserDefinedDiscountCode(String value)
Sets the value of the userDefinedDiscountCode property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected AmountType discountAmount

protected BigDecimal discountPercent

protected String userDefinedDiscountCode

Public Constructors

public Discount ()

Public Methods

public AmountType getDiscountAmount ()

Gets the value of the discountAmount property.

Returns

public BigDecimal getDiscountPercent ()

Gets the value of the discountPercent property.

Returns
  • possible object is BigDecimal

public String getUserDefinedDiscountCode ()

Gets the value of the userDefinedDiscountCode property.

Returns
  • possible object is String

public void setDiscountAmount (AmountType value)

Sets the value of the discountAmount property.

Parameters
value Allowed object is AmountType

public void setDiscountPercent (BigDecimal value)

Sets the value of the discountPercent property.

Parameters
value Allowed object is BigDecimal

public void setUserDefinedDiscountCode (String value)

Sets the value of the userDefinedDiscountCode property.

Parameters
value Allowed object is String