C# Class Amazon.ECS.Model.PromotionBenefit

Show file Open project: nexus49/grado

Private Properties

Property Type Description
EscapeXML String

Public Methods

Method Description
IsSetBenefitType ( ) : System.Boolean

Checks if BenefitType property is set

IsSetCeiling ( ) : System.Boolean

Checks if Ceiling property is set

IsSetComponentType ( ) : System.Boolean

Checks if ComponentType property is set

IsSetFixedAmount ( ) : System.Boolean

Checks if FixedAmount property is set

IsSetPercentOff ( ) : System.Boolean

Checks if PercentOff property is set

IsSetQuantity ( ) : System.Boolean

Checks if Quantity property is set

WithBenefitType ( String benefitType ) : PromotionBenefit

Sets the BenefitType property

WithCeiling ( Price ceiling ) : PromotionBenefit

Sets the Ceiling property

WithComponentType ( String componentType ) : PromotionBenefit

Sets the ComponentType property

WithFixedAmount ( Price fixedAmount ) : PromotionBenefit

Sets the FixedAmount property

WithPercentOff ( Double percentOff ) : PromotionBenefit

Sets the PercentOff property

WithQuantity ( Decimal quantity ) : PromotionBenefit

Sets the Quantity property

Protected Methods

Method Description
ToXMLFragment ( ) : String

XML fragment representation of this object

Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only

Private Methods

Method Description
EscapeXML ( String str ) : String

Method Details

IsSetBenefitType() public method

Checks if BenefitType property is set
public IsSetBenefitType ( ) : System.Boolean
return System.Boolean

IsSetCeiling() public method

Checks if Ceiling property is set
public IsSetCeiling ( ) : System.Boolean
return System.Boolean

IsSetComponentType() public method

Checks if ComponentType property is set
public IsSetComponentType ( ) : System.Boolean
return System.Boolean

IsSetFixedAmount() public method

Checks if FixedAmount property is set
public IsSetFixedAmount ( ) : System.Boolean
return System.Boolean

IsSetPercentOff() public method

Checks if PercentOff property is set
public IsSetPercentOff ( ) : System.Boolean
return System.Boolean

IsSetQuantity() public method

Checks if Quantity property is set
public IsSetQuantity ( ) : System.Boolean
return System.Boolean

ToXMLFragment() protected method

XML fragment representation of this object
Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only
protected ToXMLFragment ( ) : String
return String

WithBenefitType() public method

Sets the BenefitType property
public WithBenefitType ( String benefitType ) : PromotionBenefit
benefitType String BenefitType property
return PromotionBenefit

WithCeiling() public method

Sets the Ceiling property
public WithCeiling ( Price ceiling ) : PromotionBenefit
ceiling Price Ceiling property
return PromotionBenefit

WithComponentType() public method

Sets the ComponentType property
public WithComponentType ( String componentType ) : PromotionBenefit
componentType String ComponentType property
return PromotionBenefit

WithFixedAmount() public method

Sets the FixedAmount property
public WithFixedAmount ( Price fixedAmount ) : PromotionBenefit
fixedAmount Price FixedAmount property
return PromotionBenefit

WithPercentOff() public method

Sets the PercentOff property
public WithPercentOff ( Double percentOff ) : PromotionBenefit
percentOff Double PercentOff property
return PromotionBenefit

WithQuantity() public method

Sets the Quantity property
public WithQuantity ( Decimal quantity ) : PromotionBenefit
quantity Decimal Quantity property
return PromotionBenefit